Skip to content

Add tests for BP edge cases and UAI errors

6b3f4e2
Select commit
Loading
Failed to load commit list.
Merged

The generic framework for solving approximate inference problem with BP #17

Add tests for BP edge cases and UAI errors
6b3f4e2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 19, 2026 in 1s

94.68% (+0.39%) compared to 7acf58e

View this Pull Request on Codecov

94.68% (+0.39%) compared to 7acf58e

Details

Codecov Report

❌ Patch coverage is 94.81132% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.68%. Comparing base (7acf58e) to head (6b3f4e2).

Files with missing lines Patch % Lines
src/bpdecoderplus/pytorch_bp/belief_propagation.py 95.00% 7 Missing ⚠️
src/bpdecoderplus/pytorch_bp/uai_parser.py 94.20% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   94.28%   94.68%   +0.39%     
==========================================
  Files           3        6       +3     
  Lines          70      282     +212     
==========================================
+ Hits           66      267     +201     
- Misses          4       15      +11     

☔ 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.