#[non_exhaustive]pub struct RunMeta {
pub temperature: f32,
pub backend: String,
pub system_prompt: String,
}Expand description
Run-level metadata recorded on the EvalReport but NOT intrinsic to the generic runner.
EvalReport carries a few fields that are meaningful for LLM/agent runs (the sampling
temperature, a backend label, the shared system_prompt) but have no generic meaning here. Rather
than hardcode LLM assumptions into run_eval, the host supplies them via this struct; the report’s
serialized shape (and therefore the HTML report + saved JSON) is unchanged. A host with no notion of
these can use RunMeta::default (temperature 0.0, empty backend/system_prompt).
#[non_exhaustive]: new run-level metadata can be added without a breaking change. Build it with
RunMeta::new(temperature, backend, system_prompt).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.temperature: f32Sampling temperature the run used, recorded in the report summary. Neutral default 0.0.
backend: StringA short description of what was benchmarked (e.g. the backend/model label). Neutral default "".
system_prompt: StringA run-level prompt/preamble shared across all cases, stored once on the report (shown at the top
of the HTML report’s per-run expander). Neutral default "".