The ear training sketch made me feel bad:

So I decided to blame it on the use of just intonation instead of equal temperament, which I fixed:
let ratios = [1, 2 ** (2/12), 2 ** (4/12), 2 ** (5/12), 2 ** (7/12), 2 ** (9/12), 2 ** (11/12), 2 ** (12/12)];
I tried again with equal temperament, and was vindicated:

Or I just got lucky. Or I was better after the earlier practice round.