Skip to content

Add the JRC Seville deck: Harness engineering for policy modeling - #122

Merged
MaxGhenis merged 5 commits into
mainfrom
seville-jrc-2026
Nov 25, 2026
Merged

MaxGhenis merged 5 commits into
mainfrom
seville-jrc-2026

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Adds Max Ghenis's talk at the JRC workshop "Building blocks for future economic analysis and modelling: the role of AI" (Seville, 23 November 2026): Harness engineering for policy modeling. Once merged, it lives at policyengine.org/slides/jrc-seville-harness-2026.

What's in it

slideshows/jrc-seville-harness-2026 holds the deck as presented (29 slides, 37 steps), with these changes for readers who see it without the talk.

The encoder walkthrough shows eight steps. The talk showed five of the eight steps of axiom.org's walkthrough.

  • Steps 1, 2, 3, 5 and 7 frame axiom.org/present/encoder live.
  • Steps 4, 6 and 8 show figures drawn in this deck, marked "Adapted from axiom.org":
    • Step 4, the checks. Drafting, the checks and applying sit on one rail, with a way back after a failed check. AI review and program comparison sit apart, with no pass mark. The figure says the workflow is an illustration, and gives the manual repair in the published manifest and the validation waiver.
    • Step 6, the rule graph. Net income comes from 7 U.S.C. § 2014(d) and (e). The household maximum allotment feeds the allotment before the minimum ($182), and the one-person thrifty food plan cost feeds the minimum allotment ($24). The two run separately into the regular monthly allotment, the greater of them.
    • Step 8, the uses. AI, government, navigation and research tools appear as potential uses of the same rules.
  • Encoder walkthrough: three drawings say more than the encoder does TheAxiomFoundation/axiom.org#422 tracks the matching fix to axiom.org's own drawings of those three steps.
  • Each build provides a visually hidden title and explanation in a polite live region. The frame and the figures are hidden from screen readers.

The survey chart names each row's benchmark and year.

The PolicyBench slide cites its pilot. Its second build prints, in small type, that the pilot's tool runs PolicyEngine, which also computes the reference answers, and links the pilot's note: policybench.org/notes/2026-10-20-given-a-policyengine-tool-three-models-score-above-99.

Nine images under public/images/jrc-seville-harness-2026/:

  • cbo-2012-table-1.png
  • dashboard-calibration-error-map.png
  • macro-models.png
  • sspp-bulletin-top.png
  • thesis-snap-forecast.png
  • thesis-spm-conditional-top.png, thesis-spm-conditional-pe-call.png, thesis-spm-conditional-arithmetic.png
  • thesis-stronger-start-spm.png

Outside the deck's folder:

  • lib/slideshows.ts registers the deck.
  • One line in components/core/SlideshowViewer.tsx and a rule in app/globals.css hide the Next.js dev overlay in export captures.

Checks

bun run typecheck, eslint and vitest run (15 files, 480 tests) pass locally.

  • walkthrough.test.tsx checks the captions and figures: eight steps in order, a figure at steps 4, 6 and 8, no pass mark on AI review or program comparison, and graph values that follow from one another (30% of $386.50 is $115.95; $298 less $115.95 rounds down to $182; 8% of $298 rounds to $24).
  • slides/EncoderWalkthroughSlide.test.tsx steps a mounted viewer through the eight builds and checks that the live region starts empty and takes each caption.

Follow-ups that change nothing the deck says: #124.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
policyengine-slides Ready Ready Preview Nov 25, 2026 3:58am UTC

Request Review

Max Ghenis's talk at the JRC workshop "Building blocks for future economic
analysis and modelling: the role of AI" (Seville, 23 November 2026), at
/slides/jrc-seville-harness-2026: 29 slides on testing the AI agents that
help build our rules, data, response models, forecasts and answers.

The encoder walkthrough has eight builds. Five frame axiom.org's walkthrough
live. Three show figures drawn in this deck, adapted from axiom.org: the
encoder's checks, the rule graph for 7 U.S.C. § 2017(a), and the potential
uses of the same rules. Each build keeps its caption in a polite live region
for screen readers.

Outside the deck's folder: lib/slideshows.ts registers the deck, and one
line in SlideshowViewer with a rule in globals.css hides the Next.js dev
overlay in export captures.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…A inputs

- The walkthrough's live region now stays in the page, empty, and takes each
  caption after the slide comes up and at each build, so a screen reader
  announces the first caption too. A test steps a mounted viewer through the
  eight builds.
- The rule graph draws the household maximum allotment and the one-person
  thrifty food plan cost as separate inputs: the allotment before the minimum
  reads the first, the minimum reads the second. The two share a value only
  in a one-person case.
- The captions for the graph and the uses now give every value and line the
  figures draw.
- Each row of the survey chart names its benchmark.
- The figures' lines and small type meet a higher contrast.
- Build counts move to a plain data file, so the server counts the deck's 37
  steps.
- The PolicyBench source link no longer advances the deck when clicked.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On the first build the hidden source line now takes no click, focus or key,
so a link that kept focus cannot open from a build that does not show it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Program comparisons run on selected outputs, where another calculator
  covers them: each comparison suite names the outputs it compares.
- The section 2017(a) rules carry source citations and effective dates. Some
  rules elsewhere in the repository carry neither.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis marked this pull request as ready for review November 25, 2026 20:29
@MaxGhenis
MaxGhenis merged commit ef6294c into main Nov 25, 2026
5 checks passed
@MaxGhenis
MaxGhenis deleted the seville-jrc-2026 branch November 25, 2026 20:34

This branch was successfully deployed

1 active deployment
Preview – policyengine-slides — 742e2f48 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant