DescriptionRework the owner-suggesting algorithm.
It turns out that we were weighting all possible owners equally,
and picking the last one out of the list. Given the way we traversed
owners files, and given that we got rid of the "set noparent"s, this
meant that we were always suggesting Ben for just about everything.
This change implements a much smarter algorithm that attempts to balance
number of reviewers and closeness to the files under review. The unit
tests added show specific examples and explanations for why things are
chosen the way they are.
R=maruel@chromium.org
BUG=76727
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=173784
Patch Set 1 #Patch Set 2 : fix comment about scaling factor #
Total comments: 5
Patch Set 3 : update w/ review feedback #Messages
Total messages: 5 (0 generated)
|