Skip to content

Clean up PPR sampler naming#707

Merged
mkolodner-sc merged 1 commit into
mainfrom
mkolodner-sc/pr701-ppr-cleanup
Jul 17, 2026
Merged

Clean up PPR sampler naming#707
mkolodner-sc merged 1 commit into
mainfrom
mkolodner-sc/pr701-ppr-cleanup

Conversation

@mkolodner-sc

@mkolodner-sc mkolodner-sc commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Splits out behavior-neutral PPR sampler cleanup ahead of the typed-PPR changes.

This PR intentionally does not change PPR sampling behavior. It renames local variables and tightens nearby comments/docstrings in DistPPRNeighborSampler so the follow-up PRs can focus on event-loop performance and typed-channel behavior.

Stack

Reasoning for Change

The typed-PPR work touches a lot of code in the distributed PPR sampler. Pulling readability cleanup into its own PR makes the business-logic diffs easier to review and keeps later review comments focused on the functional changes.

Changes

  • Uses explicit names for node-type and edge-type variables in the PPR sampler.
  • Cleans up PPR extraction/fetch helper wording to match the current integer-ID flow.
  • Leaves the sampler algorithm, output shape, and C++ PPR behavior unchanged.

Comment thread gigl/distributed/dist_ppr_sampler.py
Comment thread gigl/distributed/dist_ppr_sampler.py
Comment thread gigl/distributed/dist_ppr_sampler.py
Comment thread gigl/distributed/dist_ppr_sampler.py Outdated
Base automatically changed from mkolodner/ppr-residual-topup to main July 15, 2026 23:54
@mkolodner-sc
mkolodner-sc force-pushed the mkolodner-sc/pr701-ppr-cleanup branch 3 times, most recently from 68d6d62 to 3d34854 Compare July 16, 2026 19:21
@mkolodner-sc
mkolodner-sc added this pull request to the merge queue Jul 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 16, 2026
@mkolodner-sc
mkolodner-sc force-pushed the mkolodner-sc/pr701-ppr-cleanup branch from 3d34854 to f5c430d Compare July 16, 2026 20:01
@mkolodner-sc
mkolodner-sc added this pull request to the merge queue Jul 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 16, 2026
@mkolodner-sc
mkolodner-sc added this pull request to the merge queue Jul 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 16, 2026
@mkolodner-sc
mkolodner-sc added this pull request to the merge queue Jul 17, 2026
Merged via the queue into main with commit 535e21f Jul 17, 2026
7 checks passed
@mkolodner-sc
mkolodner-sc deleted the mkolodner-sc/pr701-ppr-cleanup branch July 17, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants