Repository navigation
Add revision-consistent mock comparison and indicator services - #42
Merged
Merged
Conversation
5 tasks
5 tasks
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.
Outcome
Add mock indicator/comparison reads with immutable revision snapshots and bounded row/cell windows. Flow rows contain only represented identities; scores preserve source order and exact missing states. Refs #8.
Scope and acceptance evidence
Phase 1/F1 AC1–5: ordered presence unions, decimal strings/zero/absence/N/A/cell warnings, snapshot-bound tokens/cursors, deterministic async latency/errors/cancellation, sparse generated fixtures and transport budgets. Default reads perform no numeric difference comparisons; true differences requests remain UNSUPPORTED_OPERATION until #29.
A small shared mock runtime replaces duplicated discovery scheduling/error handling, with all discovery regressions rerun. No UI, real auth/backend, score calculation or normalization.
Validation
SHA
c4368876794a24b2a6146c3b1c86a3631ef3d90a, branchfeat/f1-mock-comparison. Rootless ./dev check and frozen npm ci PASS. In the isolated workspace container, frontend format:check/lint/typecheck/test:unit/build all PASS: 79 tests/four files, including 19 comparison tests and 26 discovery regressions. Git whitespace checks PASS; clean worktree.Generated fixture: 320 selected processes, 1,324 flow rows; per revision, 1,600 sparse process entries plus 1,000 shared entries. Tests request 25-row pages and a 100-cell response under 25 KB without returning a whole matrix. Independent QA PASS AC1–5: #8 (comment). Hosted quality CI PASS at delivered SHA: https://github.com/DavidVFitzGerald/LCA-diff/actions/runs/43537922380.
Decisions and handoff
No PRD/spec deviation or new ADR. Historical folders excluded; no host installation, secrets, licensed data or lock changes. Real security/integration and browser behavior remain linked future work. #9 requires approved #8 merge; #10 requires #9. Leave #8 open pending QA, CI and maintainer merge.