Skip to content

Refactor - #20

Closed
isPANN wants to merge 16 commits into
OptimalBranching:mainfrom
isPANN:xw/trail
Closed

isPANN wants to merge 16 commits into
OptimalBranching:mainfrom
isPANN:xw/trail

Conversation

@isPANN

@isPANN isPANN commented Dec 6, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

- Updated `cnfsat_example.jl` to utilize a custom `BranchingStrategy` with `MostOccurrenceSelector` for improved performance.
- Refactored `benchmark_dataset` function in `benchmark.jl` to streamline instance loading and error handling.
- Introduced new utility functions for filtering feasible configurations and applying clause assignments in `branch_table`.
- Improved the `measure` function for `NumHardTensors` to calculate total excess based on tensor degrees.
- Enhanced `findbest` function in `selector.jl` to utilize weighted variable cover scores for optimal branching decisions.
- Added custom display for `propagated_cache` in `problem.jl` for better debugging visibility.
- Updated `cnfsat_example.jl` to adjust `MostOccurrenceSelector` parameters and change the measurement to `NumUnfixedVars`.
- Enhanced `factoring_example.jl` with a new `BranchingStrategy` and integrated `BooleanInferenceSolver` with custom configurations.
- Modified `BooleanInferenceSolver` to include a `verify` flag and updated related structures for better clarity and functionality.
- Improved solver comparison logic in `comparison.jl` to ensure consistent verification across benchmarks.
- Refactored `TNProblem` structure to remove redundant unfixed variable storage, utilizing a count function instead.
- Enhanced branching statistics tracking in `stats.jl` for better performance analysis.
@codecov

codecov Bot commented Dec 6, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 18 files with indirect coverage changes

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

@isPANN
isPANN marked this pull request as draft December 6, 2025 14:21
@isPANN isPANN closed this Dec 6, 2025
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