Tier D: cover utf8.codes / utf8.offset edge cases
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 66/100
Research direction
Start by reading an existing Tier D program under corpus/D/ to match its style, then look at how tools/grade.sh runs and diffs output against reference Lua 5.4.9. Write corpus/D/utf8_codes_offset.lua covering the listed utf8.offset and utf8.codes edges, and run tools/grade.sh --tier D --only utf8_codes_offset. Done means it MATCHes, or each divergence is recorded in LEDGER.md, and bash tests/run.sh passes.
Written by the indexing model from the issue text.
Description
utf8.codes and utf8.offset each appear in only one Tier D program. Add a small corpus/D/utf8_codes_offset.lua that exercises their edges. The grader diffs it against reference Lua 5.4.9, so there's no expected output to write.
Suggested edges:
- negative and out-of-range
iforutf8.offset; n = 0;- continuation-byte starts;
- invalid sequences under
utf8.codes, wrapped inpcallto print the error; - the
laxargument.
If a line diverges because of an EigenScript limitation (for example NUL bytes in strings), record it in LEDGER.md rather than changing the program to avoid it.
Done when
-
corpus/D/utf8_codes_offset.luaexists and MATCHes the reference undertools/grade.sh --tier D --only utf8_codes_offset, or every divergence is classified in LEDGER.md. -
bash tests/run.shpasses.
- Dominant language
- Lua
- Stars
- 0
- Forks
- 0
- Avg merge
- 54m
- Merged PRs (30d)
- 19
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InauguralSystems/EigenLua
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
InauguralSystems/EigenLua#60 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
InauguralSystems/EigenLua#63 ·
Maintainers usually reply within 1 day
-
front-end good first issue
Difficulty 3/5 Half a day Newbie friendliness 70/100
InauguralSystems/EigenLua#62 ·
Maintainers usually reply within 1 day
-
enhancement front-end help wanted
Difficulty 4/5 3-5 days Newbie friendliness 35/100
InauguralSystems/EigenLua#55 ·
Maintainers usually reply within 1 day
-
1/0 and 0/0 abort the program with 'EigenScript value error: division by zero' (ref: inf / nan)Openbug eigenscript-gap
Difficulty 3/5 1-2 days Newbie friendliness 42/100
InauguralSystems/EigenLua#50 ·
Maintainers usually reply within 1 day
All issues in InauguralSystems/EigenLua
Similar issues
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
eugenioenko/ttt#919 · 1 comment ·
Maintainers usually reply within 1 day
-
Profiler (Remotery) leaks a socket for every connection that fails the WebSocket handshakePossibly taken @rthery claimed this today. Opentriage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Mosquito: LOOP_ANT_LOCK reads the IFF detonator coverPossibly taken @cbass2404 claimed this today. OpenMosquito
Difficulty 1/5 Under an hour Newbie friendliness 88/100
DCS-Skunkworks/dcs-bios#1925 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Under an hour Newbie friendliness 80/100
mason-org/mason.nvim#2117 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mailcow/mailcow-dockerized#7518 ·
Maintainers usually reply within 1 day