Skip to content

Conversation

@BSnelling
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

❌ Patch coverage is 95.52239% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.27%. Comparing base (2b036e9) to head (c4a4166).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
python/sdist/amici/jax/model.py 89.65% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3080      +/-   ##
==========================================
+ Coverage   78.23%   78.27%   +0.03%     
==========================================
  Files         315      315              
  Lines       20478    20524      +46     
  Branches     1500     1500              
==========================================
+ Hits        16021    16065      +44     
- Misses       4448     4450       +2     
  Partials        9        9              
Flag Coverage Δ
cpp 71.75% <86.56%> (+0.02%) ⬆️
cpp_python 37.71% <17.91%> (-0.05%) ⬇️
petab 46.54% <67.16%> (+0.05%) ⬆️
petab_sciml 13.95% <64.17%> (+0.16%) ⬆️
python 70.41% <91.04%> (+0.04%) ⬆️
sbmlsuite-jax 33.38% <88.05%> (+0.53%) ⬆️

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

Files with missing lines Coverage Δ
python/sdist/amici/_symbolic/de_model.py 91.92% <100.00%> (+0.06%) ⬆️
...hon/sdist/amici/importers/petab/_petab_importer.py 86.78% <ø> (ø)
...thon/sdist/amici/importers/petab/v1/sbml_import.py 97.75% <ø> (ø)
python/sdist/amici/importers/sbml/__init__.py 94.35% <100.00%> (+0.02%) ⬆️
python/sdist/amici/jax/_simulation.py 97.05% <100.00%> (+0.33%) ⬆️
python/sdist/amici/jax/ode_export.py 89.23% <100.00%> (+0.89%) ⬆️
python/sdist/amici/jax/model.py 87.50% <89.65%> (+0.49%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@BSnelling BSnelling force-pushed the bes/jax_event_assignments branch 2 times, most recently from cab120b to 7698822 Compare December 9, 2025 10:57
@BSnelling BSnelling marked this pull request as ready for review December 9, 2025 11:45
@BSnelling BSnelling requested a review from a team as a code owner December 9, 2025 11:45
@BSnelling BSnelling force-pushed the bes/jax_event_assignments branch from c1b8809 to bc51bb4 Compare December 11, 2025 09:17
@FFroehlich
Copy link
Member

Let‘s temporarily disable SalazarCavazos_MBoC2020

Copy link
Member

@FFroehlich FFroehlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dweindl only minor changes to non-jax bits but feel free to weigh in as well

Copy link
Member

@dweindl dweindl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks. Can't say much on the JAX part. The rest looks good to me, except for the x_old thing.

...

@abstractmethod
def _delta_x(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine as is, but it's a bit funny that $\Delta x$ updates $y$. This might be something to harmonize at some point. Using state $y$ would also be more in line with SUNDIALS.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC this is a matter of different naming conventions in different parts of the code base so shouldn't be too hard to harmonise, but I'd want to check with @FFroehlich to be sure of that.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

open to changing that, but if we do so, let's do it in a separate PR.

@BSnelling BSnelling added this pull request to the merge queue Dec 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 15, 2025
@sonarqubecloud
Copy link

@BSnelling BSnelling added this pull request to the merge queue Dec 15, 2025
Merged via the queue into main with commit aa85fb9 Dec 15, 2025
40 of 41 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.

4 participants