Expand description
Adapters connecting oris-evokernel concrete implementations to the
SignalExtractorPort and SandboxPort traits defined in oris-evolution.
Inject these into StandardEvolutionPipeline to wire up the Detect and
Execute stages with real runtime infrastructure:
use std::sync::Arc;
use oris_evolution::{EvolutionPipelineConfig, StandardEvolutionPipeline};
use oris_evokernel::adapters::{LocalSandboxAdapter, RuntimeSignalExtractorAdapter};
let pipeline = StandardEvolutionPipeline::new(
EvolutionPipelineConfig::default(),
build_selector(),
)
.with_signal_extractor(Arc::new(RuntimeSignalExtractorAdapter::new()))
.with_sandbox(Arc::new(LocalSandboxAdapter::new(
"run-001",
"/path/to/workspace",
"/tmp/oris-sandbox",
)));Structsยง
- Local
Sandbox Adapter - Wraps
LocalProcessSandboxto implement the synchronousSandboxPorttrait. - Mutation
Evaluator Adapter - Implements
EvaluatePortby delegating tooris_mutation_evaluator::MutationEvaluator. - Runtime
Signal Extractor Adapter - Wraps
RuntimeSignalExtractorto implement theSignalExtractorPorttrait. - Sandbox
Output Validate Adapter - Implements
ValidatePortby interpreting sandbox execution output. - Sqlite
Gene Store Persist Adapter - Implements
GeneStorePersistPortusingoris_genestore::SqliteGeneStore.