simplebench.reporters.json.reporter.config module🔗

Configuration for a JSONReporter.

class simplebench.reporters.json.reporter.config.JSONConfig(
*,
name: str | None = None,
description: str | None = None,
sections: Iterable[Section] | None = None,
targets: Iterable[Target] | None = None,
default_targets: Iterable[Target] | None = None,
formats: Iterable[Format] | None = None,
choices: ChoicesConf | None = None,
file_suffix: str | None = None,
file_unique: bool | None = None,
file_append: bool | None = None,
subdir: str | None = None,
)[source]🔗

Bases: ReporterConfig

Configuration for a JSONReporter.

This class inherits from ReporterConfig and provides a type-safe, discoverable interface for overriding the default settings of a JSONReporter.

Initialize the JSONReporter configuration.

Accepts keyword arguments to override any of the default configurations. All arguments are optional. If not provided, the default value for JSONReporter will be used.