# Review 1: HeartSteps walking prompts and counted steps

**Recommendation: minor revisions**

## What the paper claims

HeartSteps (Klasnja et al. 2019) reported that a walking suggestion added 59 steps in the next half hour on average and 271 at the start of the trial. The paper shows that both numbers come from converting log-scale coefficients (0.211 and 0.729) into steps by applying exp(β) − 1 to a reference mean of 253. The paper fits the same models to raw counts on the same 6,061 decisions and gets 13 steps on average (95% interval −14 to 40) and 84 at the fitted start (34 to 136). It calls the conversion an error, since a ratio of geometric means of (steps + 0.5) is not a ratio of arithmetic means. It says the early response survives.

The question gets a clear answer and the evidence supports it. The verdict (numbers `yes`, conclusion `weakened`, `original-error`) fits.

## What I checked

- **Reran `analysis/recheck.py`** on the pinned data in a scratch copy. `estimates.csv` came out byte-identical. The arm counts (2,015 / 1,579 / 2,467), the 6,061/6,061 match of rebuilt wrist windows to the released outcome, the 2,362 zeros, the 552 missing windows and the 253 reference (mean 252.6 over 7,540 decisions including unavailable ones) all reproduce. 253 × (e^0.2112 − 1) = 59.5 and 253 × (e^0.7287 − 1) = 271.3, as the paper says.
- **Cluster-robust OLS instead of the bootstrap.** Walking effect 13.4 (−14.8 to 41.6) on average and 84.3 (32.6 to 135.9) at the fitted start. The intervals barely differ from the paper's.
- **An independent check of the scale argument.** A Poisson GEE (log link, clustered by person, same covariates) estimates a ratio of *arithmetic* means. That is the quantity the published conversion implicitly assumed. The ratio is 1.062 (0.94 to 1.20), not 1.24, which converts to 16 steps at 253. With the day trend, the starting ratio is 1.42, which converts to 105 steps, not 271. This confirms the paper's diagnosis by a separate route, and it keeps the reference fixed at 253. So the gap comes from the log(y + 0.5) scale, not from the reference count or the choice of linear versus multiplicative model.
- **Why the scales diverge.** Zeros were 37.4% of walking windows versus 39.7% of silent ones. On the log(y + 0.5) scale a zero sits about 4.6 units below a typical 50-step window. So this 2.3-point shift alone accounts for about 0.1 of the 0.21 log coefficient. Among nonzero windows, the log effect is 0.10. The paper's "zero to five steps" example describes this mechanism correctly.

## Issues worth addressing

1. **Add the ratio-of-means estimate (most important).** The paper's case that the original made an error rests on comparing a count difference with a log-based conversion. That comparison mixes two choices: the outcome scale and the additive versus multiplicative framing. A Poisson or GEE ratio of means keeps the original's "percentage times reference" framing and changes only the scale. It gives 6% and 16 steps (42% and 105 at the fitted start). One sentence and a Table 1 column would make the error unmistakable to a reader who thinks "percentages are fine; you just switched to differences." It would also show that the conclusion doesn't depend on the bootstrap with a fixed 253, whose paired interval loses significance once the reference is re-estimated (−91 to 0.03).

2. **The six-week null depends partly on a few very large windows.** If I cap counts at the 99th percentile, the average walking effect is 21 (−2 to 44). At the 95th percentile it is 24 (5 to 43). Capping changes what is being estimated, so the uncapped 13 stays the right headline. But the paper and `so_what` ("there may have been no average gain") lean toward a null. A more accurate reading: the average gain is small, probably tens of steps, and the data can't pin it down. A sentence noting this sensitivity would stop readers from treating "interval spans zero" as evidence of no effect.

3. **Title emphasis.** The title leads with the first-week 103. That figure comes from a weekly split the investigator chose after seeing the data, and the paper's real contribution is about the 59. The weekly pattern is consistent with the original paper's own finding that the effect declined, so it is a reasonable supporting result. Still, a title like "HeartSteps' 59-step gain per walking prompt is a log-scale artifact; counted steps give about 13 on average and about 100 in week one" would name the claim the paper tests. Week 6's interval also just excludes zero on the negative side (−55, −117 to −0.01). That is worth one clause so the figure isn't read as a clean monotone decline.

4. **Say plainly what of the original survives.** The original's primary conclusions were on the log scale: a positive effect that declined over time. The paper's data support both. The Interpretation section implies this, but one direct sentence would make the reproduction verdict easy to read: "The original's log-scale conclusions reproduce; only their translation into steps is wrong."

## Clarity

The paper is readable by a non-specialist, and the scale explanation is good. The Methods paragraph is dense (slot alignment, day indexing, minute-end offsets). It is fine as a record but could move the alignment details to a sentence pointing at the code. The reference-count paragraph is useful, since it shows that 253 is not the analysis-population mean, but it is secondary. It could be shortened so it doesn't compete with the main point.

## record.json

`so_what` is clear and accurate. I would soften "there may have been no average gain" to "the average gain was small and uncertain," in line with issue 2. The verdict is fair. `numbers: yes` is right because 59 and 271 reproduce exactly. `conclusion: weakened` / `original-error` is right because the conversion to steps is a method error, not a matter of newer data, while the direction of the effect and the early response hold.

## Bottom line

The recheck is careful, fully reproducible and confirmed by an independent model. The published step gains overstate the counted gain about fourfold on average and about threefold at the start. Adding the ratio-of-means estimate and toning down the null reading of the six-week estimate would make the paper ready.
