Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,11 @@ returns a leftover-map origin leftover-map person coordinate caption independent
`Open leftover-map post {title} at leftover-map origin ξ {person}`. Rank-0 unused axes still name leftover-map origin `(0.00, 0.00)`.
Do not invent leftover-map origin from leftover-map item coordinates `ζ`. leftoverMapComparePlotPostBadge stays leftover-map comparison graphic leftover-map
post leftover-map person coordinate keys. leftoverMapPlotCriterionBadge stays leftover-map graphic leftover-map criterion leftover-map origin leftover-map item coordinate keys this increment.
ADR 0349 captions leftover-map comparison graphic leftover-map post leftover-map origin leftover-map person coordinates with leftover-map origin when leftoverMapComparePlotPostBadge
returns a leftover-map origin leftover-map person coordinate caption independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates. Distinct accessible name
`Open leftover map comparison graphic leftover-map post {title} at leftover-map origin ξ {person}`. Rank-0 unused axes still name leftover-map origin `(0.00, 0.00)`.
Do not invent leftover-map origin from leftover-map item coordinates `ζ`. leftoverMapPlotPostBadge stays leftover-map graphic leftover-map
post leftover-map origin leftover-map person coordinate keys. leftoverMapComparePlotCriterionBadge stays leftover-map comparison graphic leftover-map criterion leftover-map item coordinate keys this increment.
When `R`, `R̂`, `U`, `x`,
`s`, and `e` are finite, `e + s + x = 1`. When `Y`, `E`, and `R` are
finite, `Y − E = R`. When `R`, `R̂`, and `U` are
Expand Down Expand Up @@ -1041,6 +1046,8 @@ Leftover-map graphic leftover-map criterion leftover-map origin leftover-map ite
(ADR 0347) captions leftover-map graphic leftover-map criterion leftover-map origin leftover-map item coordinates when leftoverMapPlotCriterionBadge returns a leftover-map origin leftover-map item coordinate caption.
Leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates independently of leftover-map criterion leftover-map item coordinates
(ADR 0348) captions leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates when leftoverMapPlotPostBadge returns a leftover-map origin leftover-map person coordinate caption.
Leftover-map comparison graphic leftover-map post leftover-map origin leftover-map person coordinates independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates
(ADR 0349) captions leftover-map comparison graphic leftover-map post leftover-map origin leftover-map person coordinates when leftoverMapComparePlotPostBadge returns a leftover-map origin leftover-map person coordinate caption.
Item complete-case coverage
(ADR 0282) captions the leftover-map graphic with how many scored criteria
entered the map. Item complete-case coverage on the pair list (ADR 0285)
Expand Down
2 changes: 2 additions & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,8 @@ ADR 0347 captions leftover-map graphic leftover-map criterion leftover-map origi
returns a leftover-map origin leftover-map item coordinate caption independently of leftover-map person coordinates.
ADR 0348 captions leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates when leftoverMapPlotPostBadge
returns a leftover-map origin leftover-map person coordinate caption independently of leftover-map criterion leftover-map item coordinates.
ADR 0349 captions leftover-map comparison graphic leftover-map post leftover-map origin leftover-map person coordinates when leftoverMapComparePlotPostBadge
returns a leftover-map origin leftover-map person coordinate caption independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates.
Click a post marker or a pair button
opens that post. Those ADRs are the normative mathematical, storage, and
display contracts. Leftover-map axis share
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.d/2.106.0-leftover-map-compare-plot-post-origin-badge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## 2.106.0 — Leftover-map origin on leftover-map comparison graphic leftover-map post leftover-map person coordinates independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates

- Caption leftover-map comparison graphic leftover-map post leftover-map origin leftover-map person coordinates through leftoverMapComparePlotPostBadge
independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates (ADR 0349). After `make seed`, leftover-map comparison graphic leftover-map
post leftover-map origin leftover-map person coordinates name leftover-map origin when leftoverMapPlotCoordinatePairIsOrigin returns true. Distinct accessible name
`Open leftover map comparison graphic leftover-map post {title} at leftover-map origin ξ {person}`. Rank-0 unused axes still name leftover-map origin `(0.00, 0.00)`.
Non-origin leftover-map comparison graphic leftover-map post leftover-map person coordinates stay
`Open leftover map comparison graphic leftover-map post {title} at ξ {person}`. leftoverMapPlotPostBadge stays leftover-map graphic leftover-map
post leftover-map origin leftover-map person coordinate keys. leftoverMapComparePlotCriterionBadge stays leftover-map comparison graphic leftover-map criterion leftover-map
item coordinate keys this increment. Do not invent leftover-map origin from leftover-map item coordinates `ζ`.
Do not mix #877. A finite negative leftover is shown, never clamped. Never invent a leftover score.
Never invent a theta. No new columns.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ All notable changes to this project are documented here. Format follows

### Added

- Period leftover pairs now caption leftover-map comparison graphic leftover-map post leftover-map origin leftover-map person coordinates
through leftoverMapComparePlotPostBadge independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates (ADR 0349 / v2.106.0). After `make seed`, leftover-map comparison graphic leftover-map
post leftover-map origin leftover-map person coordinates name leftover-map origin when leftoverMapPlotCoordinatePairIsOrigin returns true. Distinct accessible name
`Open leftover map comparison graphic leftover-map post {title} at leftover-map origin ξ {person}`. Rank-0 unused axes still name leftover-map origin `(0.00, 0.00)`.
Non-origin leftover-map comparison graphic leftover-map post leftover-map person coordinates stay
`Open leftover map comparison graphic leftover-map post {title} at ξ {person}`. leftoverMapPlotPostBadge stays leftover-map graphic leftover-map
post leftover-map origin leftover-map person coordinate keys. leftoverMapComparePlotCriterionBadge stays leftover-map comparison graphic leftover-map criterion leftover-map
item coordinate keys this increment. Do not invent leftover-map origin from leftover-map item coordinates `ζ`.
Do not mix #877. A finite negative leftover is shown, never clamped. Never invent a leftover score or a theta. No new columns.

- Period leftover pairs now caption leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates
through leftoverMapPlotPostBadge independently of leftover-map criterion leftover-map item coordinates (ADR 0348 / v2.105.0). After `make seed`, leftover-map graphic leftover-map
post leftover-map origin leftover-map person coordinates name leftover-map origin when leftoverMapPlotCoordinatePairIsOrigin returns true. Distinct accessible name
Expand Down
4 changes: 3 additions & 1 deletion docs/adr/0337-leftover-map-compare-plot-post-coordinates.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
**Date:** 2026-08-31

**Amended by:** [ADR 0338](0338-leftover-map-plot-post-coordinates.md)
(leftover-map person coordinates on leftover-map graphic leftover-map post markers)
(leftover-map person coordinates on leftover-map graphic leftover-map post markers);
[ADR 0349](0349-leftover-map-compare-plot-post-origin-badge.md)
(leftover-map origin on leftover-map comparison graphic leftover-map post leftover-map person coordinates independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates)

Amends leftover-map graphic display of persisted coordinates on the grouping comparison strip
([ADR 0304](0304-leftover-map-compare-graphic.md)), leftover-map comparison graphic leftover-map criterion leftover-map item coordinates
Expand Down
88 changes: 88 additions & 0 deletions docs/adr/0349-leftover-map-compare-plot-post-origin-badge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# ADR 0349 — Name leftover-map origin on leftover-map comparison graphic leftover-map post leftover-map person coordinates independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates

**Decision status:** Accepted
**Date:** 2026-08-31

