Skip to content

feat(reports): leftover-map rank on grouping comparison graphic (v2.75.0) - #858

Draft
seonghobae wants to merge 3 commits into
feat/leftover-map-compare-plot-expected-v2740from
feat/leftover-map-compare-plot-rank-v2750
Draft

feat(reports): leftover-map rank on grouping comparison graphic (v2.75.0)#858
seonghobae wants to merge 3 commits into
feat/leftover-map-compare-plot-expected-v2740from
feat/leftover-map-compare-plot-rank-v2750

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Caption persisted leftover-map rank on the grouping comparison leftover-map graphic from already-named leftover_map_rank (ADR 0318 / v2.75.0).

Live authority

  • current parent/base: #857@549441180e713aba5c4199efc15a44f1c3c11a29
  • current product head: 4b9184fd83f6749e25384d7bcf5d9d7721437b77
  • Draft / conflicting; current compare is ahead 3 / behind 46 with merge base old feat(reports): leftover residual on grouping comparison graphic (v2.72.0) #855 1087b16f2dba743bc0d1d4e08ff50811b5845393
  • current-head review 5123611005 records the rank reconstruction finding

This branch is not a one-delta child of current #857. Its history replays old observed, old expected, then rank, while current #857 owns materially newer expected/ADR/docs/i18n/plot/test content. Selecting the old #858 tree wholesale would discard valid current-parent content. Force rebasing or choosing one side's files wholesale is prohibited.

The previous reconstruction RED automation/858-rank-reconstruction-red-20260906@bde3776fb8d2b16a3c9af780a30541d3796acfec is now stale because #857 moved from 2c256e58… to 549441180…. #857's movement is a deliberate realistic governance RED for premature ADR 0317 acceptance; its isolated causal repair must become GREEN and be promoted first. Retargeting this PR to current #857 is complete, but reconstructing rank on a knowingly RED parent would create another stale successor, so the old reconstruction evidence must not be promoted or reused as GREEN.

Product invariant

Comparison copy uses leftover map comparison graphic leftover-map rank {label} so it stays distinct from leftover-map rank {label} and from strip Leftover map comparison rank. A missing, negative, or non-integer rank omits that caption and keeps leftover expected E. Rank-0 origin cells still name rank 0 when that persisted leftover-map rank is a non-negative integer. Do not invent rank from plotted coordinates or distance; never invent a leftover score or theta; no new columns.

Keep Draft. After #857's ADR-status repair is promoted, reconstruct the rank delta non-force onto that exact GREEN parent while preserving the parent governance regression and current observed/expected semantics. Required exact-head GREEN and independent approval must be regenerated after reconstruction; predecessor checks do not transfer.

…3.0)

Caption persisted leftover observed Y on the grouping
comparison leftover-map graphic from already-named observed_response
(ADR 0316). Comparison copy uses leftover map comparison graphic leftover
observed {label} so it stays distinct from leftover observed {label}
and from strip Leftover map comparison observed.
A missing or non-finite Y omits that caption and keeps leftover residual,
leftover-map unexplained leftover, leftover-map cross share, leftover-map
unexplained leftover share, leftover-map explained leftover share,
leftover-map reconstruction, leftover-map distance, and comparison graphic
coverage notes. Rank-0 origin cells still name Y 0.00 when that leftover
is finite. Do not caption leftover expected this increment. Do not invent
Y from R and E or leftover residual. Never invent a leftover score.
Never invent a theta. No new columns.
…4.0)

Caption persisted leftover expected E on the grouping
comparison leftover-map graphic from already-named expected_response
(ADR 0317). Comparison copy uses leftover map comparison graphic leftover
expected {label} so it stays distinct from leftover expected {label}
and from strip Leftover map comparison expected.
A missing or non-finite E omits that caption and keeps leftover observed,
leftover residual, leftover-map unexplained leftover, leftover-map cross
share, leftover-map reconstruction, leftover-map distance, and comparison
graphic coverage notes. Rank-0 origin cells still name E 0.00 when that
leftover is finite. Do not caption leftover-map rank this increment.
Do not invent E from Y and R. Never invent a leftover score.
Never invent a theta. No new columns.
…5.0)

