Skip to content

About

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

152 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MHACKS_2026

MHacks 2026: a patient-side agent that works a medical bill case from the itemized bill to a documented outcome (and a cross-provider denial appeal as a stretch), powered by FinchNode records.

Start here: SPEC.md, the single source of truth (build plan in §6).

Run it (MVP 1)

npm install
cp .env.example .env.local   # add GEMINI_API_KEY to read your own uploads; optional DATABASE_URL
npm run dev                  # http://localhost:3000

Teammates: run npm run setup first (or tell your coding agent to). It installs everything, connects the team's Neon database, and tells you the one thing it needs from you, if anything. Details: docs/NEON_SETUP.md.

Without a Gemini key, use "Sample bill + EOB" on the start screen: synthetic documents read from saved answers, labeled in the UI, with the same checks as a live upload.

The frontend follows the approved Paper desktop/mobile designs: responsive evergreen styling, evidence-linked findings, and a no-findings state. The same design language covers upload, confirmation, and draft review. See frontend integration notes for scope and validation.

Command What it does
npm test Vitest suite
npm run typecheck TypeScript check
npm run lint ESLint
npm run fixtures Regenerate the synthetic PDFs, expected model replies, and records
npm run eval:extraction Live Gemini extraction eval against the fixtures (needs GEMINI_API_KEY)
npm run db:check Verify the Neon connection and tables (needs DATABASE_URL)
npm run db:generate Write a SQL migration after changing db/schema.ts
npm run db:migrate Apply migrations to Neon (shared database: tell the team first)

About

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages