Running both uplift bases through the v0 method multiplies its cost instead of sharing one run

Open
#206 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
performance

Research direction

The work lives in the V0BinnedMethod class, which runs the binned fit once per uplift basis via report=("aep", "campaign"). Start by tracing how data preparation is invoked for each basis and find where the campaign uplift is derived from the same binned fit as the AEP uplift. Done means one preparation and one binned fit feeding both reported bases, with existing outputs unchanged in tests.

Written by the indexing model from the issue text.

Description

v1

An analysis that reports both uplift bases (report=("aep", "campaign")) runs the v0 binned method twice — once with the long-term distribution, once without — each repeating the full data preparation from scratch. The two runs differ only in how the binned results are weighted into a headline; the campaign uplift is a by-product of the same binned fit that produces the AEP uplift.

Worth having V0BinnedMethod prepare once and report both bases from that single run.

Dominant language
Python
Stars
29
Forks
13
Avg merge
1d 6h
Merged PRs (30d)
33

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from resgroup/wind-up

All issues in resgroup/wind-up

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.