Self-oracle counterexample: calibration selector finds no history when history names repeat (seed 1187311827)
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- testing-qa
調査の方向性
Start from the calibration-history selector added in #31 (e2af13a), under packages/oracles/src, and find where an enumerated source must match exactly one history when history names repeat. Run the replay command in the issue to reproduce the failure, then shrink the seed path. Done means a RED oracle test in tests/ that fails on the duplicate-name case, followed by a fix or a recorded coverage-map entry.
索引モデルが issue の本文から書いたものです。
説明
A random-seed run of the framework self-oracle on main found a counterexample in the calibration-history selector from #31 (e2af13a). The selector found no history for an enumerated source when the property declares duplicate history names.
- Run: PR #46, run 43288589486, job 131428487356, "Framework self-oracle (3/3)". #46 changes no file under
packages/oracles/srcortests/. - Unit:
self-oracle.framework > random seed: generated - Violation: checkpoint "child", law registration.
- Difference:
unexpected child load/suite errors: {"id":"self-oracle.synthetic-0","errors":["self-oracle.synthetic-0: calibration history selector for \"cal-0\": enumerated \"items 0 | 1\" must identify exactly one history (found 0)."]} - History shape:
duplicateHistoryNames: true, an enumerated source[[0]], and an unbound probe. - Replay:
ORACLE_SEED=1187311827 ORACLE_PATH=1:0:0:0:1:1:1:1:2:5:2:2:2:2:2:2:2:2:2:2:2:2 ORACLE_PROPERTY='self-oracle.framework' ORACLE_UNIT='random seed: generated' vitest run -t '^self-oracle\.framework(?: | > )random seed: generated$'
Either the selector mishandles duplicate history names, or the grammar generates a property that #31's model does not cover. Fix it oracle-first: shrink it, decide whether the defect is in production or in the model, show RED, then fix. Otherwise, record it in the coverage map with this trace.
This issue was written by Isaac.
- 主要言語
- JavaScript
- スター
- 5
- フォーク
- 1
- 平均マージ
- 8時間 31分
- マージ済み PR(30日)
- 60
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TanStack/oracles のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
TanStack/oracles の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Edit: Telemante [YT]オープンchannels:edit check:passed
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
swc-project/swc-next-issues#490 ·
-
feedback simulation workshop
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
githubnext/gh-aw-workshop#5826 ·
メンテナーはふだん 1 日以内に返信