Skip to content

Backends/v0.2.5 beta#70

Merged
ocots merged 6 commits intodevelopfrom
backends/v0.2.5-beta
Feb 14, 2026
Merged

Backends/v0.2.5 beta#70
ocots merged 6 commits intodevelopfrom
backends/v0.2.5-beta

Conversation

@ocots
Copy link
Copy Markdown
Member

@ocots ocots commented Feb 14, 2026

No description provided.

…nd overrides

- Update type declarations for all 7 active backend options in ADNLPModeler
- Update validate_backend_override to accept nothing, Type{<:ADBackend}, or ADBackend instances
- Add comprehensive tests covering all three forms (nothing, Type, instance)
- Update docstring with clear examples for each usage pattern
- Remove references to commented-out NLS residual backend options from tests
- Add detailed report in .reports/2026-02_14_backend/

This aligns with ADNLPModels.jl API which accepts both types (constructed internally)
and pre-constructed instances for backend overrides.

Fixes #27160a
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@b5bce02). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop      #70   +/-   ##
==========================================
  Coverage           ?   96.04%           
==========================================
  Files              ?       38           
  Lines              ?      835           
  Branches           ?        0           
==========================================
  Hits               ?      802           
  Misses             ?       33           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 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.

- Add Test. prefix to bare @testset macros in test_enhanced_options.jl
- Fix validate_backend_override tests to use ADBackend subtypes instead of Float64/Int
- Add FakeCoverageBackend for proper ADBackend testing
- Update test expectations to match new validation logic

All tests now pass: 175/175
- Add v0.3.1-beta section to CHANGELOG with backend override enhancements
- Note no breaking changes in v0.3.1-beta in BREAKING.md
- Document Type{<:ADBackend} and ADBackend instance support
- Include technical details and usage examples
@ocots ocots merged commit 248b2c2 into develop Feb 14, 2026
17 checks passed
@ocots ocots deleted the backends/v0.2.5-beta branch February 14, 2026 12:25
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.

1 participant