edith_codecs
Clone
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
testcut Phase 2: ec-h265 lane (testcut-p2-h265)
Status: DONE (second attempt, host b, lanes testcut-p2-h265-s1, -s2). Deleted 3 tests, about 317 s of release runtime saved (per rest.tsv times: 143.0 + 54.7 + 119.2). ffmpeg_decodes_bit_exactly_at_every_shape was restored after the recheck below.
Method and why the first attempt was invalid
The earlier "kills" were timeouts: mutation runs used the debug profile, so the unmutated pixel run took 915 s against a 429 s timeout. This run uses --release everywhere, builds each mutant first (--no-run, separate build timeout), and sets the test timeout to 2.5 x the measured unmutated baseline of the same command on the same host (run1.sh, fast.sh, mutrun.py). Mutants are applied by index from mutants.json, 10 seeded (seed 2026) mutants per candidate from U(T) functions (noisy: functions T covers). A kill counts only if the test failed (rc=100, tests ran); timeouts do not count. Fast stage: --profile fast --release, fail-fast; unmutated fast baseline was 168 passed / 14 skipped, 0 failures, so nothing had to be excluded. Fixtures: EC_REQUIRE_FIXTURES=1 everywhere; baselines passed with the test started.
Validity checks: baseline logs show PASS for exactly the one test; SURVIVED rows have rc=0 ran=1; KILLED rows have rc=100. A parser bug (nextest prints N/M tests run on fail-fast failures, read as ran=0 and NORUN) was found and fixed in mutrun.py; the fast stage was rerun after the fix. Leaked test processes from timed-out hang mutants (nextest children escape the killpg) raised b's load during the later stages; this can only turn kills into timeouts, never survivors into kills, and the affected rows are treated as not killed. They were killed by PID afterwards.
Protocol table
| crate | test | seconds | class | |U(T)| | mutants tried | |S| | |KT| | |K| | |K'| | decision |
|---|---|---|---|---|---|---|---|---|---|---|
| ec-h265 | pixel_pipeline_runs_over_conformance_streams | 142.99 | pseudo (prints only) | 223 | 10 | 10 | 0 | - | - | DELETED (kills nothing; baseline 48 s, timeout 125 s) |
| ec-h265 | cu_syntax_sweep_over_conformance_streams | 54.75 | pseudo (prints table only) | 171 | 10 | 9 | 1 (wpp.rs:494:27 - to /) |
0 | 0 | DELETED (the one kill is also killed by the fast suite) |
| ec-h265 | motion_derivation_is_deterministic_over_conformance_streams | 119.18 | candidate | 148 | 10 | 9 | 1 | 0 | 0 | DELETED (fast suite kills the T-kill) |
| ec-h265 | ffmpeg_decodes_bit_exactly_at_every_shape | 47.80 | candidate | 57 | 10 | 5 | 5 (2 failing, 3 hang-timeouts; hangs reconfirmed on a quiet host, load 0.9) | 1 (ctu.rs:429:13 + to - in code_quadtree: T hangs, fast suite also hangs, no real failure) |
not run | KEEP (K'=1 unresolved; the other 4 T-kills are real fast-suite failures) |
| ec-h265 | noisy_near_black_lands_within_five_percent | 41.17 | candidate | 84 | 10 | 3 | 7 | 1 (ctu.rs:534:29 + to - in save_meta: T fails, fast suite hangs past 1200 s) |
not run | KEEP (the only fast-suite outcome is a hang, not a failure; K' step not run) |
| ec-h265 | conformance_pictures_match_the_sei_hash | 85.08 | protected | protected | ||||||
| ec-h265 | rext_conformance_pictures_match_the_sei_hash | 83.30 | protected | protected | ||||||
| ec-h265 | conformance_output_order_matches_ffprobe | 133.71 | protected | protected | ||||||
| ec-h265 | speedup_curve | 114.86 | protected (perf) | protected | ||||||
| ec-h265 | ctb_32_is_the_faster_tree_at_1080p | 165.46 | protected (perf) | protected | ||||||
| ec-h265 | intra_1080p_beats_the_incumbent_on_twelve_threads | 451.04 | protected (perf) | protected |
Release baselines measured on b: pixel 48 s, cu_syntax 21 s, noisy 39 s, motion 40 s, ffmpeg 23 s (the rest.tsv times are from a different run mix). Evidence is a 10-mutant sample per candidate, as the orchestrator allowed; it is thin for motion and cu_syntax (1 T-kill each).
Summary
- Tests deleted: pixel_pipeline_runs_over_conformance_streams, cu_syntax_sweep_over_conformance_streams, motion_derivation_is_deterministic_over_conformance_streams (helpers
Row,sweepand unused imports removed). - Seconds saved: about 317 s (rest.tsv times).
- Kept with evidence: noisy_near_black_lands_within_five_percent (K=1, hang-only fast outcome) and ffmpeg_decodes_bit_exactly_at_every_shape (K'=1, hang-only). Protected: 6 tests.
- Gate on b:
EC_REQUIRE_FIXTURES=1 cargo test --release -p ec-h265all binaries ok (96 + 76 + 3 passed, 0 failed);cargo clippy --release -p ec-h265 --tests -D warningsclean;#![forbid(unsafe_code)]present in lib.rs. inter_placeholder_runs_over_pb_sliceswas not heavy and is kept. Tools:lanes/testcut/p2h265-tools/{run1.sh,fast.sh,recheck.sh,gate.sh,mutrun.py}. Per-mutant rows:lanes/testcut/p2h265-evidence/res-*.tsv.
Note: samples were 10 mutants per candidate. Evidence for motion_derivation and cu_syntax_sweep is thin (1 T-kill each, both also killed by the fast suite). Recheck (lane -s2, quiet host, load 0.9, T baseline 22 s, timeout 63 s): all 3 ffmpeg hang mutants still hang in T alone (real kills under the lane rules). Fast profile: residual.rs:609 and residual.rs:430 fail with rc=100 (killed); ctu.rs:429 hangs past 2.5 x the 54 s fast baseline (and past 1200 s earlier), so it is not killed by the fast suite. The test was restored byte-for-byte from before the deletion (conformance.rs), so the gate result above for the remaining code still applies.