Skip to content

Conversation

@jhlegarreta
Copy link
Contributor

Fix PET model exception test functions:

  • Refactor functions so that the last midpoint value exception is properly captured: rename tests functions so that their purposes becomes apparent from the name and add a test to check the last midpoint value exception.
  • Check both midframe and xlim missing exceptions.
  • Define the exception messages so that tests can check exactly the captured message.

@jhlegarreta jhlegarreta force-pushed the tst/add-pet-model-checks branch from 42532b7 to 9dacdc4 Compare November 9, 2025 19:29
Fix PET model exception test functions:
- Refactor functions so that the last midpoint value exception is
  properly captured: rename tests functions so that their purposes
  becomes apparent from the name and add a test to check the last
  midpoint value exception.
- Check both `midframe` and `xlim` missing exceptions.
- Define the exception messages so that tests can check exactly the
  captured message.
@jhlegarreta jhlegarreta force-pushed the tst/add-pet-model-checks branch from 9dacdc4 to 2f6fa20 Compare November 14, 2025 08:02
@codecov
Copy link

codecov bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.20%. Comparing base (09df9e8) to head (2f6fa20).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #319      +/-   ##
==========================================
+ Coverage   77.01%   77.20%   +0.18%     
==========================================
  Files          28       28              
  Lines        1775     1781       +6     
  Branches      177      177              
==========================================
+ Hits         1367     1375       +8     
+ Misses        348      347       -1     
+ Partials       60       59       -1     

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

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