torchcell.knowledge_graphs.releases.ReleaseCompatibility

class ReleaseCompatibility(*, release: str, torchcell_commit: str, compatible: list[str], drifted: list[DatasetDrift], unchecked: list[str])[source]

Bases: BaseModel

Whether the local schema surface matches the contracts a release was built under.

property ok: bool

True when no served dataset drifted from the local schema surface.

property paired: bool

none drifted, none unchecked.

ok tolerates datasets whose closure the release did not record; the pairing gate does not, because an unverified dataset is one the client may read under the wrong contract.

Type:

True when EVERY served dataset is verified

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].