Skip to content

Event-handling during post-equilibration for FSA#2920

Merged
dweindl merged 2 commits intoAMICI-dev:mainfrom
dweindl:posteq_events
Jul 21, 2025
Merged

Event-handling during post-equilibration for FSA#2920
dweindl merged 2 commits intoAMICI-dev:mainfrom
dweindl:posteq_events

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Jul 21, 2025

  • Implement event-handling during post-equilibration for no sensitivities and FSA (Event-handling during preequilibration, presimulation and post-equilibration #2775) (ASA to be implemented separately)
  • Additional tests for events
  • Fix SBML import for parameters that are event targets and have non-time-dependent intial assignments (They previously ended up both in x and w.)
  • Drop unused PeriodResult.nroots (meanwhile, this is recomputed from discs)

@codecov
Copy link

codecov bot commented Jul 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.98%. Comparing base (e38afde) to head (9dda68e).
⚠️ Report is 52 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2920      +/-   ##
==========================================
- Coverage   79.46%   78.98%   -0.48%     
==========================================
  Files         362      362              
  Lines       23092    23106      +14     
  Branches     1585     1587       +2     
==========================================
- Hits        18349    18250      -99     
- Misses       4732     4845     +113     
  Partials       11       11              
Flag Coverage Δ
cpp 74.90% <100.00%> (+0.09%) ⬆️
cpp_python 33.19% <31.81%> (-0.01%) ⬇️
petab 38.90% <26.31%> (-0.02%) ⬇️
python 73.76% <90.47%> (+0.07%) ⬆️
sbmlsuite-jax ?

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

Files with missing lines Coverage Δ
include/amici/backwardproblem.h 94.73% <ø> (ø)
include/amici/forwardproblem.h 97.34% <ø> (ø)
include/amici/solver.h 94.11% <ø> (ø)
python/sdist/amici/sbml_import.py 80.04% <100.00%> (-12.00%) ⬇️
src/backwardproblem.cpp 90.98% <ø> (ø)
src/forwardproblem.cpp 90.30% <100.00%> (+0.12%) ⬆️
src/rdata.cpp 93.02% <100.00%> (-0.02%) ⬇️
src/solver.cpp 80.87% <100.00%> (+0.94%) ⬆️

... and 8 files with indirect coverage changes

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

* Implement event-handling during post-equilibration for no sensitivities and FSA (AMICI-dev#2775)
  (ASA to be implemented separately)
* Additional tests for events
* Fix SBML import for parameters that are event targets and have non-time-dependent intial assignments
  (They previously ended up both in `x` and `w`.)
* Drop unused PeriodResult.nroots (meanwhile, this is recomputed from discs)
@dweindl dweindl marked this pull request as ready for review July 21, 2025 12:17
@dweindl dweindl requested a review from a team as a code owner July 21, 2025 12:17
@dweindl dweindl merged commit 34043c6 into AMICI-dev:main Jul 21, 2025
24 of 25 checks passed
@dweindl dweindl deleted the posteq_events branch July 21, 2025 15:37
dweindl added a commit to dweindl/AMICI that referenced this pull request Jul 25, 2025
Event handling during forward simulation for post-equilibration was implemented in AMICI-dev#2920.
Event handling during backward simulation for post-equilibration was missing and is implemented here.

Closes AMICI-dev#2775.
dweindl added a commit that referenced this pull request Jul 28, 2025
Event handling during forward simulation for post-equilibration was implemented in #2920.
Event handling during backward simulation for post-equilibration was missing and is implemented here.

Closes #2775.
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