mirror of
https://github.com/Significant-Gravitas/AgentProbe.git
synced 2026-11-09 17:52:38 -10:00
Summary: - Add Happy DOM CompareView unit tests for the only-changes filter, picker apply state, empty aligned rows, and null versus zero score formatting. - Extend comparison integration and controller tests for three-run file/id alignment, empty comparison rows, malformed run IDs, duplicate run IDs, and structured bad_request responses. - Reject malformed or duplicate compare run IDs before repository lookup, and document the run UUID validation contract. Rationale: - SYM-37 called out compare coverage gaps across both the dashboard UI and /api/comparisons endpoint behavior. - Duplicate run IDs previously deduped silently, which hid bad input and made the endpoint validation contract weaker than the ticket requires. Tests: - bun test tests/unit/dashboard/compare-view.test.tsx - bun test tests/integration/server/comparisons.test.ts - bun test tests/unit/server/comparison.test.ts - bun run docs:validate - bun run lint - bun run typecheck - bun run fast-feedback Co-authored-by: Symphony Agent <[email protected]> Co-authored-by: Codex <[email protected]>