MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / PreparedFixture

Class PreparedFixture

tools/provenance-eval/multi_session.py:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36
37class PreparedFixture(base.Fixture):
38 def __init__(self, binary, root, template):
39 super().__init__(binary, root)
40 self.template = template
41
42 def run(self, *args, **kwargs):
43 if args[0] == "init":
44 shutil.copytree(self.template, self.root, dirs_exist_ok=True)
45 return super().run("agent", "lifecycle", "begin", "--owner", "benchmark-orchestrator",
46 "--session", "benchmark-coordinator", "--executor", "claude-code", "--view", "dev")
47 return super().run(*args, **kwargs)
48
49
50def worker(binary, root, endpoint, number, config, gate, stop_lock):

Callers 1

measureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected