{% extends 'base.html' %} {% block content %}
Real revision/past papers used to guide AI exam generation. Drop new PDF or DOCX files into
{{ papers_dir }} and click Re-index. Excerpts from the best-matching papers are
injected into every generation prompt so exams follow their structure and standard.
| File | Subject | Grade | Type | Text size |
|---|---|---|---|---|
| {{ p.file }} | {{ p.subject }} | {{ p.grade if p.grade else '—' }} | {{ p.doc_type.replace('_', ' ') }} | {{ '{:,}'.format(p.chars) }} chars |
| No papers indexed yet. Add files to the folder above and re-index. | ||||
{{ e.file }} — {{ e.error }}