- The changes involve renaming the
TestDataclass toLabeledDataacross multiple files. This includes updating the import statements in__init__.py,cache.py,router.py,schema.py, andutils.pyto reflect this new class name. The__all__list in__init__.pyis also updated to exportLabeledDatainstead ofTestData. This appears to be a conceptual renaming to better reflect the purpose of the data structure. - The modifications update all function signatures and type hints that previously used
TestDatato now useLabeledData. This affects several functions incache.pyincluding_generate_run_cache,_eval_cache, and_grid_search_opt_cache, as well as functions inrouter.pylike_generate_run_routerand_eval_router. The utility functions inutils.pyare also updated to work withLabeledDatainstead ofTestData. - The changes introduce a new
search_stepparameter in the router optimization logic withinrouter.py, with a default value of 0.10. This parameter is passed through to the_router_random_searchfunction and is used in the optimization process. The test filetest_threshold_optimizer.pyis updated to explicitly set this parameter to 0.5 when calling the optimize method, demonstrating how it can be configured for different search granularities during threshold optimization.