Gap e2e random seed: brokenOwner classifies if-false as branch-never-taken, owed indeterminate (main too)

Offen
#172 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
43/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
javascript
Bereich
devtools, testing

Rechercherichtung

Start by running the supplied replay command with the reported seed and inspect the gap e2e oracle configuration and the classification law at the "cli" checkpoint. Trace how the brokenOwner fault produces the if-false branch result in src/sut.ts; compare the oracle result with the expected indeterminate classification. Done when the replay no longer reports this difference and the relevant oracle checks pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Random-seed counterexample in the gap report e2e oracle, found on #122's CI (run 5, job 135126725001, head 616dbcc5). It fails the same way on main 97a4e7a when the same history is replayed (the #122 reviewer's pool run, tag r122rev3-*), so it is main's and doesn't block #122 (M-20 / R42).

  • Unit: random seed: a declaration fault: brokenOwner
  • Law: classification, at checkpoint "cli"
  • Difference: src/sut.ts:f0:33:if-false#0: branch-never-taken, owed indeterminate
  • Replay (gap e2e oracle config): ORACLE_SEED=541762753 ORACLE_PATH=0 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: a declaration fault: brokenOwner' vitest run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t '^oracle-gaps\.report(?: | > )random seed: a declaration fault: brokenOwner$'

Counterexample history, as CI printed it (CI cuts it at 2,000 characters, #81; the full log is on the maintainer's machine at /tmp/r122rev/job5-random1.log):

Counterexample: [{"functions":[[{"kind":"throwIf","message":"assertion"},{__proto__:null,"kind":"nearProbe","variant":"former","op":"!==","k":3},{__proto__:null,"kind":"readData","shape":"primitive"},{__proto__:null,"kind":"probeIf","op":"<","k":4}],[{"kind":"nearProbe","variant":"former","op":"<","k":7},{"kind":"oldProbe"},{"kind":"readData","shape":"array"}]],"containers":["free"],"overloads":[false,true,true],"owners":["a"],"library":[[{__proto__:null,"kind":"dollar"},{"kind":"dollar"},{"kind":"push","quote":"`"}],[{"kind":"if","op":"<=","k":3,"not":true,"quote":"`"}]],"libraryOwners":["none"],"runes":[[{__proto__:null,"kind":"runeDerivedBy"},{__proto__:null,"kind":"runeStateRaw"},{"kind":"runeEffect","rune":"$effect.pre"},{"kind":"runeStateRaw"}]],"derived":{__proto__:null,"params":"plain","field":false,"before":[],"form":"arrow","after":[]},"sourceSpelling":"linked","dotGen":true,"ownsSpelling":"redundant","wholeFile":"none","template":true,"tests":[{__proto__:null,"file":"b","route":"determinism","registered":true,"name":"plain","fn":1,"input":1,"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":true,"asProp":false,"then":{"route":"case","input":3},"work":null,"timed":false},{__proto__:null,"file":"a","route":"random seed","registered":true,"name":"route","fn":1,"input":0,"judges":false,"law":"L","channel":"expect","flaky":true,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":null,"work":null,"timed":false}],"witness":false,"authored":{"stmt":4,"kind":"apply"},"declaration":"wrapper","ownerless":false,"fault":"brokenOwner","stability":"none","ordinary":true,"lazyGate":false,"secondAuthored":false,"consoleOutput":true,"config":"object","configEnv":true,"setupGlobal":false,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":true,"budget":"one","stopRuns":[],"onlyRun":false,"pragma":false,"cliPath":"plain","concurrentStart":true,"configFile":"vite.config.js","configPlace":"none","packageType":"module","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":[],"exportOwners":["b","b","a"],"importer":"b","midrunBy":"a","midrunTarget":"helper","prePlugin":false,"fsRead":"none","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":false,"testRoot":"none","loadPlugin":false,"rejectBatch":0,"outMode":"explicit","logBlocked":false,"overlap":false,"stopWitness":false,"spawnStop":false,"spawnSignal":"SIGTERM","spawnDelay":161,"spawnOnStart":false,"claimScenario":false,"logLost":false,"supervisorDeath":false,"unsupervised":false,"psMissing":false,"holdOverlap":false,"replyHeld":false,"spinData":true,"siblingDir":false,"hookStops":false,"spinThrows":false,"slowStart":false,"shortWait":false,"absentObjects":["undefined","undefined"],"optionalChains":[{"links":1,"level":3,"call":"none","returns":"object"},{"links":1,"level":0,"call":"optional","returns":"object"},{__proto__:null,"links":1,"level":2,"call":"none","returns":"nothing"},{__proto__:null,"links":1,"level":2,"call":"plain","returns":"object"},{__proto__:null,"links":3,"level":0,"call":"none","returns":"nothing"},{__proto__:null,"links":2,"level":2,"call":"none","returns":"object"},{__proto__:null,"links":3,"level":2,"call":"optional","returns":"object"},{"links":2,"level":1,"call":"plain","returns":"nothing"}]}]

Not related to #107 or #171, which are other brokenOwner failures.

This issue was written by Isaac.

Vorherrschende Sprache
JavaScript
Sterne
5
Forks
1
Ø Merge
11 Std. 18 Min.
Gemergte PRs (30 T.)
66

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TanStack/oracles

Alle Issues in TanStack/oracles

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.