Event-driven planning of two-armed trials with a binary endpoint | Synapse