Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Tier D: cover math.fmod, math.ult and string.reverse edges

Aperta
#62 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
70/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
lua
Ambito
testing

Direzione di ricerca

Start by reading an existing Tier D program in corpus/D/ for the expected format, then check how tools/grade.sh --tier D compares output against reference Lua 5.4.9. Write corpus/D/math_fmod_ult_reverse.lua covering the listed math.fmod, math.ult and string.reverse edges, using pcall for the error cases. Done when that program MATCHes under tools/grade.sh --tier D --only math_fmod_ult_reverse or each divergence is classified in LEDGER.md, and bash tests/run.sh passes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

front-end good first issue

math.fmod, math.ult and string.reverse each appear in only one Tier D program. Add corpus/D/math_fmod_ult_reverse.lua covering their edges against reference Lua 5.4.9.

Suggested edges:

  • math.fmod with negative operands, a zero divisor (integer and float), and mixed integer/float arguments;
  • math.ult across the sign boundary;
  • string.reverse of empty and multibyte strings.

Use pcall and print the error for the cases that should raise. Divergences caused by EigenScript gaps (64-bit integers, inf/nan) go in LEDGER.md, not around the program.

Done when

  • The program exists and MATCHes under tools/grade.sh --tier D --only math_fmod_ult_reverse, or every divergence is classified in LEDGER.md.
  • bash tests/run.sh passes.
Lingua principale
Lua
Stelle
0
Fork
0
Merge medio
54m
PR unite (30g)
19

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di InauguralSystems/EigenLua

Tutte le issue di InauguralSystems/EigenLua

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.