Repository navigation
test(analog): raw_writer mutation test gaps A-D closed, gate passed (Closes #12273) - #12288
Merged
Merged
Conversation
Batch 1 of 2 for the census of specs/analog/raw_writer.t27 (526 mutants, 83 survivors, 31 hung): five new tests at the end of the spec target the 30 survivors of groups A to D. - A (raw_nibble, raw_at_hex, 6 mutants): upper-case digits, an exact 2-byte buffer, and a changed last byte of the binary reference file as the negative control the byte-for-byte test lacked. - B (raw_check_vars, 14 mutants): six malformed variable lines and a control. - C (raw_put_f64 of zero, raw_from_bits of an infinity or NaN, 2 mutants). - D (raw_uint, raw_count_line at their limits, 8 mutants). docs/analog/mutation-accepted-raw_writer.txt has 84 entries: 19 equivalent, 2 dead line, 32 pending for #12274 (groups E to J) and 31 hung. The note docs/analog/mutation-raw_writer-2026-10-25.md labels all 83 survivors and names the assert that kills each of the 30. tri test: 23 tests pass (18 before), 0 fail, 0 vacuous. The survivor gate was not run and the seal was not saved; the after-numbers in the note are a forecast. Every expected value is hand-derived. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…, gate passed (Refs #12273) The gate on this tree: 526 mutants, 442 killed, 53 survived, 31 hung, 0 unviable; 84 not killed, 84 accepted, 0 accepted lines now killed. The tracked generated file gen/rust/analog/raw_writer.rs said 18 tests; it now says 23, as the spec has. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Summary by t27-beesChecked by the t27 compilert27c parse, parse-complete and typecheck on each changed .t27 file at
Read by the modelThis PR adds 5 mutation tests (groups A–D) to Worth a look
Read: 5 files, +430 -11, the whole diff. Head |
This was referenced Oct 25, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #12273. Part of epic #10486 (see it, not closing it). Groups E to J and the dead lines stay in #12274 (Refs #12274).
What
specs/analog/raw_writer.t27gets 5 new tests (18 -> 23) for the test gaps in groups A to D found by the census of #12116, an accepted-mutants file for the mutants no test can or must kill, and a note with the measured numbers. The tracked generated filegen/rust/analog/raw_writer.rsis regenerated, becauset27c seal --verifyalso checks that it equals what the generator emits today (it still said 18 tests).Measured
tri mutate spec --acceptedon this tree (T27 OS pane, jobs 3, timeout 30, master-built t27c, based5650360c1, 12:32:08-13:01:29 +07, 29 min 21 s; the 1-minute load was 8.8 at the start and rose above 30 during the run): 526 mutants, 442 killed (442 by a failing test, 0 by an invariant), 53 survived, 31 hung, 0 unviable; 84 not killed, 84 accepted, 0 accepted lines now killed; "Gate passed". The forecast written before the run was 442 / 53 / 31 / 84.tri teston the spec: 23/23 pass, 0 vacuous.The seal
AnalogRawWriterwas re-saved bytri seals changedwith the master-built t27c; after the generated file was regeneratedt27c seal specs/analog/raw_writer.t27 --verifyexits 0.Not claimed
tri coverage --strictwas not run locally; CI runs it.Files: the spec (+146 lines of tests at the end),
docs/analog/mutation-accepted-raw_writer.txt,docs/analog/mutation-raw_writer-2026-10-25.md, the seal,gen/rust/analog/raw_writer.rs(generated, one line changed).🤖 Generated with Claude Code