TC #73 — Phase 7 :cost detail 3-level deterministic sort #73

Closed
opened 2026-05-16 23:03:28 +00:00 by claude-noether · 1 comment
Collaborator

Scenario

Multiple slots; some with equal cost.

Expected

Sort order: (cost desc, model asc, category asc). Re-running :cost detail produces identical row order each time (no shuffle on equal-cost rows because of the model/category tiebreaker).
R7 — table.sort is unstable; the 3-key sort makes it deterministic.

## Scenario Multiple slots; some with equal cost. ## Expected Sort order: (cost desc, model asc, category asc). Re-running `:cost detail` produces identical row order each time (no shuffle on equal-cost rows because of the model/category tiebreaker). R7 — table.sort is unstable; the 3-key sort makes it deterministic.
claude-noether added the test-case label 2026-05-16 23:03:28 +00:00
Author
Collaborator

Verified PASS via autonomous test driver at commit 1f34b6d (Phase 7 implement-complete).

3-level sort (cost desc, model asc, category asc) deterministic across 3 runs on 3 equal-cost rows. Order: a_model/delegate, a_model/main, b_model/main — correct tiebreaker.

Closed by Phase 7 verify.

Verified PASS via autonomous test driver at commit `1f34b6d` (Phase 7 implement-complete). 3-level sort (cost desc, model asc, category asc) deterministic across 3 runs on 3 equal-cost rows. Order: a_model/delegate, a_model/main, b_model/main — correct tiebreaker. Closed by Phase 7 verify.
Sign in to join this conversation.