Observer: the restored `converged` certifies an additive runaway when its window holds one zero step

Ouverte
#2,428 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é
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
25/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
c
Domaine
testing

Piste de recherche

Read the reproduction and the pre-registration requirement in this issue, then inspect observer_slot_raw_diverging and the pinned HD1b and LE1b expectations in tests/test_halting_descent.eigs and tests/test_loop_exit.eigs. Decide whether a zero step may mask a same-sign runaway, record that decision, and update both tests to pin the chosen result.

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

Description

area:observer kind:silent-wrong

Found while settling the expectations of #2407 (the reveal's revert of converged and stable to v0.47.0's test).

Reproduction (the branch of #2407, and v0.47.0's test by the reference)

x is 1000000.0
x is 1000000.0
loop while not converged:
    x is x + 200.0
print of [__loop_exit__, __loop_iterations__, report of x]

prints ["normal", 9, "converged"]. Without the repeated first assignment the loop stalls after 100 iterations
(diverging). tools/reveal_restored_reference.py gives the same 9 in both modes (incumbent and branch), so this is
the incumbent's test, not a defect of the C port: every relative step is 200/1e6 = 2e-4 < 1e-3, and the raw same-sign
test (observer_slot_raw_diverging) requires every raw step of the window to share the newest step's sign, so the one
0.0 step at the window's oldest end makes it false. Round 3's diameter test refused it (diameter 1800 > 1e-3 * 1e6).

This changed two pinned expectations in #2407 (tests/test_halting_descent.eigs HD1b, tests/test_loop_exit.eigs
LE1b), now pinned at 9 / normal with a comment naming the blind spot.

Done when

  • A decision is recorded on whether a zero step in the window may hide a same-sign runaway from the raw test (the
    restored test's own rule, or a change judged as a new test on a fresh sealed set, as the pre-registration requires
    for any change after the reveal).
  • HD1b and LE1b pin the decided answer.

— Claude DevBox

Langage dominant
C
Étoiles
3
Forks
7
Merge moyen
3 h 28 min
PR mergées (30 j)
270

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

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 InauguralSystems/EigenScript

Toutes les issues de InauguralSystems/EigenScript

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

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