-
Notifications
You must be signed in to change notification settings - Fork 2
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 register_count into HMSS requisition fulfillment header. #203
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ple13, @renjiezh, and @SanjayVas)
src/main/proto/wfa/measurement/api/v2alpha/protocol_config.proto
line 289 at r1 (raw file):
// Sketch parameters for a Honest Majority Shuffle Based Secret Sharing // protocol. message ShareShuffleSketchParams {
Do you think it's worth adding a comment about how the size of the sketch is arrived at? Something like:
"The size of the sketch is calculated by the EDP and is determined by the sampling interval and the size of the population being measured. It is expected that EDPs will calculate the length in exactly the same way. Support libraries are provided for this in the any-sketch repo."
@SanjayVas Wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @renjiezh and @SanjayVas)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @kungfucraig and @renjiezh)
src/main/proto/wfa/measurement/api/v2alpha/protocol_config.proto
line 289 at r1 (raw file):
Previously, kungfucraig (Craig Wright) wrote…
Do you think it's worth adding a comment about how the size of the sketch is arrived at? Something like:
"The size of the sketch is calculated by the EDP and is determined by the sampling interval and the size of the population being measured. It is expected that EDPs will calculate the length in exactly the same way. Support libraries are provided for this in the any-sketch repo."
@SanjayVas Wdyt?
SGTM with two the slight modifications:
- We don't use EDP abbreviation in the API and instead reference the
DataProvider
resource. - Instead of just mentioning support libraries are available, reference the library. e.g. "See foo::bar::Baz in the any-sketch library"
src/main/proto/wfa/measurement/api/v2alpha/protocol_config.proto
line 290 at r1 (raw file):
// protocol. message ShareShuffleSketchParams { reserved 1;
You're technically safe to renumber in this case because this message has never been used in released code, but this is also fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @renjiezh and @SanjayVas)
src/main/proto/wfa/measurement/api/v2alpha/protocol_config.proto
line 289 at r1 (raw file):
Previously, SanjayVas (Sanjay Vasandani) wrote…
SGTM with two the slight modifications:
- We don't use EDP abbreviation in the API and instead reference the
DataProvider
resource.- Instead of just mentioning support libraries are available, reference the library. e.g. "See foo::bar::Baz in the any-sketch library"
Unfortunately said libraries do not exist yet, but maybe we can posit a directory to reference now? Might I suggest: https://github.com/world-federation-of-advertisers/any-sketch-java/tree/main/src/main/java/org/wfanet/hmss
dba470a
to
ee9b7ed
Compare
ee9b7ed
to
76f682e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @kungfucraig, @ple13, and @SanjayVas)
src/main/proto/wfa/measurement/api/v2alpha/protocol_config.proto
line 289 at r1 (raw file):
Previously, kungfucraig (Craig Wright) wrote…
Unfortunately said libraries do not exist yet, but maybe we can posit a directory to reference now? Might I suggest: https://github.com/world-federation-of-advertisers/any-sketch-java/tree/main/src/main/java/org/wfanet/hmss
Comment added on register_count
in RequisitionFulfillmentRequest. I did not mention the library. It will be covered in rollout instruction doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @renjiezh)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @renjiezh)
register_count
is calculated by EDPs during sketch generation(All EDP should get the same value based on ProtocolConfig and vid model). So it is not included in ProtocolConfig but provided by RequisitionFulfillmentRequest.