Skip to content

Fix Event.get_trigger_times for periodic functions#2915

Merged
dweindl merged 1 commit intoAMICI-dev:mainfrom
dweindl:fix_periodic_triggers
Jul 20, 2025
Merged

Fix Event.get_trigger_times for periodic functions#2915
dweindl merged 1 commit intoAMICI-dev:mainfrom
dweindl:fix_periodic_triggers

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Jul 20, 2025

The previous implementation would maximally handle the first two roots of sin(t) correctly.

@dweindl dweindl requested a review from a team as a code owner July 20, 2025 09:46
@dweindl dweindl self-assigned this Jul 20, 2025
The previous implementation would maximally handle the first two roots of `sin(t)` correctly.
@dweindl dweindl force-pushed the fix_periodic_triggers branch from f44a9a0 to cc2000c Compare July 20, 2025 09:56
@codecov
Copy link

codecov bot commented Jul 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.07%. Comparing base (a79b917) to head (cc2000c).
⚠️ Report is 57 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2915      +/-   ##
==========================================
- Coverage   79.63%   79.07%   -0.57%     
==========================================
  Files         358      358              
  Lines       23037    23044       +7     
  Branches     1581     1581              
==========================================
- Hits        18346    18222     -124     
- Misses       4680     4811     +131     
  Partials       11       11              
Flag Coverage Δ
cpp 75.00% <100.00%> (+<0.01%) ⬆️
cpp_python 33.18% <63.63%> (+0.01%) ⬆️
petab 38.96% <9.09%> (-0.02%) ⬇️
python 73.86% <100.00%> (+<0.01%) ⬆️
sbmlsuite-jax ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
python/sdist/amici/de_model_components.py 94.70% <100.00%> (-1.73%) ⬇️
python/sdist/amici/import_utils.py 82.19% <100.00%> (-2.75%) ⬇️

... and 4 files with indirect coverage changes

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

@dweindl dweindl added this pull request to the merge queue Jul 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 20, 2025
@dweindl dweindl merged commit 0d97368 into AMICI-dev:main Jul 20, 2025
24 of 25 checks passed
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