Working demonstration · UK Parliament written questions
Department suggestions for UK parliamentary questions
Read a historical parliamentary question and compare the suggested department with the recorded answer. The browser uses the question text and subject heading. Review stays with a person.
Suggest a department
Loading the model…
Replay held-out parliamentary questions
This replay uses bundled 2026 written questions. Each card compares the local model and a keyword rule with the historical answering department. Lanes group the busiest departments.
Method and limits
- Source data includes UK Parliament written questions from 2023 to 2026 under the Open Parliament Licence. The opening that names the addressed minister was removed from the modelling text.
- The compact model was fitted on 2023 to 2025 questions and evaluated on a later cohort. Subject headings may only be useful at intake when there is an equivalent field at that point.
- The compact evaluation excludes questions for a department affected by the 2026 reorganisation. Historical labels do not automatically map to successor departments. An operational mapping would need effective dates, a function-by-function review and an accountable owner.
- Confidence is a score from the model. Text outside the trained population needs human review even when a score is high.