[codex] Tighten AF3 trimer pairing summary and coverage#612
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR tightens AlphaFold3 trimer MSA translation reporting and adds regression coverage for three-chain AF2-feature -> AF3 runs.
What changed
Why
We wanted the AF3 backend path from AF2 pickled features to be trustworthy for trimers, especially around the three-chain pairing behavior. The previous debug summary could hide the difference between translated paired rows and the rows AF3 actually keeps after species pairing, and we were missing trimer-specific regression coverage.
Validation
Local:
pytest -q test/unit/test_af2_to_af3_msa.py test/unit/test_alphafold3_backend_helpers.pyEMBL cluster:
test/cluster/check_alphafold3_predictions.py::TestAlphaFold3MmseqsIssue588Inference::test_issue_588_mmseqs_af2_features_enable_af3_species_pairing_trimer_inferencetest/cluster/run_alphafold3_predictions.py51562990/scratch/dima/af3_trimer_cluster_logs_20260410_finalImpact
This makes the AF3 backend diagnostics much easier to trust for trimers and gives us direct regression coverage for the three-chain pairing cases we were worried about, including permutation handling and missing-chain pairing.