Skip to content

BenchmarkResult

Returned by benchmark(); normally do not construct this yourself. Use leaderboard(), grouped(), metrics, predictions, aligned_predictions, origins and metadata.

predictions preserves failures; aligned_predictions contains scoring support. Leaderboards include rank, identifier, scoring policy, MAE/RMSE/bias in MW, explicit-reference skill, scored/expected counts, availability and failed origins. Lower MAE/RMSE is better; inspect coverage before trusting ranks. See evaluation.

BenchmarkResult dataclass

BenchmarkResult(summary: DataFrame, aligned_predictions: DataFrame, primary_metric: PrimaryMetric, reference_model: str | None, subset_name: str, backtest_specs: dict[str, BacktestSpec], _population: DataFrame, _expected: MultiIndex, _support: MultiIndex, config: BenchmarkConfig | None = None, metadata: dict[str, object] = dict(), predictions: DataFrame = pd.DataFrame(), origins: DataFrame = pd.DataFrame())

Numerical summaries plus the selected population and exact common support.

Tables are owned output copies. Backtest specifications are retained when supplied; aligning observations cannot certify equal information access. Public benchmark() runs additionally populate config, metadata, complete predictions and origins; evaluator-only research calls retain their existing summary/aligned_predictions behavior and leave those new fields empty.

metrics property

metrics: DataFrame

Owned common-support summary copy; independent populations are not mixed.

leaderboard

leaderboard(primary_metric: PrimaryMetric | None = None) -> pd.DataFrame

Lower MAE/RMSE wins; exact ties share rank, then sort by model ID.

grouped

grouped(by: Grouping) -> pd.DataFrame

Same common-support scoring by horizon, Brussels hour, year-month or DJF/MAM/JJA/SON.