fix: address verify findings - add visualize subcommand, curl healthcheck, IoU in JSON, 50KB threshold

This commit is contained in:
张宗平
2026-06-11 18:31:14 +08:00
parent 7e6915ade6
commit ad2a8ef687
5 changed files with 67 additions and 6 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ def test_e2e_generates_png_and_json():
pngs = list((project_dir / "render").glob("*.png"))
assert len(pngs) >= 1, f"no PNGs found, stdout: {r.stdout[-500:]}"
for png in pngs:
assert png.stat().st_size > 10240, f"{png.name} too small: {png.stat().st_size} bytes"
assert png.stat().st_size > 51200, f"{png.name} too small: {png.stat().st_size} bytes"
# 验证 JSON 日志
logs = list((project_dir / "logs").glob("e2e_*.json"))