MCPcopy Create free account
hub / github.com/Ropedia/SpatialBench / load_config

Function load_config

benchmark/evaluation/run_benchmark.py:101–106  ·  view source on GitHub ↗

Load a YAML config file and return a dict.

(config_path)

Source from the content-addressed store, hash-verified

99
100
101def load_config(config_path):
102 """Load a YAML config file and return a dict."""
103 import yaml
104 with open(config_path, 'r') as f:
105 cfg = yaml.safe_load(f)
106 return cfg or {}
107
108
109def merge_config_and_args(cfg, args, parser):

Callers 2

mainFunction · 0.90
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected