PDF input needs a review boundary
The watcher downloads files for a parsing worker. Imports are staged and validated before approval, so parsing errors and inconsistent mark totals can be reviewed instead of silently becoming published results.
PDF processing / student reports
A worker-driven pipeline that watches for marks PDFs, validates imports, notifies students, and renders their results and average as readable images.
Marks arrive as PDF documents with layouts and text that are not always consistent. Students need their own results in a clear format, while corrections and new imports need to remain traceable.
I built the file watcher, parsing and validation workflow, PostgreSQL records, review tools, student notifications, and image report rendering. The Telegram bot is the access point; import, reporting, and notification work run in separate services and workers.
The watcher downloads files for a parsing worker. Imports are staged and validated before approval, so parsing errors and inconsistent mark totals can be reviewed instead of silently becoming published results.
HTML templates are rendered to PNG through a browser. Content hashes identify unchanged reports so cached photos can be reused, while the result layout keeps subjects, marks, and the average readable together.
Imports, report generation, and notifications have separate responsibilities. Admins can approve quietly or notify students, with stored marks, archives, and mutation logs independent of the chat interface.