Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion impl/e2e-tests/CONFIG.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
},
"epochStart": 0.5,
"fairlyAllocateCreditFraction": 0.5,
"globalPrivacyBudgetPerEpoch": 8000000,
"impressionSiteQuotaPerEpoch": 4000000,
"maxConversionSitesPerImpression": 3,
"maxConversionCallersPerImpression": 3,
"maxImpressionSitesForConversion": 3,
Expand All @@ -16,6 +18,6 @@
"maxMatchValues": 10,
"maxLookbackDays": 30,
"maxHistogramSize": 5,
"privacyBudgetMicroEpsilons": 1000000,
"perSitePrivacyBudget": 1000000,
"privacyBudgetEpochDays": 7
}
4 changes: 2 additions & 2 deletions impl/e2e-tests/single-epoch-budgeting.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
"maxValue": 8,
"credit": [3, 1]
},
"$comment": "The preceding case should have subtracted the remaining 1/4 even though it was insufficient for the 1/2 required",
"expected": [0, 0, 0]
"$comment": "Budget was not consumed by the preceding case (insufficient budget causes no deduction), so 1/4 remains which is exactly the 1/4 required here",
"expected": [1, 3, 0]
},
{
"seconds": 7,
Expand Down
18 changes: 14 additions & 4 deletions impl/e2e.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
"minimum": 0,
"exclusiveMaximum": 1
},
"globalPrivacyBudgetPerEpoch": {
"type": "integer",
"minimum": 1
},
"impressionSiteQuotaPerEpoch": {
"type": "integer",
"minimum": 1
},
"maxConversionCallersPerImpression": {
"type": "integer",
"minimum": 0
Expand Down Expand Up @@ -59,26 +67,28 @@
"type": "integer",
"minimum": 0
},
"privacyBudgetEpochDays": {
"perSitePrivacyBudget": {
"type": "integer",
"minimum": 1
},
"privacyBudgetMicroEpsilons": {
"privacyBudgetEpochDays": {
"type": "integer",
"minimum": 1
}
},
"required": [
"aggregationServices",
"globalPrivacyBudgetPerEpoch",
"impressionSiteQuotaPerEpoch",
"maxConversionCallersPerImpression",
"maxConversionSitesPerImpression",
"maxCreditSize",
"maxHistogramSize",
"maxImpressionSitesForConversion",
"maxImpressionCallersForConversion",
"maxMatchValues",
"privacyBudgetEpochDays",
"privacyBudgetMicroEpsilons"
"perSitePrivacyBudget",
"privacyBudgetEpochDays"
]
},
{
Expand Down
13 changes: 5 additions & 8 deletions impl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,17 @@ <h2>Time: <time></time></h2>
<button>Clear Site Data as Site</button>
</line>
</form>
<line id="epoch-start" style="display: none"
><a href="https://w3c.github.io/attribution/#epoch-start-time"
>Epoch start time</a
>: <time></time
></line>
<line id="last-clear" style="display: none"
><a href="https://w3c.github.io/attribution/#last-clear"
>Last history clear</a
>: <time></time
></line>
</section>
<section>
<h2>
<a href="https://w3c.github.io/attribution/#s-epoch-start"
>Epoch Starts</a
>
</h2>
<dl id="epochStarts"></dl>
</section>
<section>
<h2>
<a href="https://w3c.github.io/attribution/#dp-budget"
Expand Down
Loading
Loading