Liander2024TargetProvider#

class openstef_beam.benchmarking.benchmarks.liander2024.Liander2024TargetProvider(**data: Any) None[source]

Bases: SimpleTargetProvider[BenchmarkTarget, list[Liander2024Category]]

Target provider for Liander 2024 STEF benchmark.

Parameters:

data (Any)

measurements_path_template: str
weather_path_template: str
profiles_path: str
prices_path: str
targets_file_path: str
data_start: datetime
get_targets(filter_args: list[Liander2024Category] | None = None) list[BenchmarkTarget][source]

Load all available benchmark targets.

Parameters:
  • filter_args (list[TypeAliasType] | None) – Provider-specific filtering criteria.

  • filter_args

Returns:

Complete list of targets with validated time constraints and metadata.

Raises:
  • FileNotFoundError – When target data source is inaccessible.

  • ValidationError – When target definitions violate constraints.

Return type:

list[BenchmarkTarget]

get_metrics_for_target(target: BenchmarkTarget) list[MetricProvider][source]

Returns the list of metrics to use for evaluation of a target.

Parameters:
Returns:

A list of metric providers to use for evaluating predictions for this target

Return type:

list[MetricProvider]

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': False, 'extra': 'ignore', 'protected_namespaces': ()}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].