Sven Geboers
|
238d9e9ec2
|
test: add full quiz tab test suite and fix Geen stem normalization
- Fix match_mps_for_votes: 'Geen stem'/'no vote' now normalize to None (skipped),
not 'afwezig' — so unanswered questions don't inflate overlap count
- Add 5 additional tests to test_match_mps.py: zero-overlap exclusion,
empty input validation, Geen stem overlap skip, excluded motions respected
- Add tests/test_explorer_quiz.py: builder import smoke test plus 3 real-DB
end-to-end scenarios (unique match, indistinguishable MPs, discriminating
question reduces candidate set)
- Full suite: 73 passed, 2 skipped
|
1 month ago |