Skip to content

feat(reports): preserve grouping-comparison graphic delta for serialized successor - #841

Draft
seonghobae wants to merge 4 commits into
feat/leftover-map-compare-coordinates-payload-v2600from
feat/leftover-map-compare-graphic-v2610
Draft

feat(reports): preserve grouping-comparison graphic delta for serialized successor#841
seonghobae wants to merge 4 commits into
feat/leftover-map-compare-coordinates-payload-v2600from
feat/leftover-map-compare-graphic-v2610

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Preserve the valid grouping-comparison graphic-composition delta: draw the existing LeftoverMapPlot from persisted finite ξ / ζ above comparison pair buttons. No new SQL/schema, invented coordinates/scores/theta, or persisted inner-product/cosine/length.

Current stack authority

GitHub base metadata points to immediate predecessor #840 (feat/leftover-map-compare-coordinates-payload-v2600@b5732ba2a6de25595989db0b5fb74308b8eae75a). #840 now records the repaired authority: exact #827 is current, #828 is the earliest active reconstruction, and #829#840 preserve valid downstream deltas. The previous #841 description naming #820 as earliest stale is superseded.

Historical v2.61.0 and product head 87979568b36219ae99631e88f32d0af1a9247923 are evidence only. ADR0304 remains Proposed; reconstruct this graphic delta only after exact promoted #840 and allocate a coherent then-unclaimed release identity. Sibling #842 owns a distinct axis-share decision and must remain separate rather than collapsing historical duplicate release numbers.

Descendants that contain this provisional head must be reconstructed after #841 moves; predecessor checks/approval do not transfer.

Product invariants

Render the existing graphic only for pairs with four finite persisted coordinates. Missing/non-finite coordinates omit the pair rather than inventing a location; stored origin (0, 0) remains valid. Clicking a post marker or pair button opens that post; criterion markers are not post buttons. Do not derive coordinates from rank, distance, Y/E/R/U, reconstruction/share terms, coverage, or axis count. Preserve deterministic identity/layout and current-parent ABAC.

Canonical KO/EN/JA/ZH/VI/ES/DE/FR translation authority remains #922/#929/#932. Keep Draft until realistic current-parent RED, causal repair, exact-head repository/security GREEN, production build/Storybook, current responsive/pointer/touch/keyboard/focus/a11y browser evidence, translation-ledger convergence, applicable authenticated PostgreSQL/k6 acceptance, and qualifying independent approval are current. No force-push, destructive rebase, self-approval, parent bypass, or gate weakening.

…61.0)

Draw the leftover-map graphic display of persisted ξ / ζ above grouping comparison leftover-pair buttons when four leftover-map axes are finite (ADR 0304).
@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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.

Copy link
Copy Markdown
Contributor Author

Cycle overlay 2026-08-31 03:39 KST. Writes work. Do not self-approve. Do not squash-merge.

Independent approval is required. No self-approval, admin bypass, or force push.

@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 thread frontend/src/App.tsx
Comment on lines +4094 to +4105
<LeftoverMapPlot
pairs={row.leftover_pairs}
criterionLabel={criterionShortLabel}
onSelectPost={(pair) => {
onSelectPost(pair.post_id, {
fromLeftoverPair: {
pairKind: pair.pair_kind === "farthest" ? "farthest" : "closest",
criterionCode: pair.criterion_code,
},
});
}}
/>

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: Marker clicks preserve criterion focus

Each marker resolves to a plottable authorized pair. Its kind and criterion reach onSelectPost, preserving the pair-button landing behavior.

Devin Review

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

Comment thread frontend/src/App.tsx
Comment on lines +4094 to +4105
<LeftoverMapPlot
pairs={row.leftover_pairs}
criterionLabel={criterionShortLabel}
onSelectPost={(pair) => {
onSelectPost(pair.post_id, {
fromLeftoverPair: {
pairKind: pair.pair_kind === "farthest" ? "farthest" : "closest",
criterionCode: pair.criterion_code,
},
});
}}
/>

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: Comparison metadata remains separate

The reused plot receives neither axis shares nor coverage. It keeps generic axes while existing validated comparison notes remain outside the figure.

Devin Review

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

Preserve #841 ADR 0304 graphic/product delta while inheriting current #840 ancestry through a normal two-parent merge. No force-push or destructive rebase.

@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-head governance finding paired with #842 review 5123590911: this Draft branch owns the grouping-comparison graphic decision at ADR 0304 on exact parent #840 b5732ba2a6de25595989db0b5fb74308b8eae75a, but docs/adr/0304-leftover-map-compare-graphic.md is marked Accepted without qualifying independent current-head approval. Sibling #842 on the same exact parent independently reused ADR 0304/v2.61.0 for axis-share disclosure. Preserve this branch's valid graphic delta and ADR 0304 identity, but return the ADR to Proposed until an unchanged release-ready head is independently approved. #842 is the branch that should move its distinct axis-share decision to verified-unclaimed ADR 0368; do not collapse the two decisions. The shared v2.61.0 release-number collision remains explicit until normal integration ordering or verified successor inheritance resolves it.

seonghobae added a commit that referenced this pull request Sep 6, 2026
Adopt the conflict-free GitHub test-merge tree for exact parent #841 98e2915 while preserving the existing #844 product head 95538f9 as first-parent ancestry. No force push and no product delta is dropped.
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
Preserve the #844 ADR 0305/v2.62.0 axis-share delta while adopting #8418797956, including the ADR 0304 Proposed governance contract and regression. No force push and no product delta is dropped.
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026
seonghobae added a commit that referenced this pull request Sep 6, 2026

@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.

Exact-head Tests run 34004916439 is a real source RED, not a queue/control-plane failure. Three causal defects are current: (1) the grouping-graphic branch dropped the previously reviewed small-canvas caption-bounds repair, so the 20px regression gets labelY=-20; (2) Vietnamese explained-share production copy regressed to phần dư giải thích..., and its regression test also duplicates the pre-coverage English caption instead of importing LEFTOVER_MAP_PLOT_CAPTION; (3) runtime provenance still reports lineageweave.__version__ = 2.41.0 while pyproject/frontend ship 2.61.0. The full Python run otherwise reached 1766 passed / 147 skipped before the version invariant failed. Repair must preserve ADR 0304 Proposed and the grouping-graphic delta, carry the known caption-bounds algorithm forward, restore the two Vietnamese share strings, bind the Vietnamese regression to the production caption constant, and synchronize runtime version to 2.61.0. No gate weakening or predecessor-check transfer.

@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.

Foundation correction: the small-canvas/Vietnamese/runtime drift reproduced here is already present on direct parent #840 (b5732ba2a6de25595989db0b5fb74308b8eae75a). The existing child-local r2 lane 34012511589 is therefore not the canonical promotion path even after repair. A new #840 exact-head lane owns the shared patch; keep ADR 0304/v2.61.0 delta intact, then reconstruct #841 non-force from the repaired #840 and synchronize runtime identity to 2.61.0. Do not promote the sibling-local patch as an independent source fork.

@seonghobae seonghobae changed the title feat(reports): leftover-map graphic on grouping comparison strip (v2.61.0) feat(reports): preserve grouping-comparison graphic delta for serialized successor Sep 7, 2026
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