Skip to content
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

feat: add space example #292

Merged
merged 9 commits into from
Oct 22, 2024
Merged

feat: add space example #292

merged 9 commits into from
Oct 22, 2024

Conversation

JayWhite2357
Copy link
Contributor

Rationale for this change

More examples in the repo provide better documentation as well as provide some regression testing on top of other tests.

What changes are included in this PR?

An example (related to space) of reading tables for a csv file is provided along with various queries against those tables.

Are these changes tested?

Yes

Comment on lines +24 to +33
// We generate the public parameters and the setups used by the prover and verifier for the Dory PCS.
// The `max_nu` should be set such that the maximum table size is less than `2^(2*max_nu-1)`.
// For a sampling:
// max_nu = 3 => max table size is 32 rows
// max_nu = 4 => max table size is 128 rows
// max_nu = 8 => max table size is 32768 rows
// max_nu = 10 => max table size is 0.5 million rows
// max_nu = 15 => max table size is 0.5 billion rows
// max_nu = 20 => max table size is 0.5 trillion rows
// Note: we will eventually load these from a file.
Copy link
Contributor

Choose a reason for hiding this comment

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

I like these comments a lot

Copy link
Contributor

@Dustin-Ray Dustin-Ray left a comment

Choose a reason for hiding this comment

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

Conditionally approved once CI passes rebase, thanks!

@JayWhite2357 JayWhite2357 merged commit a158ba8 into main Oct 22, 2024
11 checks passed
@JayWhite2357 JayWhite2357 deleted the feat/add-space-example branch October 22, 2024 17:28
Copy link

🎉 This PR is included in version 0.33.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants