Skip to content

Jev directory

Tax Doc Classifier — kyotofin

Text-only classifier for 261 federal tax forms that sends each PDF page's text to Jev, which returns a probability over forms and page kinds behind a confidence gate; no model is trained.
Stars
509
Language
TypeScript
License
APACHE-2.0
Reading time
3 min
Published by
Community
Author
kyotofin
Last verified
Sep 2026

kyotofin/tax-doc-classifier

Organization repository on GitHub

View on GitHub

Tax document page classifier built on Jev decisions. 100% strict accuracy across 261 IRS forms, ~$0.001 per page.

Forks
65
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

A tax document classifier built with Jev. We ingest thousands of tax documents using an LLM pipeline built last tax season. Jev classifies 100% of our tax document corpus at $0.001 per page — 34× cheaper and 6× faster than that LLM setup. This is the classifier, open sourced.

Quoted from the project's README. Read the full README.

Highlights

  • One request per page returns a distribution over 261 IRS forms and 7 page kinds; blank pages are answered without a call.
  • The classifier is data: criteria.json describes each form and is generated from the IRS's own PDFs; no model is trained or hosted.
  • The author reports 0 wrong labels on both corpora and 38 low-confidence pages (5.05%) on the blank-form corpus; page-level results are not committed.
  • Against the previous Sonnet pipeline: $0.00115 vs $0.039 per page (34x cheaper) and about 0.5 s vs 3.3 s warm latency.
  • Five corporate or foreign forms absorb their schedules through a second small question; ids follow kebab-cased MeF naming.

Quickstart

ts
import { classifyPage, jevBackend, pdfPageLines } from 'tax-doc-classifier'
import criteria from 'tax-doc-classifier/data/criteria.json' with { type: 'json' }

const lines = await pdfPageLines('return.pdf', 3)
const r = await classifyPage(lines, { backend: jevBackend(), criteria })

Watch out

Apache-2.0 with IRS-derived data under DATA-LICENSE.md. Requires Node 20+, poppler's pdftotext and pdfinfo for the PDF helpers, and a TYPESAFE_API_KEY; text-only, English-only and federal forms only.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: A 26-sheet plan set in 2.9 seconds

X: Which exam questions come back

X: 900 images in 40 seconds

Other listings of this project

Forks and copies of this project in the directory. This entry is the canonical one.

0GitHub stars
Intelligent tax-document classifier that sends one page's text to Jev and returns a probability over 261 IRS forms and 7 page kinds, with a web UI, eval harness, generated criteria JSON, and spec-driven build and production design docs.
Jev Repos & SDKs#github#classification#typescript

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai