Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#62 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
70/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
lua
Domain
testing

Research direction

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.

Written by the indexing model from the issue text.

Description

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.
Dominant language
Lua
Stars
0
Forks
0
Avg merge
54m
Merged PRs (30d)
19

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InauguralSystems/EigenLua

All issues in InauguralSystems/EigenLua

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.