From 5f822eaf87e703acef50b125b6174885e0e31246 Mon Sep 17 00:00:00 2001 From: CC Worker Date: Sat, 6 Jun 2026 16:19:10 +0000 Subject: [PATCH] feat(seed): AQA-PHYS-8463 spec + paper for exam-marker test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds the real AQA GCSE Physics 8463 specification and the AQA-PHYS-8463-1H-22-JUN exam paper (Paper 1, Higher, June 2022, QP) to seed_curriculum.py, with storage_loc pointing at the uploaded PDF in the cc.examboards bucket. spec_code AQA-PHYS-8463 matches the cc.public.exams Specification node (S4-1). Applied + verified on dev .94: eb_specifications + eb_exams rows present; the real PDF (3,963,384 bytes) is uploaded to cc.examboards/aqa/physics/8463/AQA-PHYS-8463-1H-22-JUN.pdf and retrievable (HTTP 200, exact byte match). seed run populated the empty catalogue (7 specs / 16 exams / 42 Neo4j topics). NOTE: the PDF upload is a one-time ops step (curl from the host to the Storage API) — the container can't reach the host file. A reproducible fixture-upload step is a follow-up. Co-Authored-By: Claude Opus 4.8 --- run/initialization/seed_curriculum.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/run/initialization/seed_curriculum.py b/run/initialization/seed_curriculum.py index 8a116d1..ed2f10b 100644 --- a/run/initialization/seed_curriculum.py +++ b/run/initialization/seed_curriculum.py @@ -52,6 +52,18 @@ SPECIFICATIONS = [ "storage_loc": "cc.public.snapshots/curriculum/aqa/physics/8203_spec.pdf", "doc_type": "pdf", }, + # AQA GCSE Physics 8463 (standalone) — the real spec for the exam-marker test paper + # (AQA Physics Paper 1H 2022). Spec graph: cc.public.exams Specification AQA-PHYS-8463. + { + "spec_code": "AQA-PHYS-8463", + "exam_board_code": "AQA", + "award_code": "8463", + "subject_code": "PHYSICS", + "first_teach": "2016", + "spec_ver": "1.0", + "storage_loc": "cc.examboards/aqa/physics/8463/8463_spec.pdf", # placeholder (no file yet) + "doc_type": "pdf", + }, # Edexcel Maths { "spec_code": "EDX-MATH-1MA1", @@ -102,6 +114,12 @@ SPECIFICATIONS = [ # Realistic exam paper references linked to specifications. EXAMS = [ + # AQA GCSE Physics 8463/1 Higher — the exam-marker test paper (real PDF uploaded to + # cc.examboards). Join key for cc.public.exams ExamPaper.exam_code. + {"exam_code": "AQA-PHYS-8463-1H-22-JUN", "spec_code": "AQA-PHYS-8463", "paper_code": "8463/1", + "tier": "higher", "session": "June", "type_code": "QP", + "storage_loc": "cc.examboards/aqa/physics/8463/AQA-PHYS-8463-1H-22-JUN.pdf"}, + # AQA Physics 8201/1 (Foundation) {"exam_code": "AQA-PHYS-8201-1-23-JUN", "spec_code": "AQA-PHYS-8201", "paper_code": "8201/1", "tier": "foundation", "session": "June", "type_code": "QP"},