Caption persisted leftover-map rank on the grouping
comparison leftover-map graphic from already-named leftover_map_rank
(ADR 0318). Comparison copy uses leftover map comparison graphic leftover-map
rank {label} so it stays distinct from leftover-map rank {label}
and from strip Leftover map comparison rank.
A missing, negative, or non-integer rank omits that caption and keeps leftover expected,
leftover observed, leftover residual, leftover-map unexplained leftover, leftover-map cross
share, leftover-map reconstruction, leftover-map distance, and comparison
graphic coverage notes. Rank-0 origin cells still name rank 0 when that
leftover-map rank is a non-negative integer. Do not caption leftover-map distance this increment.
Do not invent leftover-map rank from plotted coordinates or leftover-map distance. Never invent a leftover score.
Never invent a theta. No new columns.

Copy link
Copy Markdown
Contributor Author

Exact head 4b9184f stacked on #857 @ 9f34d2c. Comparison graphic leftover-map rank uses leftover map comparison graphic leftover-map rank {label} so it stays distinct from hyphen leftover-map rank {label} and strip Leftover map comparison rank. Independent APPROVE required on this leftover-map rank increment before squash-merge. Do not self-approve. Do not squash-merge onto the unprotected leftover base. Issues #79 and #87 stay open. Next buyer increment is leftover-map distance on this comparison graphic (ADR 0319 / v2.76.0).

@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 19fdffd7-4526-40ae-b15e-c70a06730483

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

Comment on lines 470 to +478
x={segment.rankX}
y={segment.rankY}
textAnchor="middle"
aria-label={tf(LEFTOVER_MAP_PLOT_SEGMENT_RANK, {
label: segment.rankLabel,
})}
aria-label={tf(
variant === "comparison"
? LEFTOVER_MAP_COMPARE_PLOT_SEGMENT_RANK
: LEFTOVER_MAP_PLOT_SEGMENT_RANK,
{ label: segment.rankLabel },
)}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Info: Shared layout remains unchanged

variant changes only the three accessible-name templates. Formatting, omission rules, and stacked positions still use the existing shared layout.

(Refers to this code)

Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment on lines +10 to +11
export const LEFTOVER_MAP_COMPARE_PLOT_SEGMENT_RANK =
"leftover map comparison graphic leftover-map rank {label}";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Info: Rank omission stays centralized

The shared formatLeftoverMapRank rejects missing, negative, fractional, and non-finite values before either plot renders a caption. Zero remains valid.

Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Copy link
Copy Markdown
Contributor Author

Independent APPROVE required on exact head 4b9184fd. Devin COMMENT is not independent APPROVE. Do not self-approve. Do not squash-merge onto the unprotected leftover base. Next buyer gap after this head: leftover-map distance on the grouping comparison graphic with a distinct name (deferred in this increment).

Copy link
Copy Markdown
Contributor Author

Independent APPROVE still required on this leftover-map rank head 4b9184f (v2.75.0). #859 leftover-map distance (v2.76.0) is stacked here at 9ba8535. Do not self-approve. Do not squash-merge onto the unprotected leftover base. Issues #79 and #87 stay open.

@seonghobae
seonghobae marked this pull request as draft September 4, 2026 08:05

@seonghobae seonghobae left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current-parent reconstruction finding: the base now correctly points to #857 2c256e58e08b082b7936b99f3d1481f2f3bc833e, but this child cannot use the conflict-free two-parent adoption pattern used for #844#857. GitHub produces no current test-merge SHA. Exact compare is ahead 3 / behind 45 with merge base old #855 1087b16f...; the branch replays old observed c7a8680f..., old expected 9f34d2cb..., then rank 4b9184fd... instead of being a one-delta child of current #857. Current #857 differs from its old ade9ed5... product head only by inherited foundation/version-test files, but old expected 9f34d2cb... and ade9ed5... themselves diverge materially across AGENTS/ARCHITECTURE/ADR/i18n/plot tests and implementation. Therefore copying the rank commit's whole-file blobs would discard valid current-parent content and is prohibited. Preserve ADR 0318/rank behavior, keep Draft, and reconstruct the rank delta onto exact #857 rather than selecting either old tree wholesale. No force rebase and no predecessor GREEN transfer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant