EEOC charge intake

Fills in the intake record from an EEOC charge and its notice for the paralegal who logs them, quoting the line behind every field.

Fills in the intake record, quoting the line behind every field.

Latest run: all 400 fields right on 40 generated charges, with nothing made up. See the results

Latest run: all 400 fields right.

charge-000

Read by claude-sonnet-5-5 in 4.2 s for $0.0120.

0 of 11 decided
  1. 410-2026-10000

    Charge No. 410-2026-10000Page 199% sure

  2. Reese Underwood

    Charging Party: Reese UnderwoodPage 199% sure

  3. Northgate Industries Corp.

    Respondent: Northgate Industries Corp.Page 199% sure

  4. Atlanta District Office

    EEOC Office: Atlanta District OfficePage 199% sure

  5. Color, Sex

    DISCRIMINATION BASED ON: Color, SexPage 199% sure

  6. Discipline, Reasonable Accommodation

    I was issued written discipline for conduct that similarly situated employees engaged inPage 193% sure

  7. 2025-12-25

    Earliest 12/25/2025Page 198% sure

  8. 2026-07-09

    Latest 07/09/2026Page 198% sure

  9. No

    Box not marked on the form.90% sure

  10. 2026-09-23

    Date of Notice: 09/23/2026Page 199% sure

  11. The charging party alleges that, beginning around December 25, 2025 and continuing through July 9, 2026, they were issued written discipline for conduct that similarly situated employees engaged in without consequence. They also say their request for a reasonable accommodation was denied without discussion. They believe this was because of their color and sex.

    Paraphrased from the particulars; no single span.90% sure

1 page of extracted text
EEOC FORM 5 (11/09)
CHARGE OF DISCRIMINATION
Charge No. 410-2026-10000
EEOC Office: Atlanta District Office
Charging Party: Reese Underwood
City/State: Phoenix, AZ
Respondent: Northgate Industries Corp.
DISCRIMINATION BASED ON: Color, Sex
DATE(S) DISCRIMINATION TOOK PLACE: Earliest 12/25/2025 Latest 07/09/2026
THE PARTICULARS ARE:
1. I was employed by Northgate Industries Corp beginning before December 25, 2025. The conduct
described below began on or about December 25, 2025 and continued through July 09, 2026.
2. I was issued written discipline for conduct that similarly situated employees engaged in
without consequence.
3. I requested a reasonable accommodation and my request was denied without discussion.
4. I believe I have been discriminated against because of my color and sex, in violation of
applicable federal law.
  • JKmove
  • Aaccept
  • Eedit
  • Rreject
0 of 11 decided

Shipped, updated Nov 10, 2026. Built with Python, FastAPI, TypeScript, React and Plotly Dash. Code and documentation on GitHub.

Results

All 400 fields on 40 generated charges came back right, with no made-up values, at $0.0133 and 4.3 seconds a document.

The latest run: claude-sonnet-5-5, Nov 8, 2026. Every number here comes from the results files in the repository, written by a public workflow; costs use the provider's list prices.

Live runs, oldest first. Pick one to see its numbers.
  1. The prompt now says where issues come from

  2. Same setup, 200 documents instead of 40

400 of 400fields right

  • 0made-up values
  • $0.0133cost per document
  • 4.3 stime per document, typical

None wrong in 40 documents puts the share of documents like these with any field wrong under 7.2%, at 95% confidence.

The other measures of the fifth run, beside the fourth run
MeasureFifth runFourth run
Quotes that did not match the page0%0%
Fields wrongly left blank, per document0.000.00
Slowest 5% of documents, from6.2 s6.2 s
Cost of the run$0.53$0.53
Documents4040
How each number is measured
Fields right
40 generated documents, ten scored fields each, compared with the known answers. Every one was right, which puts the share of documents like these with any field wrong below 7.2% at 95% confidence.
Quotes that did not match the page
Fields the model filled with a quote that was not on the page it cited. They are removed before anyone sees them.
Made-up values per document
Fields filled in when the document had no value for them.
Fields wrongly left blank, per document
Fields left empty when the document did have the value.
Seconds per document, typical
The median of one model call per document. The slow end, the 95th percentile, was 6.2 s.
Cost per document
At the provider's list prices on Oct 15, 2026. The whole run cost $0.53.

An arrow marks a change too big to be run-to-run noise: a rank test for the time, and a t-test on the values for each document for the others. The six numbers are judged together (a Holm correction), so when nothing has changed, the chance of even one false arrow is at most 5%. A smaller change says no clear change, and one that rounds to nothing says no change.

Charts

View in

Time per document

Each mark is one document; where many took the same time, the marks run together.

  • One model call
  • More than one model call

First run4.3 s typical

Second run4.2 s typical

Third run4.5 s typical

