Repository navigation
Strengthen mutation coverage and remove legacy gate exclusions - #213
Merged
Merged
Conversation
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.
The reviewed mutation gate now checks every function in 12 production files and removes all 29 blanket legacy-function exclusions. The full reviewed campaign kills 780/786 mutants (99.24% raw); the remaining six match individually documented equivalence reviews. The gate reports zero unreviewed or inconclusive outcomes.
Adds boundary and invariant tests for snapshots, path matching, binary/query contracts, parser identity/linking, and Python/PHP callable references. These expose and fix newline/consecutive-globstar matching, valid binary/proxy/synthetic snapshot reloads, annotated variadic Python shadowing, and namespace-relative PHP callable acquisition. Small simplifications remove redundant snapshot work, query lookups, and resolved-node callable flags.
Also fixes the failure in mutation shard 2/8: the one-second assertion in
test_many_runtime_definitions_are_linearfailed at roughly 1.23 seconds under instrumentation. The replacement compares traversal work for 1,000 and 4,000 definitions, requires at most fivefold growth, and verifies that every function is retained.Validation:
Mutation CI now installs the binary extra and GNU/LLVM tools, requires native tests, and streams confirmed outcomes to a progress journal. Completed reports and source manifests remain authoritative.
These scores cover the stated components. The initial 12,068-mutant repository-wide campaign remains incomplete, so there is no complete global score. Callable references remain outside the reviewed gate: ten surviving mutations have source-invariant explanations and nine need further structured-input or graph-projection investigation. Raw campaign artifacts and triage reports remain ignored.