Repository navigation
v0.5.53 — Structure Ensemble Proxy (Loop 32) - #147
Merged
Merged
Conversation
Second Phase 3 simulation module. Chou-Fasman 3-state secondary structure prediction (helix/sheet/coil). Flags non-helical candidates where the helic-centric activity scorer is unreliable. Changes: - src/openamp_foundry/simulation/structure.py — StructureProxy with Chou-Fasman helix/sheet/coil propensity parameters. Generates normalized 3-state ensemble weights, raw propensities, and non_helical flag. HelicityBaseline for cheap baseline comparison. - tests/test_structure_proxy.py — 34 tests covering scale lookup, normalization, dominant state, non-helical flag, known reference comparisons (magainin helical, protegrin/tachyplesin beta-sheet, proline-rich non-helical, melittin ambiguous limitation). - docs/50_LOOP_PLAN.md — Loop 32 complete, next Loop 33. - docs/ROADMAP.md — v0.5.53 entry. - docs/METRICS_CURRENT.md — Pipeline v0.5.53, test count 1905. - docs/ARCHITECTURE.md — simulation package map updated. 1905 tests passing (1871 existing + 34 new).
cschanhniem
commented
Jul 6, 2026
cschanhniem
left a comment
Collaborator
Author
There was a problem hiding this comment.
Pre-push full suite: 1905 passed, 0 failed. Structure proxy verified: magainin not non-helical, protegrin and tachyplesin correctly flagged non-helical (beta-sheet). Melittin ambiguity documented as Chou-Fasman limitation. All 34 new tests pass. Module in info mode by default.
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.
Second Phase 3 simulation module. Chou-Fasman 3-state secondary structure prediction (helix/sheet/coil). Flags non-helical candidates where the helic-centric activity scorer is unreliable.
Primary:
src/openamp_foundry/simulation/structure.py—StructureProxywith Chou-Fasman helix/sheet/coil propensity parameters. Generates normalized 3-state ensemble weights, raw propensities, andnon_helicalflag (True if dominant state != helix or helix_weight < 0.33).HelicityBaselinefor cheap baseline comparison.Tests: 34 tests covering scale lookup, normalization, dominant state, non-helical flag, known reference comparisons (magainin helical, protegrin/tachyplesin beta-sheet, proline-rich non-helical, melittin ambiguous — documented limitation).
Doc updates: Loop 32 complete in 50_LOOP_PLAN. ROADMAP v0.5.53. METRICS_CURRENT v0.5.53, 1905 tests. ARCHITECTURE package map updated.
1905 tests passing (pre-push full suite).