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

SRI-CSL / yices2 / 43295706017
71%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2026 08:08PM UTC
Jobs 1
Files 497
Run time 1min
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

12 Nov 2026 07:59PM UTC coverage: 71.275% (+0.05%) from 71.224%
43295706017

push

github

web-flow
Keep the model after an MCSAT check with assumptions (#680) (#682)

* Keep the model after an MCSAT check with assumptions (#680)

The MCSAT term-assumption path pushed a scope for its labels b => a
and popped it after every check. The pop reset the status to IDLE, so
yices_get_model failed after sat.

With push/pop, the labels now get an MCSAT-only scope. On sat the
scope stays open, and the next mcsat_clear pops it. The scope does not
count in ctx->base_level. Without push/pop, the labels are cached in
ctx->assumptions and reused, as CDCL(T) does.

* Lock MCSAT clear in assert_formulas/check-with-assumptions and keep cached assumption terms through GC

After #680, context_clear on a sat MCSAT context can run mcsat_pop, which reads the
term table. yices_assert_formulas and yices_check_context_with_assumptions called
context_clear without __yices_globals.lock, unlike yices_push/yices_pop, so the pop
could race with term_table_gc. Take the lock around that clear for MCSAT contexts.

Without push/pop, the label cache in ctx->assumptions maps assumption terms to label
terms that the next check reuses. context_gc_mark did not mark them, so their survival
depended on MCSAT keeping the asserted implication; mark them explicitly.

* Clarify lock recursion in context_clear_locked comment

* Guard the GC mark of cached assumption labels against stored literals

context_gc_mark treats the .lit slot of ctx->assumptions as a term on MCSAT
contexts. A front end that calls context_add_assumption stores a literal
there instead, so marking it blindly could index outside the term table.
Only mark it when it is a valid term index.

42 of 47 new or added lines in 4 files covered. (89.36%)

95797 of 134404 relevant lines covered (71.28%)

1726057.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
78.23
0.17% src/context/context_solver.c
1
54.02
0.46% src/api/yices_api.c
Jobs
ID Job ID Ran Files Coverage
1 43295706017.1 12 Nov 2026 08:08PM UTC 497
71.28
GitHub Action Run
Source Files on build 43295706017
  • Tree
  • List 497
  • Changed 8
  • Source Changed 6
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43295706017
  • 195552c4 on github
  • Prev Build on master (#42654498410)
  • Next Build on master (#43668244621)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc