Repository navigation
Routecontract bouwen: één tabel voor bypass of inhoudelijke route (#117) - #120
Merged
Merged
Conversation
…117) Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #117.
Wat
app/tests/fixtures/routecontract.yaml: startset van 30 regels, elk metherkomst.app/tests/test_routecontract.py: één geparametriseerde test die elke regel viaPOST /chatafspeelt (nep-Mistral en nep-intake) en elke beurt controleert. Regex-bypass zonderintake: HTTP 200 en nul LLM-calls. Bypass metintake: hoogstens één intake-call en geen agentgesprek.test_unknown_category_is_not_ignored_alongside_known_categoriesen één parameter intest_lookups.py; routedeel vantest_gearing_lookup_after_combined_category_clarificationintest_app.py.docs/explanation/vraag-routing.mdverwijst naar het contract.Bewijs
pyright: 0 errors.oude cat. 3vanbypassnaarinhoudelijklaat beide regels falen.Let op
Route-only asserts in
test_category_and_gearing_lookup_routesblijven staan: de meeste rijen staan nog niet in het contract.