Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/debpalash/VoiceStudio
/ functions
Functions
15,058 in github.com/debpalash/VoiceStudio
⨍
Functions
15,058
◇
Types & classes
1,240
↳
Endpoints
303
Function
test_demoted_sherpa_query_keeps_pcm_transport_for_legacy_fallback
Demotion changes the recognizer, not the bytes already sent by the UI.
tests/test_capture_ws.py:83
Function
test_demoting_nothing_is_a_noop
()
backend/tests/test_dictation_model_demotion.py:85
Function
test_demoting_persists_and_is_idempotent
()
backend/tests/test_dictation_model_demotion.py:41
Function
test_demotion_is_per_model_not_global
One broken model must not disable every other dictation option.
backend/tests/test_dictation_model_demotion.py:48
Function
test_demucs_separates_the_hq_stereo_extraction
The music bed's fidelity ceiling is set at INGEST: Demucs used to separate audio.wav — the 16 kHz MONO file extracted for ASR — so every dub's
tests/test_dub_error_transparency.py:184
Function
test_demux_empty_frame
(capture_ws)
tests/backend/api/routers/test_capture_ws_aec.py:35
Function
test_demux_far_frame
(capture_ws)
tests/backend/api/routers/test_capture_ws_aec.py:29
Function
test_demux_near_frame
(capture_ws)
tests/backend/api/routers/test_capture_ws_aec.py:23
Function
test_demux_prefix_only_frame
(capture_ws)
tests/backend/api/routers/test_capture_ws_aec.py:39
Function
test_demux_unknown_prefix_degrades_to_near
(capture_ws)
tests/backend/api/routers/test_capture_ws_aec.py:44
Function
test_dense_char_count
()
tests/test_chunked_tts_dense_script.py:21
Function
test_dense_text_is_split_below_the_raw_limit
()
tests/test_chunked_tts_dense_script.py:39
Function
test_describe_never_leaks_key
(lp, monkeypatch)
tests/test_llm_providers.py:141
Function
test_describe_path_target_flags_a_missing_folder
(tmp_path)
tests/test_dub_download_os_error.py:87
Function
test_describe_path_target_never_raises
()
tests/test_dub_download_os_error.py:92
Function
test_describe_path_target_reports_free_space
(tmp_path)
tests/test_dub_download_os_error.py:81
Function
test_describe_reports_env_override_flags
(lp, monkeypatch)
tests/test_llm_providers.py:151
Function
test_describe_returns_account_id_and_raw_template
(lp)
tests/test_llm_providers.py:176
Function
test_description_falls_through_to_emo_text
OpenAI-compat description= maps to emo_text when no other modality set.
tests/backend/services/test_indextts_sidecar.py:283
Function
test_design_create_renders_sample_and_stores_params
(app_client, fake_render)
tests/test_profile_unification.py:156
Function
test_design_derives_instruct_from_picks_when_unset
A design saved with category picks but no explicit instruct must persist a matching instruct derived from vd_states — otherwise the designed voice
tests/test_profile_unification.py:91
Function
test_design_normalizes_partial_vd_states_to_all_categories
#983: a design profile must never persist with a partial vd_states shape. A client (older frontend build, hand-edited payload, third-party API
tests/test_profile_unification.py:183
Function
test_design_rejects_malformed_vd_states
(app_client)
tests/test_profile_unification.py:121
Function
test_design_requires_vd_states
(app_client)
tests/test_profile_unification.py:67
Function
test_design_save_creates_row_when_model_unavailable
kind=design saves (lazy path) instead of 503-ing when no model exists.
tests/test_profile_design_save_decouple.py:55
Function
test_design_save_drops_object_object_instruct
The "[object Object]" poison can never be persisted — it's sanitized and the design is rebuilt from vd_states at save time (#550 #571 #594).
tests/test_profile_unification.py:105
Function
test_design_saveable_without_instruct
An all-Auto design (no picks → empty instruct) is still saveable (#476). Saving must not gate on a non-empty instruct — synthesis falls back to
tests/test_profile_unification.py:73
Function
test_desktop_backend_advertises_rust_control_sidecar
(monkeypatch)
tests/test_speech_platform.py:36
Function
test_desktop_bundle_carries_the_lan_frontend
The backend cannot serve LAN clients from Tauri's embedded WebView assets.
tests/test_packaged_lan_frontend.py:12
Function
test_desktop_config_integrity
(probe_report)
tests/probe/test_probe_desktop.py:19
Function
test_desktop_dev_creates_dist_before_tauri_dev
(tmp_path)
tests/test_desktop_dev_dist_placeholder.py:10
Function
test_desktop_installer_needs_no_unmanaged_spawn_flags
(monkeypatch)
tests/test_sidecar_install.py:300
Function
test_desktop_installer_timeout_kills_nested_helper_before_it_can_mutate
A timed-out uv/git root must not leave its pipe-owning helpers alive.
tests/test_sidecar_install.py:326
Function
test_desktop_prod_execution_does_not_require_posix_bin_bash
The smoke seam must also collect on native Windows runners.
tests/test_desktop_prod_scripts.py:59
Function
test_desktop_timeout_kills_engine_subtree_before_late_mutation
( stub_sidecar, monkeypatch, tmp_path )
backend/tests/test_omnivoice_subprocess.py:355
Function
test_desktop_windows_timeout_never_taskkills_a_reusable_pid
(monkeypatch)
tests/test_sidecar_install.py:312
Function
test_destination_origin_falls_back_to_asgi_scope_and_host_header
()
tests/test_csrf_origin.py:112
Function
test_destination_origin_rejects_missing_malformed_and_lookalike_values
(origin)
tests/test_csrf_origin.py:75
Function
test_destination_origin_uses_normalized_exact_tuple
(origin, destination)
tests/test_csrf_origin.py:88
Function
test_details_are_scrubbed
(monkeypatch, tmp_path)
tests/test_diagnose.py:58
Function
test_detect_capabilities_reexported_from_gpu_sandbox
Single-entry-point invariant: services.gpu_sandbox.detect_capabilities must resolve to the same function exported from engines.omnivoice_gguf.
tests/backend/engines/test_hardware_probe.py:121
Function
test_detect_long_audio_is_chunk_bounded_and_keeps_best_chunk
(fake_audioseal)
tests/test_watermark_chunking_1045.py:99
Function
test_detect_onset_empty_or_invalid_window
()
tests/test_onset_align.py:60
Function
test_detect_onset_finds_speech_after_leading_silence
()
tests/test_onset_align.py:49
Function
test_detect_onset_rejects_transient_burst
()
tests/test_onset_align.py:67
Function
test_detect_onset_silent_window_returns_none
()
tests/test_onset_align.py:55
Function
test_detect_onset_transient_only_window_returns_none
()
tests/test_onset_align.py:77
Function
test_detect_repo_from_origin
()
tests/probe/test_triage.py:36
Function
test_detection_prefers_the_models_own_config_over_the_name
The config field is the one mlx-audio itself branches on, so it wins — otherwise a renamed or re-tagged checkpoint would drift from the library.
tests/test_mlx_audio_instruct_1405.py:110
Function
test_detection_runs_the_detector_eagerly
(fakes, watermark)
tests/test_watermark_no_torch_compile_1615.py:104
Function
test_detector_load_is_not_blocked_by_a_generator_prefetch
Per-model locks (review finding): a ~42s generator build in the prefetch thread must not stall an unrelated detector load — with the old singl
tests/test_watermark_prefetch_coldstart.py:161
Function
test_detects_compile_error_wrapped_in_chain
(model_manager)
tests/test_compile_fallback.py:120
Function
test_detects_dynamo_module_exception
(model_manager)
tests/test_compile_fallback.py:107
Function
test_detects_fx_symbolic_trace_message
(model_manager)
tests/test_compile_fallback.py:111
Function
test_detects_inductor_traceback_frames
(model_manager)
tests/test_compile_fallback.py:115
Function
test_deterministic_across_calls
()
tests/test_engine_routing.py:140
Function
test_dev_backend_skips_resync_when_rocm_requested
()
tests/test_setup_rocm_variant.py:62
Function
test_dev_task_input_staging_keeps_the_request_loop_responsive
( monkeypatch )
tests/test_worker_service_api.py:779
Function
test_diagnose_routing_never_raises
(monkeypatch)
tests/test_gpu_routing_verdict.py:78
Function
test_diagnose_routing_status_mapping
(monkeypatch, verdict, expected_status)
tests/test_gpu_routing_verdict.py:68
Function
test_diagnostic_has_context_and_no_secrets
(monkeypatch)
tests/test_failure_helper.py:67
Function
test_diagnostic_probe_is_a_guarded_constant_https_head_request
()
tests/test_ghas_false_positive_invariants.py:90
Function
test_dialect_clause_curated_entries
()
tests/test_dub_dialect.py:15
Function
test_dialect_clause_empty_for_unset_or_bare_code
()
tests/test_dub_dialect.py:32
Function
test_dialect_clause_generic_fallback_for_uncurated_region
()
tests/test_dub_dialect.py:25
Function
test_dialect_flags_absent_when_not_requested
()
tests/test_dub_dialect.py:68
Function
test_dialect_flags_present_when_requested
()
tests/test_dub_dialect.py:75
Method
test_diarization_falls_back_to_midpoint_when_no_overlap
(self)
tests/test_segmentation.py:366
Method
test_diarization_uses_overlap_weighted_assignment
(self)
tests/test_segmentation.py:346
Function
test_diarization_wrapper_formats_labels_and_splits
()
tests/test_resplit_speaker.py:159
Function
test_dictation_demo_lists_its_scripts
()
tests/test_demo_assets_exist.py:92
Function
test_dictation_in_progress_declines_rather_than_yanking_the_model
(monkeypatch)
tests/test_unload_advertised_ids.py:109
Function
test_dictation_judges_synthetic
()
tests/probe/test_probe_dictation.py:26
Method
test_dictation_sherpa_installed_is_fine
(self)
tests/test_asr_model_missing.py:115
Method
test_dictation_sherpa_selected_but_not_installed
(self)
tests/test_asr_model_missing.py:98
Function
test_dictation_ws_contract
(probe_report, boot_capture)
tests/probe/test_probe_dictation.py:14
Function
test_dictionary_operates_on_normalized_text
Normalization runs FIRST: dictionary entries keyed on normalized words fire, and respellings are the final say (never re-normalized).
tests/test_text_normalization.py:259
Function
test_different_content_not_conflated
(monkeypatch, tmp_path)
tests/test_transcribe_reference.py:147
Method
test_different_presets_produce_different_output
Different presets should produce audibly different output.
tests/test_effects_chain.py:130
Function
test_different_ref_text_re_encodes
(tmp_path)
tests/test_clone_prompt_cache.py:48
Function
test_different_segments_each_warn
...but per-segment, since which lines lost their reference is the diagnostic — "some of them" is not actionable.
tests/test_missing_clone_ref_is_not_silent.py:102
Function
test_digit_explosion_is_split_below_token_cap
The #1173 repro shape: digits phonemize past the 512-token ONNX cap. Before the fix this raised the fake InvalidArgument (as the real graph di
tests/test_kitten_input_shape_1173.py:104
Function
test_direct_backend_construction_cannot_bypass_license
(mock_settings_store)
tests/test_pockettts_deferred.py:203
Function
test_direct_construction_rejects_intel_mac
(monkeypatch, mock_settings_store)
tests/test_pockettts_deferred.py:89
Function
test_direct_interpreter_shutdown_runtimeerror
()
backend/tests/test_model_load_shutdown.py:92
Function
test_direction_change_flips_fingerprint
()
tests/test_redub_incremental.py:131
Function
test_direction_failure_returns_stable_error
(skills, store, monkeypatch, caplog)
tests/test_llm_skills.py:271
Function
test_directml_host_gets_explanatory_reason_but_stays_neutral
()
tests/test_engine_routing.py:105
Function
test_directml_present_reports_cpu_with_marker
()
tests/test_device_caps.py:182
Function
test_director_empty_input_returns_empty
()
tests/test_phase4_services.py:21
Function
test_director_heuristic_picks_tokens
(monkeypatch)
tests/test_phase4_services.py:12
Function
test_director_ignores_unknown_tokens
(monkeypatch)
tests/test_phase4_services.py:41
Function
test_director_instruct_prompt_combines_dims
(monkeypatch)
tests/test_phase4_services.py:26
Function
test_director_rate_bias_speeds_up_for_urgent
(monkeypatch)
tests/test_phase4_services.py:33
Function
test_dirty_a_stale_module_alias
Leave a *duplicate* model_manager module in the post-shutdown state.
backend/tests/test_shutdown_state_isolation.py:60
Function
test_dirty_the_shutdown_state
Stand in for any lifespan-running test: leave the module globals in the exact state graceful shutdown leaves them.
backend/tests/test_shutdown_state_isolation.py:35
Function
test_disabled_by_default
(monkeypatch)
tests/test_worker_service_api.py:34
Function
test_disabled_direction_parse_uses_heuristic
(skills, store, monkeypatch)
tests/test_llm_skills.py:255
Function
test_disabled_gallery_makes_no_request_at_all
Opt-in means opt-in: no manifest poll, no featured fetch, no per-file GET.
tests/test_gallery_previews.py:310
Function
test_disabled_glossary_extract_503s
(skills, store)
tests/test_llm_skills.py:326
← previous
next →
10,601–10,700 of 15,058, ranked by callers