Expected: The active environment contains YOLOZU and pycocotools. For a candidate build, install the candidate wheel plus pycocotools instead; the remaining commands are unchanged and run outside the source checkout.
5–10 minutes
Create every tutorial input locally
yolozu doctor --proof --output reports/quickstart/doctor.json --proof-dir reports/quickstart/proof
Expected: The proof writes reports/quickstart/proof/toy_dataset, known_predictions.json, eval_report.json, and proof_report.json without downloading a model or dataset.
Expected: eval_coco.json has status ok, dry_run false, validation mode strict, repair disabled, and real COCO metrics. Evaluation is strict by default.
Expected: Confirm status ok, dry_run false, validation mode strict, repair disabled, the evaluated image/detection counts, and non-null COCO metrics.
27–30 minutes
Read before comparing
Expected: Confirm task, dataset/split, prediction source, export settings, protocol identity, metric family, and any skipped lane before comparing two reports.
The stable yolozu.api surface returns typed results and machine-readable exceptions without launching a subprocess or changing the working directory.
from pathlib import Path
from yolozu.api import evaluate_coco
workspace = Path.cwd().resolve()
result = evaluate_coco(
dataset=workspace / "reports/quickstart/proof/toy_dataset",
predictions=workspace / "reports/quickstart/proof/known_predictions.json",
split="val2017",
)
print(result.to_dict()["metrics"])
Expected: The call uses the inputs created by doctor --proof, validates strictly by default, and returns a CocoEvaluationResult. Pass dry_run=True only when metrics are intentionally unavailable.