feat(reports): leftover-map comparison graphic leftover-map axis leftover-map singular values as leftoverMapComparePlotAxisBadge (v2.83.0) - #867
Conversation
…over-map singular values as leftoverMapComparePlotAxisBadge (v2.83.0)
Caption leftover-map comparison graphic leftover-map axes with persisted leftover-map singular values σ_k through leftoverMapComparePlotAxisBadge (ADR 0326). Comparison graphic copy stays leftover map comparison graphic leftover-map axis {k} σ {value} when share is omitted so it stays distinct from leftover-axis leftover axis {k} σ {value}, from hyphen leftover-map axis {k} σ {value}, and from comparison leftover-axis leftover map comparison leftover axis {k} σ {value}. Rank-0 unused axes still name σ 0.00. Share and singular value omit independently. Do not invent σ_k from leftover-map axis share. Do not invent leftover-map axis share from σ_k. Never invent a leftover score. Never invent a theta.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| export function leftoverMapComparePlotAxisBadge( | ||
| axisIndex: number, | ||
| leftoverSingular: number | null | undefined, | ||
| leftoverShare: number | null | undefined, | ||
| ): LeftoverMapCompareAxisBadge | null { | ||
| const singular = formatLeftoverMapPlotAxisSingular(leftoverSingular); | ||
| const percent = formatLeftoverMapPlotAxisShare(leftoverShare); | ||
| if (singular === null && percent === null) { | ||
| return null; | ||
| } | ||
| if (singular === null && percent !== null) { | ||
| return { key: LEFTOVER_MAP_COMPARE_PLOT_AXIS_SHARE, values: { axis: axisIndex, share: percent } }; | ||
| } | ||
| if (singular !== null && percent === null) { | ||
| return { | ||
| key: LEFTOVER_MAP_COMPARE_PLOT_AXIS_SINGULAR, | ||
| values: { axis: axisIndex, value: singular }, | ||
| }; | ||
| } | ||
| return { | ||
| key: LEFTOVER_MAP_COMPARE_PLOT_AXIS_SINGULAR_SHARE, | ||
| values: { axis: axisIndex, value: singular as string, share: percent as string }, | ||
| }; | ||
| } |
There was a problem hiding this comment.
|
Cycle 2026-08-31 12:16 KST. Writes work as seonghobae. Exact head |
|
Cycle 2026-08-31 12:16 KST. Writes work. Exact head Next buyer increment after this stacked σ_k surface: leftover-map graphic leftover-map axis ticks naming persisted σ_k independently of leftover-map axis share (named helper leftoverMapPlotTickAxisBadge matching leftoverMapComparePlotAxisBadge / leftoverMapPlotAxisBadge / leftoverMapCompareAxisBadge / leftoverMapAxisBadge), or leftover-map comparison graphic leftover-map axis ticks naming persisted σ_k independently of leftover-map axis share, or the next already-persisted leftover-map quantity that still has no buyer caption. Do not persist leftover-map inner product, cosine, or length. Synthetic fixtures only. |
|
Queue cycle 2026-08-31T12:17 KST: leftover-map comparison graphic leftover-map axis leftover-map singular values as leftoverMapComparePlotAxisBadge (v2.83.0) stays open for independent review on exact head |
Adopt exact reconstructed #866 as the current tree while preserving historical #867 as first parent. Retain the v2.83 product delta as executable RED: comparison-graphic axes must preserve persisted σ when share is missing and keep σ/share states independent, without inference or clamping. Exact #866 is the second parent. No force update or destructive rebase.
Adopt exact reconstructed #867 as the current tree while preserving historical #868 as first parent. Retain the v2.84 product delta as executable RED: report-graphic ticks may name persisted σ independently of share, invalid σ falls back to the ordinary tick, and no share or σ is inferred. Exact #867 is the second parent. No force update or destructive rebase.
Ordinary non-force ancestry adoption. Preserve #867 comparison-graphic axis-badge contract delta while inheriting repaired comparison-distance assertions.
Current exact authority
198d6827b2bba2ddb0b703446c522461ee5433293e338bc30983694a6da2a13f37a859fcecd06f25Proposedtests/test_grouping_comparison_graphic_axis_badge_contract.py; ordinary non-force convergence onlyComparison-graphic axes keep σ-only/share-only/combined/empty evidence independent, preserve
σ=0, and never infer or clamp σ/share.No ancestor validation receipt transfers. Keep Draft until the local RED is causally GREEN and fresh exact-head repository/security/browser/a11y/performance evidence plus qualifying independent approval are current.