-
Notifications
You must be signed in to change notification settings - Fork 2
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
Documentation for usage-scorer@1 and ordering in general #173
Comments
I'll try to explain by first explaining an other comparer: - type: score-comparer@1
score-provider:
type: tag-scorer@1
weight: 1
tag: work
This configuration results in that repositories with The How does this work?
How to configure the usage-scorer@1?I'll try to exmplain using this example: - type: score-comparer@1
score-provider:
type: usage-scorer@1
max-score: 15
windows:
- until: 00:15:00
weight: 4
max-items: 2
- until: 01:00:00
weight: 3
max-items: 3
- until: 24:00:00
weight: 2
max-items: 5
- until: 168:00:00
weight: 1
max-items: 10 This means:
I'll find in difficult to find the right words to explain this as clear as possible. If you still have some questions, please ask. |
By the way, The statistics module provides a variable (for debug puposes) to show the number of recorded calls of the repository: - type: just-text@1
name: 'Usage counter: {{ statistics.count }}' Currently, in the main branch, this documentation can be found here |
Please provide more info on how usage-scorer@1
From the documentation:
It's unclear how the windows, until, max-items and max-score fields work.
The text was updated successfully, but these errors were encountered: