Skip to content

Commit 2d65514

Browse files
KyleAMathewsIsaac
andcommitted
test(oracle-gaps): judge the unmutated pass's lists, the Owners line, and the owner files' run order
A re-review of #30 found three lists the classify oracle could not see: - the files that fail with no mutant active (the refusal, the summary's left-out list, and results.json's excluded) and results.json's nondeterministic tests followed the runner's round-robin join; - a gap's Owners line was not compared, and the driver ran every owner file, while the runner runs them in the targets' order and stops at the first that kills (a mutant that reversed oracleTargets passed); - file order was file index order, so a path comparison by a locale passed. The driver now builds each unmutated pass from per-file units in the generated baselineOrder and joins them through production's passOf, as check.mjs's runAcross does, and the check compares the failing files and the nondeterministic tests with the model's, in report order. Every file has a baseline, ordinary files too. The driver runs an operator mutant's owner files in oracleTargets order and stops at the first kill; a second behavioral law (M) lets a kill's laws show which file decided it, and the model owes the laws of the first killing file in report order. The check parses and compares each gap's Owners line. File names come from a set in which code-unit and locale order disagree (case and `_`), and the model orders paths by code unit. Five new required reach states, each with a constructed history. RED: 3118254 has no passOf. With its runAcross join extracted verbatim as passOf, both campaigns fail: the pass lists the failing files [f0, F1], owed [F1, f0], and the nondeterministic tests [f1 > t0, f0 > t0], owed [f0 > t0, f1 > t0]. Co-authored-by: Isaac <[email protected]>
1 parent 3118254 commit 2d65514

1 file changed

Lines changed: 322 additions & 54 deletions

File tree

0 commit comments

Comments
 (0)