Repository Analysis

jamiepine/voicebox

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

8.8 Low AI signal View on GitHub
8.8
Adjusted Score
8.8
Raw Score
100%
Time Factor
2026-04-26
Last Push
28,873
Stars
TypeScript
Language
100,059
Lines of Code
463
Files
565
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 13MEDIUM 119LOW 433

Pattern Findings

565 matches across 12 categories. Click a row to expand file-level details.

Decorative Section Separators101 hits · 316 pts
SeverityFileLineSnippet
MEDIUMlanding/src/components/CapturesMockup.tsx23// ─── Sidebar (matches ControlUI exactly) ───────────────────────────────────
MEDIUMlanding/src/components/CapturesMockup.tsx81// ─── FakeWaveform (ported from CapturesTab.tsx) ────────────────────────────
MEDIUMlanding/src/components/CapturesMockup.tsx119// ─── Data ───────────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/CapturesMockup.tsx235// ─── Capture list row ───────────────────────────────────────────────────────
MEDIUMlanding/src/components/CapturesMockup.tsx274// ─── Detail view ────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/CapturesMockup.tsx405// ─── Main mockup ────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx7// ─── Lazy load wrapper ──────────────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx44// ─── Animation: Voice Cloning ───────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx114// ─── Mini waveform for clips ────────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx175// ─── Animation: Stories Editor ───────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx453// ─── Animation: Effects Pipeline ────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx547// ─── Animation: Local or Remote ─────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx602// ─── Animation: Transcription ───────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx648// ─── Animation: Unlimited Length ─────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx761// ─── Feature data ───────────────────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx808// ─── Feature Card ───────────────────────────────────────────────────────────
MEDIUMlanding/src/components/Features.tsx832// ─── Features Section ───────────────────────────────────────────────────────
MEDIUMlanding/src/components/VoiceCreator.tsx7// ─── Waveform bars generator ────────────────────────────────────────────────
MEDIUMlanding/src/components/VoiceCreator.tsx25// ─── Animated waveform background ───────────────────────────────────────────
MEDIUMlanding/src/components/VoiceCreator.tsx65// ─── Tab content panels ─────────────────────────────────────────────────────
MEDIUMlanding/src/components/VoiceCreator.tsx350// ─── Tab selector ───────────────────────────────────────────────────────────
MEDIUMlanding/src/components/VoiceCreator.tsx360// ─── Main section ───────────────────────────────────────────────────────────
MEDIUMlanding/src/components/Personalities.tsx7// ─── Modes ──────────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/Personalities.tsx44// ─── Persona card ───────────────────────────────────────────────────────────
MEDIUMlanding/src/components/Personalities.tsx70// ─── Mode demo ──────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/Personalities.tsx151// ─── Bullets ────────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/Personalities.tsx168// ─── Section ────────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/AgentIntegration.tsx7// ─── Scenarios (the agent console cycles through these) ────────────────────
MEDIUMlanding/src/components/AgentIntegration.tsx61// ─── Console mockup ─────────────────────────────────────────────────────────
MEDIUMlanding/src/components/AgentIntegration.tsx112// ─── Desktop-floating pill stage ────────────────────────────────────────────
MEDIUMlanding/src/components/AgentIntegration.tsx194// ─── Code panel ─────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/AgentIntegration.tsx253// ─── Support bullets ────────────────────────────────────────────────────────
MEDIUMlanding/src/components/AgentIntegration.tsx276// ─── Section ────────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/ControlUI.tsx22// ─── Data ───────────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/ControlUI.tsx246// ─── Phase system ───────────────────────────────────────────────────────────
MEDIUMlanding/src/components/ControlUI.tsx259// ─── Typewriter ─────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/ControlUI.tsx290// ─── Loading bars (simplified react-loaders replacement) ────────────────────
MEDIUMlanding/src/components/ControlUI.tsx320// ─── Profile Card ───────────────────────────────────────────────────────────
MEDIUMlanding/src/components/ControlUI.tsx361// ─── History Row ────────────────────────────────────────────────────────────
MEDIUMlanding/src/components/ControlUI.tsx434// ─── Floating Generate Box ──────────────────────────────────────────────────
MEDIUMlanding/src/components/ControlUI.tsx522// ─── Main ControlUI ─────────────────────────────────────────────────────────
MEDIUMlanding/src/components/CaptureSection.tsx7// ─── Hero: Hotkey Pill ──────────────────────────────────────────────────────
MEDIUMlanding/src/components/CaptureSection.tsx150// ─── Card: Whisper, sized for every machine ────────────────────────────────
MEDIUMlanding/src/components/CaptureSection.tsx213// ─── Card: LLM Refinement ───────────────────────────────────────────────────
MEDIUMlanding/src/components/CaptureSection.tsx295// ─── Card: Agent voice output ───────────────────────────────────────────────
MEDIUMlanding/src/components/CaptureSection.tsx400// ─── Feature data + card ────────────────────────────────────────────────────
MEDIUMlanding/src/components/CaptureSection.tsx445// ─── Section ────────────────────────────────────────────────────────────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx15// ── Tag definitions ─────────────────────────────────────────────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx33// ── Helpers ─────────────────────────────────────────────────────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx107// ── Component ───────────────────────────────────────────────────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx152 // ── Sync external value → editor ──────────────────────────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx163 // ── Emit plain-text value on input ────────────────────────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx172 // ── Insert a tag badge at the caret ───────────────────────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx217 // ── Handle keydown for autocomplete navigation ────────────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx253 // ── Handle input (check for / trigger) ────────────────────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx285 // ── Handle paste — convert [tag] patterns to badges ───────────
MEDIUMapp/src/components/Generation/ParalinguisticInput.tsx324 // ── Show placeholder ──────────────────────────────────────────
MEDIUMapp/src/lib/constants/languages.ts84// ── Backwards-compatible exports used elsewhere ──────────────────────
MEDIUMapp/src/lib/api/client.ts134 // ── Personality-driven text generation ─────────────────────────────
MEDIUMbackend/models.py392# ── Profile personality endpoint ──────────────────────────────────────
41 more matches not shown…
Excessive Try-Catch Wrapping140 hits · 157 pts
SeverityFileLineSnippet
LOWbackend/server.py21 except Exception:
LOWbackend/server.py83except Exception as e:
LOWbackend/server.py128 except Exception:
LOWbackend/server.py301 except Exception as e:
LOWbackend/pyi_rth_torch_compiler_disable.py70 except Exception:
LOWbackend/pyi_rth_torch_compiler_disable.py287 except Exception:
LOWbackend/pyi_rth_torch_compiler_disable.py315 except Exception as e:
LOWbackend/pyi_rth_torch_compiler_disable.py385 except Exception as e:
LOWbackend/pyi_rth_torch_compiler_disable.py446 except Exception as e:
LOWbackend/pyi_rth_torch_compiler_disable.py462 except Exception as e:
LOWbackend/pyi_rth_torch_compiler_disable.py507 except Exception as e:
LOWbackend/pyi_rth_torch_compiler_disable.py524except Exception as _e:
LOWbackend/app.py205 except Exception:
LOWbackend/app.py259 except Exception as e:
LOWbackend/app.py282 except Exception as e:
LOWbackend/app.py291 except Exception as e:
LOWbackend/app.py302 except Exception:
LOWbackend/app.py306 except Exception:
LOWbackend/app.py310 except Exception:
LOWbackend/pyi_rth_numpy_compat.py90 except Exception:
LOWbackend/backends/mlx_backend.py245 except Exception as e:
LOWbackend/backends/__init__.py621 except Exception:
LOWbackend/backends/base.py75 except Exception as e:
LOWbackend/backends/base.py279 except Exception as e:
MEDIUMbackend/tests/test_whisper_download.py23 print(f"Error: SSE endpoint returned {response.status_code}")
LOWbackend/tests/test_whisper_download.py71 except Exception as e:
LOWbackend/tests/test_generation_download.py59 except Exception as e:
LOWbackend/tests/test_generation_download.py104 except Exception as e:
LOWbackend/tests/test_generation_download.py120 except Exception as e:
MEDIUMbackend/tests/test_generation_download.py121 print(f"Error getting profiles: {e}")
LOWbackend/tests/test_generation_download.py132 except Exception as e:
LOWbackend/tests/test_progress.py263 except Exception as e:
LOWbackend/tests/test_progress.py270 except Exception as e:
LOWbackend/tests/test_progress.py277 except Exception as e:
LOWbackend/tests/test_progress.py284 except Exception as e:
LOWbackend/tests/test_offline_guard.py91 except Exception as exc: # noqa: BLE001
LOWbackend/tests/test_offline_guard.py98 except Exception as exc: # noqa: BLE001
MEDIUMbackend/tests/test_offline_guard.py85def slow():
MEDIUMbackend/tests/test_offline_guard.py94def fast():
LOWbackend/tests/test_refinement_samples.py339 except Exception:
LOWbackend/tests/test_refinement_samples.py434 except Exception as e:
LOWbackend/tests/test_all_models_e2e.py185 except Exception as e:
LOWbackend/tests/test_all_models_e2e.py200 except Exception:
LOWbackend/tests/test_all_models_e2e.py597 except Exception:
LOWbackend/tests/test_all_models_e2e.py600 except Exception as e:
LOWbackend/tests/test_personality_samples.py204 except Exception:
LOWbackend/tests/test_personality_samples.py239 except Exception as e:
LOWbackend/tests/test_personality_samples.py316 except Exception as e:
LOWbackend/tests/test_qwen_download.py89 except Exception as e:
LOWbackend/tests/test_qwen_download.py107 except Exception as e:
LOWbackend/tests/test_qwen_download.py130 except Exception as e:
LOWbackend/tests/test_qwen_download.py145 except Exception as e:
LOWbackend/tests/test_qwen_download.py156 except Exception:
LOWbackend/utils/cache.py70 except Exception:
LOWbackend/utils/cache.py116 except Exception as e:
LOWbackend/utils/cache.py124 except Exception as e:
LOWbackend/utils/cache.py150 except Exception as e:
LOWbackend/utils/images.py43 except Exception as e:
LOWbackend/utils/hf_offline_patch.py183 except Exception as exc:
LOWbackend/utils/hf_offline_patch.py235 except Exception:
80 more matches not shown…
Hyper-Verbose Identifiers117 hits · 130 pts
SeverityFileLineSnippet
LOWapp/src/stores/serverStore.ts49export function isLoopbackVoiceboxServerUrl(url: string): boolean {
LOW…components/InputMonitoringGate/InputMonitoringGate.tsx18export function useInputMonitoringPermission() {
LOWapp/src/components/ServerSettings/ModelManagement.tsx49async function fetchHuggingFaceModelInfo(repoId: string): Promise<HuggingFaceModelInfo> {
LOW…src/components/AccessibilityGate/AccessibilityGate.tsx23export function useAccessibilityPermission() {
LOW…components/CapturesTab/DictationReadinessChecklist.tsx83export function DictationReadinessChecklist({
LOWapp/src/components/Generation/EngineModelSelector.tsx162export function isProfileCompatibleWithEngine(
LOWapp/src/lib/constants/languages.ts76export function getLanguageOptionsForEngine(engine: string) {
LOWapp/src/lib/hooks/useHistory.ts32export function useClearFailedGenerations() {
LOWapp/src/lib/hooks/useCaptureRecordingSession.ts100export function useCaptureRecordingSession(
LOWbackend/config.py25def _path_relative_to_any_data_dir(path: Path) -> Path | None:
LOWbackend/pyi_rth_torch_compiler_disable.py226def _patch_scipy_distn_source(source: str) -> str:
LOWbackend/pyi_rth_torch_compiler_disable.py239def _patch_masking_utils_source(source: str) -> str:
LOWbackend/database/seed.py12def backfill_generation_versions(SessionLocal, Generation, GenerationVersion) -> None:
LOWbackend/database/migrations.py197def _migrate_generation_versions(engine, inspector, tables: set[str]) -> None:
LOWbackend/database/migrations.py205def _migrate_capture_settings(engine, inspector, tables: set[str]) -> None:
LOWbackend/backends/__init__.py259def _get_qwen_custom_voice_configs() -> list[ModelConfig]:
LOWbackend/backends/__init__.py285def _get_non_qwen_tts_configs() -> list[ModelConfig]:
LOWbackend/backends/__init__.py524async def ensure_model_cached_or_raise(engine: str, model_size: str = "default") -> None:
LOWbackend/backends/__init__.py655def get_tts_backend_for_engine(engine: str) -> TTSBackend:
LOWbackend/backends/__init__.py747def get_llm_backend_for_engine(engine: str) -> LLMBackend:
LOWbackend/tests/test_cors.py63def client_with_custom_origins():
LOWbackend/tests/test_cors.py118 def test_credentials_header_present(self, client):
LOWbackend/tests/test_cors.py126 def test_custom_origin_allowed(self, client_with_custom_origins):
LOWbackend/tests/test_cors.py130 def test_other_custom_origin_allowed(self, client_with_custom_origins):
LOWbackend/tests/test_cors.py134 def test_default_origins_still_work(self, client_with_custom_origins):
LOWbackend/tests/test_cors.py138 def test_unlisted_origin_still_blocked(self, client_with_custom_origins):
LOWbackend/tests/test_cors.py158 def test_trailing_comma_ignored(self):
LOWbackend/tests/test_offline_patch.py45def test_suppresses_offline_mode_is_enabled(monkeypatch):
LOWbackend/tests/test_offline_patch.py62def test_suppresses_connection_errors(monkeypatch):
LOWbackend/tests/test_offline_patch.py79def test_passthrough_on_success(monkeypatch):
LOWbackend/tests/test_offline_patch.py105def test_missing_method_is_noop(monkeypatch):
LOWbackend/tests/test_generation_download.py142async def test_generation_with_cached_model():
LOWbackend/tests/test_generation_download.py196async def test_generation_with_fresh_download():
LOWbackend/tests/test_audio_preprocess.py32def test_peak_cap_scales_hot_input():
LOWbackend/tests/test_audio_preprocess.py38def test_peak_cap_leaves_moderate_input_untouched():
LOWbackend/tests/test_audio_preprocess.py50def test_silence_is_trimmed_with_padding_kept():
LOWbackend/tests/test_audio_preprocess.py61def test_clean_audio_is_not_padded_past_original_length():
LOWbackend/tests/test_audio_preprocess.py70def test_empty_input_returns_empty():
LOWbackend/tests/test_audio_preprocess.py75def test_validate_accepts_previously_rejected_hot_file(tmp_path):
LOWbackend/tests/test_audio_preprocess.py88def test_validate_still_rejects_silent_input(tmp_path):
LOWbackend/tests/test_audio_preprocess.py100def test_validate_rejects_too_short(tmp_path):
LOWbackend/tests/test_task_queue_cancellation.py9async def test_cancel_queued_generation_skips_execution():
LOWbackend/tests/test_task_queue_cancellation.py36async def test_cancel_running_generation_cancels_task():
LOWbackend/tests/test_progress.py21def test_progress_manager_basic():
LOWbackend/tests/test_progress.py57async def test_progress_manager_sse():
LOWbackend/tests/test_profile_duplicate_names.py54async def test_create_profile_duplicate_name_raises_error(test_db, mock_profiles_dir):
LOWbackend/tests/test_profile_duplicate_names.py83async def test_create_profile_different_names_succeeds(test_db, mock_profiles_dir):
LOWbackend/tests/test_profile_duplicate_names.py110async def test_update_profile_to_duplicate_name_raises_error(test_db, mock_profiles_dir):
LOWbackend/tests/test_profile_duplicate_names.py143async def test_update_profile_keep_same_name_succeeds(test_db, mock_profiles_dir):
LOWbackend/tests/test_profile_duplicate_names.py170async def test_update_profile_to_new_unique_name_succeeds(test_db, mock_profiles_dir):
LOWbackend/tests/test_profile_duplicate_names.py196async def test_case_sensitive_names_allowed(test_db, mock_profiles_dir):
LOWbackend/tests/test_client_id_middleware.py25def test_mcp_semantic_paths_are_stamped(path: str) -> None:
LOWbackend/tests/test_client_id_middleware.py48def test_other_paths_are_not_stamped(path: str) -> None:
LOWbackend/tests/test_offline_guard.py39def test_mutates_cached_huggingface_hub_constant():
LOWbackend/tests/test_offline_guard.py46def test_mutates_cached_transformers_constant():
LOWbackend/tests/test_offline_guard.py60def test_noop_when_not_cached():
LOWbackend/tests/test_offline_guard.py66def test_nested_contexts_respect_refcount():
LOWbackend/tests/test_offline_guard.py77def test_concurrent_threads_share_offline_window():
LOWbackend/tests/test_refinement_collapse.py17def test_single_word_loop_stripped():
LOWbackend/tests/test_refinement_collapse.py22def test_single_word_loop_with_punctuation_normalized():
57 more matches not shown…
Unused Imports82 hits · 82 pts
SeverityFileLineSnippet
LOWbackend/app.py200
LOWbackend/main.py10
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py8
LOWbackend/database/__init__.py26
LOWbackend/database/__init__.py26
LOWbackend/database/__init__.py26
LOWbackend/database/__init__.py26
LOWbackend/database/__init__.py26
LOWbackend/backends/chatterbox_backend.py17
LOWbackend/backends/chatterbox_turbo_backend.py17
LOWbackend/backends/kokoro_backend.py20
LOWbackend/backends/kokoro_backend.py25
LOWbackend/backends/qwen_llm_backend.py14
LOWbackend/backends/qwen_llm_backend.py15
LOWbackend/backends/hume_backend.py23
LOWbackend/backends/pytorch_backend.py13
LOWbackend/backends/pytorch_backend.py13
LOWbackend/backends/mlx_backend.py5
LOWbackend/backends/mlx_backend.py20
LOWbackend/backends/mlx_backend.py20
LOWbackend/backends/__init__.py13
LOWbackend/backends/luxtts_backend.py14
LOWbackend/backends/qwen_custom_voice_backend.py24
LOWbackend/backends/base.py12
LOWbackend/backends/base.py106
LOWbackend/tests/test_cors.py15
LOWbackend/tests/test_cors.py17
LOWbackend/tests/test_whisper_download.py8
LOWbackend/tests/test_generation_download.py11
LOWbackend/tests/test_profile_duplicate_names.py19
LOWbackend/tests/test_refinement_samples.py27
LOWbackend/tests/test_all_models_e2e.py13
LOWbackend/tests/test_all_models_e2e.py28
LOWbackend/tests/test_personality_samples.py25
LOWbackend/utils/effects.py20
LOWbackend/utils/platform_detect.py28
LOWbackend/utils/hf_offline_patch.py199
LOWbackend/utils/progress.py5
LOWbackend/utils/progress.py6
LOWbackend/utils/capture_chords.py3
LOWbackend/mcp_shim/__main__.py16
LOWbackend/routes/speak.py9
LOWbackend/routes/models.py7
LOWbackend/routes/models.py9
LOWbackend/routes/health.py9
22 more matches not shown…
Deep Nesting50 hits · 49 pts
SeverityFileLineSnippet
LOWbackend/server.py102
LOWbackend/server.py132
LOWbackend/server.py164
LOWbackend/pyi_rth_numpy_compat.py35
LOWbackend/database/seed.py50
LOWbackend/database/migrations.py65
LOWbackend/database/migrations.py295
LOWbackend/backends/chatterbox_backend.py73
LOWbackend/backends/chatterbox_turbo_backend.py73
LOWbackend/backends/hume_backend.py204
LOWbackend/backends/hume_backend.py228
LOWbackend/backends/pytorch_backend.py138
LOWbackend/backends/mlx_backend.py115
LOWbackend/backends/mlx_backend.py169
LOWbackend/backends/mlx_backend.py194
LOWbackend/backends/__init__.py655
LOWbackend/backends/base.py24
LOWbackend/tests/test_generation_download.py15
LOWbackend/tests/test_progress.py120
LOWbackend/tests/test_progress.py166
LOWbackend/tests/test_progress.py187
LOWbackend/tests/test_refinement_samples.py407
LOWbackend/tests/test_all_models_e2e.py214
LOWbackend/tests/test_all_models_e2e.py274
LOWbackend/tests/test_all_models_e2e.py486
LOWbackend/tests/test_personality_samples.py285
LOWbackend/tests/test_qwen_download.py23
LOWbackend/tests/test_qwen_download.py135
LOWbackend/tests/test_qwen_download.py160
LOWbackend/utils/hf_progress.py30
LOWbackend/utils/hf_progress.py217
LOWbackend/utils/hf_progress.py116
LOWbackend/utils/images.py47
LOWbackend/utils/hf_offline_patch.py34
LOWbackend/utils/progress.py35
LOWbackend/utils/progress.py190
LOWbackend/routes/tasks.py46
LOWbackend/routes/models.py122
LOWbackend/routes/models.py227
LOWbackend/routes/models.py153
LOWbackend/routes/health.py57
LOWbackend/routes/health.py185
LOWbackend/services/task_queue.py39
LOWbackend/services/generation.py29
LOWbackend/services/export_import.py123
LOWbackend/services/export_import.py333
LOWbackend/services/captures.py60
LOWbackend/services/cuda.py138
LOWbackend/services/history.py273
LOWscripts/test_download_progress.py154
Redundant / Tautological Comments24 hits · 38 pts
SeverityFileLineSnippet
LOWbackend/server.py141 # Check if process has actually exited
LOWbackend/config.py14# Set VOICEBOX_MODELS_DIR to an absolute path before starting the server.
LOWbackend/backends/mlx_backend.py226 # Check if generate accepts ref_audio parameter
LOWbackend/tests/test_whisper_download.py81 # Check if server is running
LOWbackend/tests/test_whisper_download.py153 # Check if we got meaningful progress
LOWbackend/tests/test_generation_download.py264 # Check if server is running
LOWbackend/tests/test_qwen_download.py167 # Check if server is running
LOWbackend/tests/test_qwen_download.py288 # Check if progress increased over time
LOWbackend/utils/chunked_tts.py165 # Check if the cut falls inside a bracket tag; if so, move before it
LOWbackend/utils/progress.py45 # Check if we're in the main event loop thread
LOWbackend/utils/progress.py115 # Check if we should notify listeners (throttling)
LOWbackend/services/export_import.py73 # Check if profile has avatar
LOWbackend/services/export_import.py388 # Check if we should match an existing profile or create metadata
LOWbackend/services/stories.py263 # Check if generation is already in story
LOWbackend/services/stories.py959 # Read file bytes
LOWbackend/services/cuda.py122 # Check if the binary version matches the expected app version
LOWbackend/services/channels.py74 # Check if name already exists
LOWbackend/services/channels.py125 # Check if name already exists (excluding current channel)
LOWscripts/prepare-release.sh24# Check if public key is in tauri.conf.json
LOWscripts/generate-api.sh8# Check if backend is running
LOWscripts/generate-api.sh13 # Check if virtual environment exists
LOWscripts/generate-api.sh57# Check if openapi-typescript-codegen is installed
LOWscripts/build-server.sh16# Check if PyInstaller is installed
LOWscripts/update-icons.sh20# Check if source exists
Docstring Block Structure7 hits · 35 pts
SeverityFileLineSnippet
HIGHbackend/STYLE_GUIDE.md104Load and concatenate all voice prompt files for a profile. Reads .wav/.mp3/.flac files from the profile directory,
HIGHbackend/services/export_import.py46 Export a voice profile to a ZIP archive. Args: profile_id: Profile ID to export db: Databa
HIGHbackend/services/export_import.py124 Import a voice profile from a ZIP archive. Args: file_bytes: ZIP file contents db: Databas
HIGHbackend/services/export_import.py246 Export a generation to a ZIP archive. Args: generation_id: Generation ID to export db: Dat
HIGHbackend/services/export_import.py334 Import a generation from a ZIP archive. Args: file_bytes: ZIP file contents db: Database s
HIGHbackend/services/profiles.py142 Create a new voice profile. Args: data: Profile creation data db: Database session Return
HIGHbackend/services/profiles.py361 Update a voice profile. Args: profile_id: Profile ID data: Updated profile data db: Da
Over-Commented Block31 hits · 31 pts
SeverityFileLineSnippet
LOWtauri/src-tauri/src/keyboard_layout.rs1//! Layout-aware resolution of the keycode whose current-layout translation
LOWtauri/src-tauri/src/input_monitoring.rs1//! Platform permission gate for the global keyboard tap.
LOWtauri/src-tauri/src/input_monitoring.rs21//! `enable_hotkey` calls `request` on first invocation so the prompt fires
LOWtauri/src-tauri/src/input_monitoring.rs41
LOWtauri/src-tauri/src/synthetic_keys.rs1//! Synthetic keyboard event posting for the auto-paste pipeline.
LOWtauri/src-tauri/src/accessibility.rs1//! Platform permission gate for the auto-paste pipeline.
LOWtauri/src-tauri/src/main.rs61}
LOWtauri/src-tauri/src/main.rs821/// windows. Paste into Voicebox-internal targets is step 6 territory and
LOWtauri/src-tauri/src/main.rs861/// Holds the lazily-spawned global hotkey monitor. The monitor is `None`
LOWtauri/src-tauri/src/main.rs921 toggle_to_talk: Vec<String>,
LOWtauri/src-tauri/src/main.rs961#[command]
LOWtauri/src-tauri/src/main.rs1041/// Windows sequence number) matching the value captured right after
LOWtauri/src-tauri/src/clipboard.rs1//! Snapshot / write / restore helpers around the system clipboard.
LOWtauri/src-tauri/src/clipboard.rs21//! clipboard guard. CF_UNICODETEXT, CF_HDROP, CF_DIB (bitmap data in
LOWtauri/src-tauri/src/clipboard.rs281 //! fan-out.
LOWtauri/src-tauri/src/key_codes.rs1//! Stable string ↔ `keytap::Key` mapping for chord persistence.
LOWtauri/src-tauri/src/focus_capture.rs1//! Captures the focused-UI snapshot at chord-start so auto-paste can land
LOWtauri/src-tauri/src/focus_capture.rs21//! Activation walks top-level windows for the saved PID and calls
LOWtauri/src-tauri/src/focus_capture.rs241
LOWtauri/src-tauri/src/focus_capture.rs381 /// Best-effort `UIAutomation::GetFocusedElement().CurrentClassName()`.
LOWtauri/src-tauri/src/hotkey_monitor.rs1//! Global hotkey → dictation effect bridge.
LOWtauri/src-tauri/src/hotkey_monitor.rs41// Public types
LOWtauri/src-tauri/src/speak_monitor.rs1//! Rust-side subscriber for the backend `/events/speak` SSE stream.
LOWtauri/src-tauri/src/speak_monitor.rs21//! long-term outages stop filling stderr with reconnect log lines.
LOWbackend/pyi_rth_torch_compiler_disable.py421 # everything that isn't create_module/exec_module (or __getattr__/init).
LOWbackend/pyi_rth_torch_compiler_disable.py481 # the child).
LOWbackend/pyi_rth_torch_compiler_disable.py521
LOWbackend/requirements-mlx.txt1# MLX-specific dependencies (Apple Silicon only)
LOWbackend/requirements-mlx.txt21# sounddevice, tqdm) are already in requirements.txt or pulled in by
LOWbackend/mcp_server/context.py61# ignored so the Settings UI's "last heard from" column only reflects
LOWbackend/services/refinement.py201
Cross-Language Confusion6 hits · 28 pts
SeverityFileLineSnippet
HIGHbackend/models.py362 description="When true and the profile has a personality prompt, the input text is rewritten in-character before
HIGHbackend/tests/test_whisper_download.py86 print(" cd backend && python main.py")
HIGHbackend/tests/test_generation_download.py269 print(" cd backend && python main.py")
HIGHbackend/tests/test_qwen_download.py8 cd backend && python -m tests.test_qwen_download
HIGHbackend/tests/test_qwen_download.py11 - Server must be running: cd backend && python main.py
HIGHbackend/tests/test_qwen_download.py172 print(" cd backend && python main.py")
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippet
MEDIUMbackend/utils/hf_progress.py288 # Create a wrapper that calls our tracking
MEDIUMbackend/utils/dac_shim.py61 # Create the module tree: dac -> dac.nn -> dac.nn.layers
MEDIUMbackend/services/profiles.py607 # Create a hash of sample IDs to identify this specific combination
AI Slop Vocabulary3 hits · 7 pts
SeverityFileLineSnippet
MEDIUMbackend/pyi_rth_torch_compiler_disable.py438 # fresh compile() from source. Easiest robust fix: read the source
MEDIUMbackend/tests/test_personality_samples.py298 # per-request to /profiles/{id}/compose. The harness swaps it
MEDIUMbackend/utils/hf_offline_patch.py149 """Make transformers' tokenizer load robust to HuggingFace metadata failures.
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
MEDIUMtauri/src-tauri/gen/schemas/acl-manifests.json1{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:pat