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

Use linear interpolation for the time of each changed line #13

Open
wilzbach opened this issue Aug 24, 2016 · 0 comments
Open

Use linear interpolation for the time of each changed line #13

wilzbach opened this issue Aug 24, 2016 · 0 comments

Comments

@wilzbach
Copy link
Member

wilzbach commented Aug 24, 2016

In #6 we applied a quick & dirty patch to blacklist @braddr, @vjeux had a nice idea:

FYI, we implemented a time based to mention-bot for all fb projects (implemented in Hack) and it gave dramatically better results for people that used to work on the codebase but moved on to other projects.

The formula is really simple: for each line of code that is blamed, instead of adding 1, add a linear interpolation where now is 360 and 8 months in the past (or more) is 0.

I'd love to make that the default on the open source mention-bot project (in JavaScript), if you fancy implementing it and sending a pull request over there, I would appreciate :)

cc @mkonicek

CC @MartinNowak @klickverbot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant