Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Outlier clients filteration #2293

Open
dbalabka opened this issue Mar 27, 2024 · 0 comments
Open

[Feature] Outlier clients filteration #2293

dbalabka opened this issue Mar 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dbalabka
Copy link

dbalabka commented Mar 27, 2024

Description of Feature

Usually, during experiments, we can face customers who perform enormous amounts of transactions. Such outliers lead to bias and can change experiment results. To fix this issue, we have filtered out such clients based on the total amount of transactions during the experiment. Currently, Growthbook supports capping for revenue and count. Unfortunately, it does not work for binomial metrics.

I tried to use count metric with capping with pretty simple binomial metric SQL adjustments:

SELECT
  e.value.string_value as ecentria_id,
  user_pseudo_id,
  TIMESTAMP_MICROS(event_timestamp) as timestamp,
  1 as value  -- <--------- this line was added
FROM
....

However, capping does not work as expected. It filters out rows that have a value higher than the specific threshold. While I'm looking into filtering out all rows that have a relation to the client that contributes an enormous amount of transactions.

Having a feature that helps filter out clients based on a threshold (absolute or percentile) by aggregated values over all time of the experiment, can help to increase test sensitivity by decreasing variation.

We definitely can workaround it with custom SQL, but unfortunately, it requires hardcoded logic in each metric.

Related Issues

TBD

@dbalabka dbalabka added the enhancement New feature or request label Mar 27, 2024
@dbalabka dbalabka changed the title [Feature] Outlier client filteration [Feature] Outlier clients filteration Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant