Write features_asof(db, cutoff): per-user (user, total_actions) using ONLY events strictly before cutoff, sorted by user, with the cutoff as a ? parameter. The script proves the cutoff matters by calling it twice.
Write features_asof(db, cutoff): per-user (user, total_actions) using ONLY events strictly before cutoff, sorted by user, with the cutoff as a ? parameter. The script proves the cutoff matters by calling it twice.