Commit Graph

14 Commits

Author SHA1 Message Date
Alex Dadgar
260b566c91 server 2018-09-15 16:23:13 -07:00
Preetha Appan
f6cbfbfef6 Track top k nodes by norm score rather than top k nodes per scorer 2018-09-04 16:10:11 -05:00
Preetha Appan
72570e0698 fix linting error 2018-09-04 16:10:11 -05:00
Preetha Appan
31b2102055 Fix scoring logic for uneven spread to incorporate current alloc count
Also addressed other small code review comments
2018-09-04 16:10:11 -05:00
Preetha Appan
1ac696da56 more cleanup 2018-09-04 16:10:11 -05:00
Preetha Appan
fc48be3656 added some unit tests for -1 spread score 2018-09-04 16:10:11 -05:00
Preetha Appan
f881c4f266 comment and formatting cleanup 2018-09-04 16:10:11 -05:00
Preetha Appan
2dfdd4874f fix scoring algorithm when min count == current count 2018-09-04 16:10:11 -05:00
Preetha Appan
35bda8c975 Remove hardcoded boosts for even spread.
instead, calculate them based on delta between current and minimum value
2018-09-04 16:10:11 -05:00
Preetha Appan
7a5791f39e Implement support for even spread across datacenters, with unit test 2018-09-04 16:10:11 -05:00
Preetha Appan
56de0d0a11 Support implicit spread target to account for remaining desired counts 2018-09-04 16:10:11 -05:00
Preetha Appan
5f1d40e4c3 fix comments 2018-09-04 16:10:11 -05:00
Preetha Appan
bf84a5985a Include spreads configured at job level when precomputing weights/desired counts. 2018-09-04 16:10:11 -05:00
Preetha Appan
fd697272a7 Implement spread iterator that scores according to percentage of desired count in each target.
Added this as a new step in the stack and some unit tests
2018-09-04 16:10:11 -05:00