Skip to content

Compare view (selected runs) and covariance/correlation matrices#3

Merged
kestrel99 merged 4 commits into
masterfrom
feat/compare-and-matrices
Jun 11, 2026
Merged

Compare view (selected runs) and covariance/correlation matrices#3
kestrel99 merged 4 commits into
masterfrom
feat/compare-and-matrices

Conversation

@kestrel99

Copy link
Copy Markdown
Owner

Summary

Fills in two of the placeholder UI areas: the Compare action and the Matrices tab.

Compare

  • Run grid now supports extended multi-selection.
  • The Compare toolbar action compares only the selected runs (disabled until 2+ selected) and opens a side-by-side window: OFV, dOFV, condition number, then every theta/omega/sigma estimate (runs as columns, generated dynamically).
  • Selection order is preserved: the first selected run is the reference, and each run's dOFV is computed relative to it (row labelled "dOFV (vs first)").

Matrices

  • Domain: NamedMatrix (labelled lower-triangular); Estimation gains Covariance and Correlation.
  • Importer: parses <covariance> and <correlation> elements.
  • Storage: migration 0003 adds JSON columns; matrices are serialized and round-tripped.
  • UI: the Matrices tab shows the selected estimation's correlation or covariance matrix (toggle), rendered via a reusable MatrixView.

Tests

44 xUnit tests pass (added importer matrix-parsing and storage round-trip of both matrices). Release build clean; app launches without errors.

Notes

  • Re-import existing projects to populate the matrices (computed at import time).
  • dOFV in Compare resolves against the first selected run; for a Shift-click range the "first" is the topmost row in the range.

🤖 Generated with Claude Code

kestrel99 and others added 4 commits June 11, 2026 17:23
The Compare toolbar action now opens a window comparing every run in the
project: OFV, dOFV (vs parent) and condition number, followed by each
theta/omega/sigma estimate. Runs are columns (generated dynamically),
metrics/parameters are rows.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Domain: NamedMatrix (labelled lower-triangular); Estimation gains
  Covariance and Correlation.
- Importer: parse <covariance> and <correlation> elements.
- Storage: migration 0003 adds JSON columns; matrices serialized/loaded.
- UI: the Matrices tab now shows the selected estimation's correlation
  or covariance matrix (toggle), rendered via a reusable MatrixView.

Tests: importer matrix parsing and storage round-trip of both matrices.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The run grid now supports extended multi-selection; the Compare action
compares just the selected runs (Ctrl/Shift-click) and is disabled until
at least two are selected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The Compare view now preserves selection order (first selected run is
the first column) and computes each run's dOFV relative to that
reference run rather than its parent.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kestrel99 kestrel99 merged commit 0b772b4 into master Jun 11, 2026
5 checks passed
@kestrel99 kestrel99 deleted the feat/compare-and-matrices branch June 11, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant