Self-oracle counterexample: calibration selector finds no history when history names repeat (seed 1187311827)

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

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

@KyleAMathews がすでに取り組んでいます。

2026年11月16日 から。

  • #122 @KyleAMathews による — オープン

評価

難易度
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/src or tests/.
  • 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

TanStack/oracles のほかの issue

TanStack/oracles の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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