Closed stefanhengl closed 6 months ago
While working on ranking, I noticed that sum-tf is wrong if we have filename and content matches.
We use finalCands in our BM25 scoring, however, finalCands is modified in fillChunkMatches and fillMatches which can lead to surprising scores.
finalCands
fillChunkMatches
fillMatches
Test plan: updated unit test
While working on ranking, I noticed that sum-tf is wrong if we have filename and content matches.
We use
finalCands
in our BM25 scoring, however,finalCands
is modified infillChunkMatches
andfillMatches
which can lead to surprising scores.Test plan: updated unit test