docs(568): re-measure the built-in lookup's mutation rows against the code as it now stands
The mutation-coverage table's claims were measured against an earlier shape of GetBuiltInElementId and are re-taken here, because the lookup changed twice on this branch (filename -> seeded path, then SQL -> in-memory IsOnNowNext) and a claim about which tests a mutation reddens does not survive either move on its own. Measured 2026-09-05, each mutation applied alone to the committed tree: - Row 10, the seeded-path filter removed: 3 red, not the 2 the row listed. Ignores_A_Case_Variant_Of_The_Seeded_Path joins the two already named, because without the filter every Text row resolves as the built-in one. - Row 24 is new: IsOnNowNext loosened from Ordinal to OrdinalIgnoreCase reddens exactly the two case-variant tests, 2 failed / 77 passed. One row covers both discriminator sites because they now share the predicate. - The Kind==Text filter's "no red" bullet is re-measured across the WHOLE ErsatzTV.Tests project -- 2121 passed, 6 skipped, 0 failed -- rather than the 11 tests of the one file that names GetBuiltInElementId. ChannelGraphicsDefaults reaches the lookup from the channel-create handlers as well, so the narrower population could not have seen a red there. The conclusion is unchanged; what changes is that it is now measured over the population that could falsify it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015QqCpYFsKgnAnx6jVwrKiV
This commit is contained in:
@@ -191,12 +191,14 @@ a test that cannot fail:
|
||||
swallowed warning). `MockFileSystem` does not propagate an interceptor throw raised during the
|
||||
delete, so the clause is correct by language semantics but not reachable from a test here;
|
||||
- the `Kind == GraphicsElementKind.Text` filter in `GetBuiltInElementId` (#568) — belt-and-braces
|
||||
since `OnNowNextSeededPath` is itself a text-template-folder path, so the `Path` equality clause
|
||||
above (row 10) always excludes a wrong-`Kind` row first. Measured 2026-09-05: dropping the `Kind`
|
||||
filter alone and running every test that calls `GetBuiltInElementId` or `ChannelGraphicsDefaults`
|
||||
(`GraphicsElementDefaultAttachTests`, 11 tests, the only file referencing either), nothing reddens —
|
||||
`Ignores_A_Same_Named_Element_Of_A_Different_Kind` included, because that test's element path never
|
||||
equals the seeded path regardless of `Kind`.
|
||||
since `OnNowNextSeededPath` is itself a text-template-folder path, so the `IsOnNowNext` clause
|
||||
(row 10) always excludes a wrong-`Kind` row first. Measured 2026-09-05: with the `Kind` filter
|
||||
dropped, the WHOLE `ErsatzTV.Tests` suite stays green — 2121 passed, 6 skipped, 0 failed. The
|
||||
whole project rather than a filtered subset on purpose: `ChannelGraphicsDefaults` reaches this
|
||||
lookup from the channel-create handlers too, so a population scoped to the tests that name
|
||||
`GetBuiltInElementId` would have missed them. `Ignores_A_Same_Named_Element_Of_A_Different_Kind`
|
||||
stays green for the same reason as the rest — its element's path never equals the seeded path,
|
||||
regardless of `Kind`.
|
||||
|
||||
Rows are written per clause, not per block: a row naming a whole `if` or a whole style-merge block
|
||||
hides which individual fields inside it are actually reachable from a test.
|
||||
@@ -212,7 +214,7 @@ hides which individual fields inside it are actually reachable from a test.
|
||||
| 7 | line-ending normalisation dropped from Normalize | `Upgrades_An_Untouched_Previous_Default_With_Windows_Line_Endings` |
|
||||
| 8 | HLS-Direct exclusion removed from the backfill | `Skips_Hls_Direct_Channels_Where_The_Overlay_Cannot_Render` |
|
||||
| 9 | already-attached filter removed | `Does_Not_Duplicate_An_Existing_Attachment`<br>`While_Armed_A_Restored_Element_Is_Attached_To_Every_Eligible_Channel` |
|
||||
| 10 | seeded-path check removed from the built-in lookup (#568: `Path == OnNowNextSeededPath`, the full path, not a bare-filename match) | `Ignores_A_Non_Built_In_Element_With_A_Different_Filename`<br>`Ignores_A_Same_Named_Same_Kind_Element_Outside_The_Seeded_Folder` |
|
||||
| 10 | seeded-path check removed from the built-in lookup (#568: the `IsOnNowNext` filter, the full path, not a bare-filename match) | `Ignores_A_Case_Variant_Of_The_Seeded_Path`<br>`Ignores_A_Non_Built_In_Element_With_A_Different_Filename`<br>`Ignores_A_Same_Named_Same_Kind_Element_Outside_The_Seeded_Folder` |
|
||||
| 11 | graphics.on_now_next_default_attached guard never fires | `Does_Not_Re_Attach_After_An_Operator_Clears_It` |
|
||||
| 12 | create-time `ChannelGraphicsDefaults.Attach` call removed from `CreateChannelHandler` | `Attaches_The_Built_In_Element_To_A_New_Channel` |
|
||||
| 13 | HLS-Direct skip removed from the create path | `Leaves_An_Hls_Direct_Channel_Alone_Because_Nothing_Can_Render_There`<br>`Should_Not_Attach_The_Overlay_To_An_Hls_Direct_Channel` |
|
||||
@@ -225,6 +227,7 @@ hides which individual fields inside it are actually reachable from a test.
|
||||
| 21 | duplicate guard removed from EnsureBuiltInElementRow | `Repeated_Seeding_Does_Not_Accumulate_Element_Rows` |
|
||||
| 22 | EnsureBuiltInElementRow removed from the ALREADY-SEEDED branch | `An_Already_Seeded_Install_Missing_Its_Element_Row_Gets_One`<br>`Repeated_Seeding_Does_Not_Accumulate_Element_Rows` |
|
||||
| 23 | non-atomic in-place write restored | `A_Failed_Replace_After_A_Complete_Temp_Write_Leaves_The_Original_Intact`<br>`A_Failed_Write_Leaves_The_Original_Template_Intact` |
|
||||
| 24 | `IsOnNowNext` loosened from `Ordinal` to `OrdinalIgnoreCase` (#568) — one row for both discriminator sites, since they share the predicate | `GetAllGraphicsElementsForApi_Should_Not_Mark_A_Case_Variant_Of_The_Seeded_Path_As_BuiltIn`<br>`Ignores_A_Case_Variant_Of_The_Seeded_Path` |
|
||||
| 24 | marker written even with nothing resolved | `Stays_Armed_When_There_Is_No_Built_In_Element_To_Attach`<br>`While_Armed_A_Restored_Element_Is_Attached_To_Every_Eligible_Channel` |
|
||||
| 25 | the atomic replace becomes a non-atomic copy | `A_Failed_Replace_After_A_Complete_Temp_Write_Leaves_The_Original_Intact` |
|
||||
| 26 | the frame cap on the inset is disarmed | `Non_Finite_And_Absurd_Box_Values_Do_Not_Corrupt_The_Geometry`<br>`The_Inset_Is_Capped_Against_The_Frame_Even_With_No_Width_Percent` |
|
||||
|
||||
Reference in New Issue
Block a user