MCPcopy Create free account
hub / github.com/anthropics/defending-code-reference-harness / _dispatch

Function _dispatch

harness/cli.py:1265–1274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1263 return checkpoints[i]
1264
1265 async def _dispatch():
1266 tasks = [_ckpt(i) if i in checkpoints
1267 else _report_one(i, sig, ents, target, args, agent_env, reports_root)
1268 for i, (sig, ents) in enumerate(items)]
1269 if args.parallel:
1270 return await asyncio.gather(*tasks, return_exceptions=True)
1271 out = []
1272 for t in tasks:
1273 out.append(await t)
1274 return out
1275
1276 results = asyncio.run(_dispatch())
1277

Callers 2

_cmd_reportFunction · 0.85
_cmd_patchFunction · 0.85

Calls 3

_ckptFunction · 0.85
_report_oneFunction · 0.85
_oneFunction · 0.85

Tested by

no test coverage detected