Repository navigation
Releases
Releases · rmr2024/finextract
finextract v1.0.0
Benchmark and pipeline for extracting financial figures from SEC 10-K filings with LLMs, plus offline snap-to-source verification.
Results (exact match vs XBRL labels, n=44 labeled fields per set, about ±11 points):
| Dev | Held-out test | |
|---|---|---|
| Heuristic | 68.2% | 59.1% |
| gpt-oss-120b | 81.8% | 75.0% |
| gpt-oss-120b + verify | 93.2% | 84.1% |
- Finding: most wrong answers quote the right filing line and miscopy the number (11 of 15). Re-reading the number from the matched line fixes these with no extra LLM call: on test it fixed 4, broke 0, and took ungrounded answers from 14.3% to 0%.
- What's left: confident-wrong answers where the line is real but is the wrong item, such as consolidated vs. attributable.
- Included: EDGAR download, XBRL labels, BM25 retrieval, heuristic, Anthropic and OpenAI-compatible extractors, rate-limit-safe
--resume, prompt versioning,finextract verify, SQLite store, FastAPI service + dashboard, Dockerfile.
See README, docs/WRITEUP.md and CHANGELOG.md.