andymeneely / chromium-history

Scripts and data related Chromium's history
11 stars 4 forks source link

Populate owner_familiarity and familiarity_gap in CodeReview #156

Closed andymeneely closed 10 years ago

andymeneely commented 10 years ago

Let's total up the reviews_with_owner for participants for each code review and store it in the code review table. Do this in rake:analysis (can't be done in the parser).

Let's also compute the owner_familiarity_gap: which I'm going to declare is the Max(reviews_with_owner) - Min(reviews_with_owner) for a given code review.

Need:

For example: If Moe had a code review with Larry, Curly, and Ringo. He had 10 prior reviews with Larry, 9 prior reviews with Curly, and 1 prior review with Ringo. The owner_familiarity would be 20 and the familiarity_gap would be 9.