Skip to content

Start the outcome window at the decision with a 60-minute lock - #66

Merged
Geaboi merged 1 commit into
mainfrom
feat/outcome-window-lock
Oct 5, 2026
Merged

Geaboi merged 1 commit into
mainfrom
feat/outcome-window-lock

Conversation

@tylerrleee

Copy link
Copy Markdown
Collaborator

Background

Every randomized decision point, sent ($D = 1$) or not ($D = 0$), opens an outcome window anchored on decision_made_at (protocol 9.2), so the proximal outcome is timed identically in both arms (sent, or no sent) for the excursion-effect estimate.

Previous PR and commit 68e507b would send check-in right at the decision point, at time t--where each 1 unit of t is 1 minute. However, outcome window should be open at t = [60, 120].

TLDR

/ema/next/ serves only the C0 rating for the first OUTCOME_CHECK_IN_DELAY_MINUTES (60, provisional), then the outcome check-in until +2 h; one reminder goes out if it is unanswered at +60.

Outcome check-in no longer depends on push_sent_at, but rather after a locked window from t = [0,60)

Drops the visible check-in push sent to the randomized-out arm at the decision, which would now open an empty /ema/next/. Migrations 0050_checkinreminder_outcome_window and 0052 merge are byte-identical to analytics-views so the branches merge without a migration conflict.

Every randomized decision point, sent or not, opens an outcome window
anchored on decision_made_at (protocol 9.2), so the proximal outcome is
timed identically in both arms for the excursion-effect estimate.
/ema/next/ serves only the C0 rating for the first
OUTCOME_CHECK_IN_DELAY_MINUTES (60, provisional), then the outcome
check-in until +2 h; one reminder goes out if it is unanswered at +60.

Drops the visible check-in push sent to the randomized-out arm at the
decision (68e507b), which would now open an empty /ema/next/. Migrations
0050_checkinreminder_outcome_window and 0052 merge are byte-identical to
analytics-views so the branches merge without a migration conflict.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tylerrleee
tylerrleee requested review from Geaboi, shawnwyb and tylerlocnguyen and removed request for Geaboi and shawnwyb October 5, 2026 15:24
@Geaboi

Geaboi commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Exactly what the paper wanted. Good job Tyler. LGTM!

@Geaboi
Geaboi merged commit d5b4234 into main Oct 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants