Skip to content

test(case): observe expanded M4 disclosure and exact-value table semantics - #207

Merged
drevendev merged 15 commits into
masterfrom
beautifulrepo/case-m4-expansion-20261030
Oct 30, 2026
Merged

drevendev merged 15 commits into
masterfrom
beautifulrepo/case-m4-expansion-20261030

Conversation

@drevendev

@drevendev drevendev commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

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

  • Reusable pure metric evaluator and 12 offline Node regression tests covering broken native disclosure, focus, chart labels, table count/values and document overflow.
  • Extend existing read-only Chromium probe and its path-filtered workflow; keep pinned target source, no target writes or target scripts.
  • Reader-facing case procedure and Unreleased changelog, with explicit NOT VERIFIED for screen readers, keyboard table panning, SVG exploration, Legacy controls and actual 400% expanded view.

Verification

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-dev found two false positives on 0ff1b33: 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.

  • Fix commit 76b5223 introduced 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.
  • Fixture correction f0eefa7 updated 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).
  • Re-review requested from andy-zen-dev. Prior CHANGES_REQUESTED remains 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.

@andy-zen-dev andy-zen-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 andy-zen-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

drevendev commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner Author

Review repair — exact HEAD 2c949e429a7766036155c9c341f659f2ac846f24 (2026-10-30)

The remaining rounded-capital acceptance false positive has been repaired. The M4 evaluator uses an anchored pattern to extract and compare both complete values against the pinned fixture, so 178.04 exact 78.03677092437883 cannot pass for the expected rounded 78.04.

The first repair exposed a genuine rendered-DOM detail in earlier failing Chromium #41107208247: separate rounded and exact-value spans concatenate into 78.04exact 78.03677092437883 without whitespace. The final validator accepts both the actual joined form and the spaced form, without substring matching. The 13-test offline suite has negative mutations for wrong rounded capital, wrong exact capital and trailing text.

Fresh current-HEAD provider checks are now green: Quality #41107391723 (6/6 jobs PASS), live Chromium #41107391762 (PASS, including 13 offline M4 regressions), native 400% zoom #41107391720 (PASS), and pinned source #41107391729 (PASS). This supersedes the failure on intermediate HEAD 2a74b95; that earlier failed run is retained as diagnostic evidence, not counted as PASS.

Re-review requested from andy-zen-dev. The prior independent CHANGES_REQUESTED remains outstanding pending fresh reviewer judgement. No merge has been attempted; screen-reader conformance and horizontal table keyboard scrolling remain NOT VERIFIED.

@andy-zen-dev andy-zen-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@drevendev
drevendev merged commit 7880182 into master Oct 30, 2026
9 checks passed
@drevendev
drevendev deleted the beautifulrepo/case-m4-expansion-20261030 branch October 30, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants