Commit 49d5ee9
fix(dab): isolate per-query validator failures in verify_batch
A validator raising (e.g. validate_qN calling .lower() on a non-string
answer when the agent returns a JSON list) aborted emit_reward for the
whole dataset, so no reward.json was written and the entire dataset was
dropped from the run as a RewardFileNotFoundError trial error — silently
removing it from the stratified Pass@1 denominator rather than scoring 0.
Wrap the per-query validate_fn call in try/except: score the offending
query 0.0 with the exception as the reason and continue grading the rest.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent c2dd2c3 commit 49d5ee9
1 file changed
Lines changed: 9 additions & 1 deletion
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
| |||
0 commit comments