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

Add poc changes for [#177] #298

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Conversation

albertpl
Copy link
Contributor

@albertpl albertpl commented Oct 3, 2023

  1. POC implementation for mutliproof proposal in #177
    1. Support multiproofs in Prio3
    2. Add new Prio3SumVec variant, i.e. Prio3SumVecWithMultiproof, with configuration (field size, number of proofs)
    3. Add with_field class methods to introduce new SumVec with configurable field size

poc/flp_generic.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@cjpatton cjpatton left a comment

Choose a reason for hiding this comment

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

Looking good so far! Very clean for the most part. One high level ask: Please add more context to the commit message. A reference to the issue is somewhat useful, but it's helpful to have a summary of the change in the git log as well. (We rely on this heavily when preparing drafts.)

poc/common.py Outdated Show resolved Hide resolved
poc/flp_generic.py Outdated Show resolved Hide resolved
poc/flp_generic.py Outdated Show resolved Hide resolved
poc/flp_generic.py Outdated Show resolved Hide resolved
poc/flp_generic.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Show resolved Hide resolved
@cjpatton cjpatton requested a review from divergentdave October 5, 2023 00:12
@albertpl
Copy link
Contributor Author

albertpl commented Oct 5, 2023

[Note, I will squash & summarize all changes in the commit, before merging this PR]

Copy link
Collaborator

@cjpatton cjpatton left a comment

Choose a reason for hiding this comment

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

Looking very good! High level ask: Make sure that variable naming conventions are consistent across sharding and preparation.

poc/flp_generic.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Show resolved Hide resolved
Copy link
Collaborator

@cjpatton cjpatton left a comment

Choose a reason for hiding this comment

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

Looks good, just nit-picky comments left.

poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
poc/vdaf_prio3.py Outdated Show resolved Hide resolved
* Support multiproofs in Prio3
* Add new Prio3SumVec variant, i.e. Prio3SumVecWithMultiproof, with configuration (field size, number of proofs)
* Add with_field class methods to introduce new SumVec with configurable field size
@albertpl albertpl force-pushed the poc-prio3-multiproof branch from 2ee0feb to e11c788 Compare October 14, 2023 00:27
@cjpatton cjpatton merged commit 3d108f4 into cfrg:main Oct 16, 2023
@albertpl albertpl deleted the poc-prio3-multiproof branch October 24, 2023 15:15
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.

4 participants