This PR adds 2 endpoints, /pins/score and /pins/thresholds. These are for the purpose of showing off the address match functionality, and are not meant to be permanent. Both require api key authentication.
The score endpoint accepts the same parameters as the /pins/vhers-create and /pins/vhers-regenerate endpoints, but does not update the pin. Instead it shows the best matching pin and its score.
The thresholds endpoint simply displays the current weights, thresholds, and fuzzy match coefficients.
This PR adds 2 endpoints, /pins/score and /pins/thresholds. These are for the purpose of showing off the address match functionality, and are not meant to be permanent. Both require api key authentication.
The score endpoint accepts the same parameters as the /pins/vhers-create and /pins/vhers-regenerate endpoints, but does not update the pin. Instead it shows the best matching pin and its score. The thresholds endpoint simply displays the current weights, thresholds, and fuzzy match coefficients.