Scope
Two small hardening/hygiene items in the review poller area:
-
panel= parse fragility. _PANEL_RE (lib/tms/review_poll.py:206, panel=(.+?)(?=\s+\w+=|$)) assumes the panel value is terminal or followed by another key= token. A verdict line whose panel value is followed by a bare non-key= word (or contains stray spaces) over-captures into the panel field. Replace with a tokenizer or tighten the lookahead, with regression tests for malformed-but-plausible verdict lines.
-
README test-count drift. README.md:161 claims "137 tests, ~0.5s"; the suite collects 450. Update, or better, drop the hardcoded count so it cannot drift again.
Acceptance criteria
References
Scope
Two small hardening/hygiene items in the review poller area:
panel=parse fragility._PANEL_RE(lib/tms/review_poll.py:206,panel=(.+?)(?=\s+\w+=|$)) assumes the panel value is terminal or followed by anotherkey=token. A verdict line whose panel value is followed by a bare non-key=word (or contains stray spaces) over-captures into the panel field. Replace with a tokenizer or tighten the lookahead, with regression tests for malformed-but-plausible verdict lines.README test-count drift.
README.md:161claims "137 tests, ~0.5s"; the suite collects 450. Update, or better, drop the hardcoded count so it cannot drift again.Acceptance criteria
parse_verdict_linebehavior on those inputs documented in the docstringReferences