Skip to content

fix(router): honor explicit stats baseline#273

Open
snvtac wants to merge 1 commit into
OpenBMB:mainfrom
snvtac:snvtac/250-baseline-model-precedence
Open

fix(router): honor explicit stats baseline#273
snvtac wants to merge 1 commit into
OpenBMB:mainfrom
snvtac:snvtac/250-baseline-model-precedence

Conversation

@snvtac

@snvtac snvtac commented Jun 23, 2026

Copy link
Copy Markdown

Summary

  • Prefer an explicit router.stats.baselineModel when constructing router stats.
  • Keep router.scenarios.default as the fallback baseline when no explicit stats baseline is configured.
  • Add regression coverage for explicit-over-default, default fallback, and explicit baseline without a default scenario.

Fixes #250

Testing

  • npm test
  • npm exec tsc -- -p tsconfig.json --noEmit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(router): explicit stats.baselineModel is overridden by the default scenario

1 participant