Skip to content

FIX: move InputSpec satisfiability to within InputSpec class - #152

Open
hanyuone wants to merge 3 commits into
SVF-tools:mainfrom
hanyuone:fix/inputspec-refactor
Open

hanyuone wants to merge 3 commits into
SVF-tools:mainfrom
hanyuone:fix/inputspec-refactor

Conversation

@hanyuone

@hanyuone hanyuone commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

This PR moves satisfiability checks in InputSpecLayer into the InputSpec class. This decouples InputSpec from VerifiableModel, which makes it easier in the future to create new types of InputSpec.

Further considerations:

  • Should InputSpec and OutputSpec now be in separate files, since specs.py is becoming quite large?

@codecov

codecov Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.59259% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.70%. Comparing base (a959db7) to head (82f3be3).

Files with missing lines Patch % Lines
act/front_end/specs.py 91.89% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   85.69%   85.70%           
=======================================
  Files          97       97           
  Lines       26729    26732    +3     
=======================================
+ Hits        22906    22911    +5     
+ Misses       3823     3821    -2     
Flag Coverage Δ
bab 56.84% <88.88%> (+<0.01%) ⬆️
backend-float32 52.44% <88.88%> (+<0.01%) ⬆️
backend-float64 53.95% <88.88%> (+<0.01%) ⬆️
frontend 34.78% <92.59%> (+0.01%) ⬆️
gui 29.85% <44.44%> (+0.01%) ⬆️
pipeline-fuzz 20.75% <56.79%> (+0.02%) ⬆️
pipeline-verify 43.05% <51.85%> (-0.37%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
act/front_end/verifiable_model.py 91.50% <100.00%> (+0.90%) ⬆️
act/util/counterexample.py 98.78% <100.00%> (-0.21%) ⬇️
act/front_end/specs.py 92.40% <91.89%> (-0.10%) ⬇️

... and 2 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a959db7...82f3be3. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hanyuone hanyuone changed the title FEAT: move InputSpec satisfiability to within InputSpec class FIX: move InputSpec satisfiability to within InputSpec class Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant