phenotypic.sdk_.generalization_path#

phenotypic.sdk_.generalization_path(output_dir: Path) Path[source]#

Return <output>/deliverables/generalization.json — the held-out report.

The winner’s generalization verdict (calibration vs held-out score, the gap, and the pass/fail margin), a user-facing deliverable. The held-out pass that writes it is Phase 4.5 part 2; this helper resolves the canonical location.

Parameters:

output_dir (Path) – The run output directory.

Returns:

<output_dir>/deliverables/generalization.json.

Return type:

Path