Skip to content

Fix sample ranking formula#59

Merged
jnwei merged 3 commits intoaqlaboratory:mainfrom
qurat-ul-ain95:fix/sample_ranking_formula
Dec 3, 2025
Merged

Fix sample ranking formula#59
jnwei merged 3 commits intoaqlaboratory:mainfrom
qurat-ul-ain95:fix/sample_ranking_formula

Conversation

@qurat-ul-ain95
Copy link
Contributor

AF3 SI §5.9.3 eq (19) formula 0.8·ipTM + 0.2·pTM + 0.5·disorder − 100·has_clash gives a penalty to polymers with clashes.

Current implementation has the signs flipped so samples with clashes are up weighted rather than down weighted.

THis PR:

  • fixes the sign on has_clash_weight inside full_complex_sample_ranking_metric
  • ensure the default All-Atom config uses the same positive weight so clashes reduce the score rather than boost it

@jnwei
Copy link
Contributor

jnwei commented Dec 1, 2025

Thank you for the careful review and for raising this issue, @qurat-ul-ain95. This does look to be an issue and we will review it more thoroughly.

(The tests failures are infrastructure related, probably will be resolved after merging some action updates)

@jnwei jnwei added the safe-to-test Internal only label used to indicate PRs that are ready for automated CI testing. label Dec 3, 2025
Copy link
Contributor

@jnwei jnwei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you again @qurat-ul-ain95 for the careful review of the sample ranking formula and for submitting a fix for this issue!

@jnwei jnwei merged commit f08d533 into aqlaboratory:main Dec 3, 2025
4 checks passed
@qurat-ul-ain95
Copy link
Contributor Author

My pleasure! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe-to-test Internal only label used to indicate PRs that are ready for automated CI testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants