HermitCrab conformance: verify blocked_by labels against the trace in the dead-rule gate
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
Hướng nghiên cứu
Start with CoverageReport.cs:113-114 to see how blocked_by labels enter the exercised-rule set, then read FailureRuleAttributor.cs:66 and its trace attribution behavior. Add a reviewed exemption for failures the trace cannot attribute, including zimed, and make a mutated label fail the gate. The issue points to code at #480 commit b49433d7.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
The conformance suite's dead-rule gate credits a rule as exercised whenever an expected-failure word names it in blocked_by. It never checks that the rule actually blocked the word. A wrong or stale label therefore counts as coverage.
FailureRuleAttributor.WordLevelFailureRuleIds is documented as upgrading those labels to verified, but it has no callers.
This is a proposal. #480 is adding two weaker steps:
- the gate fails when a label is not a rule id in the fixture's grammar;
- the docs say that
blocked_byis asserted, not verified.
This issue tracks the stronger step: verify each label against the parse trace.
Who is affected: maintainers of the HermitCrab conformance suite (#480) and its PanGloss port.
Done when:
- the gate requires the trace to attribute each word's failure to the rule named in
blocked_by; - the gate keeps an explicit, reviewed exemption list for words whose failure cannot be attributed from the trace (the attributor's doc names
zimed); - a mutated label fails the gate.
Code, on #480 at b49433d7
CoverageReport.cs:113-114adds everyword.BlockedByid to the exercised set, with no check.FailureRuleAttributor.cs:66definesWordLevelFailureRuleIds. The only reference outside its own file is a string inOwnedSymbolKeyTests.cs:132.- At that head, all 108
blocked_bylabels name real rule ids in their fixture grammars, so no label is wrong today.
- Ngôn ngữ chính
- C#
- Star
- 29
- Fork
- 16
- Merge trung bình
- 6 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 sillsdev/machine
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement Hermit Crab
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
HermitCrab analysis: ordered and anchored required-slot look-ahead (v2)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởenhancement Hermit Crab
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement Hermit Crab
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement Hermit Crab
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
sillsdev/machine#565 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của sillsdev/machine
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
:watch: Not Triaged advanced-concepts/subsvc dotnet-csharp/svc
Độ khó 1/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
-
[bug] Season images use the season's TMDB id as a TVDB series idCó thể đã có người làm @ViKodex đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
enhancement no-stack-trace
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
greenshot/greenshot#1618 · 3 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 67/100
microsoft/aspire.dev#1962 ·
Maintainer thường phản hồi trong vòng 1 ngày