Version: latest
agrag.ingestion.resolved_entities
Non-destructive match persistence and resolved-entity computation.
Classes:
- DeactivationResult – Resolved entities created after a match correction and stale ids removed.
- MatchDecision – A confirmed non-exact entity match ready to persist.
- PruningResult – Ids removed and clusters rebuilt by deletion-triggered pruning.
- RebuildResult – Derived entities created and match decisions that were refused.
- ResolvedEntityWriteError – A job wrote its match edges but not the resolved entity built from them.
Functions:
- compute_resolved_entity – Compute a resolved entity from its current member data only.
- deactivate_match_and_rebuild – Deactivate a match and rebuild the components it separated.
- decisions_by_component – Map resolution evidence to raw ids and group it by connected component.
- fetch_active_component_members – Return the entities joined to each seed by active matches, seed included.
- list_match_blocks – Return committed keep apart blocks in creation-time order.
- list_matches – Return committed match records in decided-time order.
- match_decision_components – Group persisted match decisions by their connected raw component.
- matches_id – Return the order-independent deterministic id for an entity match.
- prune_orphaned_entities – Delete candidates with no open-chunk evidence and rebuild clusters.
- rebuild_resolved_entities – Rebuild the resolved entity of each committed component from its seeds.
- write_matches_and_rebuild – Persist admitted matches and rebuild each component they change.
Attributes:
- MatchComponent – One connected component: its match decisions and its raw member entities.
- PAGE_SIZE_DEFAULT –
- PAGE_SIZE_MAX –