Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a checksum to the top-level output of rank_collection #55

Open
chrysb opened this issue Sep 19, 2022 · 0 comments
Open

Add a checksum to the top-level output of rank_collection #55

chrysb opened this issue Sep 19, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@chrysb
Copy link
Collaborator

chrysb commented Sep 19, 2022

It would be helpful to be able to see a checksum of the traits used to generate rarity so that publishers can compare to each other and see that we all used the same input to generate our ranks.

Describe the solution you'd like

result = RarityRanker.rank_collection(
   collection=collection
)

// result.checksum - string 
// results.ranked_tokens - the original array

The checksum would be generated from an alphabetically (ascending) sorted array of all of the attributes that will be included for ranking (e.g. numeric traits would be omitted)

@chrysb chrysb added the enhancement New feature or request label Sep 19, 2022
@theelderbeever theelderbeever mentioned this issue Oct 24, 2022
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants