Skip to content

Conversation

@atravitz
Copy link
Contributor

@atravitz atravitz commented Dec 1, 2025

Checklist

  • All new code is appropriately documented (user-facing code must have complete docstrings).
  • Added a news entry, or the changes are not user-facing.
  • Ran pre-commit by making a comment with pre-commit.ci autofix before requesting review.

Manual Tests: these are slow so don't need to be run every commit, only before merging and when relevant changes are made (generally at reviewer-discretion).

Developers certificate of origin

atravitz and others added 10 commits November 24, 2025 07:14
* copy septop analysis notebook over

* add todos

* add plan and test

* format

* add failing tests

* comment out secondary tests

* add cli tmp

* clean up imports

* fix type hints in gather.py

* test passes for gather raw

* test passes for ddg

* tests pass for dg

* pull more error handling into septop

* condense code a bit

* MBAR uncertainty

* remove planning stub

* Revert "MBAR uncertainty"

This reverts commit bf32aa3.

* format

* test with tolerances

* precommit format

* remove accidentally committed file

* Apply suggestions from code review

Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com>

---------

Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com>
* add abfe MVP with tests

* Apply suggestions from code review

Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com>

* fix incorrect var name

* fix abfe legs extraction

* fix merge bug

* remove unused import

---------

Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com>
* only apply precision rounding at the end

* clean up code
* update abfe names parsing

* update septop names parsing

* add todo

* get names from alchemical_components

* remove todo
* format septop outputs with format_df_with_precision

* only apply precision rounding at the end

* update gather abfe formatting to use format_df_with_precision

* remove unused import

* switch back to checking final outputs for abfes

* clean up code

* add rounding for dg mle

* simplify code
* format septop outputs with format_df_with_precision

* only apply precision rounding at the end

* update gather abfe formatting to use format_df_with_precision

* remove unused import

* switch back to checking final outputs for abfes

* clean up code

* add rounding for dg mle

* simplify code

* make gather_septop.py code more similar to gather.py

* make gather_abfe.py code more similar to gather.py

* remove unused function
* add warnings for experimental gathering

* use click to make output look nicer, not a true warning

* add warning text

* make yellow

* add tests
@atravitz atravitz requested a review from IAlibay December 1, 2025 19:22
@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

❌ Patch coverage is 89.49153% with 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.09%. Comparing base (7a905d9) to head (5acd50f).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
openfecli/commands/gather_septop.py 87.40% 17 Missing ⚠️
openfecli/commands/gather_abfe.py 86.91% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1710      +/-   ##
==========================================
- Coverage   95.47%   93.09%   -2.39%     
==========================================
  Files         187      189       +2     
  Lines       16241    16536     +295     
==========================================
- Hits        15506    15394     -112     
- Misses        735     1142     +407     
Flag Coverage Δ
fast-tests 93.09% <89.49%> (?)
slow-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@atravitz atravitz changed the title [DNM] Feat/cli gather improvements [DNM] feat: experimental septop & abfe support Dec 1, 2025
@atravitz atravitz requested a review from IAlibay December 2, 2025 17:55
@mikemhenry mikemhenry changed the title [DNM] feat: experimental septop & abfe support [DNM] feat: experimental gather-septop & gather-abfe support Dec 2, 2025
@mikemhenry mikemhenry changed the title [DNM] feat: experimental gather-septop & gather-abfe support [DNM] feat: experimental openfe gather-septop & openfe gather-abfe support Dec 2, 2025
#1712)

* gather septop/abfe output headers accurately reflect error type

* split into func

* label all uncertainty columns more specifically

* add docstring

* update test data
@atravitz atravitz added this to the 1.8.0 milestone Dec 3, 2025
@atravitz atravitz marked this pull request as ready for review December 3, 2025 19:24
@atravitz atravitz changed the title [DNM] feat: experimental openfe gather-septop & openfe gather-abfe support feat: experimental openfe gather-septop & openfe gather-abfe support Dec 3, 2025
@github-actions
Copy link

github-actions bot commented Dec 4, 2025

No API break detected ✅

@atravitz atravitz merged commit 2c8feff into main Dec 4, 2025
12 of 13 checks passed
@atravitz atravitz deleted the feat/cli-gather-improvements branch December 4, 2025 15:34
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.

4 participants