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

Aperta
#50 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@KyleAMathews ci sta già lavorando.

Dal 16/11/2026.

  • #122 di @KyleAMathews — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
testing-qa

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
5
Fork
1
Merge medio
8h 31m
PR unite (30g)
60

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TanStack/oracles

Tutte le issue di TanStack/oracles

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.