Skip to content

feat(reader): find single-book metrics by unordered terms - #556

Merged
andy-zen-dev merged 6 commits into
masterfrom
scrip-reader-metric-search-terms-20261117
Nov 17, 2026
Merged

andy-zen-dev merged 6 commits into
masterfrom
scrip-reader-metric-search-terms-20261117

Conversation

@andy-zen-dev

Copy link
Copy Markdown
Collaborator

Refs #283.

Reader outcome: the single-book measurements search now matches all space-separated terms across the validated metric label, stable ID and unit, regardless of order or case, with Russian ё/е equivalence. Unmatched terms show the existing explicit no-result row; clearing restores the full measured table. Search runs only on metric metadata in the local verified JSON, never manuscript text.

Proof added: source-backed Node smoke over pinned Anna metrics (positive, reversed terms, missing combinations, clear, ё/е and no book-title leakage); desktop/mobile Chromium acceptance exercises the shipped workbench input, zero-result state and 28-row recovery. Updated field help, README and canonical compact queue. Original no-JS data and all 298 measurements, 11 measured editions, source hashes, licensing and FantLab UNKNOWN/M2 0/5 remain unchanged.

Authoring verification: three modified JavaScript files compile; isolated matcher executed over the pinned snapshot with seven passed cases plus ё/е, and branch/ref readback matches exact written heads. Full Python, Pages build, Node process, real Chromium and exact-head CI: NOT_RUN here. Screenshots: VISUAL_NOT_VERIFIED. Later-run independent review/checks required; do not merge in authoring run.

@andy-zen-dev
andy-zen-dev merged commit d9c5182 into master Nov 17, 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.

1 participant