Skip to content

feat(reader): present pinned Anna word-boundary results - #453

Merged
andy-zen-dev merged 2 commits into
masterfrom
scrip-reader-anna-full-boundary-evidence-20261107
Nov 7, 2026
Merged

andy-zen-dev merged 2 commits into
masterfrom
scrip-reader-anna-full-boundary-evidence-20261107

Conversation

@andy-zen-dev

Copy link
Copy Markdown
Collaborator

Refs #281 and #283 (partial).

Product outcome

  • Extend the existing Russian Reader word-density case with an accessible, no-JS seven-policy full-book table and common-zero signed delta chart, using the pinned 239-revision Anna evidence merged in feat(repro): replay Anna word boundaries on the pinned full text #452.
  • Display exact source length, SHA-256, original hosted run, per-1,000-baseline-word units, and independent one-factor/non-additivity boundaries; FantLab input identity remains UNKNOWN and M2 0/5.
  • Pin all 21 public count/delta/rate values and source metadata in positive + adversarial CI regressions; stage the actual case-study route in branch-root Pages CI preview.

Verification / acceptance gates

  • Connector-side source/HTML cross-check: 21/21 exact values and seven variant IDs PASS; original retained JSON unchanged. Fresh exact-head Python/Pages CI and browser visual inspection NOT_RUN at PR creation. Require later independent review before qualifying merge.
  • No new corpus admission, source prose, extra dependencies, FantLab parity claim or deployment assertion. The generated-site artifact and branch-root Pages are separate publication surfaces; LIVE_NOT_VERIFIED.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Review of exact HEAD b629e80ac446bd6655e2cfde9d7a85731d690aa7 — REQUEST_CHANGES (one acceptance blocker).

The source-backed table is correct as authored, and the canonical seven-variant JSON, the
21 value attributes, source identity, provenance and M2 0/5 boundaries agree.
All 23 observed exact-head workflow runs succeeded, including Reader and Pages
artifact construction; the Pages deployment job was skipped. I did not rerun
Python tests or perform browser/print visual acceptance.

Blocking: the numeric regression checks metadata but not what readers see.
In tests/test_word_density_reader.py, _assert_probe_matches_frozen
extracts only the data-probe attributes and value attributes; it never
inspects the human-visible content of the <data> cells. Thus changing
<data data-probe="split_ascii_hyphen:word_count" value="270969">270 969</data>
to the same element with visible text 270 968 leaves all 21 extracted
pairs identical to the frozen JSON, even though the Reader now publishes a
false word count. I reproduced this exact one-character mutation in the
current HTML and confirmed the 21-pair comparison still succeeds; I did
not run the whole Python suite on a modified checkout. The existing
adversarial regression only changes the attribute, not the visible number.

Please bind each rendered numeric cell's visible text (including grouping,
decimal comma and signs) to its canonical value/frozen count and add
a negative test that corrupts only the rendered text. This is in scope:
the PR explicitly promises that all 21 published values are verified.
The chart labels should also remain consistent with those counts.
No new research, metric definitions or deployment claims are needed.

Non-blocking: the new README "Explore in the Russian Reader" relative
Markdown link opens the HTML file on GitHub, not the rendered Pages route;
consider making that user-facing destination explicit when it is verified.

Comment thread tests/test_word_density_reader.py Resolved

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Review of exact HEAD aefbdef9a9b1e4c91f0c961b9394f74e771530c5 — APPROVE.

The previous blocking visible-number regression gap is resolved. The new assertion compares all 21 public <data> text values to their canonical frozen value attributes (grouped integers, signed changes, decimal commas and six-place rates); negative cases now alter only human-visible counts/rates. It also checks chart labels, bar directions, common-max widths, source metadata and the frozen run reference. I independently cross-checked the exact-head HTML and immutable JSON: 7 variants, 21/21 published numeric cells, 3/3 chart labels and widths match. A visible-only one-digit mutation was distinguishable without altering the machine-readable value.

The source provenance and scientific boundaries remain intact: 239 pinned revisions, normalized source SHA-256 1dcf2af815f6288099f77a038d873690fb0dc72edf81d2094fd29f3d5a30c205, independent one-factor probes, DIAGNOSTIC_ONLY, FantLab input UNKNOWN, M2 0/5. No manuscript prose is published by this change.

All 23 retrieved exact-head workflow runs completed successfully. The relevant Reader, Pages verify/build and frozen-diagnostic jobs passed (GitHub Actions runs 42344594769, 42344594824 and 42344594755). The Pages deployment job was skipped, not passed. Python/browser/print tests were not independently rerun in this review; public deployment and visual acceptance are not verified.

Content judgement only; this approval does not certify live-site publication, FantLab parity or completion of Issues #281/#283. No blocking defect remains in this PR's bounded source/Reader contract.

@andy-zen-dev
andy-zen-dev merged commit bf31bdf into master Nov 7, 2026
27 checks passed
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