Disable validation of poisson_mean for test reports.
Also fix some formatting issues that had been fixed in test_app2 but not
prober.
b/338055727
Change-Id: I5add6455778372eb30a4f9e75d60ab84453333ca
Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt-registry/+/1041527
Commit-Queue: Alexandre Zani <azani@google.com>
Privacy-Approval: Alexandre Zani <azani@google.com>
Fuchsia-Auto-Submit: Alexandre Zani <azani@google.com>
Reviewed-by: Alex Pankhurst <pankhurst@google.com>
diff --git a/fuchsia/devel_project/metrics.yaml b/fuchsia/devel_project/metrics.yaml
index 26a9300..f2a6162 100644
--- a/fuchsia/devel_project/metrics.yaml
+++ b/fuchsia/devel_project/metrics.yaml
@@ -42,6 +42,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
system_profile_field: [OS, ARCH, BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
max_value: 20
diff --git a/fuchsia/prober/metrics.yaml b/fuchsia/prober/metrics.yaml
index f232c3e..da93878 100644
--- a/fuchsia/prober/metrics.yaml
+++ b/fuchsia/prober/metrics.yaml
@@ -52,7 +52,6 @@
max_value: 3600
# Manually-specified parameters for epsilon = 10, delta = 1e(-6), sparsity = 9, population = 1e4
poisson_mean: 0.00160138
- num_index_points: 10
privacy_mechanism: SHUFFLED_DIFFERENTIAL_PRIVACY
reporting_threshold: 1
shuffled_dp:
@@ -62,6 +61,8 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
+ num_index_points: 10
system_profile_field: [OS, ARCH, BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
deleted_report_ids: [2]
meta_data:
@@ -110,7 +111,6 @@
string_sketch_params: {num_hashes: 5, num_cells_per_hash: 10}
# Manually-specified parameters for epsilon = 10, delta = 1e(-6), sparsity = 9, population = 1e4
poisson_mean: 0.00160138
- num_index_points: 10
privacy_mechanism: SHUFFLED_DIFFERENTIAL_PRIVACY
reporting_threshold: 1
shuffled_dp:
@@ -120,6 +120,8 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
+ num_index_points: 10
string_buffer_max: 30
max_count: 10
system_profile_field: [OS, ARCH, BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
@@ -149,6 +151,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 1
string_buffer_max: 30
local_aggregation_period: WINDOW_7_DAYS
@@ -208,6 +211,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one per millisecond.
min_value: 0
@@ -249,6 +253,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 1
int_buckets:
exponential:
@@ -285,6 +290,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one per millisecond.
min_value: 0
@@ -332,6 +338,7 @@
local_aggregation_period: WINDOW_7_DAYS
local_aggregation_procedure: AT_LEAST_ONCE
system_profile_field: [OS, ARCH, BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
+ reporting_threshold: 1
- report_name: features_active_unique_devices_privacy
id: 3
report_type: UNIQUE_DEVICE_COUNTS
@@ -348,6 +355,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 1
local_aggregation_period: WINDOW_7_DAYS
local_aggregation_procedure: AT_LEAST_ONCE
@@ -411,6 +419,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one update per second.
max_count: 3600
@@ -459,6 +468,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 1
int_buckets:
exponential:
@@ -467,7 +477,10 @@
initial_step: 1
step_multiplier: 2
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
- deleted_report_ids: [4,6]
+
+ # Deleted report IDs that must not be reused.
+ deleted_report_ids: [1,2,4,6]
+
meta_data:
max_release_stage: DEBUG
expiration_date: "2024/06/01"
@@ -535,6 +548,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -581,6 +595,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -619,6 +634,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -697,6 +713,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -734,7 +751,6 @@
privacy_level: LOW_PRIVACY
# Manually-specified parameters for epsilon = 10, delta = 1e(-6), sparsity = 9, population = 1e4
poisson_mean: 0.00160138
- num_index_points: 10
privacy_mechanism: SHUFFLED_DIFFERENTIAL_PRIVACY
reporting_threshold: 1
shuffled_dp:
@@ -744,6 +760,8 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
+ num_index_points: 10
# Max is one logged value per second.
max_count: 3600
int_buckets:
@@ -781,6 +799,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -848,6 +867,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
max_count: 3600
event_vector_buffer_max: 2
@@ -913,6 +933,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
max_count: 3600
event_vector_buffer_max: 5
@@ -975,6 +996,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Up to 10000 attempts per day.
min_value: 0
@@ -1042,6 +1064,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is 7 days in seconds.
min_value: 0
diff --git a/fuchsia/test_app2/metrics.yaml b/fuchsia/test_app2/metrics.yaml
index f693e63..da93878 100644
--- a/fuchsia/test_app2/metrics.yaml
+++ b/fuchsia/test_app2/metrics.yaml
@@ -61,6 +61,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
system_profile_field: [OS, ARCH, BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
deleted_report_ids: [2]
@@ -119,6 +120,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
string_buffer_max: 30
max_count: 10
@@ -149,6 +151,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 1
string_buffer_max: 30
local_aggregation_period: WINDOW_7_DAYS
@@ -208,6 +211,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one per millisecond.
min_value: 0
@@ -249,6 +253,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 1
int_buckets:
exponential:
@@ -285,6 +290,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one per millisecond.
min_value: 0
@@ -349,6 +355,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 1
local_aggregation_period: WINDOW_7_DAYS
local_aggregation_procedure: AT_LEAST_ONCE
@@ -412,6 +419,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one update per second.
max_count: 3600
@@ -460,6 +468,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 1
int_buckets:
exponential:
@@ -539,6 +548,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -585,6 +595,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -623,6 +634,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -701,6 +713,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -747,6 +760,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -785,6 +799,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is one logged value per second.
max_count: 3600
@@ -852,6 +867,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
max_count: 3600
event_vector_buffer_max: 2
@@ -917,6 +933,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
max_count: 3600
event_vector_buffer_max: 5
@@ -979,6 +996,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Up to 10000 attempts per day.
min_value: 0
@@ -1046,6 +1064,7 @@
# thresholding.
reporting_threshold: 1
poisson_mean: 0.00160138
+ skip_poisson_mean_validation_test_only: true
num_index_points: 10
# Max is 7 days in seconds.
min_value: 0