Ore features are offset from their input position by +8 in both the x- and z- axes.
Demonstration
The attached screenshot demonstrates this issue. The glowstone block represents the input position for the ore feature (Netherrack). The ore feature should be exactly centered on the glowstone block.
Reproduction
The demo screenshot is taken from the behavior pack in the attached world for convenience. This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such.
Thank you for helping us improve Minecraft! We saved your files: