torchcell.verification.SourcedValue
- class SourcedValue(*, value: Any, provenance: Provenance, quote: str, note: str | None = None)[source]
Bases:
BaseModelA hardcoded value plus the provenance that justifies it.
provenance.source_uriis interpreted as the path RELATIVE to<library_root>/<citation_key>/(e.g."si/si1.md").citation_keyandsha256are required so the value is always auditable.- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].