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

Abierto
#163 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
JavaScript
Estrellas
5
Forks
1
Merge medio
11 h 18 min
PR fusionados (30 d)
66

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TanStack/oracles

Todos los issues de TanStack/oracles

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.