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

Clean up after full pass #499

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Clean up after full pass #499

merged 2 commits into from
Oct 15, 2024

Conversation

cjpatton
Copy link
Collaborator

Stacked on #498.

Miscellaneous improvements:

  • Add an illustration of DAF preparation

  • Clean up bounds on run_daf() and run_vdaf()

    • Document only the pre-conditions that are relevant
    • Remove code for enforcing the pre-conditions
    • Use comments only for the stages of execution: sharding, preparation, etc.
  • Punt VDAF prep state listing to appendix

  • Rename encode_to_bit_vector() to encode_to_bit_vec() for consistency with abbreviation of "vector" to "vec" in other functions

  • In titles, rename "Construction" to "Specification"

  • In Prio3, list prep_shares_to_prep() before prep_next() so that the computations are listed in chronological order. (We could do the same for Poplar1, but there it's less helpful because we end up calling prep_next() twice.)

@cjpatton cjpatton changed the base branch from main to cjpatton/draft-13/8 October 15, 2024 00:01
@cjpatton cjpatton changed the title Cjpatton/draft 13/9 Clean up after full pass Oct 15, 2024
@cjpatton cjpatton force-pushed the cjpatton/draft-13/8 branch 2 times, most recently from 969608a to 9416145 Compare October 15, 2024 15:08
@cjpatton cjpatton changed the base branch from cjpatton/draft-13/8 to main October 15, 2024 15:09
Miscellaneous improvements:

* Add an illustration of DAF preparation

* Clean up bounds on `run_daf()` and `run_vdaf()`

    * Document only the pre-conditions that are relevant
    * Remove code for enforcing the pre-conditions
    * Use comments only for the stages of execution: sharding,
      preparation, etc.

* Punt VDAF prep state listing to appendix

* Rename `encode_to_bit_vector()` to `encode_to_bit_vec()` for
  consistency with abbreviation of "vector" to "vec" in other functions

* In titles, rename "Construction" to "Specification"

* In Prio3, list `prep_shares_to_prep()` before `prep_next()` so that
  the computations are listed in chronological order. (We could do the
  same for Poplar1, but there it's less helpful because we end up
  calling `prep_next()` twice.)
@cjpatton cjpatton force-pushed the cjpatton/draft-13/9 branch from d8942a2 to 10f1fd0 Compare October 15, 2024 15:14
@cjpatton
Copy link
Collaborator Author

Rebased.

@cjpatton cjpatton merged commit b0decf1 into main Oct 15, 2024
6 checks passed
@cjpatton cjpatton deleted the cjpatton/draft-13/9 branch October 17, 2024 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants