Skip to content

Add Java port of 501.graph-pagerank - #359

Open
anveba wants to merge 1 commit into
spcl:masterfrom
anveba:java-pagerank
Open

anveba wants to merge 1 commit into
spcl:masterfrom
anveba:java-pagerank

Conversation

@anveba

@anveba anveba commented Nov 27, 2026

Copy link
Copy Markdown

Adds a Java port of 501.graph-pagerank that implements the random number generator (SplitMix64), the graph generator of the Node.js version and PageRank by hand, without libraries, so that other languages can reproduce the same graph and result exactly; its PageRank agrees with igraph's on the same graph to within 1e-13. Java's expected values are added to input.py, and the AWS regression suite runs the benchmark for Java, the only platform it was tested on. Tested on AWS Lambda as x64 and arm64 code packages and as an x64 container, and at the small and large input sizes.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 4 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fdd529b9-52a5-46ca-ba93-8ff0d4f98936
Commits

Reviewing files that changed from the base of the PR and between a7181a5 and 37c1b50.

Files selected for processing: 8

  • CHANGELOG.md
  • benchmarks/500.scientific/501.graph-pagerank/README.md
  • benchmarks/500.scientific/501.graph-pagerank/config.json
  • benchmarks/500.scientific/501.graph-pagerank/input.py
  • benchmarks/500.scientific/501.graph-pagerank/java/pom.xml
  • benchmarks/500.scientific/501.graph-pagerank/java/src/main/java/function/Function.java
  • docs/benchmarks.md
  • sebs/regression.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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.

1 participant