Skip to content

v0.5.53 — Structure Ensemble Proxy (Loop 32) - #147

Merged
cschanhniem merged 1 commit into
mainfrom
loop32-structure-proxy
Jul 6, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
loop32-structure-proxy

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

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 — StructureProxy with Chou-Fasman helix/sheet/coil propensity parameters. Generates normalized 3-state ensemble weights, raw propensities, and non_helical flag (True if dominant state != helix or helix_weight < 0.33). HelicityBaseline for 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).

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 cschanhniem left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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.

@cschanhniem
cschanhniem merged commit 0505f0d into main Jul 6, 2026
1 check failed
@cschanhniem
cschanhniem deleted the loop32-structure-proxy branch July 6, 2026 06:28
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.

1 participant