Proof Portal
Project overview
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
Component
mistral_ocr
12 requirements allocated to this component across categories functional, interface.
12 requirements · 9/12 implemented · 12/12 tested.
Contracts
Interface contracts this component is a producer or consumer of.
No interface contracts
This component neither produces nor consumes a declared interface contract.
Responsibilities
the requirements this component owns, by intent — filter for coverage gapsFindings 5 open · 0 resolved
Open (5)
known issues, coverage gaps and checks that still need attention- LowOCR transform forwards numeric parameters without in-module range validationOpenKI-ocr-no-numeric-validation
- LowPython↔Rust divergence risk: malformed OCR response handling (fail-loud vs coerce)OpenKI-ocr-response-coercion-divergence
- LowOCR call path has no explicit retry/backoff policyOpenKI-ocr-retry
- LowPython->Rust divergence: OCR response JSON parse + parse-error re-raise relocated upstream in RustOpenKI-ocr-rust-parse-upstream
- LowPython->Rust OCR response shape divergence: Rust into_json omits the always-serialized null OCRResponse fields (content/tables/keyValuePairs and nested images/dimensions/credits/doc_size_bytes)OpenKI-rust-ocr-response-shape-omits-null-fields
Attached code & tests
traced files across this component’s requirements, deduplicated by pathCode(2 files)
- transformation.pylitellm/llms/mistral/ocr/transformation.py
- transformation.rslitellm-rust/crates/core/src/ocr/transformation.rs
Tests(3 files)
- test_mistral_ocr_transformation.pytests/test_litellm/llms/mistral/ocr/test_mistral_ocr_transformation.py
- tests.rslitellm-rust/crates/ai-gateway/src/ocr/tests.rs
- transformation.rslitellm-rust/crates/core/src/providers/mistral/ocr/transformation.rs
How this component connects
Open in graphMapping this component’s neighbourhood…
Discussions
Discuss this with the proof team. Nothing changes in your audit automatically — you open a request and a staff member records any outcome inside the thread.
Sign in to discuss this with the proof team.Sign in