Verify MiniMax inherited latency timing and document coverage #847
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.42) × (1 − Review Confidence (0.68)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 185 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.313
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
2 items
Approved
Thank you very much! 🙏
<img src="https://static.klipy.com/ii/e293a233a303a98e471f78d04e13a1b0/4c/7d/Zpa2A936.gif"/>
andimarafioti
salignatmoandal
Summary
MiniMax already inherits the OpenAI-compatible handler's first-audio timing, but the latency matrix omits it and no dedicated MiniMax regression verifies those timing boundaries. This completes the specific inherited-timing coverage requested in #590's audit.
Before / after
| Before | After |
| --- | --- |
| MiniMax inherits timing instrumentation without dedicated regression coverage or a latency-matrix entry. | Controlled-clock tests verify the timing boundaries and Realtime finalization; the matrix documents MiniMax coverage. |
What changes
The tests feed timed SSE bytes through the actual MiniMax decoder and inherited PCM block assembly. They establish TTFA on the first decoded PCM samples, before a full output block is available, and E2E on the first yielded block. Metadata-only events do not count as audio. Later segments and cancellation after first delivery preserve the initial measurements; empty/cancelled work and discarded trackers cannot populate another response's timings.
A Realtime test drives the real service finalization path and verifies response identity, both timings in
response.donemetadata, the terminal log and tracker cleanup. The coverage matrix now lists MiniMax and explains its SSE timing boundary. Production code is unchanged.Test plan
git diff --checkpass.The timing cases stub the encoded transport stream, keeping provider decoding and block assembly real. Existing handler tests exercise the HTTP transport separately. No paid provider request was made; the full repository suite was not run.