Two-coin ELBO explorer

A bag holds a fair coin (heads with probability 0.5) and a biased coin. You pick one blindly, flip it, and see heads. Drag q, your guess for which coin it was, and watch the ELBO, the ceiling log p(x), and the gap between them.