For an isotropic 2-D source in a lossless slab with a perfect bottom mirror and no Fresnel losses, the escape fraction is exactly
For n = 1.52: 2 · 0.7188 / π ≈ 45.78 %. For n = 1.49: ≈ 46.68 %. For n = 1.58: ≈ 44.14 %. These are the numbers the Monte-Carlo output should cluster around at 10 000 rays or more.
Why "no-loss"
The analytic reference assumes every ray inside the escape cone transmits (R = 0 at the top) and every ray outside reflects (lossless TIR). The real Monte-Carlo accounts for Fresnel R at each bounce and so lands below the no-loss reference — the gap is the Fresnel loss, usually 3–8 % depending on n.
Using the reference for QA
A Monte-Carlo result more than 2 SE above 2θc/π signals a kernel bug — the escape fraction is physically bounded by the no-loss reference. More than 10 pp below suggests either an absorbing medium or a non-isotropic source model. Use it as a smoke test.