AI Slop Code RIsk Monitor

jamiepine/voicebox

The open-source AI voice studio. Clone, dictate, create.

13.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for jamiepine/voicebox, a Python project with 56,818 GitHub stars. SynthScan examined 111,039 lines of code across 474 source files, recording 975 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 13.8 (Moderate 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.

13.8
Adjusted Signal
13.8
Raw Pattern Score
100%
Time Factor
2026-10-07
Last Push
56.8K
Stars
Python
Language
111.0K
Lines of Code
474
Files
975
Pattern Hits
2026-10-12
Scan Date
0.14
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 24.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 7.4/100 · LOW

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

Agent Over-Engineering Ratio 39.8/100 · MEDIUM

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

PR Review Velocity Impact 49.7/100 · MEDIUM

Which changes need focused human review? 975 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 0HIGH 68MEDIUM 105LOW 802

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 975 distinct pattern matches across 17 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 Identifiers326 hits · 375 pts
SeverityFileLineSnippetContext
LOWapp/src/stores/serverStore.ts49export function isLoopbackVoiceboxServerUrl(url: string): boolean {CODE
LOW…components/InputMonitoringGate/InputMonitoringGate.tsx18export function useInputMonitoringPermission() {CODE
LOWapp/src/components/ServerSettings/ModelManagement.tsx49async function fetchHuggingFaceModelInfo(repoId: string): Promise<HuggingFaceModelInfo> {CODE
LOW…src/components/AccessibilityGate/AccessibilityGate.tsx23export function useAccessibilityPermission() {CODE
LOW…components/CapturesTab/DictationReadinessChecklist.tsx83export function DictationReadinessChecklist({CODE
LOWapp/src/components/Generation/EngineModelSelector.tsx176export function isProfileCompatibleWithEngine(CODE
LOWapp/src/lib/constants/languages.ts104export function getLanguageOptionsForEngine(engine: string) {CODE
LOWapp/src/lib/hooks/useHistory.ts32export function useClearFailedGenerations() {CODE
LOWapp/src/lib/hooks/useCaptureRecordingSession.ts100export function useCaptureRecordingSession(CODE
LOWbackend/config.py25def _path_relative_to_any_data_dir(path: Path) -> Path | None:CODE
LOWbackend/pyi_rth_torch_compiler_disable.py226def _patch_scipy_distn_source(source: str) -> str:CODE
LOWbackend/pyi_rth_torch_compiler_disable.py239def _patch_masking_utils_source(source: str) -> str:CODE
LOWbackend/database/seed.py12def backfill_generation_versions(SessionLocal, Generation, GenerationVersion) -> None:CODE
LOWbackend/database/migrations.py198def _migrate_generation_versions(engine, inspector, tables: set[str]) -> None:STRING
LOWbackend/database/migrations.py206def _migrate_capture_settings(engine, inspector, tables: set[str]) -> None:STRING
LOWbackend/backends/qwen_llm_backend.py278 def _reload_and_generate_sync() -> str:CODE
LOWbackend/backends/mlx_backend.py315 def _reload_and_generate_sync():CODE
LOWbackend/backends/mlx_backend.py458 def _reload_and_transcribe_sync():CODE
LOWbackend/backends/__init__.py289def _get_qwen_custom_voice_configs() -> list[ModelConfig]:CODE
LOWbackend/backends/__init__.py315def _get_qwen_voice_design_configs() -> list[ModelConfig]:CODE
LOWbackend/backends/__init__.py334def _get_non_qwen_tts_configs() -> list[ModelConfig]:CODE
LOWbackend/backends/__init__.py644async def ensure_model_cached_or_raise(engine: str, model_size: str = "default") -> None:CODE
LOWbackend/backends/__init__.py782def get_tts_backend_for_engine(engine: str) -> TTSBackend:CODE
LOWbackend/backends/__init__.py959def get_llm_backend_for_engine(engine: str) -> LLMBackend:CODE
LOWbackend/tests/test_voice_prompt_cache_unload.py36def test_clear_voice_prompt_memory_cache_leaves_disk_cache_alone(tmp_path, monkeypatch):CODE
LOWbackend/tests/test_voice_prompt_cache_unload.py49def test_unload_tts_model_clears_voice_prompt_memory_cache(monkeypatch):CODE
LOWbackend/tests/test_voice_prompt_cache_unload.py61def test_unload_model_by_config_clears_cache_for_generic_tts_engine(monkeypatch):CODE
LOWbackend/tests/test_voice_prompt_cache_unload.py76def test_unload_model_by_config_leaves_cache_alone_for_whisper(monkeypatch):CODE
LOWbackend/tests/test_cors.py63def client_with_custom_origins():CODE
LOW⚡backend/tests/test_cors.py118 def test_credentials_header_present(self, client):CODE
LOW⚡backend/tests/test_cors.py126 def test_custom_origin_allowed(self, client_with_custom_origins):CODE
LOW⚡backend/tests/test_cors.py130 def test_other_custom_origin_allowed(self, client_with_custom_origins):CODE
LOW⚡backend/tests/test_cors.py134 def test_default_origins_still_work(self, client_with_custom_origins):CODE
LOW⚡backend/tests/test_cors.py138 def test_unlisted_origin_still_blocked(self, client_with_custom_origins):CODE
LOWbackend/tests/test_cors.py158 def test_trailing_comma_ignored(self):CODE
LOW⚡backend/tests/test_omnivoice_compat.py57def test_initialization_functions_mutate_in_place_and_return_tensor():CODE
LOW⚡backend/tests/test_omnivoice_compat.py67def test_initialization_copy_writes_through():CODE
LOW⚡backend/tests/test_omnivoice_compat.py92def test_annotated_defaults_are_applied():CODE
LOW⚡backend/tests/test_omnivoice_compat.py98def test_kwargs_override_defaults():CODE
LOW⚡backend/tests/test_omnivoice_compat.py108def test_mutable_defaults_are_not_shared_between_instances():CODE
LOW⚡backend/tests/test_omnivoice_compat.py118def test_leftover_kwargs_reach_pretrained_config():CODE
LOW⚡backend/tests/test_omnivoice_compat.py128def test_auto_docstring_returns_target_unchanged():CODE
LOW⚡backend/tests/test_omnivoice_compat.py136def test_strict_returns_target_unchanged():CODE
LOW⚡backend/tests/test_omnivoice_compat.py150def restore_special_tokens_hook():CODE
LOW⚡backend/tests/test_omnivoice_compat.py246def test_attribute_name_derivation(token, expected):CODE
LOW⚡backend/tests/test_omnivoice_compat.py253def test_omnivoice_is_registered():CODE
LOWbackend/tests/test_omnivoice_compat.py176def test_patch_coerces_list_to_mapping(restore_special_tokens_hook):CODE
LOWbackend/tests/test_omnivoice_compat.py194def test_patch_leaves_mapping_form_alone(restore_special_tokens_hook):CODE
LOWbackend/tests/test_omnivoice_compat.py215def test_teardown_leaves_no_stub_behind(restore_special_tokens_hook):CODE
LOWbackend/tests/test_omnivoice_compat.py230def test_inherited_method_is_reachable_after_teardown():CODE
LOWbackend/tests/test_omnivoice_compat.py265def test_omnivoice_accepts_cloned_profiles():CODE
LOWbackend/tests/test_omnivoice_compat.py272def test_declared_languages_are_resolvable_by_omnivoice():CODE
LOWbackend/tests/test_omnivoice_compat.py298def test_clear_codec_layer_cache_is_safe_when_codec_never_imported():CODE
LOWbackend/tests/test_omnivoice_compat.py310def test_ensure_asr_loads_once_under_concurrency():CODE
LOWbackend/tests/test_omnivoice_compat.py351def test_ensure_asr_is_a_noop_once_loaded():CODE
LOWbackend/tests/test_package_rocm.py55 def test_runtime_files_are_rocm(self, rel_path):CODE
LOWbackend/tests/test_package_rocm.py74 def test_core_files_are_not_rocm(self, rel_path):CODE
LOWbackend/tests/test_package_rocm.py131 def test_empty_rocm_set_exits(self, tmp_path):CODE
LOWbackend/tests/test_offline_patch.py45def test_suppresses_offline_mode_is_enabled(monkeypatch):CODE
LOWbackend/tests/test_offline_patch.py62def test_suppresses_connection_errors(monkeypatch):CODE
266 more matches not shown…
Empty Error Handlers54 hits · 270 pts
SeverityFileLineSnippetContext
HIGHbackend/server.py177except Exception:CODE
HIGHbackend/server.py257except OSError:CODE
HIGHbackend/pyi_rth_torch_compiler_disable.py70except Exception:CODE
HIGHbackend/app.py258except ImportError:CODE
HIGHbackend/pyi_rth_numpy_compat.py95except Exception:CODE
HIGHbackend/backends/base.py201except AttributeError:CODE
HIGHbackend/backends/base.py145except ImportError:CODE
HIGHbackend/backends/base.py154except ImportError:CODE
HIGHbackend/tests/test_omnivoice_compat.py170except AttributeError:CODE
HIGHbackend/tests/test_all_models_e2e.py201except Exception:CODE
HIGHbackend/tests/test_all_models_e2e.py225except httpx.HTTPError:CODE
HIGHbackend/tests/test_all_models_e2e.py195except subprocess.TimeoutExpired:CODE
HIGHbackend/tests/test_qwen_download.py235except asyncio.CancelledError:CODE
HIGHbackend/utils/hf_progress.py361except (ImportError, AttributeError):CODE
HIGHbackend/utils/hf_progress.py275except (AttributeError, TypeError):CODE
HIGHbackend/utils/hf_progress.py346except (AttributeError, TypeError):CODE
HIGHbackend/utils/hf_progress.py357except (ImportError, AttributeError):CODE
HIGHbackend/utils/dac_shim.py58except ImportError:CODE
HIGHbackend/utils/platform_detect.py56except Exception:CODE
HIGHbackend/utils/platform_detect.py67except Exception:CODE
HIGHbackend/utils/images.py74except (AttributeError, KeyError, IndexError, TypeError):CODE
HIGHbackend/utils/hf_offline_patch.py192except ImportError:CODE
HIGHbackend/utils/hf_offline_patch.py199except ImportError:CODE
HIGHbackend/utils/hf_offline_patch.py153except ImportError:CODE
HIGHbackend/utils/hf_offline_patch.py160except ImportError:CODE
HIGHbackend/utils/audio.py107except Exception:CODE
HIGHbackend/utils/progress.py202except RuntimeError:CODE
HIGHbackend/mcp_shim/__main__.py51except Exception:CODE
HIGHbackend/routes/models.py212except OSError:CODE
HIGHbackend/routes/models.py331except Exception:CODE
HIGHbackend/routes/models.py405except Exception:CODE
HIGHbackend/routes/models.py361except Exception:CODE
HIGHbackend/routes/models.py369except Exception:CODE
HIGHbackend/routes/models.py403except Exception:CODE
HIGHbackend/routes/generations.py123except Exception:CODE
HIGHbackend/routes/generations.py464except OSError:CODE
HIGHbackend/routes/health.py79except ImportError:CODE
HIGHbackend/routes/health.py93except ImportError:CODE
HIGHbackend/routes/health.py167except Exception:CODE
HIGHbackend/routes/health.py125except Exception:CODE
HIGHbackend/routes/health.py227except Exception:CODE
HIGHbackend/mcp_server/events.py39except asyncio.QueueFull:CODE
HIGHbackend/services/rocm.py324except Exception:CODE
HIGHbackend/services/rocm.py330except Exception:CODE
HIGHbackend/services/generation.py189except Exception:CODE
HIGHbackend/services/export_import.py200except Exception as e:CODE
HIGHbackend/services/captures.py143except OSError:CODE
HIGHbackend/services/cuda.py332except Exception:CODE
HIGHbackend/services/cuda.py338except Exception:CODE
HIGHbackend/services/history.py63except Exception:CODE
HIGHscripts/test_download_progress.py229except (ImportError, AttributeError):CODE
HIGHscripts/test_download_progress.py201except (AttributeError, TypeError):CODE
HIGHscripts/test_download_progress.py245except (AttributeError, TypeError):CODE
HIGHscripts/test_download_progress.py252except (ImportError, AttributeError):CODE
Decorative Section Separators71 hits · 248 pts
SeverityFileLineSnippetContext
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx15// ── Tag definitions ─────────────────────────────────────────────────COMMENT
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx44// ── Helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx118// ── Component ───────────────────────────────────────────────────────COMMENT
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx172 // ── Sync external value → editor ──────────────────────────────COMMENT
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx183 // ── Emit plain-text value on input ────────────────────────────COMMENT
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx192 // ── Insert a tag badge at the caret ───────────────────────────COMMENT
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx237 // ── Handle keydown for autocomplete navigation ────────────────COMMENT
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx273 // ── Handle input (check for / trigger) ────────────────────────COMMENT
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx305 // ── Handle paste — convert [tag] patterns to badges ───────────COMMENT
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx344 // ── Show placeholder ──────────────────────────────────────────COMMENT
MEDIUMapp/src/lib/constants/languages.ts112// ── Backwards-compatible exports used elsewhere ──────────────────────COMMENT
MEDIUMapp/src/lib/api/client.ts139 // ── Personality-driven text generation ─────────────────────────────COMMENT
MEDIUMbackend/models.py427# ── Profile personality endpoint ──────────────────────────────────────COMMENT
MEDIUMbackend/models.py848# ─── Cloud (backup & sync) ──────────────────────────────────────────────COMMENT
MEDIUMbackend/pyproject.toml11# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/pyproject.toml13# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/pyproject.toml84# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/pyproject.toml86# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/STYLE_GUIDE.md149# ============================================COMMENT
MEDIUM⚡backend/STYLE_GUIDE.md151# ============================================COMMENT
MEDIUM⚡backend/STYLE_GUIDE.md153# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/STYLE_GUIDE.md155# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/backends/qwen_custom_voice_backend.py34# ── Preset speakers ──────────────────────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_omnivoice_compat.py52# ── initialization module ─────────────────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_omnivoice_compat.py73# ── PreTrainedConfig dataclass adapter ────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_omnivoice_compat.py123# ── auto_docstring / strict no-ops ────────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_omnivoice_compat.py144# ── extra_special_tokens list form ────────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_omnivoice_compat.py250# ── engine wiring ─────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_omnivoice_compat.py30# ── conv1d_output_length ──────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_speak_language.py85# ─── REST: POST /speak ────────────────────────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_speak_language.py120# ─── MCP: voicebox_speak ──────────────────────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_openai_compat.py111# ─── /v1/models ───────────────────────────────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_openai_compat.py131# ─── /v1/audio/speech: happy paths ────────────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_openai_compat.py212# ─── /v1/audio/speech: errors in OpenAI's shape ───────────────────────────COMMENT
MEDIUMbackend/tests/test_openai_compat.py300# ─── encoder unit coverage ────────────────────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_refinement_collapse.py14# ── single-word loops (word-level pass) ─────────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_refinement_collapse.py46# ── multi-word loops (character-level pass) ─────────────────────────────COMMENT
MEDIUM⚡backend/tests/test_refinement_collapse.py82# ── CJK loops (character-level pass, no whitespace) ──────────────────────COMMENT
MEDIUM⚡backend/tests/test_refinement_collapse.py113# ── whitespace / edge cases ──────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_refinement_samples.py57# ── Sample inputs ─────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_refinement_samples.py174# ── Scoring heuristics ────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_refinement_samples.py316# ── Runner ────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_all_models_e2e.py43# ── Test matrix ──────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_all_models_e2e.py74# ── Result record ────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_all_models_e2e.py93# ── Binary resolution ────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_all_models_e2e.py125# ── Server spawn + log capture ───────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_all_models_e2e.py213# ── HTTP helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_all_models_e2e.py369# ── Report writers ───────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_all_models_e2e.py436# ── Main ─────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_personality_samples.py44# ── Sample personalities ──────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_personality_samples.py89# ── Scoring heuristics ────────────────────────────────────────────────COMMENT
MEDIUMbackend/tests/test_personality_samples.py177# ── Runner ────────────────────────────────────────────────────────────COMMENT
MEDIUMbackend/utils/dac_shim.py25# ── Snake activation (from dac/nn/layers.py) ────────────────────────COMMENT
MEDIUMbackend/utils/dac_shim.py47# ── Register as dac.nn.layers and dac.model.dac ─────────────────────COMMENT
MEDIUM⚡backend/utils/transformers5_compat.py48# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/utils/transformers5_compat.py50# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/utils/transformers5_compat.py126# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡backend/utils/transformers5_compat.py128# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/routes/profiles.py69# ── Preset Voice Endpoints ───────────────────────────────────────────COMMENT
MEDIUMbackend/routes/profiles.py366# ── Personality endpoint ──────────────────────────────────────────────COMMENT
11 more matches not shown…
Excessive Try-Catch Wrapping167 hits · 186 pts
SeverityFileLineSnippetContext
LOWbackend/server.py22 except Exception:CODE
LOWbackend/server.py132except Exception as e:CODE
LOWbackend/server.py177 except Exception:CODE
LOWbackend/server.py341 except Exception as e:CODE
MEDIUMbackend/server.py43def write(self, s):CODE
LOWbackend/pyi_rth_torch_compiler_disable.py70 except Exception:CODE
LOWbackend/pyi_rth_torch_compiler_disable.py287 except Exception:CODE
LOWbackend/pyi_rth_torch_compiler_disable.py315 except Exception as e:CODE
LOWbackend/pyi_rth_torch_compiler_disable.py385 except Exception as e:CODE
LOWbackend/pyi_rth_torch_compiler_disable.py446 except Exception as e:CODE
LOWbackend/pyi_rth_torch_compiler_disable.py462 except Exception as e:CODE
LOWbackend/pyi_rth_torch_compiler_disable.py507 except Exception as e:CODE
LOWbackend/pyi_rth_torch_compiler_disable.py524except Exception as _e:CODE
LOWbackend/app.py255 except Exception:CODE
LOWbackend/app.py309 except Exception as e:CODE
LOWbackend/app.py324 except Exception as e:CODE
LOWbackend/app.py348 except Exception as e:CODE
LOWbackend/app.py357 except Exception as e:CODE
LOW⚡backend/app.py368 except Exception:CODE
LOW⚡backend/app.py372 except Exception:CODE
LOW⚡backend/app.py376 except Exception:CODE
LOWbackend/pyi_rth_numpy_compat.py95 except Exception:CODE
LOWbackend/backends/hume_backend.py165 except Exception:CODE
LOWbackend/backends/mlx_backend.py294 except Exception as e:CODE
LOWbackend/backends/__init__.py748 except Exception:CODE
LOWbackend/backends/chatterbox_mlx_backend.py100 except Exception:CODE
LOWbackend/backends/base.py93 except Exception as e:CODE
LOWbackend/backends/base.py345 except Exception as e:CODE
MEDIUMbackend/tests/test_whisper_download.py23 print(f"Error: SSE endpoint returned {response.status_code}")CODE
LOW⚡backend/tests/test_whisper_download.py71 except Exception as e:CODE
LOWbackend/tests/test_generation_download.py59 except Exception as e:CODE
LOWbackend/tests/test_generation_download.py104 except Exception as e:CODE
LOWbackend/tests/test_generation_download.py120 except Exception as e:CODE
MEDIUMbackend/tests/test_generation_download.py121 print(f"Error getting profiles: {e}")CODE
LOWbackend/tests/test_generation_download.py132 except Exception as e:CODE
LOW⚡backend/tests/test_progress.py263 except Exception as e:CODE
LOW⚡backend/tests/test_progress.py270 except Exception as e:CODE
LOW⚡backend/tests/test_progress.py277 except Exception as e:CODE
LOW⚡backend/tests/test_progress.py284 except Exception as e:CODE
LOWbackend/tests/test_rocm_requirements.py39 except Exception:CODE
LOWbackend/tests/test_offline_guard.py44 except Exception as exc:CODE
LOWbackend/tests/test_offline_guard.py114 except Exception as exc: # noqa: BLE001CODE
LOWbackend/tests/test_offline_guard.py121 except Exception as exc: # noqa: BLE001CODE
LOWbackend/tests/test_offline_guard.py155 except Exception as exc:CODE
LOWbackend/tests/test_offline_guard.py163 except Exception as exc:CODE
MEDIUMbackend/tests/test_offline_guard.py108def slow():CODE
MEDIUMbackend/tests/test_offline_guard.py117def fast():CODE
MEDIUMbackend/tests/test_offline_guard.py150def cached_load():CODE
MEDIUMbackend/tests/test_offline_guard.py158def uncached_load():CODE
LOWbackend/tests/test_refinement_samples.py339 except Exception:CODE
LOWbackend/tests/test_refinement_samples.py434 except Exception as e:CODE
LOWbackend/tests/test_all_models_e2e.py186 except Exception as e:CODE
LOWbackend/tests/test_all_models_e2e.py201 except Exception:CODE
LOWbackend/tests/test_all_models_e2e.py619 except Exception:CODE
LOWbackend/tests/test_all_models_e2e.py622 except Exception as e:CODE
LOWbackend/tests/test_personality_samples.py204 except Exception:CODE
LOWbackend/tests/test_personality_samples.py239 except Exception as e:CODE
LOWbackend/tests/test_personality_samples.py316 except Exception as e:CODE
LOWbackend/tests/test_qwen_download.py89 except Exception as e:CODE
LOWbackend/tests/test_qwen_download.py107 except Exception as e:CODE
107 more matches not shown…
Unused Imports92 hits · 90 pts
SeverityFileLineSnippetContext
LOWbackend/app.py115CODE
LOWbackend/app.py250CODE
LOWbackend/main.py10CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py8CODE
LOWbackend/database/__init__.py27CODE
LOWbackend/database/__init__.py27CODE
LOWbackend/database/__init__.py27CODE
LOWbackend/database/__init__.py27CODE
LOWbackend/database/__init__.py27CODE
LOWbackend/backends/chatterbox_backend.py17CODE
LOWbackend/backends/chatterbox_turbo_backend.py17CODE
LOWbackend/backends/kokoro_backend.py20CODE
LOWbackend/backends/kokoro_backend.py25CODE
LOWbackend/backends/qwen_llm_backend.py14CODE
LOWbackend/backends/qwen_llm_backend.py15CODE
LOWbackend/backends/hume_backend.py23CODE
LOWbackend/backends/pytorch_backend.py17CODE
LOWbackend/backends/pytorch_backend.py17CODE
LOWbackend/backends/mlx_backend.py5CODE
LOWbackend/backends/mlx_backend.py35CODE
LOWbackend/backends/mlx_backend.py35CODE
LOWbackend/backends/__init__.py13CODE
LOWbackend/backends/qwen_voice_design_backend.py25CODE
LOWbackend/backends/luxtts_backend.py14CODE
LOWbackend/backends/qwen_custom_voice_backend.py24CODE
LOWbackend/backends/base.py13CODE
LOWbackend/backends/base.py141CODE
LOWbackend/tests/test_cors.py15CODE
LOWbackend/tests/test_cors.py17CODE
LOWbackend/tests/test_whisper_download.py8CODE
LOWbackend/tests/test_generation_download.py11CODE
LOWbackend/tests/test_rocm_backends.py13CODE
LOWbackend/tests/test_rocm_download.py10CODE
LOWbackend/tests/test_rocm_download.py13CODE
LOWbackend/tests/test_rocm_download.py13CODE
LOWbackend/tests/test_refinement_samples.py27CODE
LOWbackend/tests/test_story_export.py8CODE
LOWbackend/tests/test_all_models_e2e.py13CODE
LOWbackend/tests/test_all_models_e2e.py28CODE
LOWbackend/tests/test_audioop_python313.py39CODE
LOWbackend/tests/test_hume_encode_inference_mode.py3CODE
LOWbackend/tests/test_personality_samples.py25CODE
LOWbackend/utils/effects.py20CODE
LOWbackend/utils/platform_detect.py122CODE
32 more matches not shown…
Deep Nesting61 hits · 58 pts
SeverityFileLineSnippetContext
LOWbackend/server.py151CODE
LOWbackend/server.py181CODE
LOWbackend/server.py213CODE
LOWbackend/build_binary.py25CODE
LOWbackend/pyi_rth_numpy_compat.py35CODE
LOWbackend/database/seed.py50CODE
LOWbackend/database/migrations.py66CODE
LOWbackend/database/migrations.py366CODE
LOWbackend/backends/chatterbox_backend.py79CODE
LOWbackend/backends/chatterbox_turbo_backend.py81CODE
LOWbackend/backends/kokoro_backend.py242CODE
LOWbackend/backends/kokoro_backend.py267CODE
LOWbackend/backends/hume_backend.py222CODE
LOWbackend/backends/hume_backend.py246CODE
LOWbackend/backends/pytorch_backend.py142CODE
LOWbackend/backends/mlx_backend.py160CODE
LOWbackend/backends/mlx_backend.py215CODE
LOWbackend/backends/mlx_backend.py409CODE
LOWbackend/backends/mlx_backend.py238CODE
LOWbackend/backends/mlx_backend.py428CODE
LOWbackend/backends/__init__.py782CODE
LOWbackend/backends/base.py44CODE
LOWbackend/tests/test_generation_download.py15CODE
LOWbackend/tests/test_rocm_backends.py37CODE
LOWbackend/tests/test_rocm_backends.py53CODE
LOWbackend/tests/test_progress.py120CODE
LOWbackend/tests/test_progress.py166CODE
LOWbackend/tests/test_progress.py187CODE
LOWbackend/tests/test_refinement_samples.py407CODE
LOWbackend/tests/test_all_models_e2e.py215CODE
LOWbackend/tests/test_all_models_e2e.py286CODE
LOWbackend/tests/test_all_models_e2e.py498CODE
LOWbackend/tests/test_personality_samples.py285CODE
LOWbackend/tests/test_qwen_download.py23CODE
LOWbackend/tests/test_qwen_download.py135CODE
LOWbackend/tests/test_qwen_download.py160CODE
LOWbackend/utils/hf_progress.py30CODE
LOWbackend/utils/hf_progress.py217CODE
LOWbackend/utils/hf_progress.py116CODE
LOWbackend/utils/images.py47CODE
LOWbackend/utils/hf_offline_patch.py63CODE
LOWbackend/utils/audio.py150CODE
LOWbackend/utils/progress.py35CODE
LOWbackend/utils/progress.py190CODE
LOWbackend/routes/tasks.py46CODE
LOWbackend/routes/models.py184CODE
LOWbackend/routes/models.py289CODE
LOWbackend/routes/models.py517CODE
LOWbackend/routes/models.py215CODE
LOWbackend/routes/health.py57CODE
LOWbackend/routes/health.py196CODE
LOWbackend/services/rocm.py140CODE
LOWbackend/services/rocm.py257CODE
LOWbackend/services/task_queue.py39CODE
LOWbackend/services/generation.py46CODE
LOWbackend/services/export_import.py123CODE
LOWbackend/services/export_import.py333CODE
LOWbackend/services/captures.py60CODE
LOWbackend/services/cuda.py167CODE
LOWbackend/services/history.py321CODE
1 more matches not shown…
Fake / Example Data54 hits · 54 pts
SeverityFileLineSnippetContext
LOWapp/src/i18n/locales/ja/translation.json256 "placeholder": "温かくしゃがれた年配の男性の声。ゆっくりしたスコットランド訛りで、少し愉快そうな響き。",CODE
LOWapp/src/i18n/locales/ja/translation.json379 "placeholder": "リファレンステキストを入力…",CODE
LOWapp/src/i18n/locales/ja/translation.json433 "placeholder": "プリセットを選択するか、新しく作成します",CODE
LOWapp/src/i18n/locales/ja/translation.json704 "placeholder": {CODE
LOWapp/src/i18n/locales/ja/translation.json720 "placeholder": "デリバリー指示 — 例:暖かくゆっくり話す、はっきりと威厳をもって…"CODE
LOWapp/src/i18n/locales/ja/translation.json723 "placeholder": "ボイスを選択…"CODE
LOWapp/src/i18n/locales/it/translation.json256 "placeholder": "Un uomo anziano dalla voce calda e roca, con una lenta cadenza scozzese e un pizzico di ironia.",CODE
LOWapp/src/i18n/locales/it/translation.json379 "placeholder": "Inserisci il testo di riferimento…",CODE
LOWapp/src/i18n/locales/it/translation.json433 "placeholder": "Seleziona un preset o creane uno nuovo",CODE
LOWapp/src/i18n/locales/it/translation.json704 "placeholder": {CODE
LOWapp/src/i18n/locales/it/translation.json720 "placeholder": "Istruzioni di pronuncia — es. Parla lentamente con calore, Autorevole e chiaro…"CODE
LOWapp/src/i18n/locales/it/translation.json723 "placeholder": "Seleziona una voce…"CODE
LOWapp/src/i18n/locales/zh-CN/translation.json256 "placeholder": "一位声音温暖沙哑的年长男性,带着缓慢的苏格兰口音和一丝笑意。",CODE
LOWapp/src/i18n/locales/zh-CN/translation.json379 "placeholder": "输入参考文本……",CODE
LOWapp/src/i18n/locales/zh-CN/translation.json433 "placeholder": "选择一个预设或创建新的",CODE
LOWapp/src/i18n/locales/zh-CN/translation.json704 "placeholder": {CODE
LOWapp/src/i18n/locales/zh-CN/translation.json720 "placeholder": "传达说明——例如:温柔缓慢地说、威严清晰…"CODE
LOWapp/src/i18n/locales/zh-CN/translation.json723 "placeholder": "选择声音…"CODE
LOWapp/src/i18n/locales/zh-TW/translation.json256 "placeholder": "一位聲音溫暖沙啞的年長男性,帶著緩慢的蘇格蘭口音和一絲笑意。",CODE
LOWapp/src/i18n/locales/zh-TW/translation.json379 "placeholder": "輸入參考文字……",CODE
LOWapp/src/i18n/locales/zh-TW/translation.json433 "placeholder": "選擇預設集或建立新的",CODE
LOWapp/src/i18n/locales/zh-TW/translation.json704 "placeholder": {CODE
LOWapp/src/i18n/locales/zh-TW/translation.json720 "placeholder": "傳達指示——例如:溫柔緩慢地說、威嚴清晰…"CODE
LOWapp/src/i18n/locales/zh-TW/translation.json723 "placeholder": "選擇聲音…"CODE
LOWapp/src/i18n/locales/pt-BR/translation.json256 "placeholder": "Um homem mais velho de voz quente e rouca, com sotaque escocês pausado e um toque de humor.",CODE
LOWapp/src/i18n/locales/pt-BR/translation.json379 "placeholder": "Digite o texto de referência…",CODE
LOWapp/src/i18n/locales/pt-BR/translation.json433 "placeholder": "Selecione um preset ou crie um novo",CODE
LOWapp/src/i18n/locales/pt-BR/translation.json704 "placeholder": {CODE
LOWapp/src/i18n/locales/pt-BR/translation.json720 "placeholder": "Instruções de entrega — ex.: Fale devagar e com calor, Autoritário e claro…"CODE
LOWapp/src/i18n/locales/pt-BR/translation.json723 "placeholder": "Selecione uma voz…"CODE
LOWapp/src/i18n/locales/ko/translation.json256 "placeholder": "따뜻하고 거친 노년 남성의 목소리. 느릿한 스코틀랜드 억양에 약간의 유머가 묻어남.",CODE
LOWapp/src/i18n/locales/ko/translation.json379 "placeholder": "참조 텍스트 입력…",CODE
LOWapp/src/i18n/locales/ko/translation.json433 "placeholder": "프리셋을 선택하거나 새로 만드세요",CODE
LOWapp/src/i18n/locales/ko/translation.json704 "placeholder": {CODE
LOWapp/src/i18n/locales/ko/translation.json720 "placeholder": "전달 지시사항 — 예: 천천히 따뜻하게 말하기, 권위적으로 명확하게…"CODE
LOWapp/src/i18n/locales/ko/translation.json723 "placeholder": "음성 선택…"CODE
LOWapp/src/i18n/locales/fr/translation.json256 "placeholder": "Un homme âgé à la voix chaude et rocailleuse, avec un accent écossais lent et une pointe d'amusemeCODE
LOWapp/src/i18n/locales/fr/translation.json379 "placeholder": "Saisissez le texte de référence…",CODE
LOWapp/src/i18n/locales/fr/translation.json433 "placeholder": "Sélectionnez un préréglage ou créez-en un nouveau",CODE
LOWapp/src/i18n/locales/fr/translation.json704 "placeholder": {CODE
LOWapp/src/i18n/locales/fr/translation.json720 "placeholder": "Instructions d'interprétation — ex. Parle lentement avec chaleur, Autoritaire et clair…"CODE
LOWapp/src/i18n/locales/fr/translation.json723 "placeholder": "Sélectionnez une voix…"CODE
LOWapp/src/i18n/locales/es/translation.json256 "placeholder": "Un hombre mayor de voz cálida y rasposa, con un acento escocés pausado y un punto de guasa.",CODE
LOWapp/src/i18n/locales/es/translation.json379 "placeholder": "Introduce el texto de referencia…",CODE
LOWapp/src/i18n/locales/es/translation.json433 "placeholder": "Selecciona un preajuste o crea uno nuevo",CODE
LOWapp/src/i18n/locales/es/translation.json704 "placeholder": {CODE
LOWapp/src/i18n/locales/es/translation.json720 "placeholder": "Instrucciones de interpretación — p. ej. Habla despacio y con calidez, Con autoridad y claridad…"CODE
LOWapp/src/i18n/locales/es/translation.json723 "placeholder": "Selecciona una voz…"CODE
LOWapp/src/i18n/locales/en/translation.json256 "placeholder": "A warm, gravelly older man with a slow Scottish lilt and a hint of amusement.",CODE
LOWapp/src/i18n/locales/en/translation.json379 "placeholder": "Enter reference text…",CODE
LOWapp/src/i18n/locales/en/translation.json433 "placeholder": "Select a preset or create a new one",CODE
LOWapp/src/i18n/locales/en/translation.json704 "placeholder": {CODE
LOWapp/src/i18n/locales/en/translation.json720 "placeholder": "Delivery instructions — e.g. Speak slowly with warmth, Authoritative and clear…",CODE
LOWapp/src/i18n/locales/en/translation.json724 "placeholder": "Select a voice…"CODE
Modern Structural Boilerplate47 hits · 47 pts
SeverityFileLineSnippetContext
LOWbackend/server.py107logger = logging.getLogger(__name__)CODE
LOWbackend/config.py11logger = logging.getLogger(__name__)CODE
LOWbackend/build_binary.py17logger = logging.getLogger(__name__)CODE
LOWbackend/app.py39logger = logging.getLogger(__name__)CODE
LOWbackend/database/session.py22logger = logging.getLogger(__name__)CODE
LOWbackend/database/session.py44 def _set_sqlite_pragmas(dbapi_connection, _record) -> None:CODE
LOWbackend/database/__init__.py29__all__ = [CODE
LOWbackend/database/seed.py9logger = logging.getLogger(__name__)CODE
LOWbackend/database/migrations.py31logger = logging.getLogger(__name__)CODE
LOWbackend/backends/chatterbox_backend.py28logger = logging.getLogger(__name__)CODE
LOWbackend/backends/chatterbox_turbo_backend.py28logger = logging.getLogger(__name__)CODE
LOWbackend/backends/omnivoice_backend.py48logger = logging.getLogger(__name__)CODE
LOWbackend/backends/kokoro_backend.py32logger = logging.getLogger(__name__)CODE
LOWbackend/backends/qwen_llm_backend.py24logger = logging.getLogger(__name__)CODE
LOWbackend/backends/hume_backend.py34logger = logging.getLogger(__name__)CODE
LOWbackend/backends/openai_compat_backend.py23logger = logging.getLogger(__name__)CODE
LOWbackend/backends/pytorch_backend.py11logger = logging.getLogger(__name__)CODE
LOWbackend/backends/mlx_backend.py12logger = logging.getLogger(__name__)CODE
LOWbackend/backends/chatterbox_mlx_backend.py31logger = logging.getLogger(__name__)CODE
LOWbackend/backends/qwen_voice_design_backend.py33logger = logging.getLogger(__name__)CODE
LOWbackend/backends/luxtts_backend.py25logger = logging.getLogger(__name__)CODE
LOWbackend/backends/qwen_custom_voice_backend.py32logger = logging.getLogger(__name__)CODE
LOWbackend/backends/base.py23logger = logging.getLogger(__name__)CODE
LOWbackend/utils/hf_progress.py11logger = logging.getLogger(__name__)CODE
LOWbackend/utils/transformers5_compat.py31logger = logging.getLogger(__name__)CODE
LOWbackend/utils/cache.py13logger = logging.getLogger(__name__)CODE
LOWbackend/utils/hf_offline_patch.py14logger = logging.getLogger(__name__)CODE
LOWbackend/routes/rocm.py13logger = logging.getLogger(__name__)CODE
LOWbackend/routes/speak.py22logger = logging.getLogger(__name__)CODE
LOWbackend/routes/generations.py20logger = logging.getLogger(__name__)CODE
LOWbackend/routes/events.py18logger = logging.getLogger(__name__)CODE
LOWbackend/routes/llm.py14logger = logging.getLogger(__name__)CODE
LOWbackend/routes/captures.py17logger = logging.getLogger(__name__)CODE
LOWbackend/routes/cuda.py13logger = logging.getLogger(__name__)CODE
LOWbackend/routes/openai_compat.py50logger = logging.getLogger(__name__)CODE
LOWbackend/routes/profiles.py20logger = logging.getLogger(__name__)CODE
LOWbackend/mcp_server/server.py22logger = logging.getLogger(__name__)CODE
LOWbackend/mcp_server/tools.py29logger = logging.getLogger(__name__)CODE
LOWbackend/mcp_server/__init__.py10__all__ = ["mount_into"]CODE
LOWbackend/mcp_server/context.py22logger = logging.getLogger(__name__)CODE
LOWbackend/services/rocm.py30logger = logging.getLogger(__name__)CODE
LOWbackend/services/cloud.py28logger = logging.getLogger(__name__)CODE
LOWbackend/services/captures.py27logger = logging.getLogger(__name__)CODE
LOWbackend/services/cuda.py29logger = logging.getLogger(__name__)CODE
LOWbackend/services/versions.py25logger = logging.getLogger(__name__)CODE
LOWbackend/services/profiles.py33logger = logging.getLogger(__name__)CODE
LOWbackend/services/history.py18logger = logging.getLogger(__name__)CODE
Over-Commented Block46 hits · 46 pts
SeverityFileLineSnippetContext
LOWdocker-compose.rocm.yml21COMMENT
LOWtauri/src-tauri/src/keyboard_layout.rs1//! Layout-aware resolution of the keycode whose current-layout translationCOMMENT
LOWtauri/src-tauri/src/keyboard_layout.rs21COMMENT
LOWtauri/src-tauri/src/input_monitoring.rs1//! Platform permission gate for the global keyboard tap.COMMENT
LOWtauri/src-tauri/src/input_monitoring.rs21//! `enable_hotkey` calls `request` on first invocation so the prompt firesCOMMENT
LOWtauri/src-tauri/src/input_monitoring.rs41COMMENT
LOWtauri/src-tauri/src/synthetic_keys.rs1//! Synthetic keyboard event posting for the auto-paste pipeline.COMMENT
LOWtauri/src-tauri/src/synthetic_keys.rs21//! [`crate::keyboard_layout`] — Cmd+V is matched against the layout-COMMENT
LOWtauri/src-tauri/src/synthetic_keys.rs101 let source = CGEventSourceCreate(K_CG_EVENT_SOURCE_STATE_HID_SYSTEM_STATE);COMMENT
LOWtauri/src-tauri/src/accessibility.rs1//! Platform permission gate for the auto-paste pipeline.COMMENT
LOWtauri/src-tauri/src/main.rs61}COMMENT
LOWtauri/src-tauri/src/main.rs961}COMMENT
LOWtauri/src-tauri/src/main.rs981const VOICEBOX_BUNDLE_ID: &str = "voicebox.exe";COMMENT
LOWtauri/src-tauri/src/main.rs1001 accessibility::is_trusted()COMMENT
LOWtauri/src-tauri/src/main.rs1061/// is true) and from the settings toggle.COMMENT
LOWtauri/src-tauri/src/main.rs1121/// Push a new chord configuration into the running `HotkeyMonitor`. CalledCOMMENT
LOWtauri/src-tauri/src/main.rs1181 Err("Input Monitoring settings pane is only implemented on macOS".into())COMMENT
LOWtauri/src-tauri/src/main.rs1201/// `send_paste` failure is isolated from the restore decision: we alwaysCOMMENT
LOWtauri/src-tauri/src/main.rs1421 // the main thread, and register an observer for layoutCOMMENT
LOWtauri/src-tauri/src/main.rs1441 // user sees and interacts with nothing.COMMENT
LOWtauri/src-tauri/src/clipboard.rs1//! Snapshot / write / restore helpers around the system clipboard.COMMENT
LOWtauri/src-tauri/src/clipboard.rs21//! clipboard guard. CF_UNICODETEXT, CF_HDROP, CF_DIB (bitmap data inCOMMENT
LOWtauri/src-tauri/src/clipboard.rs281 //! fan-out.COMMENT
LOWtauri/src-tauri/src/key_codes.rs1//! Stable string ↔ `keytap::Key` mapping for chord persistence.COMMENT
LOWtauri/src-tauri/src/focus_capture.rs1//! Captures the focused-UI snapshot at chord-start so auto-paste can landCOMMENT
LOWtauri/src-tauri/src/focus_capture.rs21//! Activation walks top-level windows for the saved PID and callsCOMMENT
LOWtauri/src-tauri/src/focus_capture.rs241COMMENT
LOWtauri/src-tauri/src/focus_capture.rs381 /// Best-effort `UIAutomation::GetFocusedElement().CurrentClassName()`.COMMENT
LOWtauri/src-tauri/src/hotkey_monitor.rs1//! Global hotkey → dictation effect bridge.COMMENT
LOWtauri/src-tauri/src/hotkey_monitor.rs41// Public typesCOMMENT
LOWtauri/src-tauri/src/speak_monitor.rs1//! Rust-side subscriber for the backend `/events/speak` SSE stream.COMMENT
LOWtauri/src-tauri/src/speak_monitor.rs21//! long-term outages stop filling stderr with reconnect log lines.COMMENT
LOWbackend/requirements.txt41# HumeAI TADA sub-dependencies (hume-tada itself is installedCOMMENT
LOWbackend/requirements.txt61# spacy model for misaki English G2P — must be pre-installed or misakiCOMMENT
LOWbackend/pyi_rth_torch_compiler_disable.py421 # everything that isn't create_module/exec_module (or __getattr__/init).COMMENT
LOWbackend/pyi_rth_torch_compiler_disable.py481 # the child).COMMENT
LOWbackend/pyi_rth_torch_compiler_disable.py521COMMENT
LOWbackend/requirements-mlx.txt1# MLX-specific dependencies (Apple Silicon only)COMMENT
LOWbackend/requirements-mlx.txt21# (huggingface_hub, librosa, mlx-lm, numba, numpy, protobuf, pyloudnorm,COMMENT
LOWbackend/build_binary.py61 # stdout/stderr for Tauri to capture logs.COMMENT
LOWbackend/build_binary.py301 # The vendored codec builds its two sub-models throughCOMMENT
LOWbackend/build_binary.py401 # torch/lib/ directly, so none of the rocm_sdk collection below applies —COMMENT
LOWbackend/backends/pytorch_backend.py341 def _transcribe_sync():COMMENT
LOWbackend/utils/hf_offline_patch.py21# bools, and the hot paths (``_http._default_backend_factory``,COMMENT
LOWbackend/mcp_server/context.py61# ignored so the Settings UI's "last heard from" column only reflectsCOMMENT
LOWbackend/services/refinement.py201COMMENT
Redundant / Tautological Comments25 hits · 40 pts
SeverityFileLineSnippetContext
LOWbackend/server.py190 # Check if process has actually exitedCOMMENT
LOWbackend/config.py14# Set VOICEBOX_MODELS_DIR to an absolute path before starting the server.COMMENT
LOWbackend/app.py71 # Check if any GPU needs the override (RDNA 2 and older)COMMENT
LOWbackend/backends/mlx_backend.py275 # Check if generate accepts ref_audio parameterCOMMENT
LOW⚡backend/tests/test_whisper_download.py81 # Check if server is runningCOMMENT
LOWbackend/tests/test_whisper_download.py153 # Check if we got meaningful progressCOMMENT
LOWbackend/tests/test_generation_download.py264 # Check if server is runningCOMMENT
LOWbackend/tests/test_qwen_download.py167 # Check if server is runningCOMMENT
LOWbackend/tests/test_qwen_download.py288 # Check if progress increased over timeCOMMENT
LOWbackend/utils/chunked_tts.py167 # Check if the cut falls inside a bracket tag; if so, move before itCOMMENT
LOWbackend/utils/progress.py45 # Check if we're in the main event loop threadCOMMENT
LOWbackend/utils/progress.py115 # Check if we should notify listeners (throttling)COMMENT
LOW⚡backend/services/rocm.py124 # Check if the binary version matches the expected app versionCOMMENT
LOWbackend/services/export_import.py73 # Check if profile has avatarCOMMENT
LOWbackend/services/export_import.py388 # Check if we should match an existing profile or create metadataCOMMENT
LOWbackend/services/stories.py280 # Check if generation is already in storyCOMMENT
LOW⚡backend/services/cuda.py151 # Check if the binary version matches the expected app versionCOMMENT
LOWbackend/services/channels.py74 # Check if name already existsCOMMENT
LOWbackend/services/channels.py125 # Check if name already exists (excluding current channel)COMMENT
LOWscripts/prepare-release.sh24# Check if public key is in tauri.conf.jsonCOMMENT
LOWscripts/generate-api.sh8# Check if backend is runningCOMMENT
LOWscripts/generate-api.sh13 # Check if virtual environment existsCOMMENT
LOWscripts/generate-api.sh57# Check if openapi-typescript-codegen is installedCOMMENT
LOWscripts/build-server.sh16# Check if PyInstaller is installedCOMMENT
LOW⚡scripts/update-icons.sh18# Check if source existsCOMMENT
Docstring Block Structure8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHbackend/STYLE_GUIDE.md104Load and concatenate all voice prompt files for a profile. Reads .wav/.mp3/.flac files from the profile directory, STRING
HIGHbackend/backends/omnivoice_backend.py286 Generate audio from text using OmniVoice. Args: text: Text to synthesize. voicSTRING
HIGHbackend/services/export_import.py46 Export a voice profile to a ZIP archive. Args: profile_id: Profile ID to export db: DatabaSTRING
HIGHbackend/services/export_import.py124 Import a voice profile from a ZIP archive. Args: file_bytes: ZIP file contents db: DatabasSTRING
HIGHbackend/services/export_import.py246 Export a generation to a ZIP archive. Args: generation_id: Generation ID to export db: DatSTRING
HIGHbackend/services/export_import.py334 Import a generation from a ZIP archive. Args: file_bytes: ZIP file contents db: Database sSTRING
HIGHbackend/services/profiles.py171 Create a new voice profile. Args: data: Profile creation data db: Database session ReturnSTRING
HIGHbackend/services/profiles.py394 Update a voice profile. Args: profile_id: Profile ID data: Updated profile data db: DaSTRING
Modern AI Meta-Vocabulary10 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMbackend/STYLE_GUIDE.md380 services/ # Business logic, CRUD, orchestrationCODE
MEDIUMbackend/README.md31 services/ # Business logic, CRUD, orchestrationCODE
MEDIUM⚡backend/tests/test_refinement_collapse.py50 # Classic Whisper tail hallucination. Word-level pass sees noCOMMENT
MEDIUM⚡backend/tests/test_refinement_collapse.py86 # Common Chinese Whisper hallucination: "thanks for watching".COMMENT
MEDIUM⚡backend/tests/test_refinement_collapse.py99 # frequent Japanese Whisper tail hallucination.COMMENT
MEDIUMbackend/tests/test_refinement_samples.py364 # Same few-shot pairs the refinement service uses — keeps theCOMMENT
MEDIUMbackend/services/__init__.py1# Services layer — generation orchestration and background task management.COMMENT
MEDIUMbackend/services/refinement.py28# pass will detect. Covers every Whisper hallucination phrase we'veCOMMENT
MEDIUMbackend/services/refinement.py98 # ("wooooooow", "hmmmmm") that aren't hallucinations. re.DOTALL so aCOMMENT
MEDIUMdocs/PROJECT_STATUS.md6054. **Instruct support fills a real gap** (#173, #224, #303). Qwen CustomVoice partially addresses it with preset speakerCODE
Cross-Language Confusion6 hits · 28 pts
SeverityFileLineSnippetContext
HIGHbackend/models.py397 description="When true and the profile has a personality prompt, the input text is rewritten in-character beforeCODE
HIGH⚡backend/tests/test_whisper_download.py86 print(" cd backend && python main.py")CODE
HIGHbackend/tests/test_generation_download.py269 print(" cd backend && python main.py")CODE
HIGHbackend/tests/test_qwen_download.py8 cd backend && python -m tests.test_qwen_downloadSTRING
HIGHbackend/tests/test_qwen_download.py11 - Server must be running: cd backend && python main.pySTRING
HIGHbackend/tests/test_qwen_download.py172 print(" cd backend && python main.py")CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMbackend/utils/hf_progress.py288 # Create a wrapper that calls our trackingCOMMENT
MEDIUMbackend/utils/dac_shim.py61 # Create the module tree: dac -> dac.nn -> dac.nn.layersCOMMENT
MEDIUMbackend/services/profiles.py662 # Create a hash of sample IDs to identify this specific combinationCOMMENT
AI Slop Vocabulary3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMbackend/pyi_rth_torch_compiler_disable.py438 # fresh compile() from source. Easiest robust fix: read the sourceCOMMENT
MEDIUMbackend/tests/test_personality_samples.py298 # per-request to /profiles/{id}/compose. The harness swaps itCOMMENT
MEDIUMbackend/utils/hf_offline_patch.py213 """Make transformers' tokenizer load robust to HuggingFace metadata failures.STRING
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtauri/src-tauri/gen/schemas/acl-manifests.json1{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:patCODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMbackend/tests/test_mlx_unload_clears_cache.py127CODE