Skip to content

Refactor - #17

Merged
isPANN merged 22 commits into
OptimalBranching:mainfrom
isPANN:xw/trail
Nov 24, 2025
Merged

isPANN merged 22 commits into
OptimalBranching:mainfrom
isPANN:xw/trail

Conversation

@isPANN

@isPANN isPANN commented Nov 24, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

isPANN and others added 22 commits November 6, 2025 16:42
- Introduced a new `Trail` structure to manage variable assignments and backtracking.
- Updated `propagate` functions to utilize the trail for recording variable assignments.
- Implemented caching for branch applications to optimize performance.
- Refactored branching logic to support trail recording during branching decisions.
- Enhanced the `record_solved_leaf!` function to extract successful paths from the trail.
- Added new files for branch caching and optimal branching rule selection.
- Updated tests to validate new trail functionality and branching improvements.
- Removed the `parse_verilog_to_circuit` function from the `CircuitIO` module.
- Updated the `verilog_to_circuit` function to directly use the content read from the file.
- Added a new `circuit_analysis.jl` file to implement tensor network information extraction and circuit analysis functions.
- Enhanced the `setup_problem` function to include tensor depth, fanin, and fanout information.
- Updated tests to validate the new circuit analysis functionalities.
- Removed the `TensorNetworkInfo` structure and related functions from `circuit_analysis.jl`.
- Updated the `setup_from_sat` function to directly compute tensor data and circuit metadata.
- Enhanced the `setup_problem` function to include tensor symbols for circuit gate types.
- Simplified the `setup_from_tensor_network` function to streamline tensor network setup.
- Adjusted function signatures to improve clarity and reduce redundancy.
- Introduced `MinGammaSelector` for improved branching strategy in `factoring.jl`.
- Updated the `solve` function to utilize `bbsat!` for better performance and clarity.
- Refactored region handling in `region.jl` to simplify variable management.
- Enhanced `RegionCache` structure to optimize caching of configurations.
- Improved propagation logic in `propagate.jl` for efficiency.
- Updated tests to reflect changes in region variable handling.
@isPANN
isPANN merged commit fef9687 into OptimalBranching:main Nov 24, 2025
3 checks passed
@codecov

codecov Bot commented Nov 24, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 694 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/utils/visualization.jl 0.00% 136 Missing ⚠️
src/utils/circuit_analysis.jl 0.00% 96 Missing ⚠️
src/branch_table/regioncache.jl 0.00% 78 Missing ⚠️
src/interface.jl 0.00% 45 Missing ⚠️
src/branch_table/knn.jl 0.00% 43 Missing ⚠️
src/branch_table/contraction.jl 0.00% 38 Missing ⚠️
src/branching/propagate.jl 0.00% 38 Missing ⚠️
src/branch_table/branchtable.jl 0.00% 34 Missing ⚠️
src/branching/branch.jl 0.00% 28 Missing ⚠️
src/core/domain.jl 0.00% 28 Missing ⚠️
... and 8 more
Files with missing lines Coverage Δ
src/core/types.jl 0.00% <0.00%> (-77.78%) ⬇️
src/core/stats.jl 0.00% <0.00%> (-96.07%) ⬇️
src/core/region.jl 0.00% <0.00%> (-91.67%) ⬇️
src/branching/measure.jl 0.00% <0.00%> (-100.00%) ⬇️
src/core/static.jl 0.00% <0.00%> (-85.46%) ⬇️
src/branch_table/selector.jl 0.00% <0.00%> (ø)
src/core/problem.jl 0.00% <0.00%> (-83.88%) ⬇️
src/branching/branch.jl 0.00% <0.00%> (-85.53%) ⬇️
src/core/domain.jl 0.00% <0.00%> (-90.00%) ⬇️
src/utils/utils.jl 0.00% <0.00%> (-100.00%) ⬇️
... and 8 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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