Repository navigation
hlasm: planned_debt/fragile_debt count full-line comments only (Part of #7064) - #7205
Merged
Merged
Conversation
#7064) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7064. Checklist: partial [c:374fb3c9] -- Hyperion/MS-DOS/NASM trees not held;
BAL/BALR/BASRto an in-file label (internal edge) left as a design decision.What
The detector runs
planned_debt/fragile_debtover the code stream as well as the comment stream, andhlasmbound the shared global patterns, so operand text counted as debt:DC CL3'xxx', a remarkMESSAGE xxx,LOAD EP=BPX1GLG STUB LOADER(STUB is a system service). Measured on a 5-line file:planned_debt1 /fragile_debt4 before; only the* HACKline is debt. The probe recorded 121 such hits on the held emulator tree.hlasm.pynow wraps the same shared patterns (multilingual marker lists unchanged) behind a line anchor: a marker counts only on a line starting*or.*. One hit per comment line. Re-measure on the emulator tree: thexxxhits are gone; the remainder is real prose about a "bug" on*lines plus 1planned_debt. Addendum 2026-10-30h indocs/language_status/hlasm.md.Class / Sibling gaps
Class: a language profile binding the global debt rules, which the detector also applies to the code stream, so operand text is counted as debt. Handled here: hlasm
planned_debtandfragile_debt(the two same-mechanism members). Sibling gaps (not done, not measured; no burned-estate program needs them):assemblyandagc_assemblybind the same globals and may overcount operand text;BAL/BALR/BASRto an in-file label is an internal edge, unmodelled; DSP / MASM.machave no owning language; Hyperion, MS-DOS and NASM trees are not held.Evidence
test_hlasm_strict.py+test_hlasm_macro_uses.py: 400 passed (new: comment forms in upper/lower case and.*, operand/remark/stub text, marker on the next statement, indented*).crucible_check.py --update --yes(via golden-lock): both fixtures "No drift detected" (the crucible holds no such hlasm text), so no golden change.pr_gates --fast9/9,--ratchets9 pass / 0 skipped.Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code