Bayes, drawn — from the bedside test to the trial

Act I: the diagnostic 2×2.  Act II: the SNAP platform trial.
Act I · Algebraic derivation
Ω — all outcomes A B A ∩ B TP FN FP TN