Static oracle: the generated units run close to their wall-clock backstop; cut their cost

Offen
#163 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
javascript

Rechercherichtung

Start with packages/oracles/oracle-gaps/gap-report-static-oracle.property.test.mjs and compare the fixed-seed and random-seed generated units. Profile fixture writes, Vitest config loads, and analysis to identify where runtime goes, then reduce real cost without lowering the run budget. Check that both units remain within the wall-clock backstop and move it toward 120 seconds.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

What happens

The static oracle's generated units (fixed seed 20261105: generated and random seed: generated, in packages/oracles/oracle-gaps/gap-report-static-oracle.property.test.mjs) run close to their per-test wall-clock backstop on the CI runner:

  • #144: the random-seed unit timed out at 120 s, on main too. Locally it takes about 50 s.
  • #133 hit the same limit.
  • On #99 at 2ca23c67, the fixed-seed unit timed out at 120 s twice (run 44198667421). #99's drawn heavy field adds about 12% (48 s to 54 s locally).
  • On the pool at c198a898 the fixed-seed unit takes 62 s and the random-seed unit 91 s.

What changed in #99

The backstop is now 240 s, under the coordinator's ruling of 2026-11-17. It is a wall-clock backstop that fails loudly. It decides no outcome and is not a run budget, so raising it relaxes no law. The cost itself remains.

What would close it

  • Cut the unit's cost without lowering its run budget (P12): find where the time goes (fixture writes, Vitest config loads, analysis), and cut real cost first.
  • Then bring the backstop back toward 120 s.

Owner: the oracle-gaps maintainers. The next PR that touches the static oracle's grammar picks it up.

Vorherrschende Sprache
JavaScript
Sterne
5
Forks
1
Ø Merge
11 Std. 18 Min.
Gemergte PRs (30 T.)
66

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TanStack/oracles

Alle Issues in TanStack/oracles

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.