MCPcopy Create free account
hub / github.com/Open-Quant/openquant / _load_runner_module

Function _load_runner_module

python/tests/test_experiment_scaffold.py:15–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15def _load_runner_module():
16 runner_path = REPO_ROOT / "experiments" / "run_pipeline.py"
17 spec = importlib.util.spec_from_file_location("openquant_experiment_runner", runner_path)
18 assert spec is not None
19 module = importlib.util.module_from_spec(spec)
20 assert spec.loader is not None
21 spec.loader.exec_module(module)
22 return module
23
24
25def test_notebook_script_parity_pipeline_key_metrics():

Calls

no outgoing calls

Tested by

no test coverage detected