Repository navigation
feat(reader): find single-book metrics by unordered terms - #556
Merged
Merged
Conversation
…le_static_fallback_smoke.cjs)
…ser_acceptance.cjs)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.