Skip to content

Commit

Permalink
downsample treatment-a branch (#662)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewilli authored Oct 31, 2024
1 parent 477d9a6 commit 542715d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions jetstream/improved-mailto-handling-with-os-integration.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[experiment]

enrollments_query = """(
SELECT
e.client_id AS analysis_id,
`mozfun.map.get_key`(e.event_map_values, 'branch')
AS branch,
MIN(e.submission_date) AS enrollment_date,
COUNT(e.submission_date) AS num_enrollment_events
FROM
`moz-fx-data-shared-prod.telemetry.events` e
WHERE
e.event_category = 'normandy'
AND e.event_method = 'enroll'
AND e.submission_date
BETWEEN '2024-10-07' AND '2024-10-25'
AND e.event_string_value = 'improved-mailto-handling-with-os-integration'
AND (
(`mozfun.map.get_key`(e.event_map_values, 'branch') = 'treatment-a' AND e.sample_id < 11)
OR
(`mozfun.map.get_key`(e.event_map_values, 'branch') != 'treatment-a')
)
GROUP BY e.client_id, branch
)"""

0 comments on commit 542715d

Please sign in to comment.