1
0
Fork 0
forked from wry/wry

Exercise planner with generated split trees

This commit is contained in:
atagen 2026-05-21 20:21:07 +10:00
parent cc898590d2
commit a770089b88
2 changed files with 329 additions and 0 deletions

View file

@ -223,6 +223,8 @@ Current pure planner status:
- Stack extraction/return patterns are covered in both horizontal and vertical
orientations: peer/container space scales first, the extracted child moves
only after space exists, and orthogonal growth happens in the final phase.
- Same-axis size redistribution is handled as a single scale phase when the
exact validator proves adjacent windows stay non-overlapping.
- Every produced plan is checked analytically for overlap over the full duration
of each phase before it is accepted. This solves the linear edge inequalities
for each pair of moving rectangles instead of relying on sampled frames.
@ -237,6 +239,9 @@ Current pure planner status:
It distinguishes request validation errors, missing patterns, shrink-bound
rejections, invalid phase steps, and exact validation failures such as stale
starts or phase overlap.
- Planner tests now include a deterministic split-tree generator. It builds
valid weighted tiling layouts, derives leaf hierarchy metadata, mutates them
through supported transitions, and runs the real planner plus exact validator.
Tests: