Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

refactor(evals): drop --json output from evidence command; human-readable v1 only

Bruce-Yiie3f9a8938c5b
diff --git a/docs/evals.md b/docs/evals.md
index 7940582e..d722b42a 100644
--- a/docs/evals.md
+++ b/docs/evals.md
@@ -400,7 +400,7 @@ what evidence exists, what is missing, and what is insufficient. It loads no mod
does not require torch.
```bash
-laya-evals evidence --checkpoint ./my-checkpoint [--report report.json] [--json out.json]
+laya-evals evidence --checkpoint ./my-checkpoint [--report report.json]
```
A checkpoint directory must contain `rl_agent_config.json`. Calibration evidence is derived from
diff --git a/laya/evals_cli.py b/laya/evals_cli.py
index fcc6215b..7d3496ce 100644
--- a/laya/evals_cli.py
+++ b/laya/evals_cli.py
@@ -237,8 +237,6 @@ def _build_parser() -> argparse.ArgumentParser:
help="checkpoint directory containing rl_agent_config.json")
evidence_cmd.add_argument("--report", default=None,
help="an existing laya-evals report JSON")
- evidence_cmd.add_argument("--json", dest="json_out", default=None,
- help="write the full inspection JSON to this path")
return parser
@@ -452,9 +450,6 @@ def _cmd_evidence(args) -> int:
print("laya-evals: %s" % exc, file=sys.stderr)
return 2
print(evidence.format_summary(result))
- if args.json_out:
- with open(args.json_out, "w", encoding="utf-8") as handle:
- json.dump(result, handle, ensure_ascii=False, indent=2, sort_keys=True)
return 0