Skip to content

Rank screen results by Gibbs free energy and report failures - #93

Merged
galjos merged 2 commits into
mainfrom
rank-screen-by-gibbs
Jul 7, 2026
Merged

Rank screen results by Gibbs free energy and report failures#93
galjos merged 2 commits into
mainfrom
rank-screen-by-gibbs

Conversation

@galjos

@galjos galjos commented Jul 7, 2026

Copy link
Copy Markdown
Member

screen returned unordered records and the CLI only printed a count. This adds ranking + failure reporting.

  • rank_by_gibbs(results) (exported from ThermoScreening.thermo) returns the status="ok" records sorted by G_total_hartree ascending — most stable first — dropping errors and records without a Gibbs value.
  • The thermo screen CLI now prints the ranked list and explicitly lists failed jobs with their error.

Tested (sort/filter unit test + CLI output assertions). Docs + full patch coverage.

Closes #92

galjos added 2 commits July 7, 2026 11:24
Add rank_by_gibbs(results) returning the successful records sorted by
absolute Gibbs free energy (most stable first), exported from
ThermoScreening.thermo. The thermo screen CLI now prints this ranking and
lists any failed jobs with their error message.

Closes #92
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.96%. Comparing base (723c53e) to head (3cad564).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #93      +/-   ##
==========================================
+ Coverage   96.94%   96.96%   +0.02%     
==========================================
  Files          28       28              
  Lines        1702     1714      +12     
==========================================
+ Hits         1650     1662      +12     
  Misses         52       52              
Flag Coverage Δ
unittests 96.96% <100.00%> (+0.02%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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.

@galjos
galjos merged commit a645977 into main Jul 7, 2026
5 checks passed
@galjos
galjos deleted the rank-screen-by-gibbs branch July 7, 2026 09:29
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.

Rank screen results by Gibbs free energy and report failures

1 participant