Syllabus · single credit · 16 contact hours
Computational Thinking and AI in Law.
1 · About the course
What it is
Computational Thinking and AI in Law is a single-credit, 16-hour course that introduces students to the foundational concepts required to understand, evaluate and responsibly use artificial intelligence — with particular emphasis on large language models and their applications in legal education and practice.
The premise is simple: the cognitive biases, statistical fallacies and reasoning errors that distort human judgment also shape what an AI produces, because it learned from us. One set of skills therefore catches both — and tells you when an answer can be relied on, and when it must be verified.
Every session is half instruction and half practice. Sixty minutes introduce the idea, run it as a live experiment on the class, and demonstrate it on a real model; the remaining thirty minutes are a guided hands-on segment.
2 · Eligibility, fee and evaluation
Who can take it, and on what terms
Eligibility
Open to students from both law and non-law disciplines. The course is designed for a mixed cohort of law and non-law students, with interdisciplinary interaction forming an integral part of the learning process.
Dates and fee
Dates and fee are confirmed for each cohort and announced before enrolment opens.
Evaluation
The course closes with a dedicated 60-minute evaluation session, taken live. Graded work rewards judgment, verification and process over raw model output.
3 · Course structure
16 hours: 8 core sessions, 2 expert conversations, 1 evaluation
The course comprises 16 hours: 8 core sessions of 90 minutes each — 60 minutes of instruction and a 30-minute hands-on segment — followed by 2 Conversations with Experts of 90 minutes each, led by professionals from relevant practice backgrounds, and a 60-minute evaluation session.
| Block | Shape | Hours |
|---|---|---|
| Core sessions | 8 × 90 min (60 taught + 30 hands-on) | 12 |
| Conversations with Experts | 2 × 90 min | 3 |
| Evaluation | 1 × 60 min | 1 |
| Total | 16 |
The eight core sessions follow a cumulative arc in four phases of two. They begin by decoding confident claims and then opening the black box, so that the machine's failures can be predicted rather than merely listed (Sessions 1–2); move to computational thinking as the way to direct an AI system precisely (Sessions 3–4); turn to verification — tracing claims to origin, treating provenance as a legal question, and drilling the authority check (Sessions 5–6); and close by applying all of it to legal work and to the professional duties that make verification mandatory (Sessions 7–8).
01 · Sessions 1–2
Decode the claim and the machine
Evaluate any confident claim — a person's, a statistic's, a chatbot's — then open the black box, so every failure mode that follows is one you can predict rather than memorise.
02 · Sessions 3–4
Direct the machine
The four pillars of computational thinking, taught as prompt-craft: decompose, recognise patterns, abstract, and give the model a procedure.
03 · Sessions 5–6
Verify everything
Trace a claim to its origin, treat provenance as the legal question it is, and drill the four-step authority check until it is automatic.
04 · Sessions 7–8
Apply it to law
Long judgments, doctrine and comparison — then the professional duties that make verification mandatory rather than advisable.
Note on format
Every session runs 90 minutes in two halves. The first 60 minutes are built around a four-step “mirror” pattern: an experiment run live on the class; an explanation of how the same effect shows up in an AI model; a live demonstration on a real chatbot; and a concrete, named takeaway skill. The final 30 minutes are a guided hands-on segment on the students' own laptops, with a timed run of show, a fixed deliverable and a verification checklist.
How a session runs4 · Learning outcomes
By the end of the course, students will be able to
- 01
Distinguish between a statement, a fact, data, evidence and proof — and apply that scrutiny to any claim, human or AI-generated.
- 02
Explain in plain terms what a language model does, and derive from that mechanism why hallucination, sycophancy, noise and inherited bias occur — including automation bias, the tendency of professionals to over-defer to a confident machine.
- 03
Communicate with AI systems through structured, precise prompts grounded in decomposition, abstraction, pattern recognition and algorithmic thinking.
- 04
Distinguish a generative tool from a retrieval-grounded one, choose between them on provenance rather than fluency, and run the four-step authority check — exists, says that, still good law — as a habit.
- 05
Verify AI output and AI-flooded content before relying on it, and state what would be required to authenticate an electronic record in an era of synthetic media.
- 06
Use AI responsibly for legal research and analysis — summarising long judgments, tracing doctrine, comparing authorities — while independently verifying every citation and claim it produces.
- 07
Apply the professional duties that AI use engages — competence, candour to the tribunal, confidentiality and privilege, supervision and disclosure — and produce a verification trail that would survive scrutiny.
5 · Session-wise outline
The eight core sessions
Each session's aim and content, as proposed. Open any session for the full plan — objectives, the live experiments, the hands-on work, and the sources.
- 01
Session 1 — How Not to Be Fooled (by Your Brain or Your Chatbot)
The opening hour hands you the course's master decoding tool — the Ladder of Misinference: statement → fact → data → evidence → proof — and demonstrates, on the room itself, that the cognitive shortcuts which mislead human judgment are the shortcuts that mislead a large language model.
- System 1 vs. System 2 thinking; anchoring and priming
- The Ladder of Misinference as a tool to interrogate any confident claim
- Why identical fact patterns can produce wildly different human judgments (judicial sentencing variability as a live example)
- How the same anchoring effects that sway juries and judges also sway an AI model's estimates
- The Indian stakes: cost orders, a recalled tribunal order, and a Supreme Court warning about fake AI-generated judgments
- 02
Session 2 — Inside the Machine — How It Learns, and Why It Must Get Things Wrong
Session 2 opens the black box, and it opens it early — because everything the rest of the course teaches is derivable from one mechanism.
- Training data, patterns and prediction — what a model actually does, and what it never does
- Why hallucination is structural: it knows the shape of a citation, not the contents of any database
- Why the same prompt gives different answers (sampling), and why it agrees with you (helpfulness training)
- “Garbage in, garbage out” and algorithmic bias — COMPAS, State v. Loomis, and the recruiting model that learned to prefer men
- Automation bias: the human half of the failure, and the one the profession keeps paying for
- Knowledge cutoffs, generative versus grounded tools, and what “reasoning” models do and do not change
- 03
Session 3 — Thinking Like a Computer I — Decomposition & Pattern Recognition
Session 3 introduces the first two pillars of computational thinking as directly transferable prompt-craft.
- Decomposition: breaking a large, ambiguous task into sub-tasks a model can execute reliably
- Multi-step and staged prompting, with every stage as a checkpoint
- Pattern recognition applied to the tool: what a model is systematically good and bad at, and why
- Pattern recognition applied to the task: precedent-analogy as pattern matching
- Few-shot prompting and teaching a model by example
- 04
Session 4 — Thinking Like a Computer II — Abstraction & Algorithm Design
Session 4 completes the four pillars.
- Abstraction: stripping a request to what actually matters
- The specification template — role, task, context, constraints, format
- Algorithm design: giving a model a precise, ordered procedure
- Chain-of-thought prompting, and why visible working is checkable working
- Iteration discipline: explore variants, then exploit the winner
- 05
Session 5 — Truth, Provenance and Synthetic Evidence
Session 5 turns the decoding skills of Sessions 1 and 2 into a repeatable verification routine, and then puts that routine to work on the problem synthetic media has created for the profession.
- The SIFT method — Stop, Investigate the source, Find better coverage, Trace the claim to its origin
- Lateral reading as a verification habit, and the emotional spike as a signal to slow down
- Deepfakes and synthetic media: how they are made and why they persuade
- The confidence gap, and the liar's dividend that follows from it
- Authentication as doctrine: electronic records, the certificate regime, provenance and chain of custody
- 06
Session 6 — Grounding the Machine — Retrieval, Tools and the Authority Check
Session 6 is the craft session that makes the rest of the course operational.
- Generative versus grounded: composing an authority versus fetching one
- What retrieval actually does, in plain terms — and what it fixes and does not fix
- The strongest move in legal AI: supply the document and ask questions about it
- The four-step authority check — exists, says that, still good law, and the step everyone skips
- Choosing tools by provenance; where AI genuinely accelerates legal work and where it introduces risk
- 07
Session 7 — AI and the Law I — Judgments, Doctrine and Comparative Analysis
Session 7 is where the computational-thinking skills of Sessions 3 and 4 meet a real problem of legal research: reading long, multi-issue, multi-judge judgments efficiently and accurately.
- Decomposing a lengthy judgment into issues, holdings and obiter before prompting for a summary
- Extracting the ratio with paragraph numbers; using the model as an index, not a substitute
- Tracing a doctrine across a line of cases, and verifying every link
- Where AI summarisation flattens: dissents, concurrences, per incuriam findings, distinguishing facts
- Comparative analysis — judgments, statutes and clauses side by side, and what it cannot see
- 08
Session 8 — AI and the Law II — Duty, Confidentiality and the Verified Work Product
The final core session closes the loop between everything the course has taught and the professional obligations that make it mandatory rather than advisable.
- The cases that drew the line, read as one pattern of a single skipped step
- Competence, including understanding the tool's failure modes
- Candour to the tribunal: you certify what you file
- Confidentiality, privilege and data protection: what a public model does with what you paste into it
- Supervision, disclosure, and the verification trail
- Where the regulation is heading — and why agentic AI raises the stakes
6 · Conversations with Experts and the evaluation
The closing four hours
The closing four hours
Two conversations with practitioners, then the evaluation.
Two 90-minute Conversations with Experts sit alongside the core sessions, each led by a different practitioner and tied to material the students have already been taught — so the conversation tests the frameworks rather than introducing a parallel syllabus.
Each runs as roughly 20 minutes of framed opening from the practitioner, 40 minutes of structured conversation against the course's own frameworks, 20 minutes of student questions prepared in advance, and a 10-minute named takeaway.
Speakers are confirmed with the host institution for each cohort; the two themes above are the recommended defaults and can be substituted.
Conversation 01 · 90 min
AI in practice
A litigator, in-house counsel or legal-technology lead on what has actually changed in the work: what they use, what they refuse to use, what went wrong, and what they now check before anything leaves the office.
Builds on Sessions 6–7 · speaker TBC
Conversation 02 · 90 min
AI, regulation and the bench
A judge, regulator or policy scholar on governance, evidence and where the rules are heading — including what a court does with an artefact nobody can authenticate.
Builds on Sessions 5 and 8 · speaker TBC
Evaluation · 60 min
A dedicated 60-minute evaluation session closes the course, taken in class.
Two parts. An applied audit: a fresh extract seeded with the three classes of authority failure — one fabricated, one that says something materially different, one no longer good law — to be verified against supplied sources. And short-answer questions on the course's frameworks: the Ladder of Misinference, the failure modes and their mechanism, the four pillars, the four-step authority check, and the professional duties. The paper rewards demonstrated verification and judgment over recall.
2 × 90 min + 60 min = 4 hours
7 · Assessment
How the work is graded
The course closes with a dedicated 60-minute evaluation session, taken live. Graded work rewards judgment, verification and process over raw model output.
Component
When
Weight
Note
Participation & the hands-on segments
Engagement across the live experiments, the commit-then-reveal polling, and the deliverable produced in each session's 30-minute hands-on half.
Legal Prompt Portfolio
Documented prompts, outputs and critique across a set of tasks — an issue list, a clause, a judgment summary, a counter-argument — demonstrating the four computational-thinking pillars and iteration discipline.
Hallucination Audit
The signature assignment: verify every citation and proposition in a seeded AI-drafted memo to source, catching all three classes of authority failure, and submit the audit report with its verification trail.
Evaluation session
The in-class 60-minute paper: an applied audit against supplied sources, plus short answers on the course's frameworks.
Capstone — a verified AI-assisted work product
A work product in the student's own discipline — a research memo or contract for law students; a research brief or policy note for others — produced with AI and shipped only after every citation and proposition is verified, with the verification trail and a short reflective account of process and ethics.
Rubrics across every component reward correctness of verification, soundness of prompt strategy, awareness of bias and sycophancy, ethical handling (confidentiality, candour, disclosure), and reflective insight. Each graded component carries an AI-use disclosure declaration — you are required to use AI, and required to disclose and verify it.
For the briefs, rubrics, and integrity notes behind each component, see the assessment detail .
Start with Session 1.
Every session lists its objectives, its live experiments, the hands-on brief and the sources it draws on.