random seed: generated: a refusal through the daemon at start prints the cold run's notes (seed 1208780315), on main too

未關閉
#161 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
javascript
領域
testing-qa

研究方向

Start with the gap report end-to-end oracle and replay the supplied history on main; the issue gives the Vitest command and reports a 3-of-3 failure. Trace how refusal through the daemon at start handles notes when the cold run includes the --hang-limit note. Done when the CLI or model’s expected notes are resolved and the replay distinguishes the correct behavior.

由索引模型根據 Issue 內容生成。

描述

The gap report end-to-end oracle's random unit random seed: generated found a counterexample in #90's CI: run 44236057093, job "random seed, 3/4", head ddd2ad5. Seed 1208780315, path 1. It was not shrunk (CI's random units do not shrink; register M, "Shrink briefly in CI").

  • Difference (as printed, cut): the refusal through the daemon at start prints the notes ["oracle-gaps: note --hang-limit 20000 ms is above --mutant-limit 15000 ms; a mutant's confirmations together get at most the larger of --mutant-limit and ten times its owner files' unmutated time","oracle-gaps: note log /stream.log"], and the cold run []
  • Base replay (register M, "Replay by history"): the history below was printed at ddd2ad5 by seed and path, then replayed exactly on main 9881146 as a constructed history. It fails 3 of 3 there (Arca r90f-replay). It fails 3 of 3 on the head too (r90f-gen-head). So the base has it, and under the phase-1 rule it does not block #90.
  • Not triaged: whether the CLI or the model is wrong about the notes that a refusal through the daemon owes, when the cold run's notes include the --hang-limit note.

Replay (seed form, valid only at ddd2ad5):

cd packages/oracles && ORACLE_SEED=1208780315 ORACLE_PATH=1 ORACLE_PROPERTY=oracle-gaps.report ORACLE_UNIT='random seed: generated' pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t '^oracle-gaps\.report(?: | > )random seed: generated$'

History:

{"functions":[[{"kind":"readData","shape":"object"},{"kind":"push","quote":"`"},{"kind":"readData","shape":"primitive"}]],"containers":["free"],"overloads":[],"owners":[],"library":[],"libraryOwners":[],"runes":[],"derived":null,"sourceSpelling":"cased","dotGen":false,"ownsSpelling":"dot","wholeFile":"none","template":true,"tests":[{"file":"c","route":"fixed history","registered":true,"name":"route","fn":4,"input":6,"judges":false,"law":"L","channel":"expect","flaky":false,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":false,"then":{"route":"fixed seed","input":8},"work":null,"timed":false}],"witness":false,"authored":{"stmt":1,"kind":"apply"},"declaration":"oracleProperty","ownerless":true,"fault":"configSyntax","stability":"none","ordinary":true,"lazyGate":false,"secondAuthored":false,"consoleOutput":true,"config":"object","configEnv":false,"setupGlobal":false,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":true,"budget":"two","stopRuns":[],"onlyRun":false,"pragma":true,"cliPath":"plain","concurrentStart":true,"configFile":"vitest.config.ts","configPlace":"discovered","packageType":"commonjs","configAwait":false,"configRequire":false,"contexts":4,"steps":["owns","source"],"dataOwners":["b","none"],"exportOwners":["none","none"],"importer":"a","midrunBy":"b","midrunTarget":"data","prePlugin":false,"fsRead":"promise","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":false,"testRoot":"tests","loadPlugin":false,"rejectBatch":0,"outMode":"explicit","logBlocked":true,"overlap":false,"stopWitness":false,"spawnStop":false,"spawnSignal":"SIGINT","spawnDelay":284,"spawnOnStart":false,"claimScenario":false,"logLost":false,"supervisorDeath":false,"unsupervised":false,"psMissing":false,"holdOverlap":false,"replyHeld":false,"spinData":false,"siblingDir":false,"hookStops":false,"spinThrows":true,"slowStart":false,"shortWait":false}

This issue was written by Isaac.

主要語言
JavaScript
星號
5
分支
1
平均合併
11 小時 18 分鐘
30 天內合併 PR
66

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

TanStack/oracles 的其他 Issue

查看 TanStack/oracles 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。