kind-airplane-15946
08/01/2022, 4:24 PM''
, then it is filtered out from the experiment, and the callback function doesn't run, and the feature value is the default one. Expected behavior.
• A null value, None
, then it is NOT filtered out from the experiment, the callback function runs, and the feature value is assigned based on the hashing function and splitting logic. I find it kind of unexpected behaviour, as I would expect the same behavior as if it was an empty string
WDYT?broad-megabyte-61529
08/02/2022, 11:58 PMbroad-megabyte-61529
08/02/2022, 11:58 PMbroad-megabyte-61529
08/03/2022, 12:07 AMlead-pipeline
however even though the navbar is in the context of the GrowthBookProvider
the useFeature
hook returns an unknownFeature
-- any suggestions for debugging?hallowed-portugal-31753
08/03/2022, 3:53 AMhallowed-portugal-31753
08/03/2022, 4:31 AMif feature("something").On || feature("another-thing").On {
// do something
}
And if the something is On, then we don't evaluate another-thing at all,
I thought we generally don't do ORs in experiments, and only ANDs (like in case you have an experiment inside an experiment)
And if it's really OR, then we'd have to evaluate those outside of the conditional and instead save them into a variable,
But has anyone ever seen OR in an experimentminiature-agency-3305
08/03/2022, 9:05 AMbrainy-garage-12733
08/04/2022, 8:12 PMuseFeature
hook with react, but changes wont kick in unless i refresh the app manually or close it.ancient-receptionist-63597
08/04/2022, 8:57 PMincludes
and does not include
comparisons into a Force Rule Feature and it looks like I am only able to have 1 of each while extras are discarded. This is to perform an array object equivalency check. Is this intentional that only one of each of these is able to be used?rough-forest-14169
08/05/2022, 6:17 AMhandsome-library-89124
08/08/2022, 9:41 AMfew-memory-16563
08/08/2022, 10:08 PMhold
into the on
version of a feature. Do we have to include URL as an attribute in the SDK for this to work, or does growthbook read from the current page URL by default (or something else?)flaky-boots-61528
08/09/2022, 10:24 AMbetter-byte-26469
08/09/2022, 11:08 AMaloof-optician-88290
08/10/2022, 5:12 PMconfig.yml
. By the way, I'm on a macgreen-jordan-83609
08/12/2022, 2:01 PMconversion window
parameter: if I set up this conversion window = 48 (hours)
, in a binary variable as an example, what would happen is:
• All the distinct users assigned to the experiment in the Experiment Assignment Query
will be counted in the denominator.
• Just the users with a conversion, with a timestamp falling in the conversion_window (experiment assignment timestamp
+ 48h) will be counted in the numerator.
However, there will be some users added into the denominator, which still have time to conver (imagine they just joined the experiment, they still have 48h to convert). This means that the metric will not be matured until 48h after of finishing the experiment. Is this reasoning correct?
Many thanks!hallowed-portugal-31753
08/13/2022, 8:47 AMhallowed-portugal-31753
08/13/2022, 8:58 AMfreezing-finland-88631
08/14/2022, 12:23 AMmillions-pillow-77822
08/15/2022, 4:00 PMbrainy-rocket-68873
08/15/2022, 8:14 PMhallowed-portugal-31753
08/16/2022, 4:12 AMstocky-energy-64916
08/16/2022, 8:25 PMred-fall-3528
08/17/2022, 12:56 AMRetuning Visitors
as metric in GrowthBook. I use Firebase Analytics and currently I get almost the metrics business want to see but Retuning Visitors
.
What I stuck right now is, I can get a user count which represents the Retuning Visitors
but it is divided by All Experiment Users
and I get ratio instead of actual count. Any help is aprreciated.green-jordan-83609
08/17/2022, 8:44 AMnarrow-psychiatrist-15437
08/17/2022, 10:10 AMvariant_id = 0
. Looking at the raw data from BigQuery, the variants (0
and 1
) are equally distributed (see screenshot), but variant 0
users do not show up in the experiment results.
I’ve also verified that the there are no `userId`s exposed to both variants.
Here’s the query from the analysis:
-- Activation (binomial)
WITH __rawExperiment as (
SELECT
user_id,
received_at as timestamp,
experiment_id,
variation_id
FROM
`rudderstack_data.experiment`
),
__experiment as (
-- Viewed Experiment
SELECT
e.user_id as user_id,
cast(e.variation_id as string) as variation,
CAST(e.timestamp as DATETIME) as conversion_start,
DATETIME_ADD(CAST(e.timestamp as DATETIME), INTERVAL 336 HOUR) as conversion_end
FROM
__rawExperiment e
WHERE
e.experiment_id = 'hello-sanity_template'
AND CAST(e.timestamp as DATETIME) >= DATETIME("2022-08-15 19:00:00")
),
__metric as (
-- Metric (Activation)
SELECT
user_id as user_id,
1 as value,
CAST(m.timestamp as DATETIME) as conversion_start,
CAST(m.timestamp as DATETIME) as conversion_end
FROM
(
SELECT
user_id,
CAST(activation_date AS TIMESTAMP) AS timestamp
FROM
`dbt_production.dim_user`
WHERE
is_activated = TRUE
) m
WHERE
CAST(m.timestamp as DATETIME) >= DATETIME("2022-08-15 19:00:00")
),
__distinctUsers as (
-- One row per user/dimension
SELECT
e.user_id,
cast('All' as string) as dimension,
(
CASE
WHEN count(distinct e.variation) > 1 THEN '__multiple__'
ELSE max(e.variation) END
) as variation,
MIN(e.conversion_start) as conversion_start,
MIN(e.conversion_end) as conversion_end
FROM
__experiment e
GROUP BY
e.user_id
),
__userMetric as (
-- Add in the aggregate metric value for each user
SELECT
d.variation,
d.dimension,
1 as value
FROM
__distinctUsers d
JOIN __metric m ON (m.user_id = d.user_id)
WHERE
m.conversion_start >= d.conversion_start
AND m.conversion_start <= d.conversion_end
GROUP BY
variation,
dimension,
d.user_id
),
__overallUsers as (
-- Number of users in each variation
SELECT
variation,
dimension,
COUNT(*) as users
FROM
__distinctUsers
GROUP BY
variation,
dimension
),
__stats as (
-- Sum all user metrics together to get a total per variation/dimension
SELECT
variation,
dimension,
COUNT(*) as count,
AVG(value) as mean,
STDDEV(value) as stddev
FROM
__userMetric
GROUP BY
variation,
dimension
)
SELECT
s.variation,
s.dimension,
s.count,
s.mean,
s.stddev,
u.users
FROM
__stats s
JOIN __overallUsers u ON (
s.variation = u.variation
AND s.dimension = u.dimension
)
Are you able to spot what’s wrong here?adventurous-jelly-25184
08/18/2022, 7:30 AMflaky-computer-61791
08/18/2022, 5:00 PMfreezing-finland-88631
08/18/2022, 8:39 PMSELECT
hid as user_id,
CASE
WHEN created_at >= '{{ startDate }}' THEN 'New'
ELSE 'Existing'
END as value
from owners
But in all queries where we try to slice by the dimension, {{ startDate }}
isn’t substitutedthankful-businessperson-82481
08/19/2022, 3:05 PM52.70.79.40
. Anyone else facing the same?