Skip to content

Add MOF support for function generators (#35) - #44

Open
blegat wants to merge 1 commit into
mainfrom
bl/mof
Open

blegat wants to merge 1 commit into
mainfrom
bl/mof

Conversation

@blegat

@blegat blegat commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

This is overload internal functions like _MOF._convert_nonlinear_to_mof so we need to wait until they become public

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.08%. Comparing base (60f1ff9) to head (23c3683).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
+ Coverage   97.89%   98.08%   +0.18%     
==========================================
  Files          11       12       +1     
  Lines        1851     1928      +77     
==========================================
+ Hits         1812     1891      +79     
+ Misses         39       37       -2     

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

* Add MOF support for function generators

* MOI bump

* Cover the remaining MOF serialization paths

The MOF round trip was only tested with a `ScalarAffineFunction`
generator over a range iterator, leaving the quadratic and nonlinear
function types, the explicit iterator encoding (tuples, symbols and
unevenly spaced integers) and the two error branches uncovered.
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