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

Ouverte
#163 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
42/100
Type d'issue
Refactorisation
Clarté
Plutôt claire
Activité
Active
Stack technique
javascript

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
JavaScript
Étoiles
5
Forks
1
Merge moyen
11 h 18 min
PR mergées (30 j)
66

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de TanStack/oracles

Toutes les issues de TanStack/oracles

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.