Teacher Assignment Robot
Turn-based, reasoned and transparent teacher assignment under the Turkish Ministry of Education (MEB) rules, with admin, teacher and school panels.

The need
In teacher assignments, preferences are collected, schools' needs are gathered, and then everyone is placed in a suitable position. When this work is done by hand or with scattered spreadsheets, two problems arise. The results cannot be reproduced, and teachers cannot see why they were or were not assigned to a school. So we built an assignment system with clear rules and results that come with reasons. It is a commercial product of ours.
What we built
- Unlimited rounds: each round is isolated within itself. A teacher who is not assigned in one round submits preferences again in the next.
- Tiered priority: the primary field, the equivalent field and last resort are processed in that order. Within the same tier, the AGS exam score decides, followed by the diploma grade. For English postings, language level is also taken into account.
- Field matching table: administrators add, edit and delete the matches between departments and the fields used for assignment, from the admin screen.
- A reason for every result: each teacher sees why each of their preferences was or was not honored.
- KVKK-compliant visibility: a school sees the details of applying candidates in masked form. Only the details of the candidate assigned to it are revealed.
- Three panels: the admin, teacher and school panels work on desktop and mobile. Administrators see reports by round, school and subject branch.
How we built it
The application is written in PHP and MySQL without a framework. PhpSpreadsheet is used for Excel export and TCPDF for PDF output. Concepts such as the assignment robot, round, application and posting live in separate model classes. Rules are not embedded in the code. Field matches and priorities are read from tables managed through the admin screen.
Login and form endpoints are protected by rate limiting and reCAPTCHA. Administrator and critical actions are written to an audit log. Backup and upload tasks are gathered in separate helper classes. The application also works as a web app that can be added to the home screen of a phone.
The result
The system is ready, configured according to the MEB assignment rules for the 2026-2027 period. Screenshots are published in the promotion repository. They were prepared with anonymous sample data and contain no real person or institution details. The source code of the software is not shared. You can contact us for a demo.