From ca0d1ca6542431d2cc3ee1f9b534b9378fac1da6 Mon Sep 17 00:00:00 2001 From: Andrew Paseltiner Date: Tue, 20 May 2025 09:52:42 -0400 Subject: [PATCH 1/2] Require epsilon to be positive, rather than non-negative Laplace(1/0) is not well-defined. --- api.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.bs b/api.bs index eacd99e..9faff09 100644 --- a/api.bs +++ b/api.bs @@ -1289,7 +1289,7 @@ and |options|: an [=map/entry=] with a [=map/key=] of |options|.{{PrivateAttributionConversionOptions/aggregationService}}, throw a {{ReferenceError}}. 1. If |options|.{{PrivateAttributionConversionOptions/epsilon}} - is negative or greater than 4294, + is not positive or is greater than 4294, throw a {{RangeError}}. 1. If |options|.{{PrivateAttributionConversionOptions/histogramSize}} is 0 or greater than an [=implementation-defined=] maximum value, From bd2b757e87d4470203d60ca79caab2026905afb8 Mon Sep 17 00:00:00 2001 From: Andrew Paseltiner Date: Wed, 21 May 2025 08:09:56 -0400 Subject: [PATCH 2/2] Update api.bs --- api.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.bs b/api.bs index 9faff09..18819b7 100644 --- a/api.bs +++ b/api.bs @@ -1289,7 +1289,7 @@ and |options|: an [=map/entry=] with a [=map/key=] of |options|.{{PrivateAttributionConversionOptions/aggregationService}}, throw a {{ReferenceError}}. 1. If |options|.{{PrivateAttributionConversionOptions/epsilon}} - is not positive or is greater than 4294, + is less than or equal to 0 or is greater than 4294, throw a {{RangeError}}. 1. If |options|.{{PrivateAttributionConversionOptions/histogramSize}} is 0 or greater than an [=implementation-defined=] maximum value,