Repository navigation
feat(site): show measured stage in generated Reader homepage - #330
Conversation
|
Exact-head verification for |
drevendev
left a comment
There was a problem hiding this comment.
Exact-head review — REQUEST_CHANGES (public Reader attribution)
Candidate: 5d6927b90cf1ade8ebf1032f3b1be9a2a8fd66bd; linked #285. This is a review of the four-file Python-generated Reader stage panel, not of the separately deployed branch-root site.
Blocking consumer/documentation mismatch after #332 merged: the current master / (root) Pages source contains index.html with the four-book interactive preview, but does not render this PR's stage-overview. The new panel is injected only by scriptorium/site_renderer.py::_render_index into the separate build/site/index.html. However, this PR's new README text says without qualification that "The Reader homepage now summarizes" the measured stage, immediately under the public Pages link. The current master README already distinguishes the public branch-root preview from the separately built full Python Reader. As presented, the proposed statement would misidentify which consumer actually sees the new feature.
The PR handoff also still says Pages is disabled and an administrator must enable it. That was superseded by the read-back in #285 and by merged #332: branch Pages is already enabled; the separately guarded Actions-artifact deploy path is different.
Required bounded correction: reconcile the README with current master so the new evidence-coverage panel is explicitly described as part of the separately built Python Reader, not as a feature of the branch-root Pages homepage; update the PR's deployment limitation to the current branch-vs-artifact distinction. Do not silently expand this PR to a second deployment path. Re-evaluate integration and exact-head checks once the newer master is incorporated.
Otherwise positive source review: render_stage takes counts from the retained matrix, checks 4 measured works / 113 rows / 94 numeric / 19 unavailable, keeps M2 at 0/5, distinguishes NOT_RUN, escapes work titles, and has negative regression coverage. All three workflows reported SUCCESS for this head (Reader, Pages, diagnostic); these are pre-#332-base checks and do not prove the newer integration candidate. Browser screenshots and the deployed root route were not independently exercised in this review. Source/CI judgement is not a live-publication claim.
Merge current master into the stage-panel branch without dropping the research atlas. Preserve branch-root Pages and distinguish it from the local/CI-generated full Reader in README.
|
Post-#332 review recovery — exact head
PR remains open for later independent acceptance. The root public Pages branch is unchanged by this review fix. |
drevendev
left a comment
There was a problem hiding this comment.
Exact-head acceptance — approved
Reviewed HEAD: 7cd71194ae20d16994ba314ae1602100e4bead77, against current master@6098ce582ed7d06b9dbaec82a75957ac779a601e. This is a content/CI judgement for the Python-generated Reader stage only, not public Pages publication.
The previous CHANGES_REQUESTED finding is resolved: README and PR handoff now distinguish build/site/index.html (generated full Reader, with the new per-work stage) from the independently published master / (root) four-book Pages preview. The branch has incorporated the newer master changes, and the diff remains limited to README.md, site_renderer.py, new site_stage.py, and its tests.
Source review finds consistent numeric/unavailable totals and M2 0/5, explicit UNKNOWN/NOT_RUN semantics, escaped titles, reject-on-invalid matrix validation, and positive/negative coverage. The stage's four aggregate numbers partly duplicate the existing research atlas, but its per-work table adds useful detail; that is a non-blocking consumer-design tradeoff.
Exact-head evidence: Pages #40499659168, Reader package #40499659205, and frozen diagnostic #40499659312 all completed SUCCESS. Pages build artifact 12732560298 is associated with this HEAD. I inspected the changed source and CI/job/artifact metadata; I did not re-execute local tests, independently validate the artifact bytes, inspect desktop/mobile browser screenshots, or perform live Pages readback.
Acceptance boundary: #285 public deployment/live verification and #284 licensing remain separate. The generated-only panel is not a feature of the branch-root public URL; this approval does not establish publication or FantLab scientific parity.
Refs #285 (generated Reader evidence experience; does not change Pages administration or deployment gates).
What ships
python -m scriptorium.site_renderer --repo-root . --output build/siteputs a readable stage panel inbuild/site/index.html, immediately next to the pre-existing research atlas. It derives per-book measurement availability directly from the checked-in source-free FantLab evidence matrix: 4 measured books, 94 numeric observations, 19 unavailable values, 5 frozen sources, M2 source-matched parity 0/5. The complete table is linked at generatedbuild/site/evidence/fantlab/.Exact deployment boundary, corrected after #332
GitHub Pages is already enabled and GitHub publishes
master / (root). PR #332 added its real rootindex.html, four-book comparison bars, metric explorer and local derived JSON. This PR does not add the stage panel to that public root site and does not change the Pages source or any secret/variable. The independent Actions-artifact deploy job remains guarded bySCRIPTORIUM_PAGES_DEPLOY_ENABLED, but that gate is not needed for branch Pages. Source/data licensing #284 and scientific M2 parity remain open; do not imply a live browser check.Review recovery
Resolved
drevendev's 2026-10-27 CHANGES_REQUESTED review by merging post-#332masterwithout overwriting the separately merged research-atlas homepage, and by correcting README/publication claims. Current integration commit:7cd71194ae20d16994ba314ae1602100e4bead77. The former base's successful CI is stale for this commit; require newly completed applicable exact-head checks and later acceptance before merge. Browser/visual inspection: NOT_VERIFIED; branch-root public site: unchanged by this PR.