texio-cli 0.1.2

Reliable Markdown operations for shell scripts and AI agents
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3
"""Fail unless a benchmark result is structurally valid and Texio passes."""

import json
from pathlib import Path
import sys


result = json.loads(Path(sys.argv[1]).read_text())
assert result["schema_version"] == 1
texio = result["methods"]["texio"]
assert texio["passed"] == texio["total"]
assert all(row["repeatable"] for row in result["results"])