@@ -1235,9 +1235,10 @@ and a [=set=] of [=epoch indices=] |deductedGlobalBudgets|:
12351235 wait until the value becomes false,
12361236 then set the value to true.
12371237
1238+ 1. Let |deduction| be |l1NormDeduction| if |isSingleEpoch| is true, |valueDeduction| otherwise.
1239+
123812401. If the result of invoking [=check for available privacy budget|checking for available privacy budget=]
1239- with |key|, |l1NormDeduction|, |valueDeduction|,
1240- |impressions|, and |isSingleEpoch|
1241+ with |key|, |deduction|, |valueDeduction|, and |impressions|
12411242 is false, perform the following steps:
12421243
12431244 1. Set [=attribution budget lock=] to false.
@@ -1246,7 +1247,6 @@ and a [=set=] of [=epoch indices=] |deductedGlobalBudgets|:
12461247
124712481. All budget checks passed, so perform the deductions:
12481249
1249- 1. If |isSingleEpoch| let |deduction| be |l1NormDeduction| else let |deduction| be |valueDeduction|.
12501250
12511251 1. Let |currentValue| be the result of [=map/get|getting the value=] of |key|
12521252 in the [=privacy budget store=]
@@ -1291,11 +1291,9 @@ and a [=set=] of [=epoch indices=] |deductedGlobalBudgets|:
12911291
12921292<div algorithm>
12931293To <dfn>check for available privacy budget</dfn>
1294- given a [=privacy budget key=] |key|, integer |l1NormDeduction |,
1294+ given a [=privacy budget key=] |key|, integer |deduction |,
12951295integer |valueDeduction|,
1296- [=set=] of [=impressions=] |impressions| and boolean |isSingleEpoch|:
1297-
1298- 1. If |isSingleEpoch| let |deduction| be |l1NormDeduction| else let |deduction| be |valueDeduction|.
1296+ and [=set=] of [=impressions=] |impressions|:
12991297
130012981. Let |currentValue| be set to the value of [=map/get|getting the value=] of |key|
13011299 from [=privacy budget store=] ,
0 commit comments