Skip to content

graphops: move the uniform PageRank oracles into tests and data-gate the Cora run - #16

Merged
arclabs561 merged 1 commit into
mainfrom
examples/cleanup-20261104
Nov 4, 2026
Merged

arclabs561 merged 1 commit into
mainfrom
examples/cleanup-20261104

Conversation

@arclabs561

Copy link
Copy Markdown
Owner

graphops: move the uniform PageRank oracles into tests and data-gate the Cora run

examples/pagerank_validation.rs mixed exact checks (a directed cycle and a
complete graph must give uniform PageRank) with a Cora run that unwrapped
the data file. The exact checks are now tests/pagerank_uniform.rs (max
|score - 1/n| < 1e-6 and sum within 1e-6 of 1); flipping the teleport term's
sign fails both. The example keeps only the Cora eval: without the file it
prints a skip message and exits 0, and a bad file or a failed sum or
positivity check still exits 1. The examples index now lists lazy_frontier
and the data-gated eval.

…the Cora run

examples/pagerank_validation.rs mixed exact checks (a directed cycle and a
complete graph must give uniform PageRank) with a Cora run that unwrapped
the data file. The exact checks are now tests/pagerank_uniform.rs (max
|score - 1/n| < 1e-6 and sum within 1e-6 of 1); flipping the teleport term's
sign fails both. The example keeps only the Cora eval: without the file it
prints a skip message and exits 0, and a bad file or a failed sum or
positivity check still exits 1. The examples index now lists lazy_frontier
and the data-gated eval.
@arclabs561
arclabs561 merged commit 6a10140 into main Nov 4, 2026
2 checks passed
@arclabs561
arclabs561 deleted the examples/cleanup-20261104 branch November 4, 2026 07:49
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