(loader *config.ModelConfigLoader, appConfig *config.ApplicationConfig, store router.DecisionStore, routerCfg *config.ModelConfig, parsed any, scorerFactory ScorerFactory)
| 436 | } |
| 437 | |
| 438 | func runRouter(loader *config.ModelConfigLoader, appConfig *config.ApplicationConfig, store router.DecisionStore, routerCfg *config.ModelConfig, parsed any, scorerFactory ScorerFactory) (*httptest.ResponseRecorder, error) { |
| 439 | return runRouterWithDeps(loader, appConfig, store, routerCfg, parsed, ClassifierDeps{Scorer: scorerFactory}) |
| 440 | } |
| 441 | |
| 442 | // runRouterWithDeps is runRouter's general form: lets the caller pass |
| 443 | // a fully-populated ClassifierDeps (ModelLookup, Evaluator, ...) so |
no test coverage detected