An EQS Query scores the tests using reference values opposite of how the comments and tooltips describe. It will score items closest to the referenced value lower than those further away, but the expected outcome is that the items closer to the reference value will be scored higher than those further away.
The issue seems to be in EnvQueryTest::NormalizeItemScores, that the clamped score is subtracted from the reference value, and the absolute value of that is then normalized. This leads to exact matches equating to 0.
Here is a screenshot of the current outcome for the test described in the Steps to Reproduce:
Here is what the expected result is:
Expected Result: The Query scores points closest to a 45 degree angle the highest and points further away from 45 degrees should be lower and normalize to 0.
Actual Result: The Query scores points closest to a 45 degree angle the lowest and those furthest away the highest.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-164917 in the post.