feat(reports): preserve grouping-comparison residual delta for serialized successor - #835
seonghobae wants to merge 2 commits into
Conversation
Caption leftover residual R on grouping comparison leftover-pair buttons through formatLeftoverMapResidual (ADR 0298). After make seed, closest and farthest leftover pairs sit above the member list with the Gabriel biplot of already-named coordinates and grouping comparison leftover-pair buttons that match R on the pair row; click a post marker or a pair button opens that post. A missing or non-finite R omits that leftover-map comparison residual badge and keeps leftover-map unexplained leftover U when finite. A finite negative leftover is shown, never clamped. Do not invent R from Y and E or from U and R̂. UI-only; no new columns. Never invent a leftover score or a theta. 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.
|
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 |
|
Cycle 2026-08-31 01:35 KST. Head Leave this PR open. Do not squash-merge onto the unprotected leftover base (#833). Do not self-approve. After independent review, retarget onto leftover-coordinates ( Parallel residual #834 on #832 is a competing stack of the same buyer gap; leave both open. Next increment on this head: leftover observed |
| const unexplainedLeftover = formatLeftoverMapUnexplained( | ||
| pair.leftover_map_unexplained, | ||
| ); | ||
| const residual = formatLeftoverMapResidual(pair.leftover_residual); |
| export const LEFTOVER_MAP_COMPARE_RESIDUAL_LABEL = | ||
| "Leftover map comparison residual"; |
|
Cycle 2026-08-31 01:42 KST. Head |
Summary
Preserve the valid grouping-comparison persisted leftover residual
Rdelta while the serialized report stack is repaired. Missing/non-finiteRomits only that metric; finite zero and negative values remain explicit and are never clamped. UI/read-model composition only: no schema, theta authority, invented score, or hidden-population recomputation.Current serialized authority
The live prefix is #828
ac386f981317144a98a0878ca0f13c7731f7cacc→ #82923519e93f0203ebaf9666f60e5eb7e6368dd6219→ #830bebd77c03e5beae469f42361c20bccc80787ebb5→ #83193e1b4fb5601b5733e9a4b0f7b4a9f63ff44354e.#1010 exact
b013b8b7bc717c543b0d2ca8458c60dcc1f2144ecompleted hosted Tests34612342413SUCCESS and normally merged into #831. Fresh #831 Tests34614827175is now terminal SUCCESS on exact93e1b4fb...: frontend/browser job103314015764passed authenticated startup, seed, signed fixture pin and browser acceptance, and PostgreSQL/full-suite job103314016038passed the complete suite. #831 has returned to Draft after validation admission because its ancestor/promotion chain remains incomplete.#829 Tests
34614296610and #830 Tests34613528007remain terminal SUCCESS on their unchanged exact heads; both remain Draft because prerequisite/promotion and independent-review gates are still open.#832 and #833 both target current #831 at exact
93e1b4fb...while preserving their historical recovery/reconstruction heads. #833 itself remains historicaldbff5bf47b06eded0cff64b292815861d7f514f6. This PR therefore correctly stays based on that historical #833 head with headf0da90928f0a01ba46ad82f3c53104edc910a630. Its direct parent branch has not advanced; do not create a speculative or destructive restack. After the ancestor chain is actually promotable and #833 is semantically reconstructed on accepted #831, reconstruct this child non-force from that exact repaired #833 and regenerate all non-transferable evidence.Decision/release identity
Historical ADR0298/v2.55.0 is evidence only and collides with the current serialized allocation. Allocate the then-live collision-free ADR/release identity only during reconstruction on exact repaired #833, and keep the decision Proposed while Draft.
Closed #834 is a competing historical implementation of the same residual buyer gap. Its closed state is valid only if the reconstructed successor proves complete inheritance of every valid source/test/fixture/contract/evidence delta. Before treating #834 as fully superseded, compare it against rebuilt #835; if any valid delta is missing, reopen it or preserve the missing delta through an explicit successor under the no-drop rule.
Product/accessibility invariants
R; never derive it fromY-E,U,R̂, geometry, reconstruction, shares, rank, coverage, pair count, or unused axes.Romits only the residual metric; finite zero and negative values remain explicit and unclamped.Keep Draft until exact repaired #833 exists on an actually promotable ancestor chain, this residual delta is reconstructed non-force, realistic current-parent RED → minimum causal repair → exact-head backend/frontend GREEN is complete, rendered responsive/pointer/touch/keyboard/focus/a11y evidence and canonical translation-ledger consumption are current, applicable authenticated PostgreSQL/k6 evidence exists, and qualifying independent approval/governance conditions are satisfied. No self-approval, bypass, force-push, destructive rebase, ancestor skip, stale-head evidence transfer, or gate weakening.
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.