# A consumer KPI tree, second version (declared after the first results, before any of its runs)

Everything here was decided after the first results of [DESIGN-kpitree.md](DESIGN-kpitree.md) had been read. It changes no
frozen file. `DESIGN-kpitree.md`, `protocol-kpitree.json` and `results/kpitree-results.json` stay as they are, and every
miss they recorded stays reported. New runs write new files, and the page shows each change beside what it replaces.

## What a read of the first results found

1. **The "point" of retention was not a point.** The frozen calibration solved for one point on average over the first
   three months. The first month's lift is close to zero by mechanics: someone who lapses during a month has usually
   already worked out in it, so they still count as retained. Mean lift over 30 worlds: 0.15 in month 1, then 1.3 to 1.6
   from month 2 on, flat. So the frozen lever is about 1.4 points, it does not grow, and the words "compounds" and "grows"
   on the first page were wrong.
2. **The two worlds compared two different levers.** The first world's lever lowers everyone's chance of lapsing. The
   held-out author's lever rescues exactly the people about to lapse, for one workout. No run separated the lever from the
   world.
3. **The test-scaled interval was the wrong interval.** It took its relative error from an unweighted revenue sum, not from
   the estimate's own weighted sum, and it left out the covariance between a test's revenue difference and its first stage,
   which are measured on the same users.
4. **The retention holdout test treated repeated users as independent.** It pooled user-months. Being counted also depends
   on having been active the month before, which the treatment moves.
5. **The first version ran 30 of 60 worlds and 3 of 6 sweep seeds.** The cut to 30 and 3 came after four worlds' outputs had
   been read. Nothing bars running the rest.

## What runs now

**C0. The rest of the declared run.** Worlds 7130 to 7159 and sweep seeds 7103 to 7105, on the frozen code, so the frozen
design has its declared 60 and 6. Written to `results/kpitree-full-results.json`. Predictions P1 to P6 are rescored there
and shown beside their 30-world outcomes. The 30-world file is not touched.

**C1. A lasting point of retention.** A lapse log-odds shift for every live user from month 37, solved on the same three
calibration seeds so monthly retention rises 1.00 point on average over months 2 to 12 after the change. Three iterations
from the frozen lever's strength. Run as its own arm in all 60 worlds, not scaled.

**C2. A rescue point in the first world.** The held-out author's lever, written for the first world. Each month from month
37, this run's last-month MAU times the base run's retention that month plus one point gives a target for retained users.
Users active last month and not yet this month are ranked at random, on a separate random stream, and the first enough to
reach the target finish one workout: they count as active this month for one active week, a free one earns that month's ad
rate once and gets one chance to start paying, and a lapsed one goes back to live. This lever knows who would lapse, which a
deployed product does not, so it is an upper bound on targeting.

**C3. A reminder point in the held-out world.** The mechanism of that world's own reminder test, rolled out to every user
from month 37: the test's addition to monthly activity probability and its addition to weekly workout probability, in the
test's own proportion (0.015 to 0.035), sized on three calibration seeds so monthly retention rises 1.00 point on average
over months 2 to 12. The author's file stays byte-identical; the lever is added to an in-memory copy of its source by
literal replacements, each asserted to match once.

**C4. Corrected intervals.** A bootstrap of randomised users within each arm, 1,000 resamples per test per world, keeping each
user's whole trajectory. Each resample recomputes the first stage, the revenue difference and the full rollout estimate
together, holding the rollout weights (sign-ups, MAU, later entrants) as observed. The 95% interval is the 2.5th to 97.5th
percentile. For the retention point, the first stage is taken over the same months 2 to 12 as the lever it prices. The same
bootstrap replaces the interval on test A's effect per person moved on third-month retention. The frozen intervals stay
reported.

**C5. Corrected clocks.**
- Retention's own KPI, the same estimand as declared (cumulative monthly retention among users active the month before the
  change): a ratio of sums, with its standard error clustered on the user.
- A second estimand, on the population as randomised: the share of the users randomised at the change who are active in month
  k, treated against control. Each user counts once a month, and the treatment cannot move anyone out of the denominator.
- Both for the frozen lever and the lasting point, with the bar unchanged: at least 80% of worlds at z above 1.96.
- Revenue with a half holdout and the revenue line, for the lasting point. Each clock also reports the count of worlds at the
  bar, with a Wilson interval, and how many worlds clear their own noise band by month 24.
- The activation point's own KPI counts each sign-up once, so its test stands.

**C6. Per-point ratios.** The ratio at the month-37 row is divided by realised points like the other rows, and each row also
gets a ratio per lasting point, using the lever's realised lift over months 2 to 12.

**C7. Arithmetic against test.** For each world and point, over 12 months: how often each estimate is closer to the truth, and
each one's mean absolute error.

**C8. The sweep on the lasting point.** Each swept input at its low and high value, over the declared 6 seeds, with the
lasting lever: its realised lift, its value per realised point, and the ratio to the activation point in the same cell.

**C9. Which identities can fail.** Each of the seven is planted with a fault, and any that no fault can break is labelled a
definition.

**C10. Reach in the held-out world.** MAU over monthly sign-ups before the change, to test the reading that reach explains the
gap.

## Frozen files, restored

`DESIGN-kpitree.md` and `revfc/kpitree_heldout_world.py` had one word changed after the results, to satisfy a style check. Both
go back to their frozen bytes: the design to its committed text, the held-out world to the author's text. The held-out file
carries an ordinary word the site's company check refuses, and one sentence on run time, so under the frozen-file rule it stays
out of the export, byte-identical in the repo. The page says that part cannot be re-run from the download alone.

## Predictions, each reported whatever it shows

Written after reading the first results, and after scaling estimates of the first two, so they are weaker evidence than a
blind prediction.

- **V1.** One lasting point of monthly retention is worth 18 to 25 times one point of activation over 12 months (mean of the
  per-world ratios over 60 worlds), and more than it in at least 95% of worlds.
- **V2.** Over 12 months the arithmetic reads at least 1.05 times the lasting point's truth; over 24 months, under 1.00. So the
  first version's shortfall at 12 months came from its calibration.
- **V3.** Scaling a test reads closer to the truth for the lever that test tested than for a rescue, in both worlds, over 12
  months.
- **V4.** The corrected interval holds the truth in at least 90% of worlds for the activation point and the lasting point, and in
  at least 80% of held-out seeds for the activation point and the reminder point, over 12 months.
- **V5.** On the corrected own-KPI test the lasting point reaches the bar before the activation point, and no earlier than the
  pooled test on the same lever; on the randomised population it reaches the bar by month 6; and on revenue with a half holdout
  neither point reaches the bar within 24 months.
- **V6.** The ratio with the rescue lever in the first world and with the reminder lever in the held-out world each lie between
  the held-out world's rescue ratio and the first world's lasting ratio, so neither the lever nor the world alone accounts for
  the gap.
- **V7.** The bootstrap interval on test A's effect per person moved holds the truth in at least 90% of worlds.

## Limits declared before running

- These are still synthetic worlds and assumed rates. A lever's realised lift is a property of the world's mechanics.
- C2 and C3 translate each lever into the other world. The translations are mine and the held-out author wrote neither.
- The held-out world has 20 seeds, as declared, so its coverage counts move in steps of 5 points.
- The bootstrap holds the rollout weights fixed and treats users as independent, which the worlds' whole-base shocks do not
  strictly grant.
