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

consumer_acceptance: a same-path rerun after a floor refusal lowers the recorded inventory floor

Đang mở
#1,303 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
70/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, python
Lĩnh vực
testing-qa

Hướng nghiên cứu

Run timeout 40s python3 /tmp/critic-ca3/repro_floor_persistence.py to reproduce the repeated-run failure, then inspect the consumer_acceptance harness's same-path record handling. Verify that two runs against the two-consumer ecosystem both fail with the missing consumer named, and that the harness self-test catches a planted fault.

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:silent-wrong

Found by the blind critic on the #1275 consumer_acceptance shrink (round 3, c98a743). It is pre-existing: the old harness at 88ba928 fails the same repeated-run check.

Problem. Start from a dated COMPLETE record with 3 rows, and a current ecosystem with only 2 consumers. Run 1 correctly refuses (record_floor=3). It then writes its own record at the SAME path with inventory=2. Run 2 reads only that smaller record and PASSes. The historical floor is lost after one unsuccessful run.

Reproduce (dev box): timeout 40s python3 /tmp/critic-ca3/repro_floor_persistence.py <harness>.

Done when:

  • The floor a refusing run writes is the max of the prior floor and its own inventory, and the missing consumer's name is carried forward.
  • Two consecutive runs against the 2-consumer ecosystem both FAIL naming the missing consumer.
  • A planted fault in the harness self-test covers it.
Ngôn ngữ chính
C
Star
3
Fork
7
Merge trung bình
4 giờ 15 phút
Pull request đã merge (30 ngày)
106

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.