Skip to main content
Version: 0.0.5 (stable)

agrag.eval.resolution.ClusterAssignment

Bases: BaseModel

A grouping of mentions, listed by position in the mention list.

Attributes:

  • size (int) – The number of mentions.
  • clusters (list[list[int]]) – Groups of mention indices. An index in no group is a cluster of one.
  • matches_by_tier (dict[str, int]) – How many confirmed non-exact matches each comparator made. Empty for gold clusters.
  • failed_llm_requests (int) – LLM verification requests that errored. Their pairs stay undecided. Zero on gold clusters.

clusters​

clusters: list[list[int]]

failed_llm_requests​

failed_llm_requests: int = 0

matches_by_tier​

matches_by_tier: dict[str, int] = {}

size​

size: int