New inspect command. Removing tap support in pytest.#249
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new inspect subcommand to the NumCosmo app, providing read-only diagnostics for loaded experiments. Includes a generic summary view (likelihood, dataset entries, model set, optional parameter table) and a cluster-count-specific view (cluster-ncounts) that plots data vector, covariance/correlation, and optional S_ij matrices.
Changes:
- New
numcosmo_py/app/inspect.pywithInspectExperimentbase and two commandsInspectSummaryandInspectClusterNCounts. - Registers a new
app_inspectTyper subgroup withsummaryandcluster-ncountscommands innumcosmo_py/app/__init__.py.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| numcosmo_py/app/inspect.py | New module implementing inspection dataclass commands and matplotlib plotting helpers. |
| numcosmo_py/app/init.py | Imports the new commands and wires them into the Typer app under the inspect group. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #249 +/- ##
==========================================
- Coverage 77.52% 77.43% -0.09%
==========================================
Files 663 664 +1
Lines 110638 110764 +126
==========================================
- Hits 85771 85770 -1
- Misses 24867 24994 +127 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Adds the new
inspectcommand, its tests, and docs updates; removes TAP support for Python tests; and makes CImeson testoutput verbose for easier debugging.