Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#62 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
70/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
lua
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Lua
Star
0
Fork
0
Merge trung bình
54 phút
Pull request đã merge (30 ngày)
19

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của InauguralSystems/EigenLua

Tất cả issue của InauguralSystems/EigenLua

Issue tương tự

Thêm issue về Lua

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.