CandidateField
yosoi.contracts.CandidateField
class CandidateField(ImmutableModel):
Ordered projection values and original findings before conversion.
Attributes: field_id: Authored identity of this candidate field. evidence: Retained findings, coordinates, and completeness. Empty evidence alone does not establish complete absence.
Source: python/yosoi/contracts.py:295
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”field_id: FieldId
evidence: tuple[Finding, ...] = PydanticField(default=(), repr=False)
Methods
Section titled “Methods”values
Section titled “values”@property
def values(self) -> tuple[ProjectedValue, ...]:
Return projection wrappers in evidence order without typed conversion.
Source: python/yosoi/contracts.py:308
is_absent
Section titled “is_absent”@property
def is_absent(self) -> bool:
Return whether no findings are retained, without an absence claim.
Source: python/yosoi/contracts.py:313
is_empty
Section titled “is_empty”@property
def is_empty(self) -> bool:
Return whether evidence is empty, independently of completeness.