PREDICATES.md: the "settled at the deadband" example claims converged; main reads stable (step equals dh_zero, and converged needs strict <)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- documentation, testing
Línea de trabajo
Empieza con el ejemplo “settled at the deadband” en docs/PREDICATES.md, líneas 836-842, y con la fila de converged cerca de la línea 124. Compila con make, luego ejecuta la reproducción de cuatro líneas contra ./src/eigenscript y confirma que imprime stable y false. Elige una corrección: cambiar el factor a 0.9995 para que el ejemplo muestre converged, o corregir el comentario y el párrafo para que digan stable. Además, convierte el ejemplo en un programa completo con un bloque de salida emparejado y elimina la entrada de la línea 841 en VALUE_COMMENT_WAIVERS en tests/test_doc_examples.py (alrededor de las líneas 388-391). Terminado cuando python3 tests/test_doc_examples.py docs/PREDICATES.md pase.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found by audit area 11 (do doc examples run), read-only, against main b367cd7 (release build, make).
docs/PREDICATES.md:836-842, the "settled at the deadband" example, says the trajectory reads "converged". On main it reads "stable", and converged of x is false.
x is 100.0
for i in range of 20:
x is x * 0.999
print of (report of x)
print of (converged of x)
$ ./src/eigenscript repro.eigs
stable
false
Expected (doc, line 841): report of x # "converged" — settled AT THE DEADBAND; x is ~98, not ~0. Actual: stable (x is 98.01888648295349, so the "~98" half is right).
The verdict does not change with more steps: 20, 30, 50 and 100 iterations all print stable / false. A smaller step does reach converged: factor 0.9995 and 0.9999 both print converged. That fits the doc's own table (docs/PREDICATES.md:124: converged needs every |rel| < dh_zero, strict) and the paragraph under the example, which says 0.1% per step "is exactly the boundary". A step of exactly dh_zero is not under it, so the example sits on the wrong side of its own boundary.
Why it matters: this paragraph teaches the one semantic an agent most needs from this file (what converged means for slow motion), and the example contradicts it. Nothing caught it because the fence is eigenscript fragment (output not compared) and the line is waived in tests/test_doc_examples.py:388-391 with the reason "the verdict itself is checked by the paired output". There is no paired output. The gate side is #2290.
Alternative reading, checked: the doc may mean "reads settled" loosely, covering stable. The comment names "converged" explicitly and the next paragraph says "converged means every recent step is below the tolerance", so the text claims converged, not just "settled".
Done when
- The example prints the verdict it claims: either the factor changes to one strictly inside the deadband (for example
0.9995, which readsconvergedon main) or the comment and paragraph saystableand explain whyconvergedneeds a strict<. - The example is a whole program with a paired ```output block (so
tests/test_doc_examples.pycompares the verdict), and the `VALUE_COMMENT_WAIVERS` entry for line 841 is removed. -
python3 tests/test_doc_examples.py docs/PREDICATES.mdpasses with the updated population row.
— Duet (orchestrator)
Generated by Claude Code
- Lenguaje dominante
- C
- Estrellas
- 3
- Forks
- 7
- Merge medio
- 6 h 28 min
- PR fusionados (30 d)
- 312
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de InauguralSystems/EigenScript
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
InauguralSystems/EigenScript#2311 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
InauguralSystems/EigenScript#2305 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:ci bug found-by:duet-audit
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
InauguralSystems/EigenScript#2283 ·
Los mantenedores suelen responder en 1 día
-
area:docs found-by:duet-audit kind:docs-drift
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
InauguralSystems/EigenScript#2282 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
X11 title and ctype tests pick their display from $$ and can silently attach to a foreign X serverAbiertoarea:gfx kind:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
InauguralSystems/EigenScript#2216 ·
Los mantenedores suelen responder en 1 día
Todos los issues de InauguralSystems/EigenScript
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
bug genc
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
linux 上使用 msvc-wine 无法增量构建Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
XPM values line with more than one space between numbers raises ValueErrorPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
python-pillow/Pillow#10429 ·
Los mantenedores suelen responder en 1 día