Skip to content

Correctly report if optimum answer set was found.

e7558d0
Select commit
Loading
Failed to load commit list.
Open

Enable weak constraints #273

Correctly report if optimum answer set was found.
e7558d0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 2, 2026 in 1s

67.32% (+0.49%) compared to 3028684

View this Pull Request on Codecov

67.32% (+0.49%) compared to 3028684

Details

Codecov Report

❌ Patch coverage is 73.55623% with 174 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.32%. Comparing base (3028684) to head (e7558d0).
⚠️ Report is 20 commits behind head on master.

Files with missing lines Patch % Lines
.../ac/tuwien/kr/alpha/commons/WeightedAnswerSet.java 55.22% 20 Missing and 10 partials ⚠️
...ore/solver/optimization/WeightAtLevelsManager.java 82.55% 17 Missing and 13 partials ⚠️
...on/WeakConstraintsManagerForBoundedOptimality.java 78.18% 16 Missing and 8 partials ⚠️
.../alpha/core/programs/atoms/WeakConstraintAtom.java 62.06% 9 Missing and 13 partials ⚠️
...r/alpha/commons/programs/rules/WeakConstraint.java 0.00% 10 Missing ⚠️
...WeakConstraintsManagerForUnboundedEnumeration.java 41.17% 10 Missing ⚠️
.../ac/tuwien/kr/alpha/commons/programs/Programs.java 0.00% 7 Missing ⚠️
...wien/kr/alpha/core/solver/AtomCallbackManager.java 65.00% 3 Missing and 4 partials ⚠️
...olver/optimization/WeakConstraintAtomCallback.java 56.25% 7 Missing ⚠️
...-app/src/main/java/at/ac/tuwien/kr/alpha/Main.java 0.00% 2 Missing and 2 partials ⚠️
... and 11 more
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #273      +/-   ##
============================================
+ Coverage     66.83%   67.32%   +0.49%     
- Complexity     2108     2286     +178     
============================================
  Files           184      195      +11     
  Lines          8379     8980     +601     
  Branches       1464     1583     +119     
============================================
+ Hits           5600     6046     +446     
- Misses         2411     2515     +104     
- Partials        368      419      +51     

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