Software

igraph: Leiden algorithm correctness and convergence

Upstream C contributions that fix convergence, aggregation, and self-loop handling in the Leiden community detection algorithm.

Lucas extended the C and Python API for hedonic-game experiments and contributed fixes to the upstream graph analysis library.

Merged pull requests

  • PR #2799 — July 18, 2025. Run negative iteration counts to convergence.
  • PR #2935 — September 30, 2026. Preserve final-level moves to address disconnected clusters and non-terminating cases.
  • PR #2939 — October 23, 2026. Correct self-loop weight accounting during refinement.

Upstream changelog · C fork · Python fork.