test(corpus): score a Ready plan with a lead off the plate as blocked

The corpus ranked plates by plan outcome alone, and before db4b573e the
planner called a plan with a lead-in pierced past the sheet edge Ready,
so N26-2D6 (added to the corpus for that bug) could not catch it coming
back. A Ready plate whose planned lead-in or lead-out runs past the
plate's box now scores LeadOffPlate, a blocked outcome. It is judged on
the plate, not on what the planner was told, so losing the planner's
sheet check fails here. With that check disabled N26-2D6 plate 2 scores
LeadOffPlate; with it every corpus plate keeps its outcome.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ajandClaude Opus 5.5 committed 2026-11-23 17:47:42 -05:00
1 parent db4b573e3b
commit 93fa24a9d7
2 files changed
+24 -7

No files matched your search

+2 -1
View File
@@ -52,7 +52,8 @@ as `Timeout`, so a plate that never finishes cannot hang the run.
Each plate is ranked: `Ready` (replayed with no overlaps) above `BestEffort` above
`NoSolutionWithinBudget` above every blocked outcome (`UnsupportedGeometry`,
`ConstraintConflict`, `InvalidInput`, `Overlap`) above `Timeout`. The test fails when a plate ranks below its
`ConstraintConflict`, `InvalidInput`, `Overlap`, `LeadOffPlate`: a Ready plan with a lead-in or
lead-out past the plate's box) above `Timeout`. The test fails when a plate ranks below its
baseline, when a nest has no baseline, or when the baseline's plate numbers differ from the
nest's. A different outcome at the same or a better rank is only reported. When it is
intended, update the baseline.