Commit 8f46d49
fix: composite score renormalization + CCB weighted sampling
Bug 1: compute_composite_score() was unreachable at 0.65 threshold
because chain_recall/symbol_recall defaulted to 0 when unavailable,
capping max score at 0.70. Fix: None signals "not measured" and weight
is redistributed proportionally to available components.
Bug 2: ccb_weighted_sample() duplicated task objects for 2x boost then
deduped by identity, so the boost never worked. Rewrote to boost
effective stratum allocation sizes and prefer CCB tasks within each
stratum.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d5a8d29 commit 8f46d49
5 files changed
Lines changed: 181 additions & 529 deletions
File tree
- configs/variance_reruns
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments