MCPcopy Create free account
hub / github.com/NVIDIA/SOL-ExecBench / _make_packager

Function _make_packager

tests/sol_execbench/driver/test_problem_packager.py:111–125  ·  view source on GitHub ↗
(
    tmp_path: Path,
    definition: Definition,
    workloads: list[Workload],
    solution: Solution,
    config: BenchmarkConfig,
)

Source from the content-addressed store, hash-verified

109
110
111def _make_packager(
112 tmp_path: Path,
113 definition: Definition,
114 workloads: list[Workload],
115 solution: Solution,
116 config: BenchmarkConfig,
117) -> ProblemPackager:
118 return ProblemPackager(
119 definition=definition,
120 workloads=workloads,
121 solution=solution,
122 config=config,
123 output_dir=tmp_path / "staging",
124 keep_output_dir=True,
125 )
126
127
128# ── Init: files written to staging ────────────────────────────────────────────

Calls 1

ProblemPackagerClass · 0.90

Tested by

no test coverage detected