Repository navigation
F4: exact signed-bar geometry and full-precision value cells (#22) - #67
Merged
Merged
Conversation
…efs #22) Row geometry comes from whole-selection P/N extrema (spec §6.6): positive-only and negative-only rows keep H, mixed rows grow to H × (P + N) / M with the axis H × P / M below the top, and M = 0 rows keep a thin near-top baseline. Floats are derived only for pixels via an exponent-aware ratio. One SignedValueCell serves Flows and Scores with adaptive value-only labels, full-lexeme hover/focus tooltips, blank absence, N/A and no bar for zero. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
6 tasks
QA D1: in lopsided mixed rows with under 1 px on the smaller side, the 1 px minimum bar was clamped across the axis. Bars are now always anchored at zero, capped by the room on their own side, with the hairline extending into the cell padding instead. QA D2: M is chosen by exact magnitude comparison rather than a float ratio. Also announce absent cells via visually-hidden text and correct the decimalRatio doc. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
Ready for maintainer review
Not merged; waiting for the maintainer. |
This was referenced Nov 14, 2026
DavidVFitzGerald
added a commit
that referenced
this pull request
Nov 15, 2026
# Conflicts: # apps/frontend/src/components/comparison/SignedValueCell.tsx # apps/frontend/src/components/comparison/geometry.ts # apps/frontend/src/services/README.md
8 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.
Refs #22 (F4-03). Phase 1, mock services only. No contract change, so no ADR.
Behavior
Row geometry (
components/comparison/geometry.ts) is derived from the whole-selection extrema P and N.Precision. Floats are used only for pixels, through the exponent-aware
decimalRatio, so1e-300and1e999stay valid.formatDecimal: the value only, in adaptive fixed or scientific notation, rounded from the exact digits.displayDecimal.-0displays as0.SignedValueCellis the single component for both Flows and Scores. Each cell is one of three states:0with no barN/Awith its reason and no barColour, sign and labels:
Checks (workspace container)
Limitations
🤖 Generated with Claude Code