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

オープン
#172 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
43/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
devtools, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
5
フォーク
1
平均マージ
11時間 18分
マージ済み PR(30日)
66

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TanStack/oracles のほかの issue

TanStack/oracles の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。