Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNew 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
Make domain category lists for hc score dsa1-score configurable. #10
Comments
Scoring mementos by Padia's work depends upon a list of domains for the categories of news, image sharing sites, video sharing sites, blog sites, and social media sites. These lists will likely change over time and should be configurable by the end user. The scoring is handled on lines 431 - 451 of hypercane/hypercane/score/dsa1_ranking.py Lines 431 to 451 in 2e071d7
The lists themselves are on lines 15 - 386 of that same file. hypercane/hypercane/score/dsa1_ranking.py Lines 15 to 386 in 2e071d7
|
shawnmjones commentedJun 16, 2020
As part of the DSA1 scoring equation, the original resource domain of the memento is given a different score based on its category according to Padia's 2012 work. Padia outlined the following categories:
Right now these domain lists are hard-coded and likely to change over time. Create a parameter that allows the user to supply them.