DIY LED reflector, how to design one?

I assume this is not a focussing issue, like the one having a thicker flat base than the other one…

I have seen a few reports of XR-E reflectors throwing farther than XM-L(2) reflectors.
Apparently they’re not all just a section of a parabola.
Could production precision be a factor too?