Commit d9c79de
committed
fix(faithfulness): thread COMP composition into report_2x2; correct 2x2 to 31.8%
report_2x2.py recomputed faithfulness on the fly and called the COMP checker
with composition=None -- the same over-reporting bug rescore_faithfulness.py
fixes elsewhere. Since COMP is ~54% of the dataset, this inflated the headline
faithful rate to 45.6%. Thread the real composition (lazy variant_id->composition
map from the dataset) for COMP rows only; non-COMP scoring is unchanged.
Corrected overall faithful rate: 45.6% -> 31.8% (COMP 58.2% -> 32.7%, parse%
0.0% -> 77.4%). README 2x2 table, per-strategy rates, and COMP/held-out scoring
caveats updated to match the regenerated report.
run_faith_rescore.sh: switch phase 2 (6 venv-scored models) from the 9-config
recompute equivalence path to reuse -- the recompute path spawned parallel
compilers + spinning candidate binaries that OOM-crashed the machine and would
take weeks; reuse keeps the (correctness-based) equivalence already in the CSV,
identical to recompute's fallback for non-overfit candidates, while the COMP
structural fix still applies in both modes. Sequential, no compilation.1 parent ebb8cae commit d9c79de
3 files changed
Lines changed: 55 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
63 | 86 | | |
64 | 87 | | |
65 | 88 | | |
| |||
229 | 252 | | |
230 | 253 | | |
231 | 254 | | |
232 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
233 | 265 | | |
234 | 266 | | |
235 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 | | |
25 | 35 | | |
26 | | - | |
27 | | - | |
| 36 | + | |
| 37 | + | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
| |||
0 commit comments