HermitCrab conformance: verify blocked_by labels against the trace in the dead-rule gate
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 52/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C#
- Sterne
- 29
- Forks
- 16
- Ø Merge
- 6 T. 13 Std.
- Gemergte PRs (30 T.)
- 12
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus sillsdev/machine
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement Hermit Crab
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
Maintainer antworten meist innerhalb von 1 Tag
-
HermitCrab analysis: ordered and anchored required-slot look-ahead (v2)Evtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenenhancement Hermit Crab
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
Maintainer antworten meist innerhalb von 1 Tag
-
HermitCrab analysis: measure required-slot look-ahead on the #546 shared walkEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenenhancement Hermit Crab
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement Hermit Crab
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
sillsdev/machine#565 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in sillsdev/machine
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Open-Systems-Pharmacology/OSPSuite.Core#3049 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs attention public-client untriaged
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
AzureAD/microsoft-authentication-library-for-dotnet#6242 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 90/100
criticalmanufacturing/cli#882 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Dome-Works/DOME#129 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug sev:L
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Systemorph/MeshWeaver#7480 ·
Maintainer antworten meist innerhalb von 1 Tag