Skip to content

v0.5.52 — Membrane Interaction Proxy (Loop 31) - #146

Merged
cschanhniem merged 1 commit into
mainfrom
loop31-membrane-proxy
Jul 6, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
loop31-membrane-proxy

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Phase 3 implementation begins with a coarse-grained membrane binding energy proxy.

Primary: src/openamp_foundry/simulation/membrane.py — MembraneProxy implementing VirtualAssayProxy with literature-validated Wimley-White interfacial (bacterial) and octanol (mammalian) hydrophobicity scales. Combines with hydrophobic moment for amphipathicity. Returns SimulationResult with bacterial/mammalian binding scores, selectivity ratio, and uncertainty.

Tests: 27 tests covering scale lookup, normalization, selectivity ratio, uncertainty, proxy contract, known-reference comparison (magainin more selective than melittin), empty sequence.

Doc updates: docs/50_LOOP_PLAN.md Loop 31 ✅, next Loop 32. docs/ROADMAP.md v0.5.52 entry. docs/METRICS_CURRENT.md pipeline v0.5.52, test count 1873. docs/ARCHITECTURE.md package map updated.

1871 tests passing (pre-push full suite).

Phase 3 implementation begins. Membrane proxy uses Wimley-White
interfacial (bacterial) and octanol (mammalian) scales for coarse-grained
binding energy, combined with hydrophobic moment. Selectivity ratio
distinguishes bacterial-preferring from hemolytic candidates.

Changes:
- src/openamp_foundry/simulation/membrane.py — MembraneProxy implementing
  VirtualAssayProxy with Wimley-White scales (Wimley & White 1996).
  Produces SimulationResult with bacterial/mammalian binding scores,
  selectivity ratio, and uncertainty. BomanBaseline clamped to [0,1].
- tests/test_membrane_proxy.py — 27 tests covering scale lookup,
  normalization, selectivity ratio, uncertainty, proxy contract,
  known-reference comparison (magainin > melittin selectivity),
  empty sequence, and version.
- docs/50_LOOP_PLAN.md — Loop 31 marked complete, next is Loop 32.
- docs/ROADMAP.md — v0.5.52 entry with all change details.
- docs/METRICS_CURRENT.md — Pipeline version v0.5.52, test count 1873.
- docs/ARCHITECTURE.md — simulation package map updated.

1873 tests passing (1843 existing + 30 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: 1871 passed, 0 failed. Membrane proxy contract verified: magainin selectivity > melittin selectivity (known biological fact). All 27 new tests pass. No pipeline code changes — membrane proxy is in mode by default and does not affect ranking.

@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: 1871 passed, 0 failed. Membrane proxy contract verified: magainin selectivity is greater than melittin selectivity. All 27 new tests pass. No pipeline code changes -- membrane proxy in info mode by default, does not affect ranking.

@cschanhniem
cschanhniem merged commit 4d15b1f into main Jul 6, 2026
1 check failed
@cschanhniem
cschanhniem deleted the loop31-membrane-proxy branch July 6, 2026 06:22
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