browseruse_bench.utils.config_loader
Configuration file loading utilities.Import
load_config_file
Load YAML configuration file.Configuration file path
Configuration dictionary (empty dict if file not found)
If
pyyaml is not installed, a built-in simplified YAML parser is used (supports basic key-value pairs only).resolve_benchmark_config
Get Benchmark configuration.Main configuration dictionary
Benchmark name
Configuration dictionary for the benchmark
Usage Example
load_data_info
Load benchmark’sdata_info.json.
Path to Benchmark directory
Contents of
data_info.json (empty dict if file not found)get_default_version
Get default version.default_version in data_info, otherwise uses the latest version in version_split.
Contents of
data_info.jsonDefault version string, None if undetermined