torchcell.knowledge_graphs.kg_manifest.SupersetCheck

class SupersetCheck(*, n_served: int, n_dev: int, n_missing: int, n_added: int, missing_sample: list[str] = <factory>, served_source: str)[source]

Bases: BaseModel

Proof that a served dataset’s records are all still produced by its dev LMDB.

n_missing must be 0 for the re-admission to be a superset, and n_added must be positive for it to be worth an import.

model_config: ClassVar[ConfigDict] = {}

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