browseruse_bench.utils.config_loader
Configuration file loading utilities.Import
load_config_file
Load YAML configuration file.Path
required
Configuration file path
dict
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.dict
required
Main configuration dictionary
str
required
Benchmark name
dict
Configuration dictionary for the benchmark
Usage Example
load_data_info
Load benchmark’sdata_info.json.
Path
required
Path to Benchmark directory
dict
Contents of
data_info.json (empty dict if file not found)get_default_split
Get default split.default_split in data_info, otherwise prefers All or the first split key.
dict
required
Contents of
data_info.jsonstr or None
Default split name, None if undetermined