Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
The Deepgram audio-transcription transform shall honor its OpenAI-to-Deepgram contract as a whole: map only the supported OpenAI params, pass the audio bytes through as the request body, extract the transcript from the Deepgram /listen response across the diarization modes (plain, paragraph, per-word reconstruction) while re-raising loud on an unparseable response, reconstruct diarized transcripts by contiguous speaker, build the /listen endpoint carrying the model and filtered query params for every api_base class, and always assemble a Token Authorization header
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
The Deepgram audio-transcription transform shall honor its OpenAI-to-Deepgram contract as a whole: map only the supported OpenAI params, pass the audio bytes through as the request body, extract the transcript from the Deepgram /listen response across the diarization modes (plain, paragraph, per-word reconstruction) while re-raising loud on an unparseable response, reconstruct diarized transcripts by contiguous speaker, build the /listen endpoint carrying the model and filtered query params for every api_base class, and always assemble a Token Authorization header
the deepgram_audio_transcription shall always satisfy deepgram_transcription_transform_contract_honored
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
System-level black-box behavior of the Deepgram audio-transcription transform, decomposed into component software requirements
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
- scenarioreviewednominalboundaryempty_input
The umbrella contract: nominal maps supported params, passes bytes through, extracts the transcript per diarization mode and sets a Token header; boundary is the diarization-detection and detected-language edges and the trailing-slash api_base seam; empty_input is the empty param dict, the empty diarized word stream, and the absent api_base falling through to the Deepgram default. All refine into the child SW-REQs, with the unparseable-response path carried by the DERR re-raise guarantee
- propertynot applicable
Purity and totality are discharged at the child SW-REQ level (pure param filter, pure URL builder, pure response transform); the umbrella conjunction has no standalone algebraic property surface
- structuralnot applicable
Garbage-collected Python dict/list/string operations across the transform; no manual memory, pointer arithmetic, overflow, or format string
- domainreviewed
The transform maps params, formats a /listen URL, transforms an already-received response, and assembles a headers dict; it instantiates no HTTP client and opens no socket, so the external-call and http-client domain classes bind to the out-of-scope Deepgram HTTP handler, not to this transform boundary
Change history
Every recorded revision of this requirement's source file — newest first, each with its commit message and the diff for that change.
Obligations
What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.
3 obligations · 3 discharged
Browse the catalogueEvidence tagged via <REQ> is witnessed by a requirement that satisfies this one — normal for stakeholder / aggregate requirements, which are proven through the requirements that refine them.
Happy-path behavior with valid inputs.
- nominalrequiredpresent
Behavior at limits, thresholds, and edge-of-range values.
- nominalrequiredpresent
Behavior when inputs are absent, nil, zero-length, or blank.
- nominalrequiredpresent
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 deepgram_transcription_transform_contract_honored
Witnesses· 2 scenarios total
- transcription_transform_contract_honoredexercises 1 condition scenario
- test_forwards_supported_drops_unsupportedexercises 1 condition scenario
MC/DC truth table· 2 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| # | deepgram_transcription_transform_contract_honored | Result | Proves | Covering test |
|---|---|---|---|---|
| 1 | F | F | deepgram_transcription_transform_contract_honored | Exempted · defensive — the transform always maps supported params, passes bytes through, parses the response or re-raises, and sets a Token header; a correct build cannot dishonor the contract, so this invariant-violation row is unreachable (reviewed: agent:claude-opus-4-8) |
| 2 | T | T | deepgram_transcription_transform_contract_honored |
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.
No implementation linked
No source files are traced to this requirement yet.
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
Requirements (7)
- transform_audio_transcription_response raises a ValueError…deepgram_audio_transcription · SW
- get_complete_url resolves the effective api_base (falling…deepgram_audio_transcription · SW
- map_openai_params forwards a non-default parameter into the…deepgram_audio_transcription · SW
- transform_audio_transcription_request processes the audio…deepgram_audio_transcription · SW
- transform_audio_transcription_response returns a…deepgram_audio_transcription · SW
- validate_environment resolves the effective api_key as the…deepgram_audio_transcription · SW
- _reconstruct_diarized_transcript groups the per-word…deepgram_audio_transcription · SW
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
Parent requirements (1)
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.