graphiti
graphiti copied to clipboard
Fix bug of label_propagation
Fix bug of issue #297 I have read the CLA Document and I hereby sign the CLA
[!IMPORTANT] Fixes bug in
label_propagation()incommunity_operations.pyby updating community assignment logic to consider candidate rank.
- Bug Fix:
- Fixes bug in
label_propagation()incommunity_operations.pyrelated to community assignment logic.- Ensures
new_communityis updated only ifcommunity_candidateis valid andcandidate_rank> 1.- Behavior:
- Handles cases where
community_lstis empty by setting default values(0, -1).This description was created by
for 5dba9500fa709719a6179c4fcac93fcce254fb7f. It will automatically update as commits are pushed.
All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.
I have read the CLA Document and I hereby sign the CLA