Download json compare tool3/17/2023 ![]() # remap csv column "query" to query param "text" \ input_csv ~/RadarCode/geocode-acceptance-tests/input/addresses.csv \ ![]() # csv input, use headings as query parameter keys \ # these can be any accessible http server, sometimes we run against our prod index \ We run api-diff with a command that looks something like this: api-diff \ When updating the data in our index, we are usually expecting a steady increase in quality and coverage, and are mostly on the look out for surprising regressions, often caused by changes in data formats. When making a ranking change, there is usually a tradeoff between improved queries and some unintended losses, so we can use api-diff to provide a more quantitative answer as to whether or not the improvements outweigh the losses enough to proceed with the change. In both cases, we are looking to see what changes occurred in the search results. Generate a baseline set of responses for later comparisonĪll you need to get started is a list of queries, as a CSV or URL paths, and two running copies of a server with some changes between them.Īt Radar, our two main use cases for api-diff are 1) when we are making code changes to the parsing and ranking algorithms in Pelias, or 2) when we are updating the data in the search index. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |