lean-ctx 3.9.20

Local Context SDK for AI agents. Select, shape, reuse, recover, and measure context before inference.
Documentation
1
2
3
4
5
6
7
use super::types::{BenchmarkKind, BenchmarkResult, BenchmarkSpecV1};

pub(crate) trait BenchmarkRunner: Send + Sync {
    fn kind(&self) -> BenchmarkKind;
    fn run(&self, spec: &BenchmarkSpecV1) -> anyhow::Result<BenchmarkResult>;
    fn name(&self) -> &'static str;
}