exam-simulator
Skill0 starsChanged 8 days agoMITView on GitHub
Build, grade, and debrief 6-type offline/live CBT exams, EV-skip calibration, distractor autopsies, exam readiness, Pre-Mortem Shields, and Adversarial Viva Defense with 4-tier evidence and micro-sprints.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- chapter-autopilotSkill
- grade-handwritingSkill
- harness-self-improveSkill
- ingest-chapterSkill
- knowledge-graphSkill
- manim-animatorSkill
- organic-chemistry-tutorSkill
- physical-chemistrySkill
- physics-circuits-and-unitsSkill
- practice-drillSkill
- revision-sheetsSkill
- subagent-orchestratorSkill
- teach-chapterSkill
- topic-onboardingSkill
- universal-pdf-studySkill
- visual-and-demoSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
CS / Algorithms / ML: verify outputs, edge cases, and time/space complexity via code_verify.py.
- Very specific: line 30
Mathematics & Physics: verify via math_verify.py (and eduniti_pyq.py when pulling real JEE PYQs).
- Very specific: line 31
Chemistry: verify via chem_physical.py, chem_3d.py, and organic_reagents.py.
- Very specific: line 51
5-State Palette & Optional Calm Telemetry: Not Visited, Not Answered, Answered, Marked for Review, Answered & Marked for Review …
- Very specific: line 66
Run whenever the learner asks *"Am I ready?"*, *"Predict my score"*, or *"Pre-Mortem Shield"* (prefers MCP synt_readiness.
- Very specific: line 87
Use for high-centrality / bottleneck nodes ("Viva defense <topic>" or when synt_next_move flags transfer_verify anti-inflation):
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Exam Simulator — Timed Mastery Assessments, Offline/Live CBT & 3-Bucket Autopsy
Untimed study builds comprehension (Phase 1); timed simulation builds retrieval speed, calibration under uncertainty, partial-credit judgment, and 2-pass triage (Phase 2) across any domain (university midterms/finals, CS/ML technical screens, math/science tests, AND authentic NTA JEE Main & Advanced CBT):
- Mode A — Timed CBT HTML (
exams/<slug>.html): zero-distraction browser exam with 5-state palette, per-question stopwatch, offline LaTeX rendering, Light/Dark themes, 1-click live auto-save & grading undersyntopik serve(POST /api/exam/submit), and 100% offlinefile://Attempt JSON export +exam_runner.py grade. - Mode B — Live AI-Coached Micro-Assessment (
3–5Questions Right in Chat): rapid 10–15 minute timed sprint or post-examR0–R5miss repair directly inside your harness.
(Portable CLI: prefer syntopik run exam_runner ... in attached repos, or .venv/bin/python -B scripts/exam_runner.py ... / python3 scripts/exam_runner.py ... in direct clones.)
Mode A — Timed Exam / CBT Workflow
Phase 1 — Author a 100% Verified spec.json
Inspect the schema anytime:
syntopik run exam_runner schemaMandatory Pre-Compile Verification (Zero Unverified Keys!):
- CS / Algorithms / ML: verify outputs, edge cases, and time/space complexity via
code_verify.py. - Mathematics & Physics: verify via
math_verify.py(andeduniti_pyq.pywhen pulling real JEE PYQs). - Chemistry: verify via
chem_physical.py,chem_3d.py, andorganic_reagents.py. - Inline Figures: render diagrams/circuits/plots/structures as local
.svg/.pngfiles (physics_draw,circuit_draw,math_plot,chem_3d) and pass inquestion.figure—exam_runner.py buildembeds them inline soexams/<slug>.htmlworks 100% offline.
Supported Question Types & Marking Profiles (6 Types, Configurable Per Exam/Question)
type | General Course / CS / USMLE Profile | Official 2024–2026 JEE / GATE Profile | Spec Fields |
single_correct | +1 / 0 or +4 / -1 | JEE Main +4 / -1 / 0; JEE Adv +3 / -1 / 0 | options: [{id:"A", text:"...", whyWrong?, trapCategory?, confusedWith?}], answer: "B" |
multi_correct | proportional or strict_all_or_nothing | JEE Adv MSQ (jee_adv_msq: +4/+3/+2/+1/0/-2) or GATE MSQ (gate_msq: +2/0) | markingProfile, options: A..D, answer: ["A","C","D"] |
numerical | Exact/tolerance +4 / 0 | JEE Main Sec B (+4 / -1 / 0); JEE Adv / GATE NAT (+4/0 or +3/0) | answer: 4.5, tolerance: 0.01, marksWrong: 0 or -1 |
matrix_match | Per-row partial credit or NBME EMQ (4–8 cols) | Per-row partial (grid) or List-Match 4-option codes (code_options) | matrixMode, rows, cols, rowExplanations, answer: {"P":["1","3"]} |
assertion_reason | Dual-statement causal-link traps (4opt/5opt) | Auto-populated canonical A..D/E + deterministic arErrorKind (causal_link_trap, truth flips) | assertion, reason, arVariant, causalLinkExplanation, answer |
vignette_stem | Shared clinical case, passage, data table, or system-design stem | Inline subQuestions[] or top-level spec.vignettes[] (q.vignetteId) + vignetteBreakdown | vignettes[] or inline stem/figure/subQuestions[] |
Always populate id, subject, chapter, propId (enables automatic FSRS good credit on hits + again scheduling on misses!), stem, solution, trapNote, optional per-option whyWrong/distractorReasons (sealed pre-submit via strip_presubmit_bundle() and revealed post-submit as Why-Wrong Distractor Autopsy!), and trapCategory (concept_gap, misconception, sign_error, unit_trap, condition_missed, algebra_slip, diagram_misread, careless, time_pressure, edge_case_missed, complexity_trap, off_by_one, state_mutation_bug).
Phase 2 — Compile & Launch (1-Click Live Auto-Save or Offline file://)
syntopik run exam_runner build /tmp/<slug>-spec.json --out exams/<slug>.html- 5-State Palette & Optional Calm Telemetry: Not Visited, Not Answered, Answered, Marked for Review, Answered & Marked for Review (EVALUATED!), plus optional 4-pill confidence bar (
25%..95%), option strike-through (eliminated[]),blindChapterLabelsmasking, and a dismissible Pre-Mortem Shield pre-flight banner. - Numeric Keypad & Timer: on-screen keypad + keyboard input (no calculator in official JEE 2024–2026),
<15mamber /<5mred alerts, per-question stopwatch, andlocalStorageauto-save. - Live 1-Click Auto-Save (
syntopik serve --open): submittingexams/<slug>.htmlPOSTs to/api/exam/submit, runs deterministic grading + EV-skip audit + distractor autopsy, logsexam-attempts.jsonl+mistakes.jsonl, updates FSRS-6 + FIRe +learner_model, and shows"Graded & Saved to Knowledge Graph ✓". Onfile://,"Download Attempt JSON"+ offline sealed distractor autopsy remain 100% functional.
Phase 3 — Deterministic Grading, EV-Skip Calibration & 3-Bucket Autopsy
syntopik run exam_runner grade <spec.json> <attempt.json> --json(Pass --kg-dir /tmp/... --no-sync in tests so real ledgers stay untouched!)
Automatically performs in-process:
- Exact Scoring + Bidirectional FSRS Sync: awards
goodcredit on every correctly solvedpropId(propagating FIRe credit + responseconfidencetosrs_engine&learner_model) and schedules missedpropIds with--rating again, logging option-leveldistractorAutopsytraps intomistakes.jsonl. - Expected-Value (EV) Skip Calibration (
evCalibration): evaluates exact break-even threshold $p_{\text{be}} = (P + U)/(B + P)$ (e.g.,0.20for+4/-1,0.25for+3/-1), reportingnegEvGamblesCount,marksLostToNegEv,underconfidentSkipsCount,marksLeftOnTable, andevDisciplineScore(0..100). - 3-Bucket Exam Autopsy & 3-Strike Escalation: splits misses into
knowledge,execution, andtime_sink(egoTraps), plusvignetteBreakdownand 3-strike escalations queuing a Surgical Bug-Hunt (practice-drill) + 4-day blank-sheet retest.
Mode D — Exam-Day Readiness Forecaster, <= 72h Taper & Pre-Mortem Shield (v3.2)
Run whenever the learner asks "Am I ready?", "Predict my score", or "Pre-Mortem Shield" (prefers MCP synt_readiness; CLI fallback below):
syntopik readiness [--exam-date YYYY-MM-DD] [--subject <S>] [--max-marks N] [--premortem-only] --json- Fuses FSRS-6 projected retention $R(t_{\text{exam}}, S)$, 4-tier Evidence depth, syllabus coverage, Blunder Fork clearance, and timed EV discipline into
readinessIndex(0..100), Bayesian-shrunkpredictedScorePct, top-3 ROItopLevers(roiMarksPerHour),<= 72htaperMode(allowNewConcepts: false, sleep floor), and a non-fabricated 3-bullet Gollwitzer If-Then Pre-Mortem Shield (returnsbullets: []on empty cold-start logs — never invents filler traps!).
Phase 4 & Mode B — Calm Surgical Debrief & Live In-Chat Micro-Sprint
- Concise Debrief (
<= 160words — Never Lecture Walls of Text!):- Lead with
score / maxScore (%),accuracyPct, negative marks surrendered, and the 3-Bucket split (Knowledge/Execution/Time-Sink) + any 3-Strike Escalations. - Map each bucket cleanly: Knowledge → interleaved discrimination/Parsons drills; Execution → pre-submit invariant/unit/edge-case checks; Time-Sink → 2-pass triage cutoff.
- Offer 1 clear next move: live
R0–R5non-spoiling repair on top2–3misses (synt_practice_card+ Pause Law), a 3-strike Surgical Bug-Hunt, OR a 1–2p Typst Pitfall PDF (mistake_analytics export-traps→cheatsheet_pdf build).
- Lead with
- Live Micro-Sprint (
3–5Verified Questions in Chat):- Pose 1 verified question per turn (
synt_quiz_card, native question tool, or calm Markdown card with"I don't know"= skip for0marks), track cumulative score & pacing, sync hits (good) & misses (again) tomistakes.jsonl+srs_engine.py, and repair the #1 leak.
- Pose 1 verified question per turn (
Mode C — 5-Turn Adversarial Viva Voce Defense Chamber & 4-Tier Evidence Ledger (v3.0)
Use for high-centrality / bottleneck nodes ("Viva defense <topic>" or when synt_next_move flags transfer_verify anti-inflation):
syntopik run viva_chamber start <propId> --json
syntopik run viva_chamber turn <sessionId> --response "<learner defense>" --confidence 0.80 --json
syntopik run viva_chamber status <sessionId> --json- 5-Turn Structured Defense (
knowledge-graph/viva-sessions.jsonl):- Turn 1 — Commitment Claim: pins the learner's initial claim in the Turn-1 Commitment Ledger.
- Turn 2 — Boundary Perturbation: tests edge/regime limits from
boundaryConditions[]/ premises. - Turn 3 — Assumption / Anti-Pattern Attack: probes real failure traps from
mistakes.jsonl/chains.jsonl. - Turn 4 — Transfer Perturbation: tests downstream or novel-regime consequences.
- Turn 5 — Sharpened Synthesis: reconciles Turn 1 with Turns 2–4 (auto-checked by
contradictionCheck!).
- 4-Tier Epistemic Evidence Ledger (
T1–T4,syntopik/evidence.py):- T1: assisted / recognized · T2: unaided recall/quiz · T3: verified transfer (
Counterexample Arena,Derivation Blackout, timed CBT) · T4: structural defense (Adversarial Viva >= 0.75,Axiom-Cut Surgery, unassisted synthesis). - Passing Viva (
>= 0.75acrossclarity,boundary_awareness,transfer,calibration) awards T4 evidence; critical boundary collapse demotes a fragilesolidnode back toshakyimmediately so mastery never inflates!
- T1: assisted / recognized · T2: unaided recall/quiz · T3: verified transfer (
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