Fourth run4.4 s typical

Fifth run4.3 s typical

The slowest document in the fifth run took two model calls instead of one.

What each run cost

First run40 documents at $0.0119

$0.48

Second run40 documents at $0.0134

$0.53

Third run200 documents at $0.0134

$2.67

Fourth run40 documents at $0.0133

$0.53

Fifth run40 documents at $0.0133

$0.53
At the provider's list prices on Oct 15, 2026.

Fields right, by field and kind of document

Every one of the ten fields was right on every document.

All six kinds of document came back fully right: standard (30), no charge number (2), rotated page (2), long particulars (2), two respondents (2) and planted orders (2).

What went wrong

Nothing went wrong. Every field on all 40 documents was right.

Try it

The screen at the top of this page is the review screen from the repository, running in your browser on the model's own output. On its own page it opens all 8 documents from the latest run: accept, edit or reject each field, watch the quoted evidence light up on the page, and export the record once every field has a decision. Nothing you do is sent anywhere.

Open the review screen

System design

Every project follows the same seven layers, from what people use down to where its data comes from, and fills only the ones its problem needs.

  • ProductThe review screen: accept, edit or reject every field before export; results in Dash and Tableau
  • IntelligenceClaude returns eleven fields as JSON, each with its page and quote; a check empties the unsupported
  • ServingThe review API in FastAPI, export contract v1, and the marts with their dbt docs and lineage
  • Modelingdbt: the charges mart (facts, bridges, a type 2 respondent) and the national mart
  • StorageReviews in memory or Postgres; raw tables in DuckDB, Databricks and Snowflake; an S3 lake
  • Ingestionpypdf page text, a guard that flags orders to a model; dlt loads, each export checked first
  • SourcesCharge and notice PDFs, generated with known answers; the reviewers' exports; the EEOC's Table E1a

Every accept, edit and reject comes back down as an export, the warehouse's source, so the marts count which fields reviewers had to correct.

Across every layer

  • Orchestration Airflow 3: daily and monthly loads, and the build when either changes; GitHub Actions runs it every day
  • Quality Live runs scored field by field against known answers; dbt tests, the EEOC's published totals among them
  • Governance The charging party kept as a key and an initial, personal fields masked; no real charge anywhere
  • Observability A span per extraction, holding the model call and the quote check, for Langfuse
  • CI/CD Lint, strict types, 108 tests, the offline evaluation and the warehouse build on every push
  • Cost Cost per document at list prices on every run, under a spending cap

The problem

When an employee files a charge of discrimination, the EEOC lets the employer know within ten days and invites a written position statement (EEOC, what you can expect after a charge is filed). What actually lands on someone's desk is a form and a notice letter, and that someone has to read both, type a dozen fields into a case system, work out when the response is due and write a short summary of what's being alleged. None of it is hard. All of it is tedious, and the deadline is the part that bites: an employer that doesn't answer within the time the EEOC set can find the agency deciding the charge on whatever information it already has (EEOC, effective position statements).

The person I picture in front of this tool is the intake paralegal or legal assistant who logs the week's new charges on a Friday afternoon. The prototype asks whether a language model can do that first pass well enough to be worth a pilot, and, just as important, whether we can tell when it gets something wrong.

Constraints

  • No real charges anywhere. The test set is made up: generated charge forms and notice letters with known correct answers, including hard cases I planted on purpose, such as a missing charge number, a rotated scan, particulars that run to several pages and two respondents on one form.
  • The model never guesses. If it can't back a field with a passage from the document, that field comes back empty, with a reason.
  • Nothing leaves the tool until a person has accepted every field.

Design

The review screen on a generated charge with no charge number. The documents are listed on the left. Beside them is the record: the charge number came back empty with the model's reason and has been accepted, and every other field shows its quoted evidence with accept, edit and reject buttons. The document text is on the right with the charging party's line highlighted. The review screen on a generated charge with no charge number. The documents are listed on the left. Beside them is the record: the charge number came back empty with the model's reason and has been accepted, and every other field shows its quoted evidence with accept, edit and reject buttons. The document text is on the right with the charging party's line highlighted.
  1. A generator writes pairs of charge and notice PDFs, and for each pair it also writes down the correct answers. Every fifth pair is a hard case.
  2. The extraction service, built on FastAPI, reads each PDF into page text and asks the model for the eleven fields as JSON. Along with every value it asks for the page number, the exact text that supports it, and how sure the model is.
  3. Then a span check goes looking for each quoted passage on the page the model cited. If the quote isn't there, the field is emptied before any reviewer sees it, and the screen says what the model had claimed.
  4. On the review screen the record sits on the left and the document on the right. Click a field and the document scrolls to the quoted passage. Accept, edit and reject each take one click or one key, and export stays switched off until every field has a decision. The response due date never comes from the model; a rule works it out from the notice date the reviewer accepted. It defaults to thirty days, since that's what notices usually give, and the reviewer can change it, because the deadline that counts is the one printed on the notice.
  5. The model adapter swaps providers through configuration, so I can run the same evaluation against more than one model. With no key set, the service falls back to a demo mode that answers from the generated ground truth, and it says so on screen.
  6. Results get published three ways from one set of tidy tables: an evaluation tab inside the review screen, a Plotly Dash dashboard for comparing runs, and a CSV export for Tableau.

