chore: bound RELLIS qualification CLI output

This commit is contained in:
DCCONSTRUCTIONS 2026-07-25 21:14:32 +03:00
parent f2f044080f
commit 8446eb4492
1 changed files with 14 additions and 1 deletions

View File

@ -294,7 +294,20 @@ def qualify_rellis_ground_command(
except (RellisAdmissionError, ValueError) as exc:
typer.echo(str(exc), err=True)
raise typer.Exit(code=2) from exc
typer.echo(json.dumps(report, ensure_ascii=False, sort_keys=True))
typer.echo(
json.dumps(
{
"run_id": report["run_id"],
"source_id": report["source_id"],
"frame_count": report["frame_count"],
"identity_sha256": report["identity_sha256"],
"decision": report["decision"],
"aggregates": report["aggregates"],
},
ensure_ascii=False,
sort_keys=True,
)
)
if __name__ == "__main__":