Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix decorated objectives and Cache Display #279

Merged
merged 3 commits into from
Jul 12, 2023

Conversation

kellertuer
Copy link
Member

This PR fixes a small bug that appeared when passing a decorated objective, e.g. a Cache, to CPPA.

Along the way I notices that the summary might also be nice for caches, so now the solver run (when returning the objective as well) also reports on how much of each of the caches was used.

This still might need some test coverage.

@codecov
Copy link

codecov bot commented Jul 11, 2023

Codecov Report

Merging #279 (898977a) into master (b07016c) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #279      +/-   ##
==========================================
- Coverage   99.70%   99.64%   -0.06%     
==========================================
  Files          73       73              
  Lines        6502     6264     -238     
==========================================
- Hits         6483     6242     -241     
- Misses         19       22       +3     
Impacted Files Coverage Δ
src/plans/cache.jl 100.00% <100.00%> (ø)
src/plans/count.jl 100.00% <100.00%> (ø)
src/plans/objective.jl 100.00% <100.00%> (ø)
src/plans/problem.jl 100.00% <100.00%> (ø)
src/solvers/cyclic_proximal_point.jl 100.00% <100.00%> (ø)

... and 53 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@kellertuer kellertuer added the bug label Jul 12, 2023
@kellertuer kellertuer merged commit 6482858 into master Jul 12, 2023
12 of 13 checks passed
@kellertuer kellertuer deleted the kellertuer/fix_cppa_deco branch December 16, 2023 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant