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
15 changes: 14 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ stops startup instead of leaving a healthy-looking partial schema, and
application code must not compensate for a missing table.

Period leftover pairs (ADR 0017 / 0018 / 0048 / 0049 / 0119 / 0158 / 0162 /
0163 / 0164 / 0182 / 0185 / 0201 / 0233 / 0266 / 0267 / 0268 / 0269 / 0270 / 0271 / 0272 / 0273 / 0274 / 0275 / 0276 / 0277 / 0278 / 0279 / 0280 / 0281 / 0282 / 0283 / 0284 / 0285 / 0286 / 0287 / 0288 / 0289 / 0290 / 0291 / 0292 / 0293 / 0294 / 0295 / 0296 / 0297 / 0298 / 0299 / 0300 / 0301 / 0302 / 0303 / 0304 / 0305 / 0306 / 0307 / 0308 / 0309 / 0310) are computed in `lineageweave/leftover_pairs.py` from the
0163 / 0164 / 0182 / 0185 / 0201 / 0233 / 0266 / 0267 / 0268 / 0269 / 0270 / 0271 / 0272 / 0273 / 0274 / 0275 / 0276 / 0277 / 0278 / 0279 / 0280 / 0281 / 0282 / 0283 / 0284 / 0285 / 0286 / 0287 / 0288 / 0289 / 0290 / 0291 / 0292 / 0293 / 0294 / 0295 / 0296 / 0297 / 0298 / 0299 / 0300 / 0301 / 0302 / 0303 / 0304 / 0305 / 0306 / 0307 / 0308 / 0309 / 0310 / 0311) are computed in `lineageweave/leftover_pairs.py` from the
residual after a real GRM/GPCM score, never invented. Distances are
Euclidean on the two-dimensional Gabriel leftover map; missing cells stay
out of the factorization. Closest and farthest post–criterion pairs
Expand Down Expand Up @@ -541,6 +541,16 @@ comparison graphic incomplete items when those helpers return usable integers. D
leftover-map axis share, leftover-map post coverage, leftover-map item coverage,
leftover-map incomplete post coverage, leftover-map incomplete item coverage, leftover pair
count, or the count of unused axes.
ADR 0311 captions leftover-map explained leftover share on that grouping comparison leftover-map
graphic when formatLeftoverMapExplainedShare returns a usable badge; a missing or
non-finite `e` omits that leftover-map comparison graphic explained leftover share caption and keeps
leftover-map reconstruction `R̂`, leftover-map distance `d`, leftover-map comparison graphic coverage,
leftover-map comparison graphic item coverage, leftover-map comparison graphic incomplete posts,
and leftover-map comparison graphic incomplete items when those helpers return usable integers. Do not invent
`e` from leftover-map reconstruction, leftover residual, leftover-map distance, plotted coordinates,
leftover-map rank, leftover-map axis share, leftover-map post coverage, leftover-map item coverage,
leftover-map incomplete post coverage, leftover-map incomplete item coverage, leftover pair
count, or the count of unused axes.
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 @@ -606,6 +616,9 @@ item coverage when leftoverMapIncompleteItemCount returns a usable dropped integ
Grouping comparison leftover-map reconstruction (ADR 0310) captions
that grouping comparison leftover-map graphic with persisted leftover-map reconstruction
`R̂` when formatLeftoverMapReconstruction returns a usable signed badge.
Grouping comparison leftover-map explained leftover share (ADR 0311) captions
that grouping comparison leftover-map graphic with persisted leftover-map explained leftover
share `e` when formatLeftoverMapExplainedShare returns a usable badge.
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
6 changes: 5 additions & 1 deletion ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,9 @@ dropped integer.
ADR 0310 captions leftover-map reconstruction on that grouping
comparison leftover-map graphic when formatLeftoverMapReconstruction returns a usable
signed badge.
ADR 0311 captions leftover-map explained leftover share on that grouping
comparison leftover-map graphic when formatLeftoverMapExplainedShare returns a usable
badge.
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 Expand Up @@ -758,7 +761,8 @@ coverage on the grouping comparison leftover-map graphic (ADR 0307), leftover-ma
incomplete post coverage on the grouping comparison leftover-map graphic (ADR 0308),
and leftover-map incomplete item coverage on the grouping comparison leftover-map
graphic (ADR 0309), leftover-map reconstruction on the grouping comparison leftover-map
graphic (ADR 0310);
graphic (ADR 0310), leftover-map explained leftover share on the grouping comparison leftover-map
graphic (ADR 0311);
`POST .../rebuild` scores every grouping kind (post_admin). `make seed`
folds A-100/B-200 Event Lineage fixtures (and the Riverbend calendar
post) that already have constructed IRT cells into the same shared
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.d/2.68.0-leftover-map-compare-plot-explained-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## 2.68.0 — Leftover-map explained leftover share on grouping comparison leftover-map graphic

- Caption leftover-map explained leftover share on the grouping comparison leftover-map
graphic (ADR 0311). After `make seed`, closest and farthest leftover pairs
sit above the member list with the Gabriel biplot of already-named
coordinates, leftover-map axis share when finite, leftover-map complete-case
coverage when leftoverMapCoverageCounts returns usable complete-case integers,
leftover-map item complete-case coverage when leftoverMapItemCoverageCounts
returns usable complete-case integers, leftover-map incomplete post coverage
when leftoverMapIncompletePostCount returns a usable dropped integer,
leftover-map incomplete item coverage when leftoverMapIncompleteItemCount
returns a usable dropped integer, leftover-map reconstruction `R̂` when
formatLeftoverMapReconstruction returns a usable signed badge, and a plot
caption that matches leftover-map explained leftover share `e` on that grouping
comparison leftover-map graphic; click a post marker or a pair button opens that
post. A missing or non-finite `e` omits that leftover-map comparison graphic
explained leftover share caption and keeps leftover-map reconstruction `R̂`,
leftover-map distance `d`, leftover-map comparison graphic coverage,
leftover-map comparison graphic item coverage, leftover-map comparison
graphic incomplete posts, and leftover-map comparison graphic incomplete items
when those helpers return usable integers. Rank-0 origin cells still name
`R̂²/R² 0.00` when that persisted explained leftover share is finite. Comparison
copy uses `leftover map comparison graphic explained leftover share {label}` so
it stays distinct from hyphen `leftover-map explained leftover share {label}`
and from strip `Leftover map comparison explained leftover share`. This
increment does not caption leftover-map unexplained leftover share on the
comparison graphic. Do not invent `e` from leftover-map reconstruction,
leftover residual, leftover-map distance, plotted coordinates, leftover-map
rank, leftover-map axis share, leftover-map post coverage, leftover-map item
coverage, leftover-map incomplete post coverage, leftover-map incomplete item
coverage, leftover pair count, or the count of unused axes. Never invent a
leftover score. Never invent a theta. No new columns.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,41 @@ All notable changes to this project are documented here. Format follows

### Added

- Period leftover pairs now name leftover-map explained leftover share on the grouping
comparison leftover-map graphic (ADR 0311 / v2.68.0). After `make seed`,
closest and farthest leftover pairs sit above the member list with the
Gabriel biplot of already-named coordinates, leftover-map axis share when
finite, leftover-map complete-case coverage when leftoverMapCoverageCounts
returns usable complete-case integers, leftover-map item complete-case
coverage when leftoverMapItemCoverageCounts returns usable complete-case
integers, leftover-map incomplete post coverage when leftoverMapIncompletePostCount
returns a usable dropped integer, leftover-map incomplete item coverage when
leftoverMapIncompleteItemCount returns a usable dropped integer, leftover-map
reconstruction `R̂` when formatLeftoverMapReconstruction returns a usable signed
badge, and leftover-map explained leftover share `e` on that grouping comparison
leftover-map graphic when formatLeftoverMapExplainedShare returns a usable badge;
click a post marker or a pair button opens that post. A missing or non-finite `e`
omits that leftover-map comparison graphic explained leftover share caption and
keeps leftover-map reconstruction `R̂`, leftover-map distance `d`, leftover-map
comparison graphic coverage, leftover-map comparison graphic item coverage,
leftover-map comparison graphic incomplete posts, and leftover-map comparison
graphic incomplete items when those helpers return usable integers. Rank-0 origin
cells still plot at `(0, 0)` and still name `R̂²/R² 0.00` when that persisted
explained leftover share is finite. Comparison copy uses `leftover map comparison
graphic explained leftover share {label}` so it stays distinct from hyphen
`leftover-map explained leftover share {label}` and from strip `Leftover map
comparison explained leftover share`. Explained leftover share omits independently
of leftover-map reconstruction, leftover-map distance, and coverage notes. This
increment does not caption leftover-map unexplained leftover share on the
comparison graphic. Do not invent `e` from leftover-map reconstruction, leftover
residual, leftover-map distance, plotted coordinates, leftover-map rank,
leftover-map axis share, leftover expected, leftover observed, leftover-map post
coverage, leftover-map item coverage, leftover-map incomplete post coverage,
leftover-map incomplete item coverage, leftover pair count, or the count of
unused axes. A finite negative leftover is shown, never clamped. Omit the
comparison graphic when no leftover pair has four finite leftover-map
coordinates. Never invent a leftover score or a theta. No new columns.

