feat(carmenta): close the commercial gaps: forms, scanned filings, PDFs (0.11) - #42
Open
Ttimmahlax wants to merge 3 commits into
Open
Ttimmahlax wants to merge 3 commits into
Ttimmahlax wants to merge 3 commits into
Conversation
…Fs (0.11) A real caller ran Carmenta on scanned financial-disclosure filings and hit a run of production gaps (docs/plans/commercial-gaps.md). This batch closes them. Carmenta 0.11: - offline weights: manifests ship in the crate, offline()/preload(), and resolution that needs only the runtime files - charset-constrained CTC decoding, and confidence that stays unrenormalized - quarter-turn orientation (144/144 on turned pages, 48% of a read) - opt-in form-rule removal - full-width to ASCII fold on non-CJK lines - lexicon matching with look-alike-weighted edit distance - checkbox detection (100% recall and state on the corpus) - label-to-value pairing (220/221) ffai-media 0.6.7: - decode_image(&[u8]) - opt-in pdf feature: pages are composited as a viewer shows them, so redactions and overlays are painted in rather than read through - redaction_risk on text layers - every allocation from untrusted PDF values is bounded CLI 0.7: PDF input, --charset, --remove-rules, --auto-orient, --checkboxes, and `ffai models --verify`. Bench: digit error rate in OCR notes. Disclosure: corrects the public 0.041 Text^Edit figure. That number was Unlimited-OCR's; Carmenta's is 0.108 on the same subset. The top-level README now uses official-evaluator numbers throughout, replacing those from the withdrawn biased scorer. Versions: core 0.8.0, carmenta 0.11.0, cli 0.7.0, and patch bumps for the dependents (see CHANGELOG). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… crate past crates.io master's release commit already published media 0.6.7, models 0.6.5, bench 0.7.6, mercury 1.0.4, diana 0.7.7, argus 0.7.4, carmenta-wasm 0.2.2, mercury/argus-wasm 0.1.2 and wasm 0.1.4 -- the same numbers this branch had chosen. Left as they were, release-plz would have treated them as already published and the new code (the PDF feature among it) would never ship. Every changed crate is now one step past its registry version, with per-crate CHANGELOG entries and the workspace table updated to match. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The pdf feature adds lopdf 0.44 and fax 0.3. lopdf's non-optional encryption support brings aes, cbc, ecb, cipher, md-5, stringprep and small helpers. All of them are exempted at their locked versions, which is the repo's convention for dependency deltas. The ffai-* rows move to their published versions, and two stale entries (shlex, simdutf8) are pruned. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the production gaps a real caller hit running Carmenta on scanned financial-disclosure filings. The gap list and measured results are in
docs/plans/commercial-gaps.md.What ships
Carmenta 0.11
offline()andpreload().ffai-media 0.6.8
decode_image(&[u8]).pdffeature. Pages are composited as a viewer shows them, so redactions are painted in rather than read through.redaction_riskflag.CLI 0.7
ffai ocrreads PDFs.--charset,--remove-rules,--auto-orient,--checkboxes.ffai models --verify.Bench
Disclosure corrections
Versions
Every changed crate is one step past its crates.io version. The table is in
CHANGELOG.md.ffai-core0.8.0 is breaking:OcrOptionsgained public fields.Checks run locally
All pass:
lint_invariants;cargo check --all-targets;🤖 Generated with Claude Code