Skip to content

test: check inference of batch size and Jacobian preparation for static arrays - #1078

Merged
gdalle merged 1 commit into
mainfrom
dmw/static-batchsize-inference-tests
Oct 13, 2026
Merged

gdalle merged 1 commit into
mainfrom
dmw/static-batchsize-inference-tests

Conversation

@devmotion

Copy link
Copy Markdown
Member

Follow-up to #1076: adds more inference tests for static arrays (pick_batchsize, prepare_jacobian and jacobian) so that regressions in the static path are caught in future versions.

🤖 Generated with Claude Code

…ic arrays

Follow-up to #1076: lock in that `pick_batchsize` and `prepare_jacobian`
infer the batch size from the type for `SVector`, `SMatrix` and `MVector`,
with adaptive and fixed batch sizes. Mark multi-batch `jacobian` inference
as broken, since `mapreduce(hcat, ...)` changes the static size at every step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@devmotion
devmotion requested a review from gdalle as a code owner October 12, 2026 09:43
@codecov

codecov Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.21%. Comparing base (e068471) to head (71df520).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1078       +/-   ##
===========================================
+ Coverage   68.46%   98.21%   +29.75%     
===========================================
  Files         141      143        +2     
  Lines        8152     8246       +94     
===========================================
+ Hits         5581     8099     +2518     
+ Misses       2571      147     -2424     
Flag Coverage Δ
DI 98.05% <100.00%> (+40.70%) ⬆️
DIT 98.67% <ø> (ø)

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

@gdalle
gdalle merged commit e64b3a4 into main Oct 13, 2026
79 checks passed
@devmotion
devmotion deleted the dmw/static-batchsize-inference-tests branch October 13, 2026 13:23
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