Amends leftover-map person coordinates on leftover-map comparison graphic leftover-map post markers independently of leftover-map criterion leftover-map item coordinates
([ADR 0337](0337-leftover-map-compare-plot-post-coordinates.md)). Independent of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates independently of leftover-map criterion leftover-map item coordinates
([ADR 0348](0348-leftover-map-plot-post-origin-badge.md)). Independent of leftover-map graphic leftover-map criterion leftover-map origin leftover-map item coordinates independently of leftover-map person coordinates
([ADR 0347](0347-leftover-map-plot-criterion-origin-badge.md)). Independent of leftover-map leftover-axis origin ticks independently of leftover-map axis share and leftover-map singular values
([ADR 0346](0346-leftover-map-axis-tick-origin-badge.md)). Independent of leftover-map leftover-axis origin ticks on the competing origin-tick stack (do not mix #877).

## Context

ADR 0337 already names leftover-map comparison graphic leftover-map post leftover-map person coordinates
`Open leftover map comparison graphic leftover-map post {title} at ξ {person}`. Rank-0 unused axes still persist leftover-map
origin `(0.00, 0.00)` (`formatSignedLeftoverValue(0)` emits no plus). Origin leftover-map
person coordinates still interpolate leftover-map origin only through leftover-map comparison graphic leftover-map post leftover-map
person coordinate keys. A missing or non-finite leftover-map person coordinate pair omits independently
of leftover-map item coordinates `ζ`. A finite negative leftover is shown, never clamped.
Do not invent leftover-map origin from leftover-map item coordinates `ζ`. leftoverMapPlotPostBadge stays
`Open leftover-map post {title} at leftover-map origin ξ {person}`
this increment. leftoverMapComparePlotCriterionBadge stays leftover-map comparison graphic leftover-map criterion leftover-map
item coordinate keys this increment.

This increment names leftover-map comparison graphic leftover-map post leftover-map origin leftover-map
person coordinates as leftoverMapComparePlotPostBadge. Leftover-map comparison graphic leftover-map post leftover-map origin leftover-map
person coordinates stay
`Open leftover map comparison graphic leftover-map post {title} at leftover-map origin ξ {person}`
when leftoverMapPlotCoordinatePairIsOrigin returns true, so they stay distinct from leftover-map
comparison graphic leftover-map post leftover-map person coordinates
`Open leftover map comparison graphic leftover-map post {title} at ξ {person}`,
leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates
`Open leftover-map post {title} at leftover-map origin ξ {person}`,
and leftover-map graphic leftover-map criterion leftover-map origin leftover-map item coordinates
`leftover-map criterion {label} at leftover-map origin ζ {item}`.
It does not add columns. Do not invent a leftover score. Do not invent a theta.

This protected increment uses **0349** so it does not collide with leftover-map graphic leftover-map
post leftover-map origin leftover-map person coordinates independently of leftover-map criterion leftover-map item coordinates
(0348) or leftover-map leftover-axis origin ticks (#877).

## Decision

On leftover-map comparison graphic leftover-map post markers, caption leftover-map origin
when leftoverMapPlotCoordinatePairIsOrigin returns true. Rank-0 unused axes still name leftover-map
origin `(0.00, 0.00)`. Non-origin leftover-map person coordinates stay leftover-map comparison graphic leftover-map post leftover-map
person coordinate keys. leftoverMapPlotPostBadge, leftoverMapPlotCriterionBadge,
leftoverMapComparePlotCriterionBadge, leftoverMapListPostBadge, leftoverMapCompareListPostBadge, leftoverMapPlotTickAxisBadge,
leftoverMapComparePlotTickAxisBadge, leftoverMapCompareAxisTickBadge, and leftoverMapAxisTickBadge
do not change leftover-map origin naming this increment.

Do not add SQL. Do not edit shipped migrations. Do not invent a leftover
score. Do not invent a theta.

## Consequences

After `make seed`, leftover-map comparison graphic leftover-map post leftover-map origin leftover-map person
coordinates name leftover-map origin independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates. Rank-0 unused
axes still name leftover-map origin `(0.00, 0.00)`. leftoverMapPlotPostBadge stays leftover-map graphic leftover-map
post leftover-map origin leftover-map person coordinate keys. leftoverMapComparePlotCriterionBadge
stays leftover-map comparison graphic leftover-map criterion leftover-map item coordinate keys. leftover-map comparison graphic leftover-map
post leftover-map person coordinates independently of leftover-map criterion leftover-map item coordinates
(ADR 0337) remain.

## Related

Independent of leftover-map graphic leftover-map post leftover-map origin leftover-map person
coordinates independently of leftover-map criterion leftover-map item coordinates
([ADR 0348](0348-leftover-map-plot-post-origin-badge.md)). Independent of leftover-map
person coordinates on leftover-map comparison graphic leftover-map post markers independently of leftover-map
criterion leftover-map item coordinates ([ADR 0337](0337-leftover-map-compare-plot-post-coordinates.md)). Independent of leftover-map
leftover-axis origin ticks independently of leftover-map axis share and leftover-map singular values
([ADR 0346](0346-leftover-map-axis-tick-origin-badge.md)). Independent of leftover-map
graphic leftover-map criterion leftover-map origin leftover-map item coordinates independently of leftover-map
person coordinates ([ADR 0347](0347-leftover-map-plot-criterion-origin-badge.md)).

## References

Gabriel, K. R. (1971). The biplot graphic display of matrices with
application to principal component analysis. *Biometrika, 58*(3),
453–467. https://doi.org/10.1093/biomet/58.3.453

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.
https://doi.org/10.1007/s11336-021-09762-5
(LSIRM interaction `−γ‖ξ_j − ζ_i‖` after main effects
`α_j − β_i`; typically `p = 2` for the interaction map.)
10 changes: 10 additions & 0 deletions docs/product-technical-gap-baseline.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Product & Technical Gap Baseline

> Exact-head loop overlay: 2026-09-01 02:25 KST. Protected `main` is
> `cb187cadee5fb6c46d8a944815ccc154a1e028d1`. Writes work. Do not
> self-approve. #892 leftover-map graphic leftover-map post leftover-map origin leftover-map
> person coordinates independently of leftover-map criterion leftover-map item coordinates (v2.105.0 / ADR 0348) is
> `c941929`, stacked on #891 @ `47dd988`. Independent APPROVE is missing (Devin COMMENTED,
> not APPROVE). Next buyer increment on this cycle: leftover-map comparison graphic leftover-map post leftover-map origin leftover-map
> person coordinates independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates as leftoverMapComparePlotPostBadge (ADR 0349 / v2.106.0) delivered locally on
> `feat/leftover-map-compare-plot-post-origin-badge-v21060`. Distinct accessible name
> `Open leftover map comparison graphic leftover-map post {title} at leftover-map origin ξ {person}`. Rank-0 unused axes still name leftover-map origin `(0.00, 0.00)`. leftoverMapPlotPostBadge stays leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinate keys. leftoverMapComparePlotCriterionBadge stays leftover-map comparison graphic leftover-map criterion leftover-map item coordinate keys. Do not invent leftover-map origin from leftover-map item coordinates `ζ`. Do not mix #877. Stack onto #892. Leave open for independent review. Do not squash-merge. Do not self-approve. Issues #79 and #87 stay open. Do not merge #808 without independent APPROVE. #96 closed as weaker duplicate of #91.

> Exact-head loop overlay: 2026-09-01 02:20 KST. Protected `main` is
> `cb187cadee5fb6c46d8a944815ccc154a1e028d1`. Writes work. Do not
> self-approve. #891 leftover-map graphic leftover-map criterion leftover-map origin leftover-map
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "2.105.0",
"version": "2.106.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
7 changes: 6 additions & 1 deletion frontend/src/components/LeftoverMapPlot.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1004,9 +1004,14 @@ describe("LeftoverMapPlot", () => {
).toBeInTheDocument();
expect(
screen.getByRole("button", {
name: "Open leftover map comparison graphic leftover-map post Public post at ξ (0.00, 0.00)",
name: "Open leftover map comparison graphic leftover-map post Public post at leftover-map origin ξ (0.00, 0.00)",
}),
).toBeInTheDocument();
expect(
screen.queryByRole("button", {
name: "Open leftover map comparison graphic leftover-map post Public post at ξ (0.00, 0.00)",
}),
).not.toBeInTheDocument();
expect(
screen.queryByRole("button", {
name: "Open leftover-map post Public post at ξ (0.00, 0.00)",
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/components/LeftoverMapPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ function leftoverMapPlotPostText(
* returns true. Caption leftover-map comparison graphic leftover-map
* criterion markers with persisted leftover-map item coordinates ``ζ_{1:2}``
* when leftoverMapComparePlotCriterionBadge returns a usable leftover-map comparison
* graphic leftover-map criterion leftover-map item coordinate caption. Caption leftover-map
* graphic leftover-map criterion leftover-map item coordinate caption. Caption leftover-map origin on leftover-map comparison graphic leftover-map
* post leftover-map person coordinates independently of leftover-map graphic leftover-map post leftover-map origin leftover-map person coordinates when leftoverMapPlotCoordinatePairIsOrigin
* returns true. Caption leftover-map
* comparison graphic leftover-map post markers with persisted leftover-map person coordinates
* ``ξ_{1:2}`` when leftoverMapComparePlotPostBadge returns a usable leftover-map comparison
* graphic leftover-map post leftover-map person coordinate caption. Caption leftover-map graphic leftover-map
Expand Down
Loading