fix: address verify findings - add visualize subcommand, curl healthcheck, IoU in JSON, 50KB threshold
This commit is contained in:
+1
-1
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user