- Period leftover pairs now name leftover-map reconstruction on the grouping
comparison leftover-map graphic (ADR 0310 / v2.67.0). After `make seed`,
closest and farthest leftover pairs sit above the member list with the
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ cutoff. Global Ask optional `knowledge_cutoff` uses the same cover

Create/start endpoint rules (ADR 0017 / 0021), tie-vs-miss similarity
(ADR 0026), R&R catalog ids (ADR 0019 / 0027), leftover pairs
(ADR 0048–0164 / 0182 / 0185 / 0201 / 0233 / 0266 / 0267 / 0268 / 0269 / 0270 / 0271 / 0272 / 0273 / 0274 / 0275 / 0276 / 0277 / 0278 / 0279 / 0280 / 0281 / 0282 / 0283 / 0284 / 0285 / 0286 / 0287 / 0288 / 0289 / 0290 / 0291 / 0292 / 0293 / 0294 / 0295 / 0296 / 0297 / 0298 / 0299 / 0300 / 0301 / 0302 / 0303 / 0304 / 0305 / 0306 / 0307 / 0308 / 0309 / 0310), occupational construct catalog search
(ADR 0048–0164 / 0182 / 0185 / 0201 / 0233 / 0266 / 0267 / 0268 / 0269 / 0270 / 0271 / 0272 / 0273 / 0274 / 0275 / 0276 / 0277 / 0278 / 0279 / 0280 / 0281 / 0282 / 0283 / 0284 / 0285 / 0286 / 0287 / 0288 / 0289 / 0290 / 0291 / 0292 / 0293 / 0294 / 0295 / 0296 / 0297 / 0298 / 0299 / 0300 / 0301 / 0302 / 0303 / 0304 / 0305 / 0306 / 0307 / 0308 / 0309 / 0310 / 0311), occupational construct catalog search
(ADR 0257), the text-channel embedding swap and cosine
clamp (ADR 0190), per-edge channel-score persistence (ADR 0195),
token-backed status notices (ADR 0220),
Expand Down
4 changes: 3 additions & 1 deletion docs/adr/0273-leftover-map-segment-explained-share.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
**Amended by:** [ADR 0274](0274-leftover-map-segment-unexplained-share.md)
(leftover-map unexplained leftover share on pair segments);
[ADR 0275](0275-leftover-map-segment-cross-share.md)
(leftover-map cross share on pair segments)
(leftover-map cross share on pair segments);
[ADR 0311](0311-leftover-map-compare-plot-explained-share.md)
(leftover-map explained leftover share on the grouping comparison leftover-map graphic)

Amends [ADR 0268](0268-leftover-map-graphic-display.md) and
[ADR 0049](0049-leftover-pair-report-ui.md). Independent of leftover-map
Expand Down
3 changes: 3 additions & 0 deletions docs/adr/0294-leftover-map-compare-explained-share.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
**Decision status:** Accepted
**Date:** 2026-08-30

**Amended by:** [ADR 0311](0311-leftover-map-compare-plot-explained-share.md)
(leftover-map explained leftover share on the grouping comparison leftover-map graphic)

Amends leftover pairs on the grouping comparison strip
([ADR 0149](0149-leftover-pairs-on-comparison-strip.md)), leftover-map
explained leftover share persistence
Expand Down
3 changes: 3 additions & 0 deletions docs/adr/0310-leftover-map-compare-plot-reconstruction.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
**Decision status:** Accepted
**Date:** 2026-08-31

**Amended by:** [ADR 0311](0311-leftover-map-compare-plot-explained-share.md)
(leftover-map explained leftover share on the grouping comparison leftover-map graphic)

Amends leftover-map reconstruction on graphic-display pair segments
([ADR 0272](0272-leftover-map-segment-reconstruction.md)), leftover-map
reconstruction on grouping comparison strip pair rows
Expand Down
Loading