I've tested, every ~200 jumps, the bug will happens. And there are 1000 blocks, the character can jump up 2 blocks, sooooo...
1000 / 2 = 500 (jumps to beat)
100 / 200 = 0.5 (percent)
0.5⁵⁰⁰% = 3.05494 × 10⁻¹⁵¹%
So 3.05494 × 10⁻¹⁵¹% is the chance you can beat it.