Repository navigation
Name a row of the wrong width in every reader (#43) - #63
Conversation
check_review.py's Scorecard dropped a row that was not two cells wide and then reported the row as missing; render_scorecard.py passed such a row through uncorrected; score_seeds.py skipped a wrong-width index row, so the seed score could undercount without a word. All three now fail the row by name, through one helper, with the escape hint PROMPT.md states: a literal | inside a cell is written \|. The Scorecard row is reported once, by check_scorecard only. Fixtures for each reader in test_scripts.py; MANIFEST regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first commit named data rows only. A rule row of any width and a header row of any width were still dropped unread, and `^:?-*:?$` matched an empty cell, so a row of empty cells was taken for a rule row. Rule rows now need a dash (RULE_CELL), rule_rows() returns what table_rows() drops so each reader can name one of the wrong width, and an index header is dropped only at width 8. The pipe hint is given only to a row that is too wide. The row with no closing pipe is a different class, left and filed as #64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review at 6b67c18: SEND BACK. Blind reviewer, claude-opus-5-5. The blocker: the CHANGELOG said every reader names a wrong-width row, but three cases still passed silently.
Notes:
Fixed at 1ef0f95.
Author's placebo run at 1ef0f95, not a reviewer's. Each mutant fails at least one #43 fixture. The MANIFEST and repository-check failures are expected for any edited script.
🤖 Generated with Claude Code |
|
Blind review verdict: SEND BACK · head What passed.
Blocker B1.
Notes.
Fix follows on a new head, with a fresh blind review. |
A later row of dashes was dropped as a rule row by all three readers, though GitHub shows it as a data row. table_parts() now counts the rule row per table, and every reader names a stray by its position. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fix for B1 at
The message: Placebo run (author's, not a reviewer's). Each mutant was run in a scratch copy, with MANIFEST regenerated for it.
|
|
Blind review verdict: SEND BACK · head What passed.
Blocker. The CHANGELOG's claim "one sibling is left (#64)" is false. Three older shapes are not fixed or filed:
Notes.
Next: the siblings are named and filed, and the CHANGELOG is reworded on a new head, which gets a fresh blind review. |
|
Fix for the third verdict at
|
|
Blind review verdict: SEND BACK · head What passed.
B1.
B2. The reviewer's own placebo run was refused by its read-only guard, so it is still owed. Note. An unknown Scorecard key passes silently. It is close to #66. Next: the header is chosen by position, a later |
A data row whose first cell read ID was skipped as the header wherever it sat, by check_review.py and score_seeds.py alike. table_parts() now records each table's header as the row above its rule row, and a later row repeating it is named. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fix for the fourth verdict at B1.
Note. The unknown-Scorecard-key case is folded into #66, which is retitled. The CHANGELOG says so. Placebo run (author's, not a reviewer's). Each mutant was run in a scratch copy, with MANIFEST regenerated for it.
|
|
Blind review verdict: SEND BACK · head What passed.
B1: a regression introduced by
Notes.
Next: a positional header is skipped only when it reads as the header. Otherwise it is named. Fixtures for probes B and D, then a fresh blind review. |
65809dc took the header by position and skipped it whatever it read. A finding above a rule row was then dropped unread: a second table under the index opened by one, or an index whose ID line was lost, so score_seeds.py undercounted where main had failed. A row in the header's place is now skipped only when it reads ID; any other is named, in check_review.py and score_seeds.py alike. Refs #43. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fix for the fifth pass, at cb14b0e. The fifth pass found B1, a regression from 65809dc: the header was skipped by position whatever it read, so a finding in the header's place went unread.
A sixth blind review on Opus follows, pinned to cb14b0e. |
|
Sixth blind review: PUSH WITH NOTE · head cb14b0e · base b2f2360 · reviewer model claude-opus-5-5
Notes, all filed. None was introduced by this PR.
Ready for Jasper to merge. Refs #43; this PR does not close it. |
Option A from #43, as ruled there (D1). Refs #43; it does not close it, because the
json diffract-indexblock (B) follows in 0.5.0.What changes
check_review.py:scorecard_cells()takes an optionalfailures. A Scorecard row that is not two cells wide is named, not dropped, so the failure is the cause and not "Scorecard has no 'Governors' row".check_scorecardpasses the list.lenses_run_rowreads the same table and does not, so each row is reported once.wrong_width().table_parts()takes the rule row to be the line after each table's header, as GFM does.ID, and then named if it is the wrong width; a finding in its place is named, and so is a later row repeating itsID.render_scorecard.py:fix_row()refuses a wrong-width row (exit 2), and a stray is refused too. Both used to pass through.score_seeds.py:findings()exits, naming every wrong-width or stray index row. It used to skip them, so the seed score could undercount.a literal | inside a cell is written \|. A narrow row ("is 1 column") gets no hint, because no escape restores a lost cell.Scorecard row 'Governors' is 3 columns, expected 2: a literal | inside a cell is written \|.|or indented (A table row GitHub renders but no reader reads: no outer pipe, or indented #64, widened); a mandated table with no rule row or split by a blank line (A mandated table GitHub does not render as one table passes every reader #65); a Scorecard metric written twice or not in the template (A Scorecard metric written twice, or not in the template, passes unread #66). The W5H-4 wording at "narrowed, not closed" is untouched.Tests: the
test_43_*fixtures intest_scripts.py.check.py: all checks pass.test_scripts.py: 54 tests, OK.The placebo tables and each blind Opus verdict, pinned to its head, are in the comments.
🤖 Generated with Claude Code