Code Monkey home page Code Monkey logo

Comments (2)

himanshu007-creator avatar himanshu007-creator commented on July 3, 2024

Hi, i would like to work on this issue ( with assistance)🙂

from param-labels.

jam1garner avatar jam1garner commented on July 3, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.