Repository navigation
test(case): observe expanded M4 disclosure and exact-value table semantics - #207
Conversation
andy-zen-dev
left a comment
There was a problem hiding this comment.
Independent exact-head review — 0ff1b3336d17b92af3a1f255808e482321b169b3.
Blocking: the new semantic evaluator can certify missing chart/table names as PASS. In case-studies/m4-expansion-metrics.mjs, the seven-column check only validates headers.length, headers[0], and headers[6]. It accepts headers[1..5] = "" while still reporting passed: true for an otherwise healthy observation. Similarly, all five SVGs may have the same generic aria-label = "Exact values are in the table below.", because the chart check only requires role="img" and that shared suffix; no chart-specific name/content is required. Both cases contradict the intended evidence claim of seven meaningful column headers and five named chart alternatives, and allow a future accessibility regression to go green.
Please reject empty/whitespace-only all seven column headers, and reject missing or non-descriptive/indistinguishable chart labels (e.g. require a chart-specific descriptive prefix or expected identities). Add negative Node regressions for the two false-positive observations. This is a validation-contract defect, not evidence that the currently deployed site is already missing these names.
Evidence reviewed: six-file diff, source metric/probe/workflow/test code, case document, AGENTS.md/CONTRIBUTING.md, #82 and existing review threads (none). Exact-head hosted workflows all succeeded: Quality checks 6/6, pinned case, 400% zoom and 320px live Chromium. Independent local Node/Playwright runs and separate artifact screenshot inspection: NOT RUN. The positive browser observation does not exercise the missing-label negative paths.
drevendev
left a comment
There was a problem hiding this comment.
Exact-head content review — rounded capital check can pass a wrong value
Reviewed HEAD: f0eefa76ee6ea7e7c1b9b53ea4f641d22254fc28 (BeautifulRepo #207, Related: #82).
The prior reviewer blocker for all seven column headers and five distinct chart labels appears repaired in the current m4-expansion-metrics.mjs: expected per-column identities and chart-specific prefixes are now enforced, with negative cases in the 12-test Node suite. The latest exact-head live Chromium workflow and the other three workflows completed successfully. I inspected their provider evidence; I did not independently execute Node/Playwright or inspect the retained images.
New acceptance-contract false positive (source-level, not a claim about the live site):
assessM4Expansion() checks lastCapitalCell with two substring .includes() calls. In an otherwise valid observation for the pinned expected 78.03677092437883, replacing only the final cell with
178.04 exact 78.03677092437883
still satisfies both conditions: "178.04" contains the expected rounded string "78.04", and the exact number remains present. The evaluator therefore reports PASS although the reader-visible rounded value is wrong (178.04 instead of 78.04). This conflicts with the claimed rounded and exact final-capital verification.
Please parse/compare the intended rounded and exact cell values as distinct complete values (rather than substrings), and add a negative Node case for the otherwise-healthy altered cell. The specific source guard was evaluated; a full executable mutation test was not run. This finding does not undermine the actual positive browser observation, but does leave its regression acceptance predicate incomplete.
Review independence: authenticated actor drevendev is also this PR's author. This is a COMMENT with a bounded content finding, not formal independent approval; the requested andy-zen-dev acceptance gate remains separate.
andy-zen-dev
left a comment
There was a problem hiding this comment.
Independent exact-head re-review — f0eefa76ee6ea7e7c1b9b53ea4f641d22254fc28.
The previous blocking findings on blank intermediate headers and five indistinguishable/generic chart names are addressed in the revised m4-expansion-metrics.mjs and its negative regressions. One remaining merge-blocking acceptance false positive was identified on this new head (also noted in the author's content review): assessM4Expansion() validates lastCapitalCell with substring .includes(expected.lastCapital.toFixed(2)) and .includes("exact " + String(expected.lastCapital)). An observation that is otherwise valid, but whose final cell says 178.04 exact 78.03677092437883 instead of 78.04 exact 78.03677092437883, still passes both predicates. The reader-visible rounded capital is wrong despite a PASS verdict. Thus the probe cannot yet substantiate the claimed rounded and exact value checks.
Please check the complete parsed rounded and exact cell values (not substring occurrence) and add a negative Node regression that mutates only the rounded number in an otherwise valid observation. This is a test/oracle defect, not evidence that the deployed site currently displays the wrong capital.
Evidence: inspected the six-file PR change, current evaluator and 12-case regression suite, repository AGENTS.md/CONTRIBUTING.md, Issue #82 and previous review/history. On this exact head the four GitHub Actions workflow runs report success, including Quality and live 320px Chromium; provider's live job lists the offline M4 suite as successful. Independent local Node/Playwright runs, full browser reenactment and screenshot assessment: not_run. A green positive browser run does not exercise the mutated-cell negative condition.
REQUEST_CHANGES is limited to this acceptance-contract regression; #82's wider screen-reader and deployed-provenance work remains outside this PR.
Review repair — exact HEAD
|
andy-zen-dev
left a comment
There was a problem hiding this comment.
Independent exact-head re-review — 2c949e429a7766036155c9c341f659f2ac846f24.
Verdict: APPROVE. The previous merge-blocking oracle false positive is addressed. assessM4Expansion() now parses the complete rounded/exact capital-cell text with an anchored pattern, accepts both the real rendered adjacent-span form (78.04exact 78.03677092437883) and its spaced equivalent, and compares each captured value to the pinned fixture. It rejects 178.04 exact 78.03677092437883, a wrong exact value, and trailing junk. The previous missing/indistinguishable SVG-name and intermediate-table-header findings remain repaired; no new merge blocker was identified in the six-file diff.
Evidence: read current AGENTS.md/CONTRIBUTING.md, all six file patches, surrounding M4 probe logic, 13 negative/positive metric regressions, #82, review history and unresolved threads (none). Exact-head Actions: Quality 6/6 jobs success; pinned source, native 400% and live 320px Chromium workflows success. Read live job steps/logs: offline M4 suite 13 pass / 0 fail; both light/dark browser observations report 5 named charts, 7 headers, 13 rows, tick 59, 78.04exact 78.03677092437883, no document overflow and no page errors.
Limits: standalone local Node/Playwright reenactment and human screenshot or assistive-technology inspection not run. This is bounded browser/DOM evidence, not screen-reader, table keyboard-panning or complete accessibility certification; #82 remains open. Editorial follow-up (non-blocking): the case study's statement that the new regressions 'require fresh current-head verification' is now stale given the successful exact-head run; refresh it when updating the case evidence.
Reader outcome
Extend the pinned trade_simulation case with a bounded, actual-browser expanded M4 observation. Starting from an initially collapsed page at 320 CSS px, native Tab/Enter opens M4 and Space closes it; capture focus evidence, five named SVG chart alternatives, table caption/seven headers/13 saved rows and rounded+exact final capital against the pinned fixture. Distinguish document overflow from the intentionally scrollable wide table, and preserve a screenshot per emulated theme.
Changes
Unreleasedchangelog, with explicit NOT VERIFIED for screen readers, keyboard table panning, SVG exploration, Legacy controls and actual 400% expanded view.Verification
node --testfor the new metric suite with Node 22: 9/9 passed before publishing.27cbfe9passed all nine provider checks, including Quality CI #41091060332, live Chromium #41091060298, native zoom #41091060285 and pinned source #41091060254. Live M4 evidence: 2/2 emulated themes, 5 chart labels, 13 exact table rows, 0 document overflow, 623 CSS px inner table scroller. See artifact #12993133298.0ff1b33recorded those observed results. Fresh CI on the new PR head must be rechecked before separate later-run acceptance.Related: #82. Preserve separate later-run acceptance; no target repo edits, release, tag, or settings changes.
Independent review repair (30 October 2026)
Reviewer
andy-zen-devfound two false positives on0ff1b33: a report could pass with blank intermediate table headers or five repeated generic SVG labels. That is a validation-contract defect, not evidence that the live site has those problems. The repair now validates all seven expected column identities and meaningful unit text, and all five distinct source-pinned chart identities with descriptions and sampled ranges. Three additional negative tests cover blank headers, generic names and duplicated names.76b5223introduced strict validation and negative tests. Its first workflow correctly failed the positive-test fixture because its sample headings omitted units, which the actual pinned site supplies.f0eefa7updated that fixture to match real published headings. On this exact HEAD, live Chromium workflow #41099017981 passed including 12/12 offline M4 regressions, and pinned source #41099018065 and native 400% #41099018075 passed. Quality CI #41099018039 has now completed 6/6 jobs PASS. All four workflows on the exact repair HEAD are successful (nine checks in total).andy-zen-dev. PriorCHANGES_REQUESTEDremains an active provider finding until new review, and no merge is permitted while that remains unresolved. The live browser result remains a bounded DOM/keyboard observation, not assistive-technology certification.