Building a Systematic SNAP Benefits LLM Evaluation Framework

propel · Government · 2025 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.4 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Public benefits and safety-net services

Propel needed a domain-specific LLM evaluation approach for SNAP questions because general model evals under-cover high-stakes public-benefits nuance and bad answers can materially harm low-income users.

Constraints:

Architecture

Propel's SNAP eval approach starts with a domain expert using many models, noting nuanced good/meh/bad responses, and turning those observations into automated question/answer tests. The eval compares foundation models, prompts, and context/document configurations, can use model-judges for harder semantic checks, and is intended to inform routing, guardrails, and safer product development.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  snap-domain-expert[SNAP Domain Expert] --> hydra-slackbot[Hydra Slackbot]
  hydra-slackbot --> foundation-models[Foundation Models]
  snap-domain-expert --> eval-test-cases[Eval Test Cases]
  policy-context[Policy Context] --> foundation-models
  policy-context --> eval-test-cases
  foundation-models --> eval-test-cases
  eval-test-cases --> llm-judge[LLM Judge]
  eval-test-cases --> routing-and-guardrails[Routing and Guardrails]
  eval-test-cases --> public-eval[Public Eval]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
SNAP Domain Expert Human judge who knows benefits nuance and identifies what counts as helpful, harmful, or incomplete. Hydra Slackbot, Eval Test Cases, Foundation Models
Hydra Slackbot Internal Slackbot for prompting multiple frontier models and comparing their answers. SNAP Domain Expert, Foundation Models
Foundation Models OpenAI, Anthropic, Google, open-source, and search-generated answers compared on SNAP tasks. Hydra Slackbot, Eval Test Cases, Policy Context
Policy Context Federal law, federal regulations, state policy manuals, and other documents supplied to model variants. Foundation Models, Eval Test Cases
Eval Test Cases Question/answer pairs and semantic criteria codifying SNAP accuracy, helpfulness, fallback, and risk requirements. SNAP Domain Expert, Foundation Models, LLM Judge
LLM Judge Potential flexible evaluator for checking whether outputs substantively satisfy harder criteria. Eval Test Cases
Routing and Guardrails Product decisions informed by eval results, such as model routing, topics needing extra guardrails, and mitigation of harmful output. Eval Test Cases, Foundation Models
Public Eval Planned public-good subset of representative SNAP tests for model researchers and other domains. Eval Test Cases

Data flow

A SNAP domain expert explores frontier models directly or through Hydra, records nuanced failure modes such as asset-limit answers, converts representative prompts into eval test cases, compares model/prompt/context configurations, and uses results to decide routing, guardrail topics, and product-design choices for SNAP users.

4 supporting quotes
“Specifically, we have had a SNAP domain expert using the models. (Spoiler alert: it was me.) I am far from the foremost domain expert in SNAP rules, but I know enough about the weeds of ABAWDs, the SUA, IPVs, QC, and a litany of other acronyms to be able to be a first-pass judge of output.”article, stated
“I also built a small internal tool I call Hydra — a Slackbot that lives in a channel and which anyone can prompt in Slack and get back responses from multiple frontier language models”article, stated
“Just using the models and taking notes on the nuanced “good”, “meh”, “bad!” is a much faster way to get to a useful starting eval set than writing or automating evals in code.”article, stated
“As long as our question/answer pairs are accurate, we can test lots of different approaches, and quickly. For example, we might test three different ways of getting a model to answer SNAP policy questions: 1. Asking a model without giving it any additional documents”article, stated

Why this architecture

Propel treats evals as test-driven product infrastructure: domain experts first discover what good answers require, then automated tests compare models, prompts, and document-context strategies so high-stakes product choices can be empirical rather than vibe-based.

3 supporting quotes
“The point of building an eval is to make our assessment of AI's capabilities on SNAP topics an empirical (testable) question.”article, stated
“We need an eval to test the effects of different approaches here without having to assess output manually. (Or, worse, rely on inconsistent, subjective, “vibe check” assessment of output. [3])”article, stated
“> The boring yet crucial secret behind good system prompts is test-driven development. You don't write down a system prompt and find ways to test it. You write down tests and find a system prompt that passes them.”article, stated

Models used: OpenAI · Anthropic · Google · Llama · Deepseek · ChatGPT · Claude · Gemini · o1-mini

Scale

Alternatives considered (roads not taken)

Relying on broad public model evaluations

Rejected because: SNAP is a niche safety-net domain unlikely to be covered deeply by general AI evaluations.

“Unlike broader problem domains that carry a strong natural incentive to have evals created for them — things like general logical reasoning, software programming, or math — a niche like SNAP is unlikely to have significant coverage in existing evaluations. [2]”article, stated

Manual vibe-check assessment of model output

Rejected because: The eval should let Propel test many models, prompts, and contexts without inconsistent subjective assessment.

“We need an eval to test the effects of different approaches here without having to assess output manually. (Or, worse, rely on inconsistent, subjective, “vibe check” assessment of output.”article, stated

Simple keyword checks for semantic requirements

Rejected because: Checking for words like eliminated or BBCE may mislabel answers; semantic model judging may be needed.

“This could be done easily in code, but you can imagine how that implementation might mislabel some answers as good or bad.”article, stated

Including all federal and state policy documents by default

Rejected because: The article explicitly notes that all federal policy might confuse the model more than a state manual alone.

“including all of the federal policy generates more errors because it confuses the model. Including only a state policy manual may turn out to score higher on correct answers”article, stated

Patterns

eval-driven-development (evaluation)

Propel starts with domain-expert model exploration and converts nuanced failures into reproducible eval tests before building products on top of models.

“You don't write down a system prompt and find ways to test it. You write down tests and find a system prompt that passes them.”article, stated

llm-as-judge (evaluation)

For semantic checks that cannot be reduced to a word match, Propel proposes using a model to evaluate another model's answer.

“That’s harder. How do I write code to check that in a string? That’s where we could use a language model to evaluate another model’s output.”article, stated

model-routing (inference)

The eval can identify where cheaper/faster models are good enough for a class of SNAP questions and route traffic accordingly.

“We can route income-specific questions to the cheaper, faster model.”article, stated

safety-policy-enforcement (safety)

The eval codifies risky SNAP edge cases and identifies topics/forms of harmful output that require guardrails.

“By codifying our deeper knowledge of SNAP’s riskier edge cases and the scale of the adverse outcome for users into an eval”article, stated

confidence-thresholding (safety)

The article frames production confidence around knowing and filtering the small set of failure cases that remain after high eval performance.

“This is especially true if we understand how to consistently identify and filter the 1% failure cases.”article, stated

Tradeoffs

Starting point for eval construction

Chose Domain expert exploration before code automation over Immediately writing automated tests.

Rationale: The domain expert can discover nuanced good, bad, and ambiguous answers faster by using models directly first.

“Just using the models and taking notes on the nuanced “good”, “meh”, “bad!” is a much faster way to get to a useful starting eval set than writing or automating evals in code.”article, stated

Model selection and routing

Chose Use eval results to route cheaper/faster models when they perform well over Use the most expensive or most capable model for every SNAP question.

Rationale: SNAP-specific evals can identify narrow task classes where latency and cost can be improved without sacrificing quality.

“a cheaper, faster model is as good with SNAP income eligibility questions as a more expensive, slower model.”article, stated

Context strategy

Chose Evaluate state manuals alone versus state plus federal sources over Assume all potentially relevant documents should always be retrieved.

Rationale: The team explicitly expects that too much federal policy context may confuse answers in some cases.

“Asking a model without giving it any additional documents 2. Giving a model a state SNAP policy manual 3. Giving a model a state SNAP policy manual and SNAP’s federal statutes and regulations”article, stated

Public-good sharing

Chose Publish representative portions of the SNAP eval over Keep all eval cases private to Propel.

Rationale: Public tests could help all models improve on SNAP knowledge and help adjacent safety-net domains build evals.

“By publicly sharing the portions of our SNAP eval that are more universally representative of "good" beyond our specific usage”article, stated

Gotchas (what bit them)

Technically correct SNAP answers can still be practically harmful or misleading.

Root cause: SNAP rules include state-level policy options and practical navigation nuance; federal asset limits alone omit the fact that most applicants face no asset limit.

Resolution: Use domain-expert eval criteria that require both strict accuracy and practical helpfulness.

“A good answer to this question must include this critical nuance — that for most people, assets won’t affect your eligibility.”article, stated
“Strict accuracy needs to be balanced against providing information that actually helps people navigate SNAP.”article, stated

Keyword-based evals can misclassify answers that satisfy or miss a semantic requirement.

Root cause: The word eliminated or BBCE is only a proxy for the actual requirement that most states do not apply asset limits.

Resolution: Use a semantic check, potentially LLM-as-judge, for claims that require substantive meaning rather than exact keywords.

“This could be done easily in code, but you can imagine how that implementation might mislabel some answers as good or bad.”article, stated

More source context can make policy answers worse rather than better.

Root cause: Federal policy mixed with state policy may confuse the model in some SNAP policy-answering setups.

Resolution: Evaluate context strategies separately instead of assuming more documents always improves answers.

“including all of the federal policy generates more errors because it confuses the model.”article, stated

Domain experts and AI researchers rarely overlap in niche public-benefits domains.

Root cause: SNAP experts are typically in government, legal aid, or benefits organizations rather than AI research labs.

Resolution: Publish representative domain evals and share methodology so models improve on under-covered high-impact domains.

“the overwhelming majority of SNAP experts are employed by organizations generally quite unlikely to cross-pollinate with AI researchers.”article, stated

Evaluation

The work itself is an evaluation design: domain-expert exploration, model comparison, SNAP-specific question/answer pairs, semantic criteria for practical helpfulness, potential LLM-as-judge grading, and experiments over models, prompts, and context documents.

Metrics: Strict factual accuracy · Practical helpfulness · State-specific nuance · Safe fallback behavior · Model comparison by topic · Cost and latency tradeoffs · Failure-case filtering

3 supporting quotes
“It measures how well a model performs on the dimensions you care about.”article, stated
“Generally people think first of accuracy. And accuracy is important in most scenarios but, as we’ll discuss, there are dimensions beyond strict accuracy”article, stated
“Strictly reading the question vs. understanding the intent of the question yields different information”article, stated

Outcomes

This is part 1 of a series; it reports methodology and examples, not production performance metrics.

“This is the first write-up in a series about our process of building an "eval" — evaluation — to assess how well AI models perform on prompts related to the SNAP”article, stated
“the mechanics of actually implementing our SNAP eval cases (both for accuracy and for dimensions beyond that)”article, stated