random seed: a reset check after its warm daemon was replaced: the mid-run check reports an authored mutant as neither cold run did (seed -12515519), on main too
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 32/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, typescript
Hướng nghiên cứu
Start by reading the random-seed replay and incremental check paths in the CLI and model, then reproduce the supplied history with ORACLE_SEED=-12515519 ORACLE_PATH=0. Add a regression test that shows whether the CLI or model reports the authored mutant incorrectly when the mid-run edit overlaps, then fix the mismatch and confirm the test passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
A random-seed counterexample from #147's PR CI. It reproduces on main, so it is filed and does not block (R42, M-20).
- Found: #147 at 86d092e6, run 44245048472, job
Gap report end-to-end oracle (random seed, 2/4), unitrandom seed: a reset check after its warm daemon was replaced,ORACLE_SEED=-12515519 ORACLE_PATH=0. The property failed after 1 test and shrank 0 times. - Violation: checkpoint
incremental, lawincremental equals cold: "the check during the mid-run edit reported src/sut.ts#authored:a2 as neither cold run did, before or after the edit". - Base replay: replayed as a
fixedhistory on main af156d9e, it fails the same way in 2 of 2 runs on Arclets (16.3 s and 15.4 s). On #147's head it also fails in 2 of 2 runs. - Scope: the history has no
optionalstatement. The two fields #147 adds (absentObjects,optionalChains) are removed below; they change nothing in a history without one. - Notable fields:
authored: {stmt: 4, kind: 'ambiguous'},secondAuthored: true,steps: ['resetBeforeRead'],laterSteps: ['midrun'],midrunBy: 'b',warmReplaced: true.
History, replay by history (register M), with __proto__: null prefixes removed. laterSteps is a literal ['midrun']. stopRuns is the drawn constant NO_STOPS.
{"functions": [[{"kind": "until", "quote": "'"}, {"kind": "record"}, {"kind": "readData", "shape": "methods"}, {"kind": "oldProbe"}, {"kind": "helperCall", "helper": "reportTwice"}], [{"kind": "valueCall", "target": 1}, {"kind": "valueCall", "target": 0}, {"kind": "if", "op": ">=", "k": 2, "not": true, "quote": "'"}, {"kind": "elseIf", "op": "<", "k": 8, "quote": "'"}, {"kind": "fieldCall", "target": 0}], [{"kind": "flag", "value": true}, {"kind": "helperCall", "helper": "report"}, {"kind": "fieldCall", "target": 3}]], "containers": [], "overloads": [true], "owners": ["a", "both", "b"], "library": [], "libraryOwners": ["b"], "runes": [[{"kind": "runeStateRaw"}]], "derived": null, "sourceSpelling": "dot", "dotGen": false, "ownsSpelling": "plain", "wholeFile": "a", "template": false, "tests": [{"file": "b", "route": "random seed", "registered": true, "name": "route", "fn": 5, "input": 9, "judges": false, "law": "L", "channel": "expect", "flaky": false, "judgeBy": "soft", "hangs": false, "slow": false, "shrinks": false, "draws": false, "ioWait": false, "stops": false, "rawImport": true, "cleanupThrows": false, "asProp": false, "then": {"route": "fixed history", "input": 1}, "work": null, "timed": false}, {"file": "c", "route": "probe calibration", "registered": true, "name": "route", "fn": 6, "input": 1, "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": "random seed", "input": 6}, "work": null, "timed": false}, {"file": "c", "route": "random seed", "registered": true, "name": "route", "fn": 0, "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": false, "cleanupThrows": false, "asProp": false, "then": {"route": "probe calibration", "input": 3}, "work": null, "timed": false}, {"file": "c", "route": "determinism", "registered": true, "name": "plain", "fn": 4, "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": {"route": "determinism", "input": 8}, "work": null, "timed": false}], "witness": false, "authored": {"stmt": 4, "kind": "ambiguous"}, "declaration": "oracleProperty", "ownerless": false, "fault": "none", "stability": "none", "ordinary": false, "lazyGate": false, "secondAuthored": true, "consoleOutput": true, "config": "async", "configEnv": false, "setupGlobal": true, "native": "gyp", "depSubpath": true, "unbuiltDep": true, "boot": true, "budget": "two", "stopRuns": [], "onlyRun": false, "pragma": false, "cliPath": "spaced", "concurrentStart": false, "configFile": "vitest.config.ts", "configPlace": "parent", "packageType": "module", "configAwait": false, "configRequire": true, "contexts": 11, "steps": ["resetBeforeRead"], "dataOwners": ["a", "b"], "exportOwners": [], "importer": "a", "midrunBy": "b", "midrunTarget": "helper", "prePlugin": false, "fsRead": "none", "laterSteps": ["midrun"], "tornRows": false, "pauseEngages": true, "warmReplaced": true, "testRoot": "parent", "loadPlugin": false, "rejectBatch": 0, "outMode": "explicit", "logBlocked": false, "overlap": false, "stopWitness": false, "spawnStop": false, "spawnSignal": "SIGINT", "spawnDelay": 139, "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}
Next step, oracle-first: decide whether the CLI or the model is wrong about an ambiguous authored mutant's outcome in the check that a mid-run edit overlaps (R47), show RED, then fix.
This issue was written by Isaac.
- Ngôn ngữ chính
- JavaScript
- Star
- 5
- Fork
- 1
- Merge trung bình
- 11 giờ 18 phút
- Pull request đã merge (30 ngày)
- 66
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TanStack/oracles
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TanStack/oracles
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
swc-project/swc-next-issues#532 ·
-
domain/checkout Platform(Default) priority/low testing/acceptance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug confirmed css v6
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
check:passed logos:edit
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày