Remove C++/Cython tribridge; add Python fallbacks and spectral features; simplify CLI/bench APIs - #32
Merged
Conversation
This reverts commit ce8036c.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
backend/cpp/*,backend/cython/tribridge.*) and removed its Python wrapper (backend/cython/tribridge.pyxand generated files).tribridgeimport inframe_solver.pyparity path and simplified the critic inbackend/acaf.pyto a cheapnum_vars-based hardness proxy rather than callingtribridge.backend/cnf_profile.py: implemented_shannon_entropy_ratioand_hyperbolic_delta_entropy_ratio(numpy optional) and wireCNFProfile.hyp_delta_entropy_ratio.backend/cnf_utils.pyby dropping direct.xz/.lzmahandling from the parser wrapper to a simplerparse_dimacs_file(reads plain text), and removed an unusedlzmaimport.discover_benchmarks()now accepts a singlepatternstring (default"*.cnf") andbackend/benchmark_cli.pyaccepts a single--patternstring instead of multiple patterns..gitignore(removed some duplicated entries / build lines).Testing
python -m pytest backend/tests/ -q; all tests completed successfully.python -m backend.cli examples/simple_sat.cnf --mode strictandpython -m backend.cli examples/simple_unsat.cnf --mode strict) to validate runtime paths after removing the native bridge; these commands executed without errors.Codex Task