MCPcopy Create free account
hub / github.com/ResearAI/DeepReviewer-v2 / cmd_status

Function cmd_status

main.py:157–164  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

155
156
157def cmd_status(args: argparse.Namespace) -> int:
158 job = load_job_state(args.job_id)
159 if job is None:
160 _print_json({'status': 'error', 'message': f'Job not found: {args.job_id}'})
161 return 2
162
163 _print_json(_status_snapshot(job))
164 return 0
165
166
167def cmd_result(args: argparse.Namespace) -> int:

Callers

nothing calls this directly

Calls 3

load_job_stateFunction · 0.90
_print_jsonFunction · 0.85
_status_snapshotFunction · 0.85

Tested by

no test coverage detected