Skip to content

Update BC computation to address normalization edge conditions #5105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 12, 2025

Conversation

ChuckHastings
Copy link
Collaborator

@ChuckHastings ChuckHastings commented Jun 3, 2025

networkx/networkx#7949 implements an update to normalization that was originally described in #4941. We pushed an update in #4974 that addressed the specific examples that the user identified in the original cugraph issue. However, while @eriknw was exploring updates to networkx to address this, he identified a few more edge conditions that needed to be satisfied. This PR addresses those remaining edge conditions.

Note that the python tests comparing results to networkx are still disabled. These can't be re-enabled until networkx/networkx#7949 is included in a networkx release.

Closes #5006
Closes #5107

@ChuckHastings ChuckHastings requested review from a team as code owners June 3, 2025 17:23
@ChuckHastings ChuckHastings self-assigned this Jun 3, 2025
@ChuckHastings ChuckHastings added bug Something isn't working non-breaking Non-breaking change labels Jun 3, 2025
…ake it easier to compare/debug, disabled python test again since nx release is not out
@github-actions github-actions bot added the python label Jun 7, 2025
@ChuckHastings ChuckHastings requested review from rlratzel and a team June 7, 2025 18:33
Copy link
Contributor

@seunghwak seunghwak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

copy-pr-bot bot commented Jun 11, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ChuckHastings
Copy link
Collaborator Author

/merge

@rlratzel
Copy link
Contributor

rlratzel commented Jun 11, 2025

/ok to test 5ca50fe

Copy link

copy-pr-bot bot commented Jun 11, 2025

/ok to test

@rlratzel, there was an error processing your request: E1

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/

@rlratzel
Copy link
Contributor

/ok to test 5ca50fe

@rapids-bot rapids-bot bot merged commit f21020e into rapidsai:branch-25.08 Jun 12, 2025
292 of 300 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuGraph non-breaking Non-breaking change python
Projects
None yet
4 participants