Decide before v1: make EIGS_STRICT the default (argument-type stand-ins like abs of "x" = 0 are silent by default)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- compilers, documentation, testing-qa
Direzione di ricerca
Start with docs/SPEC.md around line 247 and tools/strict_differential.sh to understand the current strict-mode behavior and distinguish real results from stand-ins. Run tools/consumer_acceptance.sh run against the changed binary, then update README, llms.txt, CHANGELOG, and SPEC.md as required. Done means the decision is recorded, the default behavior is documented and tested, and the consumer sweep is green with breaks resolved and linked.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What is true today (measured at 27f8a90)
print of (abs of "x") # 0
print of (abs of ([-3, 7])) # 0
print of (floor of [1.5, 2.5]) # 0
All three exit 0. With EIGS_STRICT=1, the first raises abs: expected a number.
This is documented as the default. docs/SPEC.md (around line 247) says argument-type guards substitute a stand-in (0, "", null) unless strict is set. #971 and #975, the fail-soft to loud reform, are closed: they built the strict guards across the whole builtin surface and kept strict opt-in.
Why decide now
- PRINCIPLES / #975 name silent substitution as the class to remove.
- #1286 says to settle language decisions before the first outside consumer.
- A type mistake that becomes a plausible value is exactly the silent-wrong class this project hunts. Today the default is the silent one.
- The machinery already exists: flipping it is a default change plus a consumer sweep, not new guards.
tools/strict_differential.shalready pins which answers are genuine (a real0) and which are stand-ins.
Recommendation
Make strict the default, with a per-run opt-out (EIGS_STRICT=0, or an eigs.json field if the #1286 edition field lands). Then run the consumer sweep: every pinned consumer's real CI command against the flipped binary, and every break fixed in the consumer. On an owned ecosystem with no back-compat contract, the breaks are the point: each one is a latent type mistake.
Done when
- Decision recorded here by the owner: flip, or keep opt-in with the reason.
- If flip: the default is strict. SPEC.md, llms.txt, README and CHANGELOG say so, and
abs of "x"raises with no flag set. - If flip:
tools/consumer_acceptance.sh runagainst the flipped binary is green, with every consumer break fixed upstream or in the consumer and linked here.
- Lingua principale
- C
- Stelle
- 3
- Fork
- 7
- Merge medio
- 4h 1m
- PR unite (30g)
- 121
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di InauguralSystems/EigenScript
-
area:ci kind:gate-defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
InauguralSystems/EigenScript#1448 ·
I maintainer di solito rispondono entro 1 giorno
-
area:ci kind:gate-defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
InauguralSystems/EigenScript#1431 ·
I maintainer di solito rispondono entro 1 giorno
-
area:gates kind:gate-defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
InauguralSystems/EigenScript#1429 ·
I maintainer di solito rispondono entro 1 giorno
-
area:docs kind:docs-drift
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
InauguralSystems/EigenScript#1428 ·
I maintainer di solito rispondono entro 1 giorno
-
area:docs good first issue kind:docs-drift
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
InauguralSystems/EigenScript#1400 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di InauguralSystems/EigenScript
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
darktable-org/darktable#22455 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BasedHardware/omi#20084 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
raspberrypi/pico-sdk#3225 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno