Skip to content

Move fiddy-amici interface to amici#2984

Merged
dweindl merged 1 commit intoAMICI-dev:mainfrom
dweindl:fiddy
Oct 21, 2025
Merged

Move fiddy-amici interface to amici#2984
dweindl merged 1 commit intoAMICI-dev:mainfrom
dweindl:fiddy

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Oct 17, 2025

Fiddy (https://github.com/ICB-DCM/fiddy/), a package for finite difference methods, is used here for testing. So far, the amici-fiddy interface code was in the fiddy repository. To resolve this cyclic dependency, let's move that interface code here.

The code from fiddy.extensions.amici is copied to amici.adapters.fiddy, and from tests/extensions/test_amici.py to python/tests/adapters/test_fiddy.py, cleaned up, and updated to match the changed amici API.

@codecov
Copy link

codecov bot commented Oct 17, 2025

Codecov Report

❌ Patch coverage is 77.19298% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.80%. Comparing base (a386ba7) to head (9bb778a).
⚠️ Report is 106 commits behind head on main.

Files with missing lines Patch % Lines
python/sdist/amici/adapters/fiddy.py 77.19% 26 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2984      +/-   ##
==========================================
- Coverage   76.48%   75.80%   -0.69%     
==========================================
  Files         307      308       +1     
  Lines       20022    20136     +114     
  Branches     1500     1501       +1     
==========================================
- Hits        15314    15264      -50     
- Misses       4695     4859     +164     
  Partials       13       13              
Flag Coverage Δ
cpp 72.99% <77.19%> (+1.00%) ⬆️
cpp_python 38.31% <0.00%> (-0.23%) ⬇️
petab 38.93% <0.00%> (-0.28%) ⬇️
python 69.62% <77.19%> (+0.06%) ⬆️
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/adapters/fiddy.py 77.19% <77.19%> (ø)

... and 9 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 force-pushed the fiddy branch 2 times, most recently from 1bb3ef0 to aac0c0c Compare October 17, 2025 13:09
@socket-security
Copy link

socket-security bot commented Oct 17, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedfiddy@​0.0.3100100100100100

View full report

Fiddy (https://github.com/ICB-DCM/fiddy/), a package for finite difference methods, is used here for testing.
So far, the amici-fiddy interface code was in the fiddy repository. To resolve this cyclic dependency, let's move that interface code here.

Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
@dweindl dweindl marked this pull request as ready for review October 21, 2025 06:15
@dweindl dweindl requested a review from a team as a code owner October 21, 2025 06:15
@dweindl dweindl merged commit 785ab4b into AMICI-dev:main Oct 21, 2025
17 of 18 checks passed
@dweindl dweindl deleted the fiddy branch October 21, 2025 10:12
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