Skip to content

feat(hybridz): complete frontend solver integration#99

Closed
Kaijie-liu wants to merge 1 commit into
SVF-tools:mainfrom
Kaijie-liu:hybridz-pr7-frontend-e2e-20260711
Closed

feat(hybridz): complete frontend solver integration#99
Kaijie-liu wants to merge 1 commit into
SVF-tools:mainfrom
Kaijie-liu:hybridz-pr7-frontend-e2e-20260711

Conversation

@Kaijie-liu

Copy link
Copy Markdown
Contributor

PR7 Summary

This final PR in the HybridZ completes the command line and end-to-end integration. It does not modify the HybridZ representation, operators, mathematical encoding, or verdict solver.

1. Automatically select HybridzTF

Previously, running:

--solvers hybridz

could still leave the default interval transformer active. The HybridZ solver would then receive no HybridZ state and return:

UNKNOWN: missing_hz_state

The standalone HybridZ solver now automatically selects the required pipeline:

HybridzTF propagation -> HybridZ solver verdict

Users no longer need to also specify --tf-modes hybridz.

2. Apply consistent mode selection across pipeline entry points

act/pipeline/cli.py now uses one shared mode-resolution path for:

  • VNNLIB
  • TorchVision
  • NetFactory

For NetFactory sweeps, the standalone HybridZ solver runs only once with HybridzTF, avoiding duplicate runs caused by multiple requested TF modes.

3. Forward the verification timeout

The pipeline option:

--timeout 120

is now forwarded to the HybridZ verdict solver. When the deadline is reached, HybridZ returns UNKNOWN; its existing no-rescue behavior remains unchanged.

4. Align the backend CLI

The backend command:

python -m act.back_end ... --solver hybridz

now automatically activates HybridzTF. If an incompatible mode such as --tf-mode interval is explicitly supplied, the CLI emits a warning and uses HybridzTF.

5. Update CLI documentation

The existing help text and examples now clarify that:

  • HybridZ is a solver.
  • It automatically selects HybridzTF.
  • End-to-end HybridZ verification requires only --solvers hybridz.

@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.18%. Comparing base (8c41b8b) to head (77f700a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
- Coverage   73.19%   73.18%   -0.01%     
==========================================
  Files          92       92              
  Lines       20268    20268              
==========================================
- Hits        14835    14834       -1     
- Misses       5433     5434       +1     
Flag Coverage Δ
bab 45.28% <ø> (-0.01%) ⬇️
backend-float32 48.83% <ø> (ø)
backend-float64 48.87% <ø> (ø)
frontend 32.41% <ø> (ø)
pipeline-fuzz 20.21% <ø> (ø)
pipeline-verify 38.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file 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 8c41b8b...77f700a. Read the comment docs.

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

@yuleisui

Copy link
Copy Markdown
Collaborator

This needs to be merged into #96

@Kaijie-liu

Copy link
Copy Markdown
Contributor Author

This needs to be merged into #96

Understood. I have ported these changes to the #96 through guanqin-123#4 (guanqin-123#4).

@yuleisui yuleisui closed this Jul 13, 2026
@Kaijie-liu Kaijie-liu deleted the hybridz-pr7-frontend-e2e-20260711 branch July 14, 2026 10:23
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.

2 participants