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

[judge] Allow sorting preferred_items by number of views #35

Open
sumanthratna opened this issue Dec 15, 2020 · 1 comment
Open

[judge] Allow sorting preferred_items by number of views #35

sumanthratna opened this issue Dec 15, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@sumanthratna
Copy link
Member

sumanthratna commented Dec 15, 2020

maybe we should only return a list of the projects that have been viewed the least number of items in judge.controllers.preferred_items? review Crowd-BT paper; this may break the "maximize information gain" part of the algorithm

would prevent one project from being viewed way more than other projects

@sumanthratna sumanthratna added the enhancement New feature or request label Dec 15, 2020
@sumanthratna sumanthratna changed the title [judge] Allow sorting preferred_items by num views [judge] Allow sorting preferred_items by number of views Dec 15, 2020
@sumanthratna
Copy link
Member Author

(we already have this to some extent):

less_seen = preferred.filter(timesSeen__lt=settings.LIVE_JUDGE_MIN_VIEWS)

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

1 participant