Repository navigation
Parsing and extraction are unchanged from 0.4.11.
readanydoc evals: eval sets from your own documents and records.initbuilds a set from a folder of
documents and an export of their true values (CSV, JSON, JSONL), with a field mapping inevals.yaml;runscores
ReadAnyDoc, another system, or saved outputs of any parser (--outputs, no model call);viewopens the report.
Plain files on your machine; nothing is hosted or uploaded.- Capture from live use.
readanydoc.extract(..., eval_set="name")(orREADANYDOC_EVAL_SET) keeps the document
and output as a candidate;readanydoc.evals.add_feedback(result.id, expected=... | correct=True)makes it a scored
example. A candidate is never scored before feedback.ExtractResult.idis new. - For CI:
readanydoc evals run <set> --fail-under 95andevals.assert_eval(name, min_score=0.95)for pytest. - Scorers on their own:
FieldMatch,TableMatch,ValueMatch, called asscorer(output, expected). - Six new public test sets (
readanydoc evals list):sec-10k(20 annual reports against the companies' own
SEC XBRL numbers),forms(FUNSD),forms-multilingual(XFUND, seven languages),registration-formsand
ad-buy-forms(VRDU),tax-forms(IRS W-2, 1099-NEC and W-9 filled with invented values, half as scans). No
ReadAnyDoc scores are published for them yet. Several allow research or non-commercial use only: check the licence
shown bylist. - Scoring: dates printed as
28-Mar-2026,1st March 26or2026/03/28now match the same day in another format. - New dependency:
pyyaml. - Guide: https://readanydoc.com/docs/guides/evals/