AI Slop Code RIsk Monitor

huggingface/speech-to-speech

Build voice agents with open-source models

36.1 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for huggingface/speech-to-speech, a Python project with 13,419 GitHub stars. SynthScan examined 102,083 lines of code across 333 source files, recording 2892 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 36.1 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

36.1
Adjusted Signal
36.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
13.4K
Stars
Python
Language
102.1K
Lines of Code
333
Files
2.9K
Pattern Hits
2026-10-12
Scan Date
0.34
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 60.0/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 2149 finding(s).

Hallucinated Dependency & Supply Chain Risk 21.8/100 · LOW

Are imports declared and package/API names verified? 244 finding(s).

Agent Over-Engineering Ratio 77.8/100 · CRITICAL

Are wrappers, guards, and repeated structures necessary? 2528 finding(s).

PR Review Velocity Impact 85.9/100 · CRITICAL

Which changes need focused human review? 2892 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 1HIGH 111MEDIUM 269LOW 2511

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2892 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers2016 hits · 1752 pts
SeverityFileLineSnippetContext
LOWdemo/auth.py131def oauth_login_required_reason(request) -> "str | None":CODE
LOWdemo/server.py473def _log_load_balancer_failure(operation: str, response: httpx.Response) -> None:CODE
LOWdemo/s2s-realtime-client.js62export function normalizePlaybackBufferMs(value) {CODE
LOWdemo/main.js441function updateRestartAvailability() {CODE
LOWdemo/main.js976function createResumedAudioContext() {CODE
LOWdemo/main.js1234function supportsAudioOutputSelection() {CODE
LOWdemo/ws/codec.js21export function extractResponseTranscript(response) {CODE
LOW⚡tests/test_faster_whisper_language_reporting.py154def test_detected_language_is_reported_with_the_auto_suffix(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py164def test_auto_suffix_depends_on_the_request_not_the_detection(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py174def test_reported_language_resolves_to_an_llm_language_name(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py182def test_languages_outside_the_original_map_now_resolve(handler_module, code):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py220def test_auto_is_removed_from_gen_kwargs(handler_module, value):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py230def test_absent_language_is_treated_as_auto_detect(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py237def test_explicit_none_is_treated_as_auto_detect(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py244def test_invalid_language_is_passed_through_rather_than_silently_auto(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py256def test_missing_language_on_info_falls_back_to_the_request(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py262def test_missing_language_on_info_in_auto_mode_reports_none(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py268def test_empty_detected_language_falls_back_to_the_request(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py275def test_empty_transcription_still_yields_nothing(handler_module, language):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py282def test_segment_text_is_joined_and_stripped(handler_module):CODE
LOW⚡tests/test_faster_whisper_language_reporting.py292def test_timing_logs_only_final_transcriptions(handler_module):CODE
LOWtests/test_faster_whisper_language_reporting.py102def test_reports_the_transcribed_language_not_the_requested_one(handler_module):CODE
LOWtests/test_faster_whisper_language_reporting.py112def test_pinned_language_is_reported_when_the_model_honours_it(handler_module):CODE
LOWtests/test_faster_whisper_language_reporting.py126def test_session_selection_overrides_faster_whisper_setup(handler_module):CODE
LOWtests/test_faster_whisper_language_reporting.py140def test_session_auto_removes_faster_whisper_setup_language(handler_module):CODE
LOWtests/test_faster_whisper_language_reporting.py195def test_setup_does_not_mutate_the_caller_gen_kwargs(handler_module):CODE
LOWtests/test_faster_whisper_language_reporting.py206def test_setup_does_not_mutate_the_caller_gen_kwargs_when_pinned(handler_module):CODE
LOWtests/test_pipeline_messages.py5def test_partial_transcription_event_retains_delta_constructor():CODE
LOWtests/test_pipeline_messages.py11def test_prefetch_transaction_commits_cleanup_once_across_completion_order():CODE
LOWtests/test_pipeline_messages.py27def test_prefetch_transaction_discards_deferred_cleanup():CODE
LOWtests/test_pipeline_messages.py36def test_prefetch_transaction_aborts_only_unclaimed_work():CODE
LOWtests/test_pipeline_messages.py52def test_prefetch_transaction_abort_failure_does_not_skip_remaining_cleanup():CODE
LOWtests/test_parakeet_transcription_events.py19def test_show_progressive_transcription_returns_combined_text(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py34def test_live_transcription_clears_terminal_line_before_each_update(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py62def test_live_transcription_truncates_terminal_updates(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py86def test_live_transcription_uses_lines_for_non_terminal_logs(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py105def test_process_yields_partial_tagged_tuple(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py125def test_process_yields_final_transcript(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py151def test_configured_language_does_not_relabel_decoded_text(monkeypatch, backend, detected_language):CODE
LOWtests/test_parakeet_transcription_events.py194def test_mlx_live_final_detects_combined_text_without_using_configured_language(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py239def test_session_auto_reset_does_not_report_setup_language(CODE
LOWtests/test_parakeet_transcription_events.py276def test_session_auto_reset_keeps_transcript_when_language_detection_fails(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py314def test_parakeet_timing_logs_only_final_transcriptions():CODE
LOWtests/test_parakeet_transcription_events.py323def test_final_transcription_resets_live_streaming_state(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py351def test_turn_change_resets_live_streaming_state_before_progressive(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py384def test_mlx_final_ignores_fixed_text_that_exceeds_current_audio(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py423def test_final_transcription_prevents_stale_fixed_window_on_next_progressive(monkeypatch):CODE
LOWtests/test_parakeet_transcription_events.py464def test_on_session_end_resets_streaming_state():CODE
LOWtests/test_parakeet_transcription_events.py480def test_superseded_progressive_attempt_cleans_recreated_latency(monkeypatch, outcome):CODE
LOWtests/test_parakeet_transcription_events.py511 def supersede_before_tracker_binding(*args):CODE
LOWtests/test_responses_reasoning.py90def test_assistant_message_payload_survives_complete_reasoning_tool_continuation(stream, content):CODE
LOWtests/test_responses_reasoning.py158def test_consecutive_tools_replay_all_reasoning_since_user(stream):CODE
LOWtests/test_responses_reasoning.py190def test_reasoning_before_assistant_message_is_retained_without_client_output(stream):CODE
LOWtests/test_responses_reasoning.py216def test_reasoning_and_fast_tool_output_are_rolled_back(discard, with_message):CODE
LOWtests/test_responses_reasoning.py241def test_stale_speculative_turn_rolls_back_reasoning_and_call():CODE
LOWtests/test_responses_reasoning.py259def test_out_of_band_reasoning_does_not_enter_default_history(stream, with_message):CODE
LOWtests/test_responses_reasoning.py278def test_out_of_band_opaque_provider_call_can_continue_with_explicit_client_input(stream):CODE
LOWtests/test_responses_reasoning.py312def test_fast_output_does_not_allow_eviction_before_late_stream_reasoning_commits():CODE
LOWtests/test_responses_reasoning.py345def test_out_of_band_snapshot_omits_reasoning_for_unresolved_call(stream, completed_prefix, with_message):CODE
LOWtests/test_responses_reasoning.py382def test_stream_completion_order_does_not_reorder_replay_or_delay_tool_dispatch():CODE
1956 more matches not shown…
Decorative Section Separators258 hits · 905 pts
SeverityFileLineSnippetContext
MEDIUMdemo/main.js45// ── Noise gate ──────────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js62// ── Tools ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js304// ── Connection target ────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js336// ── Tool state ──────────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js364// ── Chat view ───────────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js375// ── Account / limiter ─────────────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js487// ── Radial gate arc (around the mic button, live during a call) ─────────────COMMENT
MEDIUMdemo/main.js613// ── Tools panel ───────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js701// ── Camera ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js819// ── Tool executor ─────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js1343// ── "Your turn" join countdown ──────────────────────────────────────────────COMMENT
MEDIUMdemo/main.js1535// ── Conversation-time heartbeat ─────────────────────────────────────────────COMMENT
MEDIUMdemo/limiter.py40# ── Tunables (env-overridable) ───────────────────────────────────────────────COMMENT
MEDIUMdemo/limiter.py140# ── Internal helpers (call under _lock) ───────────────────────────────────────COMMENT
MEDIUMdemo/limiter.py168# ── Public API ────────────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/ui/chat.js48 // ── User transcript state (keyed by item_id) ───────────────────────────COMMENT
MEDIUMdemo/ui/chat.js69 // ── Assistant transcript state (keyed by response_id) ──────────────────COMMENT
MEDIUMdemo/ui/chat.js73 // ── Ephemeral bubble auto-dismiss ──────────────────────────────────────COMMENT
MEDIUMdemo/ui/chat.js91 // ── Panel ───────────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/ui/chat.js124 // ── Shared rendering ──────────────────────────────────────────────────────COMMENT
MEDIUMdemo/ui/chat.js141 // ── Ephemeral bubbles ───────────────────────────────────────────────────COMMENT
MEDIUMdemo/ui/chat.js296 // ── History ───────────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/ui/chat.js431 // ── Client event handlers ─────────────────────────────────────────────────COMMENT
MEDIUMtests/test_responses_api_language_model.py1704# ── Out-of-band (conversation="none") responses ──────────────────────────COMMENT
MEDIUMtests/test_qwen3_asr_transcription_events.py143# ── language and device helpers ──────────────────────────────────────COMMENT
MEDIUMtests/test_qwen3_asr_transcription_events.py189# ── transcription events ─────────────────────────────────────────────COMMENT
MEDIUMtests/test_qwen3_asr_transcription_events.py371# ── setup ────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_qwen3_asr_transcription_events.py427# ── registry and CLI wiring ──────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_chat_completions_backend.py180# ── Converter tests ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_chat_completions_backend.py832# ── tool_choice decoupled from tools ──────────────────────────────────────────COMMENT
MEDIUMtests/test_chat_completions_backend.py55# ── Fakes ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_chat_completions_backend.py327# ── Streaming / non-streaming parse tests ─────────────────────────────────────COMMENT
MEDIUMtests/test_chat_completions_backend.py768# ── Text-only (output_modalities=["text"]) ────────────────────────────────────COMMENT
MEDIUMtests/test_chat_completions_backend.py851# ── Error propagation ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_chat_completions_backend.py974# ── Out-of-band (conversation="none") responses ───────────────────────────────COMMENT
MEDIUMtests/test_chat_completions_backend.py992# ── Standalone runner (no pytest required) ────────────────────────────────────COMMENT
MEDIUM⚡tests/test_chat.py112# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py114# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py170# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py172# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py194# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py196# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py292# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py294# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py385# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py387# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py615# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py617# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py976# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py978# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py1039# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py1041# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py1484# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py1486# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py1540# ===================================================================COMMENT
MEDIUM⚡tests/test_chat.py1542# ===================================================================COMMENT
MEDIUMtests/test_chat.py44# ===================================================================COMMENT
MEDIUMtests/test_chat.py46# ===================================================================COMMENT
MEDIUMtests/test_chat.py127# ===================================================================COMMENT
MEDIUMtests/test_chat.py129# ===================================================================COMMENT
198 more matches not shown…
Cross-Language Confusion70 hits · 321 pts
SeverityFileLineSnippetContext
HIGH⚡tests/test_openai_tts_handler.py525 output.append(resampler.push(samples[offset : offset + chunk_size]))CODE
HIGH⚡tests/test_openai_tts_handler.py527 output.append(resampler.push(samples[offset:]))CODE
HIGH⚡tests/test_openai_tts_handler.py528 output.append(resampler.push(np.empty(0, dtype=np.int16), final=True))CODE
HIGH⚡tests/test_minimax_tts_handler.py183 body = b'data: {"data":null,"base_resp":{"status_code":0}}\n\n'CODE
HIGH⚡tests/test_streaming_stt_handler.py770 b"".join(chunked.push(audio[index : index + 1024]) for index in range(0, len(audio), 1024))CODE
HIGH⚡tests/test_streaming_stt_handler.py774 contiguous_audio = contiguous.push(audio) + contiguous.finish_utterance()CODE
HIGHtests/test_demo_server.py354globalThis.localStorage = { getItem() { return null; } };CODE
HIGHtests/test_demo_server.py394globalThis.localStorage = { getItem() { return null; } };CODE
HIGH⚡tests/test_demo_agents_adapter.py30globalThis.localStorage = { getItem() { return null; } };STRING
HIGH⚡tests/test_demo_agents_adapter.py35globalThis.Audio = class Audio { constructor() { this.autoplay = false; this.srcObject = null; } };STRING
HIGH⚡tests/test_demo_agents_adapter.py129 audioWorklet: { async addModule(url) { modules.push(url); } },STRING
HIGH⚡tests/test_demo_agents_adapter.py139 onmessage: null,STRING
HIGH⚡tests/test_demo_agents_adapter.py141 this.messages.push(message);STRING
HIGH⚡tests/test_demo_agents_adapter.py142 if (name === "mic-capture" && message?.kind === "probe" && captureConfig !== undefined) {STRING
HIGH⚡tests/test_demo_agents_adapter.py147 nodes.push(this);STRING
HIGH⚡tests/test_demo_agents_adapter.py240 calls.push(call);STRING
HIGH⚡tests/test_demo_agents_adapter.py244client._session = { addImage(image, options) { images.push([image, options]); } };STRING
HIGH⚡tests/test_demo_agents_adapter.py248 undefined,STRING
HIGH⚡tests/test_demo_agents_adapter.py255if (images.length !== 1 || images[0][1].triggerResponse !== false) {STRING
HIGH⚡tests/test_demo_agents_adapter.py265globalThis.localStorage = { getItem() { return null; } };STRING
HIGH⚡tests/test_demo_agents_adapter.py269globalThis.Audio = class Audio { constructor() { this.autoplay = false; this.srcObject = null; } };STRING
HIGH⚡tests/test_demo_agents_adapter.py276 set(value) { enabled = value; timeline.push(`mic:${value}`); },STRING
HIGH⚡tests/test_demo_agents_adapter.py280 async connect() { timeline.push("connect"); }STRING
HIGH⚡tests/test_demo_agents_adapter.py281 sendMessage(message) { timeline.push(`greeting:${message}`); }STRING
HIGHtests/test_demo_agents_adapter.py52 sessions.push(this);STRING
HIGHtests/test_demo_agents_adapter.py56 sendMessage(message) { this.messages.push(message); }STRING
HIGHtests/test_demo_agents_adapter.py203 await setupAudio(undefined);STRING
HIGHtests/test_demo_agents_adapter.py219globalThis.localStorage = { getItem() { return null; } };STRING
HIGHtests/test_demo_agents_adapter.py315globalThis.localStorage = { getItem() { return null; } };STRING
HIGHtests/test_demo_agents_adapter.py352globalThis.localStorage = { getItem() { return null; } };STRING
HIGHtests/test_demo_agents_adapter.py378error = undefined;STRING
HIGHtests/test_demo_input_transcription.py248globalThis.localStorage = {{ getItem() {{ return null; }} }};CODE
HIGHtests/test_demo_input_transcription.py265client.addEventListener("transcript", (event) => transcripts.push(event.detail));CODE
HIGHtests/test_demo_input_transcription.py266client.addEventListener("status", (event) => statuses.push(event.detail.status));CODE
HIGH⚡tests/test_demo_user_audio.py86if (first.durationMs !== 100 || reopened.durationMs !== 200) {STRING
HIGH⚡tests/test_demo_user_audio.py99globalThis.localStorage = { getItem() { return null; } };STRING
HIGH⚡tests/test_demo_user_audio.py116let recording = null;STRING
HIGH⚡tests/test_demo_user_audio.py124 turnEvents.push(["started", event.detail.itemId]);STRING
HIGH⚡tests/test_demo_user_audio.py127 turnEvents.push(["stopped", event.detail.itemId]);STRING
HIGH⚡tests/test_demo_user_audio.py212 querySelector() { return null; },STRING
HIGH⚡tests/test_demo_user_audio.py214let dismissed = null;STRING
HIGH⚡tests/test_demo_user_audio.py219if (view._activeUserBubble !== null) throw new Error("active voice bubble was not released");STRING
HIGH⚡tests/test_demo_user_audio.py262if (view._activeUserBubble !== null) {STRING
HIGH⚡tests/test_demo_user_audio.py268if (spawned !== 1 || view._activeUserBubble !== bubble) {STRING
HIGHtests/test_demo_user_audio.py244 querySelector() { return null; },STRING
HIGHtests/test_demo_user_audio.py326 onmessage: null,STRING
HIGHtests/test_demo_user_audio.py327 postMessage(message) { messages.push(message); },STRING
HIGHtests/test_demo_user_audio.py351if (config.inputRate !== 48000 || config.outputRate !== 24000) {STRING
HIGHtests/test_demo_user_audio.py369 if ((pcm[i - 1] < 0 && pcm[i] >= 0) || (pcm[i - 1] >= 0 && pcm[i] < 0)) {STRING
HIGHtests/test_demo_user_audio.py373if (zeroCrossings < 78 || zeroCrossings > 82) {STRING
HIGH⚡tests/test_diarization_transformers.py50 segments.extend(diarizer.push(audio[start : start + 173], sample_rate=16000))CODE
HIGHtests/test_diarization_transformers.py70 segments = diarizer.push(audio, sample_rate=16000)CODE
HIGHtests/test_streaming_diarization.py126 segments.extend(diarizer.push(audio[start : start + block_size], sample_rate=20))CODE
HIGH⚡tests/test_streaming_diarization.py145 segments = diarizer.push(np.zeros(length, dtype=np.float32), sample_rate=20) + diarizer.finish()CODE
HIGH⚡tests/test_streaming_diarization.py153 diarizer.push(np.zeros(1, dtype=np.float32), sample_rate=20)CODE
HIGH⚡tests/test_streaming_diarization.py158 diarizer.push(np.zeros(13, dtype=np.float32), sample_rate=20)CODE
HIGH⚡tests/test_streaming_diarization.py163 diarizer.push(np.zeros(1, dtype=np.float32), sample_rate=20)CODE
HIGH⚡tests/test_streaming_diarization.py170 assert diarizer.push(np.empty(0, dtype=np.float32), sample_rate=20) == []CODE
HIGH⚡tests/test_streaming_diarization.py182 diarizer.push(audio, sample_rate=rate)CODE
HIGH⚡tests/test_streaming_diarization.py189 diarizer.push(np.zeros(100, dtype=np.float32), sample_rate=20)CODE
10 more matches not shown…
Empty Error Handlers33 hits · 165 pts
SeverityFileLineSnippetContext
HIGHdemo/server.py106except ValueError:CODE
HIGHdemo/server.py279except Exception:CODE
HIGHtests/test_minimax_tts_handler.py99except OSError:CODE
HIGHtests/test_stt_stale_filter.py258except Empty:CODE
HIGHtests/test_openai_stt_lifecycle.py107except ConnectionResetError:CODE
HIGHtests/test_openai_stt_lifecycle.py201except OSError:CODE
HIGHtests/test_configured_runtime.py325except runtime.ConfiguredRuntimeError:CODE
HIGHtests/test_configured_runtime.py412except runtime.ConfiguredRuntimeError:CODE
HIGHtests/openai_realtime/test_websocket_router.py1930except Exception:CODE
HIGHtests/openai_realtime/test_webrtc.py797except asyncio.TimeoutError:CODE
HIGHexamples/realtime_web_search_tool.py83except ValueError:CODE
HIGHscripts/benchmark_tts.py209except Exception:CODE
HIGHsrc/speech_to_speech/LLM/language_model.py264except Empty:CODE
HIGHsrc/speech_to_speech/LLM/language_model.py840except Exception:CODE
HIGHsrc/speech_to_speech/LLM/language_model.py1025except Exception:CODE
HIGHsrc/speech_to_speech/LLM/language_model.py829except (RuntimeError, ValueError):CODE
HIGHsrc/speech_to_speech/LLM/language_model.py1017except (RuntimeError, ValueError):CODE
HIGH…to_speech/LLM/base_openai_compatible_language_model.py390except Exception:CODE
HIGH…to_speech/LLM/base_openai_compatible_language_model.py921except Exception:CODE
HIGHsrc/speech_to_speech/LLM/compaction_prompt.py119except json.JSONDecodeError:CODE
HIGHsrc/speech_to_speech/TTS/openai_compatible_handler.py235except RuntimeError:CODE
HIGHsrc/speech_to_speech/TTS/qwen3_tts_handler.py1055except Exception:CODE
HIGHsrc/speech_to_speech/TTS/qwen3_tts_handler.py1062except Exception:CODE
HIGHsrc/speech_to_speech/api/openai_realtime/llm_proxy.py241except ValueError:CODE
HIGH…eech_to_speech/api/openai_realtime/websocket_router.py361except KeyError:CODE
HIGH…eech_to_speech/api/openai_realtime/websocket_router.py526except asyncio.CancelledError:CODE
HIGH…eech_to_speech/api/openai_realtime/websocket_router.py533except Exception:CODE
HIGH…eech_to_speech/api/openai_realtime/websocket_router.py928except Empty:CODE
HIGH…eech_to_speech/api/openai_realtime/websocket_router.py1139except Empty:CODE
HIGHsrc/speech_to_speech/api/openai_realtime/transports.py114except Exception: # noqa: BLE001CODE
HIGH…ech_to_speech/api/openai_realtime/handlers/response.py277except ValueError:CODE
HIGHsrc/speech_to_speech/STT/openai_compatible_handler.py122except RuntimeError:CODE
HIGHsrc/speech_to_speech/STT/streaming_handler.py782except Empty:CODE
Unused Imports171 hits · 160 pts
SeverityFileLineSnippetContext
LOWarchive/TTS/parler_handler.py1CODE
LOWarchive/TTS/melo_handler.py1CODE
LOWtests/test_faster_whisper_language_reporting.py20CODE
LOWtests/test_openai_tts_handler.py1CODE
LOWtests/test_nemotron_farsi_stt.py1CODE
LOWtests/test_nemo_asr_stt_latency.py1CODE
LOWtests/test_chat_turn_order.py8CODE
LOWtests/test_handler_logging_hygiene.py10CODE
LOWtests/test_chattts_streaming.py1CODE
LOWtests/test_minimax_tts_handler.py3CODE
LOWtests/test_language_prompt.py11CODE
LOWtests/test_openai_stt_handler.py1CODE
LOWtests/test_turn_latency.py1CODE
LOWtests/test_transcript_log_hygiene.py3CODE
LOWtests/test_kitten_tts_handler.py1CODE
LOWtests/test_nemotron_streaming_stt.py1CODE
LOWtests/test_response_overrides.py1CODE
LOWtests/test_stt_stale_filter.py1CODE
LOWtests/test_streaming_stt_handler.py1CODE
LOWtests/test_whisper_language_detection.py21CODE
LOWtests/test_parakeet_language_reporting.py3CODE
LOWtests/test_qwen3_asr_transcription_events.py1CODE
LOWtests/test_chat_completions_backend.py10CODE
LOWtests/test_kokoro_language_voice.py1CODE
LOWtests/test_mlx_audio_whisper_handler.py16CODE
LOWtests/test_openai_stt_lifecycle.py1CODE
LOWtests/test_chat.py9CODE
LOWtests/test_supertonic_tts_handler.py1CODE
LOWtests/test_visemes.py41CODE
LOWtests/test_stt_session_language_reset.py13CODE
LOWtests/test_nemo_asr_handler.py1CODE
LOWtests/test_device.py1CODE
LOWtests/install_smoke.py1CODE
LOWtests/test_auto_language_spelling.py14CODE
LOWtests/test_whisper_progressive_transcription.py23CODE
LOWtests/test_omnivoice_tts_handler.py1CODE
LOWtests/test_kokoro_tts_latency.py1CODE
LOWtests/test_kokoro_device.py1CODE
LOWtests/test_orukeet_stt.py1CODE
LOWtests/test_nemotron_farsi_integration.py7CODE
LOWtests/openai_realtime/agents_sdk_server.py3CODE
LOWexamples/realtime_web_search_tool.py3CODE
LOWscripts/prepare_eval_space.py12CODE
LOWsrc/speech_to_speech/_config_yaml.py3CODE
LOWsrc/speech_to_speech/config.py3CODE
LOWsrc/speech_to_speech/configured_runtime.py3CODE
LOWsrc/speech_to_speech/cli.py1CODE
LOWsrc/speech_to_speech/baseHandler.py1CODE
LOWsrc/speech_to_speech/backend_registry.py1CODE
LOWsrc/speech_to_speech/pipeline/language_detection.py3CODE
LOWsrc/speech_to_speech/pipeline/events.py8CODE
LOWsrc/speech_to_speech/pipeline/control.py1CODE
LOWsrc/speech_to_speech/pipeline/__init__.py1CODE
LOWsrc/speech_to_speech/pipeline/__init__.py2CODE
LOWsrc/speech_to_speech/pipeline/__init__.py2CODE
LOWsrc/speech_to_speech/pipeline/__init__.py2CODE
LOWsrc/speech_to_speech/pipeline/__init__.py2CODE
LOWsrc/speech_to_speech/pipeline/__init__.py8CODE
LOWsrc/speech_to_speech/pipeline/__init__.py8CODE
LOWsrc/speech_to_speech/pipeline/__init__.py8CODE
111 more matches not shown…
Excessive Try-Catch Wrapping120 hits · 131 pts
SeverityFileLineSnippetContext
LOWdemo/auth.py54except Exception as exc: # pragma: no cover - import guardCODE
LOWdemo/auth.py72 except Exception as exc: # pragma: no cover - defensiveCODE
LOWdemo/auth.py102 except Exception:CODE
LOWdemo/auth.py186 except Exception as exc: # pragma: no cover - network/permission dependentCODE
LOWdemo/server.py190 except Exception as exc: # pragma: no cover - defensiveCODE
LOWdemo/server.py279 except Exception:CODE
LOW⚡demo/server.py606 except Exception:CODE
LOW⚡demo/server.py615 except Exception:CODE
LOW⚡demo/server.py624 except Exception:CODE
MEDIUMdemo/server.py603def _safe_json(response) -> dict:CODE
LOWtests/test_chat_completions_backend.py1017 except Exception as e: # noqa: BLE001CODE
MEDIUMtests/test_openai_stt_lifecycle.py61def run():CODE
MEDIUMtests/test_openai_stt_lifecycle.py127def run():CODE
LOWtests/test_openai_stt_lifecycle.py64 except Exception as exc:CODE
LOWtests/test_openai_stt_lifecycle.py130 except Exception as exc:CODE
LOWtests/openai_realtime/test_turn_latency.py342 except Exception as exc:CODE
MEDIUMtests/openai_realtime/test_turn_latency.py339def work():CODE
LOW⚡tests/openai_realtime/test_websocket_router.py1930 except Exception:CODE
LOWtests/openai_realtime/realtime_contract.py65 except Exception as exc: # pragma: no cover - failure pathCODE
LOWtests/openai_realtime/realtime_contract.py81 except Exception as exc: # pragma: no cover - failure pathCODE
LOWscripts/benchmark_tts.py209 except Exception:CODE
LOWscripts/benchmark_tts.py225 except Exception as e:CODE
LOWscripts/benchmark_stt.py259 except Exception as e:CODE
LOW⚡scripts/synthetic_conversation_realtime_client.py321 except Exception as e: # noqa: BLE001 — diagnostic pathCODE
LOW⚡scripts/synthetic_conversation_realtime_client.py349 except Exception as e: # noqa: BLE001CODE
LOW⚡scripts/synthetic_conversation_realtime_client.py419 except Exception as e: # noqa: BLE001 — diagnostic pathCODE
LOW⚡scripts/synthetic_conversation_realtime_client.py430 except Exception as e: # noqa: BLE001CODE
LOWsrc/speech_to_speech/configured_runtime.py41 except Exception:CODE
LOWsrc/speech_to_speech/cli.py227 except Exception:CODE
LOWsrc/speech_to_speech/baseHandler.py148 except Exception as exc:CODE
LOWsrc/speech_to_speech/baseHandler.py215 except Exception as exc:CODE
LOWsrc/speech_to_speech/pipeline/messages.py303 except Exception as exc:CODE
LOWsrc/speech_to_speech/pipeline/messages.py352 except Exception:CODE
LOWsrc/speech_to_speech/pipeline/history.py95 except Exception:CODE
LOWsrc/speech_to_speech/evals/big_bench_audio/runner.py217 except Exception as exc: # noqa: BLE001 — surfaced as a per-item errorCODE
LOWsrc/speech_to_speech/evals/big_bench_audio/runner.py331 except Exception as exc: # noqa: BLE001 — every failure is a comparable data pointCODE
LOWsrc/speech_to_speech/evals/big_bench_audio/runner.py382 except Exception as exc: # noqa: BLE001 — retain other items when an asset failsCODE
LOWsrc/speech_to_speech/evals/big_bench_audio/judge.py87 except Exception as exc: # noqa: BLE001 — a judge outage must not void the runCODE
LOWsrc/speech_to_speech/evals/big_bench_audio/__main__.py124 except Exception as exc: # noqa: BLE001 — the server is still warming upCODE
LOWsrc/speech_to_speech/LLM/language_model.py710 except Exception as exc:CODE
LOWsrc/speech_to_speech/LLM/language_model.py840 except Exception:CODE
LOWsrc/speech_to_speech/LLM/language_model.py1025 except Exception:CODE
MEDIUM…to_speech/LLM/base_openai_compatible_language_model.py398def run() -> None:CODE
LOW…to_speech/LLM/base_openai_compatible_language_model.py390 except Exception:CODE
LOW…to_speech/LLM/base_openai_compatible_language_model.py831 except Exception as exc:CODE
LOW…to_speech/LLM/base_openai_compatible_language_model.py921 except Exception:CODE
LOWsrc/speech_to_speech/LLM/lm_output_processor.py105 except Exception:CODE
LOWsrc/speech_to_speech/LLM/chat.py728 except Exception:CODE
LOWsrc/speech_to_speech/LLM/chat.py1334 except Exception as exc:CODE
LOWsrc/speech_to_speech/LLM/tool_call/function_call.py113 except Exception:CODE
LOWsrc/speech_to_speech/LLM/tool_call/function_call.py328 except Exception:CODE
LOWsrc/speech_to_speech/STV/w2v_stv_handler.py103 except Exception:CODE
LOWsrc/speech_to_speech/TTS/openai_compatible_handler.py137 except Exception as exc:CODE
LOWsrc/speech_to_speech/TTS/openai_compatible_handler.py578 except Exception as exc:CODE
LOWsrc/speech_to_speech/TTS/kokoro_handler.py210 except Exception as e:CODE
LOWsrc/speech_to_speech/TTS/kokoro_handler.py354 except Exception as e:CODE
LOWsrc/speech_to_speech/TTS/kokoro_handler.py497 except Exception as e:CODE
LOWsrc/speech_to_speech/TTS/facebookmms_handler.py139 except Exception as exc:CODE
LOWsrc/speech_to_speech/TTS/pocket_tts_handler.py335 except Exception:CODE
MEDIUMsrc/speech_to_speech/TTS/qwen3_tts_handler.py1049def cleanup(self) -> None:CODE
60 more matches not shown…
Modern Structural Boilerplate80 hits · 81 pts
SeverityFileLineSnippetContext
LOWdemo/auth.py288def set_anon_cookie(response, signed: str) -> None:CODE
LOWarchive/TTS/parler_handler.py28logger = logging.getLogger(__name__)CODE
LOWarchive/TTS/melo_handler.py19logger = logging.getLogger(__name__)CODE
LOWarchive/STT/moonshine_handler.py14logger = logging.getLogger(__name__)CODE
LOWtests/test_nemotron_streaming_stt.py69 def set_inference_prompt(self, lang: str) -> None:CODE
LOWexamples/realtime_web_search_tool.py14logger = logging.getLogger(__name__)CODE
LOWscripts/benchmark_tts.py28logger = logging.getLogger(__name__)CODE
LOWscripts/benchmark_stt.py30logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/configured_runtime.py22logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/s2s_pipeline.py76logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/baseHandler.py25logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/backend_registry.py58logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/pipeline/language_detection.py17logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/pipeline/__init__.py37__all__ = [CODE
LOWsrc/speech_to_speech/pipeline/transcript_logging.py23logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/pipeline/transcript_logging.py35def set_log_transcripts(enabled: bool) -> None:CODE
LOWsrc/speech_to_speech/pipeline/messages.py29logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/pipeline/speculative_turns.py10logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/evals/big_bench_audio/runner.py36logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/evals/big_bench_audio/__init__.py36__all__ = [CODE
LOWsrc/speech_to_speech/evals/big_bench_audio/hub.py17logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/evals/big_bench_audio/judge.py19logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/LLM/language_model.py96logger = logging.getLogger(__name__)CODE
LOW…peech_to_speech/LLM/chat_completions_language_model.py41logger = logging.getLogger(__name__)CODE
LOW…to_speech/LLM/base_openai_compatible_language_model.py63logger = logging.getLogger(__name__)CODE
LOW⚡src/speech_to_speech/LLM/compaction_prompt.py24logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/LLM/lm_output_processor.py41logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/LLM/audio_input_notifier.py15logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/LLM/chat.py51logger = logging.getLogger(__name__)CODE
LOW…c/speech_to_speech/LLM/responses_api_language_model.py45logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/LLM/tool_call/function_call.py25logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/STV/w2v_stv_handler.py25logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/utils/mlx_lock.py32logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/utils/thread_manager.py6logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/minimax_tts_handler.py25logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/supertonic_tts_handler.py18logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/omnivoice_handler.py20logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/openai_compatible_handler.py27logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/chatTTS_handler.py20logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/kokoro_handler.py30logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/kokoro_handler.py152 def _setup_mlx(self, model_name: str) -> None:CODE
LOWsrc/speech_to_speech/TTS/kokoro_handler.py181 def _setup_kokoro(self) -> None:CODE
LOWsrc/speech_to_speech/TTS/facebookmms_handler.py21logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/kitten_tts_handler.py20logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/pocket_tts_handler.py23logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/qwen3_tts_handler.py46logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/TTS/qwen3_tts_handler.py221 def _setup_faster(self, model_name: str, dtype: Any, attn_implementation: str, backend: str) -> None:CODE
LOWsrc/speech_to_speech/TTS/qwen3_tts_handler.py259 def _setup_mlx(self, model_name: str) -> None:CODE
LOW…speech_to_speech/api/openai_realtime/webrtc_session.py42logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/api/openai_realtime/service.py92logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/api/openai_realtime/server.py11logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/api/openai_realtime/llm_proxy.py25logger = logging.getLogger(__name__)CODE
LOW…c/speech_to_speech/api/openai_realtime/audio_client.py39logger = logging.getLogger(__name__)CODE
LOW…eech_to_speech/api/openai_realtime/websocket_router.py72logger = logging.getLogger(__name__)CODE
LOWsrc/speech_to_speech/api/openai_realtime/transports.py26logger = logging.getLogger(__name__)CODE
LOW…to_speech/api/openai_realtime/handlers/conversation.py46logger = logging.getLogger(__name__)CODE
LOW…eech_to_speech/api/openai_realtime/handlers/session.py18logger = logging.getLogger(__name__)CODE
LOW…ech_to_speech/api/openai_realtime/handlers/__init__.py7__all__ = [CODE
LOW⚡…ech_to_speech/api/openai_realtime/handlers/response.py72logger = logging.getLogger(__name__)CODE
LOW…speech_to_speech/api/openai_realtime/handlers/audio.py33logger = logging.getLogger(__name__)CODE
20 more matches not shown…
Deep Nesting101 hits · 77 pts
SeverityFileLineSnippetContext
LOWtests/test_provider_response_status.py122CODE
LOWtests/test_provider_response_status.py454CODE
LOWtests/test_minimax_tts_handler.py56CODE
LOWtests/test_minimax_tts_handler.py217CODE
LOWtests/test_minimax_tts_handler.py66CODE
LOWtests/test_pocket_tts_handler.py669CODE
LOWtests/test_openai_stt_handler.py640CODE
LOWtests/test_streaming_stt_handler.py407CODE
LOWtests/test_streaming_stt_handler.py1857CODE
LOWtests/test_streaming_stt_handler.py410CODE
LOWtests/test_streaming_stt_handler.py1862CODE
LOWtests/test_chat_completions_backend.py146CODE
LOWtests/test_openai_stt_lifecycle.py155CODE
LOWtests/test_openai_stt_lifecycle.py164CODE
LOWtests/test_chat.py86CODE
LOWtests/openai_realtime/test_turn_latency.py370CODE
LOWtests/openai_realtime/test_websocket_router.py77CODE
LOWtests/openai_realtime/test_websocket_router.py2109CODE
LOWtests/openai_realtime/test_websocket_router.py717CODE
LOWtests/openai_realtime/test_websocket_router.py920CODE
LOWtests/openai_realtime/test_websocket_router.py1099CODE
LOWtests/openai_realtime/test_websocket_router.py1384CODE
LOWtests/openai_realtime/test_websocket_router.py1972CODE
LOWtests/openai_realtime/test_response_input_identity.py400CODE
LOWtests/openai_realtime/realtime_contract.py88CODE
LOWtests/openai_realtime/realtime_contract.py279CODE
LOWtests/openai_realtime/realtime_contract.py255CODE
LOWscripts/benchmark_tts.py91CODE
LOWscripts/benchmark_stt.py110CODE
LOWscripts/synthetic_conversation_realtime_client.py205CODE
LOWscripts/synthetic_conversation_realtime_client.py283CODE
LOWsrc/speech_to_speech/_config_yaml.py17CODE
LOWsrc/speech_to_speech/config.py178CODE
LOWsrc/speech_to_speech/config.py259CODE
LOWsrc/speech_to_speech/configured_runtime.py53CODE
LOWsrc/speech_to_speech/configured_runtime.py208CODE
LOWsrc/speech_to_speech/s2s_pipeline.py569CODE
LOWsrc/speech_to_speech/baseHandler.py131CODE
LOWsrc/speech_to_speech/pipeline/turn_latency.py292CODE
LOWsrc/speech_to_speech/pipeline/turn_latency.py356CODE
LOWsrc/speech_to_speech/evals/big_bench_audio/runner.py178CODE
LOWsrc/speech_to_speech/evals/big_bench_audio/runner.py367CODE
LOWsrc/speech_to_speech/evals/big_bench_audio/dataset.py153CODE
LOWsrc/speech_to_speech/evals/big_bench_audio/__main__.py94CODE
LOWsrc/speech_to_speech/LLM/language_model.py316CODE
LOWsrc/speech_to_speech/LLM/language_model.py552CODE
LOWsrc/speech_to_speech/LLM/language_model.py798CODE
LOWsrc/speech_to_speech/LLM/language_model.py988CODE
LOWsrc/speech_to_speech/LLM/language_model.py1095CODE
LOWsrc/speech_to_speech/LLM/language_model.py1132CODE
LOW…to_speech/LLM/base_openai_compatible_language_model.py593CODE
LOW…to_speech/LLM/base_openai_compatible_language_model.py697CODE
LOW…to_speech/LLM/base_openai_compatible_language_model.py750CODE
LOWsrc/speech_to_speech/LLM/lm_output_processor.py134CODE
LOWsrc/speech_to_speech/LLM/chat.py346CODE
LOWsrc/speech_to_speech/LLM/chat.py477CODE
LOWsrc/speech_to_speech/LLM/chat.py528CODE
LOWsrc/speech_to_speech/LLM/chat.py601CODE
LOWsrc/speech_to_speech/LLM/chat.py670CODE
LOWsrc/speech_to_speech/LLM/chat.py795CODE
41 more matches not shown…
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtests/test_cli_defaults.py0schema_version: 1 blocks: vad: {kind: vad, backend: silero} stt: {kind: stt, backend: openai} llm: {kind: llm, backend: STRING
HIGHtests/test_config.py0schema_version: 1 blocks: vad: {kind: vad, backend: silero} stt: {kind: stt, backend: openai} llm: {kind: llm, backend: STRING
HIGHtests/test_configured_runtime.py0schema_version: 1 blocks: vad: {kind: vad, backend: silero} stt: {kind: stt, backend: openai} llm: {kind: llm, backend: STRING
HIGHsrc/speech_to_speech/STT/faster_whisper_handler.py0handles the speech to text generation using a whisper model.STRING
HIGH…/speech_to_speech/STT/lightning_whisper_mlx_handler.py0handles the speech to text generation using a whisper model.STRING
HIGHsrc/speech_to_speech/STT/whisper_stt_handler.py0handles the speech to text generation using a whisper model.STRING
AI Structural Patterns13 hits · 10 pts
SeverityFileLineSnippetContext
LOWarchive/TTS/parler_handler.py53CODE
LOWtests/test_streaming_stt_handler.py112CODE
LOWsrc/speech_to_speech/LLM/language_model.py176CODE
LOW…to_speech/LLM/base_openai_compatible_language_model.py183CODE
LOWsrc/speech_to_speech/TTS/minimax_tts_handler.py45CODE
LOWsrc/speech_to_speech/TTS/omnivoice_handler.py27CODE
LOWsrc/speech_to_speech/TTS/openai_compatible_handler.py366CODE
LOWsrc/speech_to_speech/TTS/kokoro_handler.py92CODE
LOWsrc/speech_to_speech/TTS/facebookmms_handler.py68CODE
LOWsrc/speech_to_speech/TTS/pocket_tts_handler.py33CODE
LOWsrc/speech_to_speech/TTS/qwen3_tts_handler.py109CODE
LOWsrc/speech_to_speech/VAD/vad_handler.py64CODE
LOWsrc/speech_to_speech/STT/openai_compatible_handler.py224CODE
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHsrc/speech_to_speech/LLM/README.md67 --responses_api_api_key YOUR_API_KEY \CODE
HIGHsrc/speech_to_speech/LLM/README.md136 --responses_api_api_key YOUR_API_KEYCODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALsrc/speech_to_speech/TTS/pocket_tts_handler.py247 tokens = len(self.model.flow_lm.conditioner.tokenizer.sp.encode(phonemes))CODE
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOWdemo/server.py61# Speech-to-speech load balancer URL. When set, the browser POSTs /api/sessionCOMMENT
LOWdemo/main.js301let currentState = "idle";COMMENT
LOWdemo/ui/chat.js61 // RTC media and data-channel events are not ordered relative to each other.COMMENT
LOWsrc/speech_to_speech/LLM/chat.py141 """COMMENT
LOWsrc/speech_to_speech/TTS/kokoro_handler.py41 "pt": "p", # PortugueseCOMMENT
LOWsrc/speech_to_speech/api/openai_realtime/service.py281 # Keyed by output index so response.done can preserve interleaving withCOMMENT
LOWsrc/speech_to_speech/api/openai_realtime/service.py301 input_turn_by_call_id: dict[str, InputTurnReference] = Field(default_factory=dict)COMMENT
LOW…eech_to_speech/api/openai_realtime/websocket_router.py601 logger.info(f"Client {session_id} disconnected from pipeline {unit.index}")COMMENT
Verbosity Indicators3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡scripts/synthetic_conversation_realtime_client.py317 # Step 1: allocate a slot via the LB (if configured).COMMENT
LOW⚡scripts/synthetic_conversation_realtime_client.py343 # Step 3: tell the LB the client actually connected (clears theCOMMENT
LOW⚡scripts/synthetic_conversation_realtime_client.py423 # Step 5: release the LB slot, regardless of how the ws session ended.COMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡scripts/synthetic_conversation_realtime_client.py317 # Step 1: allocate a slot via the LB (if configured).COMMENT
LOW⚡scripts/synthetic_conversation_realtime_client.py343 # Step 3: tell the LB the client actually connected (clears theCOMMENT
LOW⚡scripts/synthetic_conversation_realtime_client.py423 # Step 5: release the LB slot, regardless of how the ws session ended.COMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/speech_to_speech/VAD/vad_handler.py671 # Check if we're currently in a speech segment.COMMENT
LOWsrc/speech_to_speech/STT/mlx_audio_whisper_handler.py64 # Check if processor was loaded, if not, load it manually from original modelCOMMENT
LOWsrc/speech_to_speech/STT/smart_progressive_streaming.py122 # Check if window exceeds max_window_sizeCOMMENT
LOWsrc/speech_to_speech/STT/smart_progressive_streaming.py195 # Check if window exceeds max_window_sizeCOMMENT
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_qwen3_tts_handler_backend.py759CODE
MEDIUMtests/openai_realtime/test_turn_latency.py333CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…to_speech/LLM/base_openai_compatible_language_model.py748 # ── orchestration ─────────────────────────────────────────────────────────COMMENT