Skip to content

CI: sensitivity checks on SBML test suite - #3253

Open
dweindl wants to merge 1 commit into
AMICI-dev:mainfrom
dweindl:fiddy-semantic-checks
Open

CI: sensitivity checks on SBML test suite#3253
dweindl wants to merge 1 commit into
AMICI-dev:mainfrom
dweindl:fiddy-semantic-checks

Conversation

@dweindl

@dweindl dweindl commented Sep 7, 2026

Copy link
Copy Markdown
Member

Add fiddy-based finite differences sensitivity checks to the SBML semantic test suite for every case with free parameters. fiddy's check_jacobian self-calibrates step sizes/tolerances, so no per-model tuning is needed.

This surfaced pre-existing sensitivity bugs tracked as #3249, #3250 and #3257. Those cases are skipped here for now.

Closes #1236
Closes #2093

@dweindl dweindl self-assigned this Sep 7, 2026
@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.53%. Comparing base (3d695c5) to head (2d7acd6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3253   +/-   ##
=======================================
  Coverage   78.52%   78.53%           
=======================================
  Files         318      318           
  Lines       22199    22199           
  Branches     1490     1491    +1     
=======================================
+ Hits        17432    17433    +1     
+ Misses       4759     4758    -1     
  Partials        8        8           
Flag Coverage Δ
cpp 72.30% <ø> (+<0.01%) ⬆️
cpp_python 35.24% <ø> (ø)
petab 48.44% <ø> (ø)
petab_sciml 16.45% <ø> (ø)
petab_sciml_benchmarks 15.00% <ø> (ø)
python 70.75% <ø> (-0.01%) ⬇️
sbmlsuite-jax 31.73% <ø> (ø)

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 88.18% <ø> (-2.37%) ⬇️

... 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.

Add fiddy-based finite differences sensitivity checks to the SBML semantic
test suite.

Splits the single forward-only sensitivity check into three independent
nodes per case (forward/adjoint/consistency), generalizes the retry
scaffold, fixes cross-test-node model-parameter contamination, and skips known-affected cases (events/piecewise,
zero-state models) with adjoint/forward distinguished where relevant. Disables
fiddy's function-call caching by default (pure overhead here, source of
a flaky CI failure).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@dweindl
dweindl force-pushed the fiddy-semantic-checks branch from 7d03ddc to 2d7acd6 Compare September 9, 2026 20:24
@dweindl
dweindl marked this pull request as ready for review September 9, 2026 20:54
@dweindl
dweindl requested a review from a team as a code owner September 9, 2026 20:54
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.

Perform gradient checks for SBML test suite

1 participant