Improve article attribution heuristic #380

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

jugglinmike commented Jun 6, 2013

Make the attribution algorithm trace through the history
across file rename operations, but do not consider such operations as an
indication of contribution.

The compiled output is a single line of JSON, making it a bit tough to inspect.
Here's what I did to try it out:

$ git checkout -b tmp master
$ grunt
$ git add -f dist
$ git commit -m "Current build"
$ git pull git@github.com:jugglinmike/learn.jquery.com.git follow-moves
$ grunt
$ git diff --word-diff --word-diff-regex="[^,\{]"

Basically, it adds contributors who created/edited articles prior to 0fb17c3 (including yours truly) and removes contributors whose only interaction with an article was to move it (i.e. @rdworth in 0711375 and 7b49f82).

@jugglinmike jugglinmike Improve article attribution heuristic
Make the attribution algorithm trace through the history
across file rename operations, but do not consider such operations as an
indication of contribution.
58e60d1
Member

ajpiano commented Jun 6, 2013

This is awesome, @jugglinmike. I'll give it a try but this solves a real problem that I didn't think we had a solution for! Have you signed the CLA? If not, now's a good time!

Contributor

rdworth commented Jun 6, 2013

Thank you @jugglinmike . This has been bothering me for a while, so I'm happy to have a solution in sight

Contributor

jugglinmike commented Jun 6, 2013

I have indeed signed the CLA. Don't you guys remember my monumental contribution to jQuery core?

ajpiano closed this in 23791d3 Jun 6, 2013

@arthurvr arthurvr pushed a commit to arthurvr/learn.jquery.com that referenced this pull request Jan 4, 2015

@jugglinmike @ajpiano jugglinmike + ajpiano Improve article attribution heuristic. Fixes #380.
Make the attribution algorithm trace through the history
across file rename operations, but do not consider such operations as an
indication of contribution.
f5f934c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment