Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
map_openai_params forwards a non-default parameter into the mapped optional params iff it is present in the Deepgram supported allowlist returned by get_supported_openai_params (the single OpenAI `language` param), dropping every other candidate so only allowlisted params reach the provider
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
map_openai_params forwards a non-default parameter into the mapped optional params iff it is present in the Deepgram supported allowlist returned by get_supported_openai_params (the single OpenAI language param), dropping every other candidate so only allowlisted params reach the provider
the deepgram_audio_transcription shall always satisfy (param_forwarded <-> param_supported)
Verification & provenance
How this requirement was checked: the review trail, edit history, and the machine-analysis status terms (each ⓘ explains what it means).
Review
- Status
- pending
History
- Created
- Jul 31, 2026, 00:00 UTC · Claude Code · AI agent
- Modified
- Jul 31, 2026, 00:00 UTC · Claude Code · AI agent
Hazard review
- scenarioreviewednominalempty_input
nominal is the allowlist happy path over the finite param classes (a supported `language` param forwarded, an unsupported param dropped) enumerated in the deepgram_param_support table; empty_input is the empty non_default_params dict yielding the optional_params unchanged; malformed_input is suppressed because map_openai_params performs no value validation, it forwards the value verbatim by key membership, so it has no reject-invalid guarantee
- propertyreviewedpure_function_property_testedtotality
map_openai_params is a pure dict filter (output depends only on the two dict args and the static allowlist), so the forward-iff-supported property is property-testable and total over any candidate set; determinism follows from purity
- structuralnot applicable
Garbage-collected Python dict membership test and assignment with no manual memory, pointer arithmetic, overflow, or format string
- domainnot applicable
Pure in-process param filtering issuing no network/filesystem/IPC call
Change history
Every recorded revision of this requirement's source file — newest first, each with its commit message and the diff for that change.
Review history
Human and AI-agent approvals of this requirement — the 'why was this approved' lineage, each with the reviewer's justification and the code it cites.
- Claude Code · AI agentApprovedSpec conformanceJul 31, 2026 · 4 months agoREVIEW-28
get_supported_openai_params (line 31) returns exactly ["language"]; map_openai_params (line 43) forwards each non-default param under 'if k in supported_params' and drops the rest. FRETish (param_forwarded <-> param_supported) matches the single membership gate: forwarded iff in the allowlist.
Cited code (2)
Obligations
What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.
4 obligations · 4 discharged
Browse the catalogueHappy-path behavior with valid inputs.
- nominalrequiredpresentCovered by 2 tests
Behavior when inputs are absent, nil, zero-length, or blank.
- nominalrequiredpresentCovered by 3 tests
A function declared pure (no I/O, no global state, output is f(input) only) shall carry property-based tests that exercise its declared algebraic properties (determinism, totality, commutativity, monotonicity, idempotency — whichever apply); example-based tests alone shall not be sufficient evidence for a pure-function obligation.
- nominalrequiredpresentCovered by 2 tests
Every reachable input combination is covered by a requirement.
- nominalrequiredpresentCovered by 3 tests
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
FRETish formula
the deepgram_audio_transcription shall always satisfy (param_forwarded <-> param_supported)
Witnesses· 2 scenarios total
- request_matches_python_shapeexercises 1 condition scenario
- test_forwards_supported_drops_unsupportedexercises 1 condition scenario
MC/DC truth table· 3 rows
Each row assigns the formula's conditions (T/F) and shows the Result— the formula's value for that input row, not a test pass/fail. A row proves a condition when flipping only that condition flips the outcome. The test that covers each row is linked.
mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test| # | param_forwarded | param_supported | Result | Proves | Covering test |
|---|---|---|---|---|---|
| 1 | F | F | T | param_forwarded | |
| 2 | F | T | F | param_supported | Exempted · defensive — a supported param is always forwarded by map_openai_params, so the supported-yet-dropped biconditional violation is unreachable in a correct build (reviewed: agent:claude-opus-4-8) |
| 3 | T | F | F | param_forwarded | Exempted · defensive — an unsupported param is never forwarded by map_openai_params, so the unsupported-yet-forwarded biconditional violation is unreachable in a correct build (reviewed: agent:claude-opus-4-8) |
Its place
How this requirement connects — what proves it, what it affects, and what it rests on. Authored links only here; automatically derived links come from the audit index.
Loading graph…
Trace evidence
The concrete artifacts linked to this requirement — implementing code, verifying tests, documents, and the findings raised against it.
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
If you change this
Files to re-check (2)
- audio_transcription.rslitellm-rust/crates/core/src/providers/bedrock/audio_transcription.rs
- transformation.pylitellm/llms/deepgram/audio_transcription/transformation.py
Tests to re-run (1)
- test_deepgram_audio_transcription_transform_baseline.pytests/test_litellm/llms/deepgram/audio_transcription/test_deepgram_audio_transcription_transform_baseline.py
What this rests on
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.