add score threshold calculator to Ray Vertex and driver

@anbangx