You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync scenario-spec doc to script phase lists (P2 cleanup)
CI review P2: performance-scenarios.md had four drift points where the
documented operation chain did not match what the scripts actually time.
Fixed each to be a faithful spec the reviewer can cross-check against:
- BRFSS small scale: "single year" -> "narrow analytic slice on a
state-year grid" (all scales use n_years=10).
- Scenario 4 (SDiD): removed the seventh plot_synth_weights step the
script never times; chain is now 6 steps, matching the script.
- Scenario 5 (dCDH): replaced "results.print_summary()" with the
actual attribute snapshot the script performs (placebo_effect,
overall_att, joiners_att, leavers_att); chain is now 4 steps.
- Scenario 6 (dose-response): event-study step is no longer described
as to_dataframe(level="event_study") on a dose-only fit (that API
path raises because aggregate="dose" does not populate event_study);
it is now described as a second CDiD fit with aggregate="eventstudy",
matching the separate phase the script times.
The within-estimator API-spelling inconsistency that surfaced during
this cleanup (ContinuousDiD uses "eventstudy" on fit(aggregate=...) but
"event_study" on to_dataframe(level=...)) is captured in the
correctness-adjacent observations in performance-plan.md.
No changes under diff_diff/, rust/, scripts, or baselines. Docs only.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments