clousight_bench (or
clousight_bench.api) — never from clousight_bench.core.* (internal). The public
surface is what the plugin-API version (clousight_bench.PLUGIN_API_VERSION) governs.
Result contract
A run emits aResultRecord (schema 0.4): status (completed / failed /
invalid / unsupported), measurements (each with value, unit,
reproducibility_class, official, optional ci), optional per-item items
(ItemResults with 4-state ItemScores the measurements aggregate), findings
(stable code, severity), and fingerprints (benchmark / environment /
implementation / record_digest). See Architecture for
the full field table.
Plugin contracts
The primary public unit is a benchmark — aBenchmarkSuite + Evaluator
(see Add a benchmark). Since plugin API 2.0 the
suite/evaluator pair is the only benchmark rail (the old Task contract is gone);
the current PLUGIN_API_VERSION is "3.0" (the OTel-native tracing break).
Entry points
Third-party (and commercial) packages extend the harness by declaring these entry points (seepyproject.toml):
clousight_bench.benchmark_suites— benchmark suitesclousight_bench.evaluators— evaluators (namespaced measurements +items())clousight_bench.metrics— composable add-on metricsclousight_bench.judges— LLM-as-judge providersclousight_bench.domains— domain packs (tasks + platform adapters)clousight_bench.runtime_providers— cloud runtime providersclousight_bench.resource_reapers— orphan-resource reapersclousight_bench.enrichers— post-run enrichers (e.g. pricing)clousight_bench.span_exporters— trace span exportersclousight_bench.asset_resolvers— private/gated dataset resolvers
