feat(reports): leftover-map singular values on leftover-axis badges (v2.47.0) - #823
Conversation
…v2.47.0) Caption leftover-axis report badges with persisted leftover-map singular values σ_k when finite and non-negative (ADR 0290). Pair-list leftover-axis badges stay distinct from leftover-map graphic axis captions. Do not invent σ_k from leftover-map axis share. UI-only; no SQL; no new columns. 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 |
|
Write-retry this cycle (seonghobae gh). #823 is leftover-map v2.47 leftover-axis badge singular values at |
| export function leftoverMapAxisBadgeShare( | ||
| leftoverShare: LeftoverMapAxis["leftover_share"] | null | undefined, | ||
| ): string { | ||
| return ((leftoverShare ?? Number.NaN) * 100).toFixed(0); | ||
| } |
There was a problem hiding this comment.
| export function leftoverMapAxisBadgeSingular( | ||
| axis: Pick<LeftoverMapAxis, "axis_index"> & { | ||
| leftover_singular_value?: LeftoverMapAxis["leftover_singular_value"] | null; | ||
| }, | ||
| ): string | null { | ||
| return formatLeftoverMapPlotAxisSingular( | ||
| leftoverSingularForAxis([axis], axis.axis_index), | ||
| ); | ||
| } |
|
Write-retry this cycle (seonghobae gh). #823 leftover-axis badge σ_k (v2.47.0 / ADR 0290) stays open at |
|
Cycle 2026-08-30T14:20Z: still waiting on independent APPROVE of exact head |
|
Cycle 2026-08-30T14:24Z: write probe (comment). Independent APPROVE still required. Do not self-approve. Stack continues leftover-map singular values after v2.47.0. |
Summary
σ_k(ADR 0290 / v2.47.0).make seed, leftover-axis badges name persisted leftover-map singular values when finite together with persisted leftover-map axis share; leftover-map graphic axes name those same singular values; click a leftover pair opens that post.σbadge and keepsleftover axis {k} {share}%. Rank-0 unused axes still nameσ 0.00. Pair-list leftover-axis badges stay distinct from leftover-map graphic axis captions (leftover axis {k} σ {value} {share}%vsleftover-map axis {k} σ {value} ({share}%)). Do not inventσ_kfrom leftover-map axis share.feat/leftover-map-plot-singular-v2460/ feat(reports): leftover-map singular values on graphic axes (v2.46.0) #820 @b7222713). 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.Verification
App.test.tsx,LeftoverMapPlot.test.tsx,LeftoverPairList.test.tsx,i18n.test.ts,leftoverMapPlotAxisSingular.test.ts,leftoverMapAxisBadge.test.ts).tests/test_leftover_pairs.pyand PostgreSQL period-report tests were not executed here (UI-only; no schema change).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.