[Suggested files] Update ranking for QPS experiment.
The next step for suggested files is to run an experiment to establish QPS. We want to change the ranking to make the results clearer. This CL does two things: 1. Splits 'files' in the chips into drive files and local files, to be ranked separately. 2. Changes the ranking to a simpler algorithm (chip_ranker.cc lines 144-end). This ranking always puts apps first, then drive files, then local files. The ranking determines how many of each type we show, but takes into a account a minimum number of results from each type. The current minimums mean we only ever decide on one chip by ranking, but we'll probably relax the minimums soon. Once we've decided on the minimums, I'll add back the tests removed here. Bug: 1034842 Change-Id: Id58614265e7a79d2761b08f3bffd0529b18c385d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2245939Reviewed-by:Thanh Nguyen <thanhdng@chromium.org> Commit-Queue: Tony Yeoman <tby@chromium.org> Cr-Commit-Position: refs/heads/master@{#779142}
Showing
Please register or sign in to comment