Repository navigation
v0.5.59 — External Simulation Adapter Protocol (Loop 38) - #155
Merged
Merged
Conversation
API contract for third-party simulation modules. Completes Phase 3 exit criterion 5 (external adapter protocol documented). Changes: - src/openamp_foundry/simulation/interfaces.py -- Added ExternalSimulationAdapter wrapping any callable (str) -> SimulationResult into VirtualAssayProxy. Availability check, error handling, metadata override, is_available() method, _error_result() helper. - tests/test_external_adapter.py -- 13 tests. - docs/ARCHITECTURE.md -- Extension points expanded with adapter example. - docs/50_LOOP_PLAN.md -- Loop 38 complete, next Loop 39. - docs/ROADMAP.md -- v0.5.59 entry. - docs/METRICS_CURRENT.md -- Pipeline v0.5.59, 1966 tests. 1966 tests passing.
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.
API contract for third-party simulation modules. Completes Phase 3 exit criterion 5.
Primary:
ExternalSimulationAdapterinsimulation/interfaces.py— wraps any callable(str) -> SimulationResultintoVirtualAssayProxy. Features:required_moduleavailability check, graceful error handling, metadata override,is_available()method.Tests: 13 tests covering availability, success, missing module, error handling, exception, baseline, metadata, scope.
Doc updates: ARCHITECTURE.md extension points expanded. 50_LOOP_PLAN (Loop 38 complete). ROADMAP (v0.5.59). METRICS_CURRENT (v0.5.59).
1965 tests passing (pre-push full suite).