Skip to content

v0.5.59 — add external simulation adapter contract - #154

Closed
cschanhniem wants to merge 1 commit into
mainfrom
codex/oamp-loop-v0559-external-sim-adapter
Closed

cschanhniem wants to merge 1 commit into
mainfrom
codex/oamp-loop-v0559-external-sim-adapter

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Summary

  • add ExternalSimulationAdapter protocol for third-party/heavyweight simulation integrations
  • add validate_external_adapter_result() to fail loud on batch length, module, version, and uncertainty mismatches
  • export the contract from openamp_foundry.simulation and document consent/network/model-download requirements

Honest scope

  • no external simulator, model download, network execution, MD, or AlphaFold integration added
  • contract only prevents hidden behavior and output-shape drift; it does not validate biological usefulness

Verification

  • python3 -m pytest -q tests/test_simulation_interfaces.py tests/test_public_api_imports.py tests/test_docs_consistent.py
  • ruff check src/openamp_foundry/simulation/interfaces.py src/openamp_foundry/simulation/init.py tests/test_simulation_interfaces.py
  • git diff --check
  • python3 -m pytest -q (1952 passed, 7 skipped)
  • pre-push pytest -q (1952 passed, 7 skipped)

@cschanhniem
cschanhniem force-pushed the codex/oamp-loop-v0559-external-sim-adapter branch from f2d8c48 to b12d9ba Compare July 6, 2026 08:22
@cschanhniem

Copy link
Copy Markdown
Collaborator Author

Superseded by upstream main PR #155 (). Closing to avoid duplicating the same contract on a stale head.

@cschanhniem cschanhniem closed this Jul 6, 2026
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