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

section_plan --print-weights accepts a runner with zero section labels (label floor collapses to 0)

Đã đóng
#1,312 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
1-2 ngày
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell
Lĩnh vực
testing-qa, tooling

Hướng nghiên cứu

Start with tools/section_plan.sh and run the supplied Python reproduction to confirm the zero-label case. Inspect the script's --print-weights and --selftest paths; done means a zero-label runner or log below the fixed floor returns rc 1 with "vacuous", and a selftest covers the zero-label runner.

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

Mô tả

area:gates found-by:critic kind:gate-defect

Found by a blind critic on PR #1310. The same result on main 7706607: this is pre-existing.

tools/section_plan.sh --print-weights derives its distinct-label floor from the runner. When the runner has zero section labels, the threshold collapses to zero. A fabricated 50-row timing log is then accepted, and a weights table is emitted for a runner with nothing in it.

Repro: python3 /tmp/sp-critic/repro_vacuity.py tools/section_plan.sh (rc 0 on head and on base).

Done when:

  • --print-weights refuses (rc 1, "vacuous") when the runner yields zero labels, or when the log matches fewer than a fixed floor of the runner's labels
  • a --selftest case plants the zero-label runner and names this check
Ngôn ngữ chính
C
Star
3
Fork
7
Merge trung bình
11 giờ 16 phút
Pull request đã merge (30 ngày)
267

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/EigenScript

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

Issue tương tự

Thêm issue về C

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.