MCPcopy Index your code
hub / github.com/tirth8205/code-review-graph / load_config

Function load_config

code_review_graph/eval/runner.py:48–53  ·  view source on GitHub ↗

Load a single benchmark config by name.

(name: str)

Source from the content-addressed store, hash-verified

46
47
48def load_config(name: str) -> dict:
49 """Load a single benchmark config by name."""
50 _require_yaml()
51 path = CONFIGS_DIR / f"{name}.yaml"
52 with open(path) as f:
53 return yaml.safe_load(f)
54
55
56def load_all_configs() -> list[dict]:

Callers 1

run_evalFunction · 0.70

Calls 1

_require_yamlFunction · 0.85

Tested by

no test coverage detected