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 Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks 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 |
Summary
σ_kthrough leftoverMapComparePlotAxisBadge (ADR 0326 / v2.83.0).make seed, grouping comparison leftover-map graphic leftover-map axes name persisted leftover-map singular values when leftoverMapComparePlotAxisBadge returns a usable leftover-map axis caption even when leftover-map axis share is omitted; click a leftover pair opens that post.leftover map comparison graphic leftover-map axis {k} σ {value}when share is omitted so they stay distinct from leftover-axisleftover axis {k} σ {value}(ADR 0325), from hyphenleftover-map axis {k} σ {value}(ADR 0324), and from comparison leftover-axisleftover map comparison leftover axis {k} σ {value}(ADR 0323).leftover map comparison graphic leftover-map axis {k} σ {value}. A missing, non-finite, or negative singular value omits thatσbadge and keepsleftover map comparison axis {k} ({share}%). Rank-0 unused axes still nameσ 0.00. Do not inventσ_kfrom leftover-map axis share. Do not invent leftover-map axis share fromσ_k.feat/leftover-map-axis-singular-only-v2820/ feat(reports): leftover-map singular values on leftover-axis report badges independently of leftover-map axis share (v2.82.0) #866 @593b8d8). Leave this PR open for independent review. Do not squash-merge onto the unprotected leftover base. Do not self-approve. After independent review, retarget onto leftover-coordinates (feat/leftover-map-coordinates-v2240/ feat(reports): persist leftover-map coordinates (v2.24.0) #782) rather than squash-merging here. Issues Milestone 2: port verified direct-PostgreSQL analysis into the protected product architecture #79 and Milestone 2.1: add normalized runtime-analysis schema bridge after v0.77 #87 stay open. Do not merge revert: undo #782 squash until independent APPROVE #808 without independent APPROVE.Test plan
leftoverMapPlotAxisSingular.test.tsleftoverMapComparePlotAxisBadge reads 1.84/0.82, names rank-0 0, omit NaN/Infinity/null/negative independently of share, σ-only copyleftover map comparison graphic leftover-map axis {axis} σ {value}, do not invent σ from leftover-map axis share or share from σ, stay distinct from leftoverMapPlotAxisBadge / leftoverMapCompareAxisBadge / leftoverMapAxisBadgeLeftoverMapPlot.test.tsxgrouping comparison graphic keeps leftover map comparison graphic leftover-map axis 1 σ 1.84 (82%) / leftover map comparison graphic leftover-map axis 2 σ 0.86 (18%); σ-only leftover map comparison graphic leftover-map axis 1 σ 1.84 when share is omittedApp.test.tsxgrouping comparison graphic leftover-map axis 1 σ 1.84 (82%) stays distinct from leftover axis 1 σ 1.84 82% and leftover map comparison leftover axis 1 σ 1.84 82%make seed, leftover-map comparison graphic leftover-map axes name leftover-map singular values even when leftover-map axis share is omitted; click opens that post.Evidence boundary
Authenticated PostgreSQL API and k6 runtime acceptance are not claimed. No real records or credentials. Synthetic fixtures only.
Independent approval is required. No self-approval, admin bypass, or force push.
Jeon, M., Jin, I. H., Schweinberger, M., & Baugh, S. (2021). Mapping unobserved item–respondent interactions: A latent space item response model with interaction map. Psychometrika, 86(2), 378–403.
Gabriel, K. R. (1971). The biplot graphic display of matrices with application to principal component analysis. Biometrika, 58(3), 453–467.