Repository navigation
Commit 30373dd
fix(eval): validate --only-qids before loading the BIRD dataset
eval_baseline loaded the BIRD dump before parsing --only-qids, so on hosts
without the local dataset (CI) an invalid qid list died with FileNotFoundError
instead of the intended exit-3 usage error the CLI contract (and its test)
promises. Parse and validate the flag first; the dataset load stays where the
data is actually needed.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 291bc89 commit 30373dd
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
212 | 221 | | |
213 | 222 | | |
214 | 223 | | |
215 | 224 | | |
216 | 225 | | |
217 | 226 | | |
218 | 227 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
| |||
0 commit comments