| 17 | return std::chrono::duration<double, std::milli>(std::chrono::steady_clock::now() - t0).count(); |
| 18 | } |
| 19 | std::vector<int> tail(const std::vector<int>& v, int n) { |
| 20 | return std::vector<int>(v.size() > (size_t) n ? v.end() - n : v.begin(), v.end()); |
| 21 | } |
| 22 | // reach[j]: the chance that drafts 0 .. j all stand, from the decayed counts. A position never reached yet (its counts |
| 23 | // still the prior's: tried exactly 1) follows the trend of the two before it, q_last * min(1, q_last / q_before): |
| 24 | // a lane whose drafts all stand (a code edit) is not held short by the prior until something drafts that deep, and one |
no test coverage detected