Decide before v1: make EIGS_STRICT the default (argument-type stand-ins like abs of "x" = 0 are silent by default)
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- compilers, documentation, testing-qa
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C
- Star
- 3
- Fork
- 7
- Merge trung bình
- 5 giờ 38 phút
- Pull request đã merge (30 ngày)
- 188
Chuẩn bị môi trường
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.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của InauguralSystems/EigenScript
-
area:docs kind:docs-drift
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
InauguralSystems/EigenScript#1428 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs good first issue kind:docs-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
InauguralSystems/EigenScript#1396 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs/BUILTINS.md: task_spawn row says task_yield/task_join 'land in a later increment'; both existĐang mởarea:docs good first issue kind:docs-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
InauguralSystems/EigenScript#1392 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Error carets pad multi-byte UTF-8 byte-for-byte, so the ^ lands right of the token on a terminalĐang mởarea:lint-tooling kind:silent-wrong
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
InauguralSystems/EigenScript#1373 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs good first issue kind:docs-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
InauguralSystems/EigenScript#1277 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của InauguralSystems/EigenScript
Issue tương tự
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
github/copilot-sdk#2804 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
zwp_input_method_v2.surrounding_text is not forwarded from zwp_text_input_v3 in labwc 0.20.2Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Crash of the app on WindowsĐang mởZenmap
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 5 ngày
-
hfile_s3: reading to EOF fails with EINVAL when object size is a multiple of the read part sizeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 3 ngày