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

Function _task

harness/cli.py:759–764  ·  view source on GitHub ↗
(i: int)

Source from the content-addressed store, hash-verified

757 return r
758
759 def _task(i: int):
760 if i in checkpoints:
761 return _checkpointed(i)
762 return _run_once(i, target, args.model, args.find_only, args.max_turns, agent_env,
763 out_dirs[i], _assigned_focus(i, focus_areas), found_bugs_path,
764 stream_ctx, accept_dos=args.accept_dos, system_prompt=system_prompt)
765
766 if args.parallel:
767 n_live = args.runs - len(checkpoints)

Callers 1

_run_allFunction · 0.85

Calls 3

_checkpointedFunction · 0.85
_run_onceFunction · 0.85
_assigned_focusFunction · 0.85

Tested by

no test coverage detected