Skip to content

feat(reports): leftover-map origin on leftover-map graphic leftover-map criterion leftover-map item coordinates independently of leftover-map person coordinates (v2.104.0) - #891

Draft
seonghobae wants to merge 1 commit into
feat/leftover-map-axis-tick-origin-badge-v21030from
feat/leftover-map-plot-criterion-origin-badge-v21040
Draft

feat(reports): leftover-map origin on leftover-map graphic leftover-map criterion leftover-map item coordinates independently of leftover-map person coordinates (v2.104.0)#891
seonghobae wants to merge 1 commit into
feat/leftover-map-axis-tick-origin-badge-v21030from
feat/leftover-map-plot-criterion-origin-badge-v21040

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Stacked on #889 @ 4bfb490 (feat/leftover-map-axis-tick-origin-badge-v21030). leftoverMapPlotCriterionBadge (ADR 0347 / v2.104.0) names leftover-map origin on leftover-map graphic leftover-map criterion leftover-map item coordinates independently of leftover-map person coordinates.

  • Distinct accessible name leftover-map criterion {label} at leftover-map origin ζ {item} when leftoverMapPlotCoordinatePairIsOrigin returns true (formatLeftoverMapCoordinatePair(0, 0) === (0.00, 0.00)).
  • Rank-0 unused axes still name leftover-map origin (0.00, 0.00).
  • Non-origin leftover-map graphic leftover-map criterion leftover-map item coordinates stay leftover-map criterion {label} at ζ {item}.
  • leftoverMapComparePlotCriterionBadge stays leftover-map comparison graphic leftover-map criterion leftover-map item coordinate keys from ADR 0336.
  • leftoverMapPlotPostBadge stays leftover-map graphic leftover-map post leftover-map person coordinate keys from ADR 0338.
  • leftoverMapAxisTickBadge stays leftover-map leftover-axis origin tick keys from ADR 0346. Do not mix feat(reports): leftover-map origin on leftover-map comparison graphic leftover-map axis ticks independently of leftover-map axis share and leftover-map singular values (v2.92.0) #877.
  • Do not invent leftover-map origin from leftover-map person coordinates ξ.
  • UI-only. No SQL. No new columns. Never invent a leftover score. Never invent a theta.

Test plan

Leave open for independent review. Do not self-approve. Do not squash-merge.


Devin Review

…ap criterion leftover-map item coordinates independently of leftover-map person coordinates (v2.104.0)

Caption leftover-map graphic leftover-map criterion leftover-map origin leftover-map item coordinates through leftoverMapPlotCriterionBadge independently of leftover-map person coordinates (ADR 0347). Distinct accessible name leftover-map criterion {label} at leftover-map origin ζ {item} when leftoverMapPlotCoordinatePairIsOrigin returns true. Rank-0 unused axes still name leftover-map origin (0.00, 0.00). leftoverMapComparePlotCriterionBadge stays leftover-map comparison graphic leftover-map criterion leftover-map item coordinate keys. leftoverMapPlotPostBadge stays leftover-map graphic leftover-map post leftover-map person coordinate keys. Do not invent leftover-map origin from leftover-map person coordinates ξ. Do not mix #877.
@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: e0bd6396-9189-4110-be20-1b1f91b40258

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.

Copy link
Copy Markdown
Contributor Author

Exact head 47dd988. oxlint 0/0, tsc -b clean, vitest 817 passed on leftover-map origin-criterion files. Independent APPROVE required on this exact head (Devin COMMENT is not APPROVE). Leave stacked leftover-map PRs open. Do not self-approve. Do not squash-merge. Do not mix #877. Issues #79 and #87 stay OPEN. Do not merge #808 without independent APPROVE. Do not merge #885#889 without independent APPROVE.

@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 +61 to 68
export function leftoverMapPlotCoordinatePairIsOrigin(pairLabel: string): boolean {
const origin = formatLeftoverMapCoordinatePair(0, 0);
return origin !== null && pairLabel === origin;
}

export function formatLeftoverMapCoordinates(
personAxis1: number | null | undefined,
personAxis2: number | null | undefined,

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: Origin follows displayed precision

leftoverMapPlotCoordinatePairIsOrigin treats coordinates rounding to (0.00, 0.00) as origin. This matches ADR 0347 and the displayed two-decimal coordinates.

Devin Review

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

Comment on lines +229 to +233
const origin = leftoverMapPlotCoordinatePairIsOrigin(item);
return {
key: origin ? LEFTOVER_MAP_PLOT_CRITERION_ORIGIN : LEFTOVER_MAP_PLOT_CRITERION,
values: { label, item },
};

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: Origin key remains isolated

Only leftoverMapPlotCriterionBadge selects the new key. Comparison, post, and list labels retain their existing helpers and accessible names.

Devin Review

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

Copy link
Copy Markdown
Contributor Author

Next buyer increment stacks on this exact head (47dd988): leftover-map origin on leftover-map graphic leftover-map post leftover-map person coordinates independently of leftover-map criterion leftover-map item coordinates as leftoverMapPlotPostBadge (ADR 0348 / v2.105.0). leftoverMapComparePlotPostBadge and leftoverMapPlotCriterionBadge stay this increment. Do not mix #877. Leave #891 open for independent exact-head APPROVE. Do not self-approve. Do not squash-merge. Issues #79 and #87 stay OPEN.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant