Work sample · AI tool

AI Quiz Generator

Most AI quiz tools fill the wrong answers with random filler, so a wrong pick tells you nothing. I built one that maps the content first, then writes every wrong answer around a real misconception. When a learner misses a question, you know exactly what to reteach.

Built withPython · Claude API · Streamlit
ExportsMoodle GIFT, CSV, Markdown
Quality checksAI rubric + 20+ rule checks
My roleDesign and development
Interactive demo

See what it made from a real lesson

This is real output from the tool, run on the source text of my Using AI Assistants at Work course. Click through the three stages. A couple of the questions have flaws on purpose, so you can watch the review catch them.

Source: Using AI Assistants at Work · Audience:

The AI pulls out the key concepts, what each one builds on, and the mistakes learners commonly make. Click a concept to see its misconceptions.

    ConceptNo question yet (coverage gap)Arrows point from a concept to what builds on it
    How it works

    Four steps, one human in the loop

    01

    Map

    Objectives, concepts, prerequisites and misconceptions, drawn as a graph. An SME can edit the map before any questions are written.

    02

    Write

    Questions follow prerequisite order and lean toward apply and analyze. Every wrong answer targets one misconception.

    03

    Review

    An AI rubric and rule-based checks review every question. Anything both of them flag gets fixed first.

    04

    Export

    Moodle GIFT, CSV for bulk upload, Markdown for SME review, or the full project to reload later.

    Design decisions

    Why it's built this way

    Grounded in learning science

    • Diagnostic distractors: a wrong answer tells you what the learner believes, not just that they missed it.
    • Prerequisite mapping: concepts get tested after the ideas they depend on, and gaps in coverage show up on the map.
    • Feedback on every option that speaks to the specific misconception, without shaming.
    • Item-writing rules built in: no "all of the above," no length giveaways, negatives in caps, a balanced answer key.

    Doesn't trust the AI blindly

    • Structured output: every AI response is validated against a schema, and errors get sent back for a retry.
    • Two reviewers: an AI grading an AI misses things, like a key that's "b" five times in a row. Plain code catches those every time.
    • Human checkpoint: the concept map is editable before questions are written. That's where the SME belongs.
    • Tested: 44 automated tests run on every change to the code.
    Assessment designKnowledge modelingMisconception analysisRubric designBloom's taxonomyAI output evaluationPrompt engineeringPythonClaude APIMoodle GIFT

    The demo above is real output saved from the tool, so it loads instantly. The live version generates from any content you paste in. If it's been idle it may take about 30 seconds to wake up.