-
Notifications
You must be signed in to change notification settings - Fork 57
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
Commit Scoring Logic #129
Comments
I agree we need some more innovation around the scoring algorithm. Ideas are welcome. |
Update: we are working on some ideas here. Interestingly, we have seen instances where people look at the scoring algorithm and try to "tweak" their code to manipulate the scoring. Though I am a proponent of keeping the scoring algorithm open, I want some ideas about how we "hide" the logic from prying eyes. Remember, we spend real money on rewarding people, so we have to be extra careful that this is not mis-used. |
We can use the same technique as secrets.yml. Move the scoring logic to a file which isn't committed. Load the file containing the scoring logic when the application starts. |
Hey, just wondering. What's the rationale behind dividing the total score with the number of files? |
Currently while scoring commits bugspots is used and in bugspot each file is rated based on historical commit messages on that file and timestamp of commit message. File whose historical commit message has max number of "fix" or "close" word gets higher weightage.
Incase of
aasm
highest weightage is for README and also CHANGELOG has higher weightage.Incase of
mongoid
highest weightage is to CHANGELOGbugspots_scores[file.filename]
will be 0total_score
is divided bynumber_of_files in the commit
so if user has done good change and if test case file has less weightage then that commit will be scored less. If person commits test cases seperately and code seperately he will get more marks than person commiting both things together. but I think this can't be handled.Thoughts?
The text was updated successfully, but these errors were encountered: