Comments (2)
Hi, i would like to work on this issue ( with assistance)🙂
from param-labels.
Awesome @himanshu007-creator! For starters I would recommend taking a look here:
https://github.com/ultimate-research/param-labels/blob/master/test_hashes.py#L7-L25
It is the equivalent test for param hashes. It is designed for use with pytest, so the function name is test_*
. The main differences between motion_labels/Labels.txt and ParamLabels.csv is that motion labels doesn't also include the hash. This means:
- When you compute the hash you don't need to verify it against the user-provided one
- You don't need to parse the label out, the entire line is the label (i.e. the
.split
by commas is no longer needed)
My recommendation is using assert_is_sorted
to ensure the labels are sorted, then use a set
like alreadyFoundHashes = set()
in order to ensure none of the labels are repeating (assert not hash in alreadyFoundHashes
)
Just a heads up I wouldn't recommend this issue if you got here from browsing github, as you may find some of the Smash-Modding-specific parts confusing, but if that's the case I appreciate the enthusiasm even if it isn't a good fit :)
from param-labels.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from param-labels.