Skip to content

Chain PEtab v2 experiment periods natively in the JAX simulator - #3198

Draft
FFroehlich wants to merge 43 commits into
mainfrom
claude/jax-petab-event-refactor-j48b04
Draft

Chain PEtab v2 experiment periods natively in the JAX simulator#3198
FFroehlich wants to merge 43 commits into
mainfrom
claude/jax-petab-event-refactor-j48b04

Update remaining simulate_experiment callers to the flat time axis

3a9316e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 10, 2026 in 1s

79.11% (+0.49%) compared to 3aebbe8

View this Pull Request on Codecov

79.11% (+0.49%) compared to 3aebbe8

Details

Codecov Report

❌ Patch coverage is 97.40260% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.11%. Comparing base (3aebbe8) to head (3a9316e).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
python/sdist/amici/sim/jax/model.py 93.00% 10 Missing ⚠️
...hon/sdist/amici/importers/petab/_petab_importer.py 94.11% 1 Missing ⚠️
python/tests/petab_/test_petab_v2_multiperiod.py 99.62% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3198      +/-   ##
==========================================
+ Coverage   78.62%   79.11%   +0.49%     
==========================================
  Files         318      319       +1     
  Lines       21102    21743     +641     
  Branches     1487     1488       +1     
==========================================
+ Hits        16591    17202     +611     
- Misses       4503     4533      +30     
  Partials        8        8              
Files with missing lines Coverage Δ
python/sdist/amici/exporters/jax/ode_export.py 93.12% <100.00%> (+2.12%) ⬆️
...on/sdist/amici/importers/petab/v1/_petab_import.py 52.94% <100.00%> (+14.47%) ⬆️
...hon/sdist/amici/importers/petab/v1/_sbml_import.py 97.75% <ø> (ø)
python/sdist/amici/importers/sbml/__init__.py 94.43% <ø> (ø)
python/sdist/amici/sim/jax/_simulation.py 97.87% <100.00%> (ø)
python/sdist/amici/sim/jax/petab.py 92.97% <ø> (+1.52%) ⬆️
...hon/sdist/amici/importers/petab/_petab_importer.py 88.34% <94.11%> (-0.39%) ⬇️
python/tests/petab_/test_petab_v2_multiperiod.py 99.62% <99.62%> (ø)
python/sdist/amici/sim/jax/model.py 89.32% <93.00%> (+1.28%) ⬆️

... and 3 files with indirect coverage changes

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