Judgements
matchlab.eval.judgements
¶
Representation of human judgements.
Classes:
-
Judgement–A user's decision on how one reviewed cluster's leaves split into entities.
Judgement
¶
Bases: BaseModel
flowchart TD
matchlab.eval.judgements.Judgement[Judgement]
click matchlab.eval.judgements.Judgement href "" "matchlab.eval.judgements.Judgement"
A user's decision on how one reviewed cluster's leaves split into entities.
Methods:
-
check_no_duplicates–Reject leaf IDs repeated within
shown, or withinendorsed. -
check_consistency–Check that
endorsed's leaves are exactly the ones inshown.
Attributes:
shown
class-attribute
instance-attribute
¶
endorsed
class-attribute
instance-attribute
¶
endorsed: list[list[int]] = Field(description='Leaf IDs the user grouped together, one list per endorsed entity')