torchcell.knowledge_graphs.releases.closure_compatibility
- closure_compatibility(release: str, torchcell_commit: str, dataset_names: Iterable[str], closures: Mapping[str, Mapping[str, str]], surface: SchemaSurface) ReleaseCompatibility[source]
The compatibility verdict from a release’s closures and any schema surface.
The surface may come from the working tree, from
git showat a package tag (scripts/kg_compat_page.pyreads the closures from the committed snapshot), or from any two files parsed bytorchcell.provenance.schema_deps.load_surface.