imbajin opened a new pull request, #373: URL: https://github.com/apache/hugegraph-computer/pull/373
## Before → After Empty or zero-effective-weight Louvain inputs can enter invalid normalization paths. Define identity communities and zero algorithm modularity for this case, reject invalid finite/range parameters and weighted edges, and skip zero-weight adjacency while preserving the positive-weight optimization path. ## Dependency and validation boundary This source branch is stacked on [🔗 org Computer #25](https://github.com/hugegraph/hugegraph-computer/pull/25). Its ASF comparison targets master because the parent branch does not exist there, so it includes the readiness foundation from [🔗 Computer #372](https://github.com/apache/hugegraph-computer/pull/372). Merge the parent first, then recheck the remaining diff; this is not an independent change. The author reports Go 1.23.7 algorithms/worker race tests. Current review still notes missing coverage of the zero-weight early-return and invalid-edge initialization paths. Generic modularity statistics and multi-worker acceptance remain separate; tests were not independently rerun for this submission. Source: [🔗 org Computer #26](https://github.com/hugegraph/hugegraph-computer/pull/26). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
