You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To <dfn>obtain a randomized source response</dfn> given a [=set=] of possible trigger states |possibleValues| and a double |epsilon|:
2355
2355
1. Let |pickRate| be the result of [=obtaining a randomized source response pick rate=] with |possibleValues|'s [=set/size=] and |epsilon|.
@@ -2362,13 +2362,13 @@ To <dfn>compute the channel capacity of a source</dfn> given a positive integer
2362
2362
1. If |states| is 1, return 0.
2363
2363
1. If |states| is greater than the user agent's [=max trigger-state cardinality=], return an error.
2364
2364
1. Let |pickRate| be the [=obtain a randomized source response pick rate|randomized response pick rate=] with |states| and |epsilon|.
2365
-
1. Let |p| be |pickRate| * (|states| - 1) / |states|.
2366
-
1. Return log2(|states|) - h(|p|) - |p| * log2(|states| - 1) where h is the binary entropy function [[BIN-ENT]].
2365
+
1. Let |p| be |pickRate| × (|states| − 1) / |states|.
2366
+
1. Return log2(|states|) − h(|p|) − |p| × log2(|states| − 1) where h is the binary entropy function [[BIN-ENT]].
2367
2367
2368
2368
<p class=note>This algorithm computes the channel capacity [[CHAN]] of a q-ary symmetric channel [[Q-SC]].
2369
2369
2370
2370
To <dfn>compute the scopes channel capacity of a source</dfn> given a positive integer |numTriggerStates|, a positive integer |attributionScopeLimit|, and a positive integer |maxEventStates|:
2371
-
1. Let |totalStates| be |numTriggerStates| + |maxEventStates| * (|attributionScopeLimit| - 1).
2371
+
1. Let |totalStates| be |numTriggerStates| + |maxEventStates| × (|attributionScopeLimit| − 1).
<h3 algorithm id="obtaining-an-event-level-report">Obtaining an event-level report</h3>
4346
4346
@@ -4492,7 +4492,7 @@ To <dfn>generate null attribution reports</dfn> given an [=attribution trigger=]
4492
4492
1. If |report| is not null, set |roundedAttributedSourceTime| to the result of [=obtaining rounded source time=] with |report|'s
4493
4493
[=aggregatable attribution report/source time=].
4494
4494
1. [=set/iterate|For each=] integer |day| of [=the range=] 0 to the number of days in |maxSourceExpiry|, inclusive:
4495
-
1. Let |fakeSourceTime| be |trigger|'s [=attribution trigger/trigger time=]- |day| days.
4495
+
1. Let |fakeSourceTime| be |trigger|'s [=attribution trigger/trigger time=]− |day| days.
4496
4496
1. If |roundedAttributedSourceTime| is not null and equals the result of [=obtaining rounded source time=] with |fakeSourceTime|:
4497
4497
1. [=iteration/Continue=].
4498
4498
1. If the result of [=determining if a randomized null attribution report is generated=] with [=randomized null attribution report rate including source registration time=] is true:
0 commit comments