Skip to content

Improve coverage#187

Merged
andrewrosemberg merged 7 commits into
jg/newdofrom
ar/newdo3
Aug 19, 2025
Merged

Improve coverage#187
andrewrosemberg merged 7 commits into
jg/newdofrom
ar/newdo3

Conversation

@andrewrosemberg
Copy link
Copy Markdown
Collaborator

@andrewrosemberg andrewrosemberg commented Aug 19, 2025

improves coverage in #178

@joaquimg
Copy link
Copy Markdown
Member

tests are failing

Comment thread test/moi_tests.jl
MOI.copy_to(poi, model)
MOI.optimize!(poi)
@test MOI.get(poi, MOI.VariablePrimal(), x) ≈ 1.0
end
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line ending might fail formatter

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure I understand. can you suggest a fix?

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 19, 2025

Codecov Report

❌ Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 97.03%. Comparing base (25f9a33) to head (70ed053).
⚠️ Report is 1 commits behind head on jg/newdo.

Files with missing lines Patch % Lines
src/MOI_wrapper.jl 95.65% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           jg/newdo     #187      +/-   ##
============================================
+ Coverage     95.55%   97.03%   +1.47%     
============================================
  Files             5        5              
  Lines          1440     1449       +9     
============================================
+ Hits           1376     1406      +30     
+ Misses           64       43      -21     

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

@andrewrosemberg andrewrosemberg merged commit 5bbc063 into jg/newdo Aug 19, 2025
8 checks passed
@andrewrosemberg andrewrosemberg deleted the ar/newdo3 branch August 19, 2025 02:55
joaquimg added a commit that referenced this pull request Aug 19, 2025
* temp

* fix and format

* remove func

* Adds support for VectorQuadraticFunction (#179)

* add ParametricVectorQuadraticFunction

* use at_variable and remove unecessary calls

* start addressing variable coefficients

* update tests

* fix bugs

* fix bug

* update add constraint

* update test

* update jump test

* fix test

* rm update

* update add_constraint

* attemp replace

* update functions

* update

* update

* working first set

* update tol

* update tol

* finish

* change tests names

* Apply suggestions from code review

---------

Co-authored-by: Joaquim <joaquimdgarcia@gmail.com>

* format

* fix NLP block

* continue fix NLP block

* Fix TODOs New API (#182)

* fix VariablePrimalStart

* add get VariablePrimalStart

* fix "is_valid"

* fix ambiguity

* format

---------

Co-authored-by: joaquimg <joaquimdgarcia@gmail.com>

* Ar/newdo (#183)

* fix VariablePrimalStart

* add get VariablePrimalStart

* fix "is_valid"

* fix ambiguity

* format

* add more vector tests

---------

Co-authored-by: Andrew <arosemberg3@gatech.edu>

* add tests and vec fucntionfix

* format

* Fix key vector quadratic and add tests (#184)

* fix key vector quadratic

* add new tests and fix affine cache

* format

* test constraint name set and get

* add no parameter problem

* fix test name

* fix comment

* force has_parameter and !_is_vector_affine

* update coverage

* remove useless function

* update tests coverage

* format and rm useless functions

* improve tests to force coverage improvement

* fix typo

* Improve coverage (#187)

* update tests and coverage

* update tests

* update tests

* add copy to test

* fix typo

* format

* fix typo

* Improve coverage 2.0 (#188)

* improve coverage 2.0

* format

* fix typo

* bump version

---------

Co-authored-by: Andrew Rosemberg <andrewrosemberg@gmail.com>
Co-authored-by: Andrew <arosemberg3@gatech.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants