Commit a01600d
committed
CI R1: add missing-notebook skip guard + tighten generic anchors
CI AI review on #439 R1:
P1: tests/_tutorial_drift.py read docs/tutorials/*.ipynb
unconditionally, but the Rust-test CI matrix copies only tests/ to
/tmp/tests and runs pytest there (no docs/), so the new tests would
FileNotFoundError instead of skipping cleanly. Added pytest.skip()
guard in _read_notebook() matching the repo convention used in
test_notebook_md_extract.py and test_nprobust_port.py.
P3: tightened two generic anchors that could false-pass:
- T21 'WAS' (matches many incidental occurrences) -> 'target = `WAS`'
(the exact paper-step-1 phrasing, single occurrence).
- T20 'median' + '$25K' (split, can both pass independently even if
the sentence drifts) -> 'median ~$25K' (the exact tilde-prefixed
phrase from the design-fit narrative).1 parent 9945d30 commit a01600d
3 files changed
Lines changed: 25 additions & 5 deletions
| 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 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
25 | 41 | | |
26 | 42 | | |
27 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
318 | | - | |
319 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
320 | 321 | | |
321 | 322 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
438 | 441 | | |
439 | 442 | | |
440 | 443 | | |
| |||
0 commit comments