KARMAZIN.MEDIA — Questions about PDF / Как проверять ответы по PDF

k17-procedure.pdf — fictional text PDF.
k17-procedure-scan.pdf — image-only version of the same three pages.
questions.json — five questions and their known answers, physical pages and quotations.
pages.json — text extracted directly and from the scan using OCR. English fixture.
model-results.json — ten real replies plus scoring. Quantity allows either "24" or "24 units per trial".
illustrative-error.json — editorial exercise, not a received model reply.
extract.py — requires Poppler, Tesseract with eng language and Python 3.
ask.py — requires Python 3 and local Ollama on port 18765 with qwen2.5:1.5b downloaded.

On Mac or Linux, start in a separate terminal:
OLLAMA_HOST=127.0.0.1:18765 OLLAMA_NO_CLOUD=1 ollama serve
In the exercise directory:
OLLAMA_HOST=127.0.0.1:18765 ollama pull qwen2.5:1.5b
python3 extract.py
python3 ask.py

Save a copy of the bundled results before repeating the benchmark, because the script writes a new model-results.json.
