File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
src/main/proto/wfa/virtual_people/common Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ message BranchNode {
115115 ConditionalMerge conditional_merge = 3 ;
116116 UpdateTree update_tree = 4 ;
117117 ConditionalAssignment conditional_assignment = 5 ;
118+ GeometricShredder geometric_shredder = 6 ;
118119 }
119120 }
120121
@@ -240,6 +241,24 @@ message UpdateTree {
240241 optional CompiledNode root = 1 ;
241242}
242243
244+ // This is to update the target field value with some probability.
245+ // See https://colab.sandbox.google.com/drive/11C3CWcldUCrkZxUKvTkzhoxkocgKoP6k
246+ // for details.
247+ message GeometricShredder {
248+ // The shredding probability parameter psi, which corresponds to the
249+ // success probability parameter of geometric distribution as p = 1 − psi.
250+ optional float psi = 1 ;
251+
252+ // The field for the randomness.
253+ optional string randomness_field = 2 ;
254+
255+ // The field to apply the shredding to.
256+ optional string target_field = 3 ;
257+
258+ // The random seed for shredding.
259+ optional string random_seed = 4 ;
260+ }
261+
243262message Multiplicity {
244263 oneof multiplicity_ref {
245264 // The constant expected multiplicity.
You can’t perform that action at this time.
0 commit comments