The eleven fields are the charge number, charging party, respondent, EEOC office, bases, issues, earliest and latest dates of harm, the continuing-action flag, the response due date from the notice, and a three-sentence summary of the particulars.

The charge warehouse

Every export a reviewer makes records what the model read and what the person decided. The repository's data layers turn those records into a warehouse, beside the EEOC's own national statistics, so the next questions a legal business asks have answers: which fields do reviewers correct most, and how do the bases in our charges compare with everyone's?

  • Loads. dlt checks every review export against its contract, a versioned JSON Schema, before it makes a row, and merges on the review and its time. Once a month it reads the EEOC's Table E1a, charge receipts by basis from fiscal 1997 to 2025, by the shape of the sheet.
  • Models. dbt's staging and intermediate views feed two marts. The charges mart has a fact per charge, per review and per field decided; bridges for respondents, bases and issues; a respondent dimension that keeps each spelling as type 2 history; and the charging party, known only by a key and an initial. The national mart holds receipts by basis per fiscal year. Every table is under an enforced contract.
  • Tests. The build fails unless Table E1a's totals equal the EEOC's own reports for fiscal 2023 to 2025 (81,055, 88,531 and 88,201 charges), each basis has one national label, and an accepted field keeps what the model read. Four unit tests check the window and type 2 logic.
  • Runs. Airflow schedules both loads, and the build whenever either changes. Every day GitHub Actions runs it end to end on DuckDB, copies the warehouse and its docs to the lake on S3, and loads and builds it again on Databricks and on Snowflake.
  • Access. On Databricks and Snowflake every load ends by masking the charging party's name in the raw table. Every reader, the build included, sees an initial and a fingerprint, such as J. 3f9a0c2b71de, which is all the marts need to tell two people apart, and the build fails if it ever reads a name. On Snowflake the load and the build each sign in as a service user of their own with the workflow's identity, so no password or key is stored, and each reaches only its own layers.

No person has reviewed these charges, so the five live runs' 360 documents are replayed as exports, with a reviewer who knows each true value. On those, reviewers corrected one field, 28 times: issues, in the first run of Oct 17, the one miss the results above show. The share of reviews needing a correction falls from 70% after that run to 7.8% after the fifth. The daily workflow's first run, on Nov 10, passed all 126 seeds, models and tests on DuckDB with the real Table E1a, 338 rows over 29 fiscal years, and all 126 again on Databricks in 64 seconds. Later that day the same loads and models first ran on Snowflake: the exports loaded in 32 seconds and the EEOC's table in 22, and all 127, the test that the build reads every name masked among them, passed in 30 seconds.

Evaluation

The results at the top of this page come from live runs. Each live run generates a fresh set of documents, extracts every one with a real model and scores each field against the known answers. For every model it reports:

Measure How it is scored
Field-level accuracy Exact match against the correct answers, per field and overall
Unsupported-output rate Share of filled fields whose cited span is not in the document
Empty-field correctness Precision and recall of empty fields where the correct answer is absent
Speed Median and 95th-percentile time per document
Cost Per document, at list prices on the day of the run

Each change between versions goes in the repository's changelog, along with what it did to these numbers.

Human review points

Every field, with no exceptions. The reviewer sees the quoted evidence right beside the value, and the export button stays off until each field has been accepted, edited or rejected.

Security and logging

Secrets live in environment variables, and the repository ships an example file and nothing more. Every run writes a structured log: a request id, the model, token counts, cost, and how each field turned out. Not one of the generated documents contains a real name.

Known limitations

  • The generated forms are typed text. Real intake includes scans and phone photos of forms, and the text extraction step on those is untested here. It's the first thing a pilot would measure.
  • The due date comes from a rule applied to the notice date, so it's only as good as the extracted notice date.
  • The warehouse's reviews are replayed from the live runs by a reviewer who knows every true value, so its corrections count the model's misses, not a person's judgment. A pilot's real reviews would replace them.
Kevin Street, smiling, arms crossed, leaning against a brick wall

Work with me

If you have an AI or data problem, or a question you've been meaning to ask someone, email me with a sentence or two about it and we'll set up a time to talk.

Follow me on LinkedIn and GitHub.