Skip to content

Gap e2e: a new base of 'a stale authored mutant and a reformat' classifies an optional-chain mutant not-distinguished, owed crashed #134

Open

Description

@KyleAMathews

A new base of an existing constructed history finds a classification counterexample in the gap report's end-to-end oracle. #122 runs each constructed history over several bases (register M, 2026-11-16, "N bases per constructed history"). At five bases, the fourth base of a stale authored mutant and a reformat fails. The gap CLI's classification code is the same as on main; only the base is new. Under the M phase-1 rule it is filed, not blocking (P4).

History (the shrunk counterexample, as fast-check printed it; __proto__: null prefixes removed):

{"functions":[[{"kind":"optional"}],[{"kind":"probeBlock","op":"<=","k":6}]],"containers":["C0","free"],"overloads":[true,false,false],"owners":["a"],"library":[[{"kind":"dollar"},{"kind":"push","quote":"'"}]],"libraryOwners":["none","a"],"runes":[[{"kind":"runeStateRaw"},{"kind":"runeDerived"},{"kind":"runeStateRaw"}],[{"kind":"runeStateRaw"}]],"derived":{"params":"plain","field":false,"before":[],"form":"arrow","after":[]},"sourceSpelling":"redundant","dotGen":false,"ownsSpelling":"plain","wholeFile":"b","template":false,"tests":[{"file":"b","route":"fixed seed","registered":true,"name":"plain","fn":1,"input":0,"judges":false,"law":"L","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":true,"cleanupThrows":false,"asProp":true,"then":{"route":"case","input":4},"work":null,"timed":false},{"file":"b","route":"calibration","registered":false,"name":"plain","fn":1,"input":7,"judges":true,"law":"L","channel":"observe","flaky":false,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":true,"then":{"route":"random seed","input":7},"work":null,"timed":false},{"file":"b","route":"calibration","registered":true,"name":"plain","fn":2,"input":4,"judges":false,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":true,"then":{"route":"enumerated","input":0},"work":null,"timed":false}],"witness":false,"authored":{"stmt":0,"kind":"stale"},"declaration":"oracleProperty","ownerless":false,"fault":"none","stability":"reformat","ordinary":false,"lazyGate":false,"secondAuthored":false,"consoleOutput":true,"config":"object","configEnv":false,"setupGlobal":false,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":false,"budget":"two","stopRuns":[],"onlyRun":false,"pragma":false,"cliPath":"spaced","concurrentStart":false,"configFile":"vite.config.ts","configPlace":"parent","packageType":"module","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":["b","a"],"exportOwners":["b","b","b","b","a","none"],"importer":"a","midrunBy":"b","midrunTarget":"data","prePlugin":false,"fsRead":"callback","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":false,"testRoot":"none","loadPlugin":false,"rejectBatch":0}

To replay on another commit, add this history as a fixed history of oracle-gaps.report, or as a constructed history whose build returns it, and run that test. A field the history holds as a drawn constant's own reference (such as stopRuns) must be that reference again.

Next step, oracle-first: decide whether the CLI or the model is wrong about an optional-chain mutant on this history (crashed is owed; not-distinguished is reported), show RED, then fix. Otherwise, record it in the coverage map with this trace.

This issue was written by Isaac.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions