Teechaa Worker
Background AI question generation and question diagrams. New questions land in quiz_bank as drafts for review.
Setup checks
- Database connectionizezmkaf_teechaa @ localhost
- quiz_bank columnsAll present
- OpenAI keySet (model gpt-4o-mini)
- Generation switched onEvery 30 min, 50 questions per batch
- Question diagramsUp to 6 per batch, drawn by gpt-4o-mini, answer-checked by gpt-4o-mini, served from https://questions.teechaa.com/question_images
New questions
323AI questions in bank
87awaiting review
JSS1 / Chemistrynext batch
2026-09-28 22:07:00 UTClast successful batch
Diagrams on new questions
No diagrams yet.
Diagrams for old questions
3diagrams added
27still to look at
35no diagram needed / can't be drawn
2failed (retried up to 3×)
Latest restored diagrams. These are live for students. Check that each one fits its question, and remove any that don't.
Recent runs
| Started | Trigger | Status | Class / subject | Qs | Details |
|---|---|---|---|---|---|
| 2026-09-28 22:16:23 UTC | backfill | skipped | Old questions: 0 diagram(s) added, 10 didn't need one, 0 can't be drawn, 0 failed. | ||
| 2026-09-28 22:15:53 UTC | backfill | success | 3 | Old questions: 3 diagram(s) added, 5 didn't need one, 0 can't be drawn, 2 failed (latest: checker answered D, expected B). | |
| 2026-09-28 22:15:49 UTC | backfill | running | |||
| 2026-09-28 22:15:40 UTC | backfill | running | |||
| 2026-09-28 22:07:00 UTC | backfill | skipped | Old questions: 0 diagram(s) added, 10 didn't need one, 0 can't be drawn, 0 failed. | ||
| 2026-09-28 22:06:38 UTC | cron-job | success | JSS1 / Physics | 30 | ai_questions_2026-09-28T22-07-00-538Z_JSS1_physics.sql |