Skip to content

Commit

Permalink
[search][tests] Updated quality tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Govako <[email protected]>
  • Loading branch information
vng committed Nov 12, 2024
1 parent 4a2937e commit 29f898a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions search/search_quality/search_quality_tests/real_mwm_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1039,11 +1039,9 @@ UNIT_CLASS_TEST(MwmTestsFixture, Streets_Rank)
};

/// @todo Streets should be highwer. Now POIs additional rank is greater than Streets rank.
processRequest("Santa Fe ", 20);
/// @todo Prefix search gives POIs (Starbucks) near "Avenida Santa Fe". Some WTFs for street's ranking here:
/// - gives 'Full Prefix' name's rank
/// - gives m_matchedFraction: 0.777778, while 'st' should be counted for streets definitely
processRequest("Santa Fe st ", 12);
processRequest("Santa Fe ", 22);
// Rank looks good here, except the "Santa Fe" train station is on a first place.
processRequest("Santa Fe st ", 2);
}

{
Expand Down

0 comments on commit 29f898a

Please sign in to comment.