graphiti/tests/utils/maintenance
Daniel Chalef 8ab119cca8 fix: Add edge type validation based on node labels
- Add DEFAULT_EDGE_NAME constant for 'RELATES_TO'
- Implement pre-resolution validation to reset invalid edge names
- Add post-resolution validation for LLM-returned fact types
- Rename parameter from edge_types to edge_type_candidates for clarity
- Add comprehensive tests for validation scenarios

This ensures edges conform to edge_type_map constraints and prevents
misclassification when edge types don't match node label pairs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 14:29:24 -07:00
..
test_bulk_utils.py Refactor batch deduplication logic to enhance node resolution and track duplicate pairs (#929) (#936) 2025-09-26 08:40:18 -07:00
test_edge_operations.py fix: Add edge type validation based on node labels 2025-09-29 14:29:24 -07:00
test_node_operations.py Fix index out of range errors in LLM deduplication responses (#939) 2025-09-26 14:57:48 -07:00
test_temporal_operations_int.py add_episode() refactor (#421) 2025-04-30 12:08:52 -04:00