Proof Portal

Project overview

litellm

BerriAI117 findings · 107 requirements

LiteLLM Python->Rust migration audit (proof mirroring).

93 withheld (location undisclosed)

All requirements
RequirementSYS-REQ-260731-DGSYSystemReview

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

All automated checks pass and 3/3 obligations are satisfied. Human review is still pending.
PriorityshallTypeguaranteeCategoryfunctionalComponentdeepgram_audio_transcriptionAssuranceEFindingsnone open

Specification

The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.

Description

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

FRETish formula
the deepgram_audio_transcription shall always satisfy deepgram_transcription_transform_contract_honored
View full formal model

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).

Assurance levelE
Formalizationvalid
Strategyfretish

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

Reviewed Aug 1, 2026, 18:01 UTCby agent:claude-opus-4-8catalog v1.9.1
  • 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 catalogue

Evidence 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.

Discharged

Happy-path behavior with valid inputs.

Discharging evidence1/1 required witnessed
  • nominalrequiredpresent
    Covered by 18 tests
    via SW-REQ-260731-DNPTvia SW-REQ-260731-DNPTvia SW-REQ-260731-DNPTvia SW-REQ-260731-DPMPvia SW-REQ-260731-DPMPvia SW-REQ-260731-DREQvia SW-REQ-260731-DRSPvia SW-REQ-260731-DRSPvia SW-REQ-260731-DRSPvia SW-REQ-260731-DRSPvia SW-REQ-260731-DTKNvia SW-REQ-260731-DTRN
Discharged

Behavior at limits, thresholds, and edge-of-range values.

Discharging evidence1/1 required witnessed
  • nominalrequiredpresent
    Covered by 8 tests
    via SW-REQ-260731-DRSPvia SW-REQ-260731-DRSPvia SW-REQ-260731-DRSPvia SW-REQ-260731-DRSPvia SW-REQ-260731-DTRN
Discharged

Behavior when inputs are absent, nil, zero-length, or blank.

Discharging evidence1/1 required witnessed
  • nominalrequiredpresent
    Covered by 7 tests
    via SW-REQ-260731-DNPTvia SW-REQ-260731-DNPTvia SW-REQ-260731-DPMPvia SW-REQ-260731-DPMPvia SW-REQ-260731-DPMPvia SW-REQ-260731-DTKNvia SW-REQ-260731-DTRN

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_honored
    exercises 1 condition scenario
  • test_forwards_supported_drops_unsupported
    exercises 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.

Covereda test exercises this rowExempteda reviewed mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test
#deepgram_transcription_transform_contract_honoredResultProvesCovering test
1FFdeepgram_transcription_transform_contract_honoredExempted · 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)
2TTdeepgram_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).

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