Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New inspect command. Removing tap support in pytest.#249

Merged
vitenti merged 7 commits into
masterfrom
inspect_command
May 14, 2026
Merged

New inspect command. Removing tap support in pytest.#249
vitenti merged 7 commits into
masterfrom
inspect_command

Conversation

@vitenti

@vitenti vitenti commented May 14, 2026

Copy link
Copy Markdown
Contributor

Adds the new inspect command, its tests, and docs updates; removes TAP support for Python tests; and makes CI meson test output verbose for easier debugging.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.py with InspectExperiment base and two commands InspectSummary and InspectClusterNCounts.
  • Registers a new app_inspect Typer subgroup with summary and cluster-ncounts commands in numcosmo_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

codecov Bot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.36066% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.43%. Comparing base (7486e2f) to head (d1a2a90).

Files with missing lines Patch % Lines
numcosmo_py/app/inspect.py 98.29% 3 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vitenti vitenti changed the title New inspect command. New inspect command. Removing tap support in pytest. May 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.

@vitenti vitenti merged commit 6412f1e into master May 14, 2026
15 of 16 checks passed
@vitenti vitenti deleted the inspect_command branch May 14, 2026 21:09
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.

2 participants