Skip to content

Add more options to debug models#179

Merged
MaxBlesch merged 36 commits intomainfrom
more_debug_options
Jan 13, 2026
Merged

Add more options to debug models#179
MaxBlesch merged 36 commits intomainfrom
more_debug_options

Conversation

@MaxBlesch
Copy link
Member

@MaxBlesch MaxBlesch commented Jun 18, 2025

The pull requests adds

  • several functions to the interface for investigating the solution of the model
  • the option of sparse stochastic transitions

@codecov
Copy link

codecov bot commented Jun 22, 2025

Codecov Report

❌ Patch coverage is 82.78867% with 79 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.55%. Comparing base (d8860f4) to head (6d22fc5).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/dcegm/interfaces/model_class.py 50.79% 31 Missing ⚠️
src/dcegm/interfaces/interface_checks.py 65.30% 17 Missing ⚠️
src/dcegm/interfaces/inspect_solution.py 82.05% 14 Missing ⚠️
src/dcegm/interfaces/sol_interface.py 69.04% 13 Missing ⚠️
src/dcegm/interpolation/interp_interfaces.py 92.59% 2 Missing ⚠️
src/dcegm/interfaces/index_functions.py 83.33% 1 Missing ⚠️
...re_processing/model_structure/stochastic_states.py 98.63% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #179      +/-   ##
==========================================
- Coverage   94.90%   92.55%   -2.36%     
==========================================
  Files          63       67       +4     
  Lines        1826     2175     +349     
==========================================
+ Hits         1733     2013     +280     
- Misses         93      162      +69     

☔ 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.

@MaxBlesch MaxBlesch force-pushed the more_debug_options branch from 0a574ca to f70987a Compare July 8, 2025 12:02
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@segsell segsell left a comment

Choose a reason for hiding this comment

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

Nice improvements to the interface. Thank you!!

@MaxBlesch MaxBlesch merged commit cdad768 into main Jan 13, 2026
7 checks passed
@MaxBlesch MaxBlesch deleted the more_debug_options branch January 13, 2026 18:50
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

Comments