msokolov opened a new pull request, #14049: URL: https://github.com/apache/lucene/pull/14049
This adds the randomization to RandomCodec and addresses some test issues. * In a few places I had to disable the randomization; basically wherever we are carefully testing scores. In these cases we won't have the same testing for quantized scores, but I think those would require more targeted testing since it's unclear what kinds of guarantees we can make about score values under quantization. * In a few other palces I added some slop to the score comparisons; basically if we had a score comparison in a test that was primarily focused on other things (like testing Explain) * I fixed a divide-by-zero edge case in the ScalarQuantizer (when there is only a single vector in a segment) * I standardized bounds checking so we have consistent exception messages for dimension mismatches -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org