• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alpha-asp / Alpha / #1815
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: weak_constraints
DEFAULT BRANCH: master
Ran 10 Jan 2023 04:54AM UTC
Jobs 1
Files 217
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#1815

push

github-actions

Enable optimization based on command-line, also accept upper bound, and print valuation of answer sets if weak constraints are present.

- CommandLineParser and SystemConfig handle options enabling optimization and maximum upper bound.
- WeakConstraintsManager interface introduced.
- WeakConstraintsManagerForBoundedOptimality for branch-and-bound search extracted.
- WeakConstraintsManagerForUnboundedEnumeration for computing weights/levels of answer sets of programs with weak constraints.
- WeightAtLevelsManager accepts maximum upper bound from comma-seperated weight@level pairs.
- DefaultSolver adds weight/levels to answer sets if weak constraints are present.
- OptimizingSolver handles maximum upper bound if specified.
- SolverFactory returns OptimizingSolver based on flag, not presence of weak constraints in input.
- Added initialization tests to WeightAtLevelsManagerTest.
- Added to TestUtils methods for regression testing the OptimizingSolver, and using them in WeakConstraintsTests.

7388 of 8800 relevant lines covered (83.95%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1815.1 10 Jan 2023 04:54AM UTC 217
83.95
Source Files on build #1815
  • Tree
  • List 217
  • Changed 12
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #1815
  • d53653e6 on github
  • Prev Build on weak_constraints
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc