Skip to content

black

5aaef2e
Select commit
Loading
Failed to load commit list.
Merged

Add optional custom log_rewards to all GFlowNet losses #503

black
5aaef2e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 3, 2026 in 1s

72.46% (-0.03%) compared to e6eddda

View this Pull Request on Codecov

72.46% (-0.03%) compared to e6eddda

Details

Codecov Report

❌ Patch coverage is 65.51724% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.46%. Comparing base (e6eddda) to head (5aaef2e).

Files with missing lines Patch % Lines
src/gfn/gflownet/sub_trajectory_balance.py 45.45% 4 Missing and 2 partials ⚠️
src/gfn/gflownet/trajectory_balance.py 66.66% 2 Missing and 1 partial ⚠️
src/gfn/gflownet/detailed_balance.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #503      +/-   ##
==========================================
- Coverage   72.49%   72.46%   -0.03%     
==========================================
  Files          55       55              
  Lines        8522     8539      +17     
  Branches     1090     1099       +9     
==========================================
+ Hits         6178     6188      +10     
- Misses       1957     1961       +4     
- Partials      387      390       +3     
Files with missing lines Coverage Δ
src/gfn/gflownet/base.py 78.51% <100.00%> (+0.36%) ⬆️
src/gfn/gflownet/flow_matching.py 85.57% <100.00%> (+0.14%) ⬆️
src/gfn/gflownet/detailed_balance.py 62.96% <80.00%> (+0.30%) ⬆️
src/gfn/gflownet/trajectory_balance.py 68.25% <66.66%> (-0.86%) ⬇️
src/gfn/gflownet/sub_trajectory_balance.py 77.00% <45.45%> (-1.24%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.