Skip to content

Conversation

@xihe-820
Copy link
Contributor

@xihe-820 xihe-820 commented Nov 8, 2025

Added “ml4co_kit/generator/sat/” module with three specialized generators:
SATPGenerator: For SAT-P (Satisfiability Prediction) task
SATAGenerator: For SAT-A (Satisfying Assignment) task
USATCGenerator: For UNSAT-C (Unsat-core Variable) task

xihe-820 and others added 6 commits November 8, 2025 13:34
- Add 7 test datasets for SAT-P, SAT-A, and UNSAT-C tasks
- Add dataset generation script (generate_sat_dataset.py)
- Follow ML4CO-Kit naming conventions
- Reference G4SATBench specifications

Datasets:
- SAT-P: 3 instances (PLANTED, UNIFORM_RANDOM, PHASE_TRANSITION)
- SAT-A: 2 instances with reference solutions
- UNSAT-C: 2 instances with UNSAT core labels

All datasets verified and ready for testing/training.
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 23.84428% with 313 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.91%. Comparing base (6ece4de) to head (a575c01).

Files with missing lines Patch % Lines
ml4co_kit/generator/sat/unsatc.py 14.00% 86 Missing ⚠️
ml4co_kit/generator/sat/satp.py 15.00% 85 Missing ⚠️
ml4co_kit/generator/sat/sata.py 17.46% 52 Missing ⚠️
ml4co_kit/generator/sat/base.py 35.08% 37 Missing ⚠️
ml4co_kit/solver/lib/greedy/unsatc_greedy.py 18.75% 13 Missing ⚠️
ml4co_kit/solver/lib/pysat/sata_pysat.py 23.52% 13 Missing ⚠️
ml4co_kit/solver/lib/pysat/unsatc_pysat.py 31.25% 11 Missing ⚠️
ml4co_kit/solver/pysat.py 52.94% 8 Missing ⚠️
ml4co_kit/solver/lib/pysat/satp_pysat.py 33.33% 6 Missing ⚠️
ml4co_kit/solver/greedy.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   90.30%   86.91%   -3.39%     
==========================================
  Files         171      181      +10     
  Lines        7663     8073     +410     
==========================================
+ Hits         6920     7017      +97     
- Misses        743     1056     +313     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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