Skip to content

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Dec 16, 2025

This makes ReturnData more usable without additionally passing around the corresponding Model, and avoids the previous hack for setting those IDs specifically for RDataReporting::full.
Only spans are copied, so barely any additional memory is required.

Related to #3107.

@dweindl dweindl self-assigned this Dec 16, 2025
@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.55%. Comparing base (fc1a045) to head (a939966).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3111      +/-   ##
==========================================
- Coverage   78.21%   77.55%   -0.67%     
==========================================
  Files         315      315              
  Lines       20480    20487       +7     
  Branches     1484     1484              
==========================================
- Hits        16019    15888     -131     
- Misses       4453     4591     +138     
  Partials        8        8              
Flag Coverage Δ
cpp 71.67% <100.00%> (-0.01%) ⬇️
cpp_python 37.84% <100.00%> (+0.02%) ⬆️
petab 46.55% <100.00%> (+0.02%) ⬆️
petab_sciml 13.92% <0.00%> (-0.02%) ⬇️
python 70.34% <100.00%> (+0.01%) ⬆️
sbmlsuite-jax ?

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

Files with missing lines Coverage Δ
include/amici/rdata.h 100.00% <ø> (ø)
python/sdist/amici/sim/sundials/_swig_wrappers.py 100.00% <ø> (ø)
src/rdata.cpp 82.14% <100.00%> (+0.49%) ⬆️

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

@dweindl dweindl force-pushed the gh-3107-ids-to-rdata branch from 4327f29 to d2837c7 Compare December 16, 2025 13:53
This makes `ReturnData` more usable without additionally passing around the
corresponding `Model`, and avoids the previous hack for setting those IDs
specifically for `RDataReporting::full`.
Only `span`s are copied, so barely any additional memory is required.
@dweindl dweindl force-pushed the gh-3107-ids-to-rdata branch from d2837c7 to a939966 Compare December 16, 2025 13:59
@dweindl dweindl marked this pull request as ready for review December 16, 2025 14:59
@dweindl dweindl requested a review from a team as a code owner December 16, 2025 14:59
@dweindl dweindl added this pull request to the merge queue Dec 16, 2025
Merged via the queue into AMICI-dev:main with commit 505a137 Dec 16, 2025
25 of 26 checks passed
@dweindl dweindl deleted the gh-3107-ids-to-rdata branch December 16, 2025 22:32
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