Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding function checkmodel. #75

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Adding function checkmodel. #75

merged 3 commits into from
Nov 5, 2024

Conversation

bbejanov
Copy link
Member

@bbejanov bbejanov commented Nov 5, 2024

Model checks done in @initialize are @reinitialize are now done in a new function checkmodel. This reduces code duplication.

Also, adding a new check that model has the saem number of equations and (non shock, non exog) variables.

@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.10%. Comparing base (344efd3) to head (e5e34bb).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
- Coverage   95.64%   95.10%   -0.54%     
==========================================
  Files          14       14              
  Lines        2203     2206       +3     
==========================================
- Hits         2107     2098       -9     
- Misses         96      108      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bbejanov bbejanov merged commit d0cfc1b into master Nov 5, 2024
9 checks passed
@bbejanov bbejanov deleted the check_model branch November 5, 2024 23:40
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