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_full_verdict_all_pass
(generated_audio, probe_report)
tests/probe/test_probe_spec.py:41
Function
test_full_worker_is_removed_but_stays_retryable
()
tests/test_worker_scheduler.py:298
Function
test_funasr_campp_requires_one_global_transcription
(monkeypatch)
tests/test_funasr_global_speaker_chunking.py:146
Function
test_gallery_batch_delete_reports_failure_and_keeps_failed_record
(monkeypatch, app_modules)
tests/test_destructive_cleanup.py:89
Function
test_gallery_delete_keeps_record_when_audio_cannot_be_removed
(monkeypatch, app_modules)
tests/test_destructive_cleanup.py:48
Function
test_gallery_preview_preserves_non_wav_content_type
(client)
backend/tests/test_gallery_profiles.py:244
Function
test_gallery_preview_serves_outputs_file_without_root_relative_redirect
(client)
backend/tests/test_gallery_profiles.py:232
Function
test_gallery_profile_does_not_rewrite_a_namespaced_import_collision
(client)
backend/tests/test_gallery_profiles.py:134
Function
test_gallery_profile_repairs_a_missing_copy_without_duplication
(client)
backend/tests/test_gallery_profiles.py:116
Function
test_gap_borrow_extends_available_time
()
tests/test_duration_planner.py:163
Function
test_gap_borrow_is_capped
()
tests/test_duration_planner.py:174
Function
test_gap_slack_absorbed_minus_gap_guard
A 1.9 s natural dub in a 1 s slot fits because the following 1 s gap is absorbed, leaving only the 50 ms guard before the next onset.
tests/test_fit_planner.py:147
Function
test_garbage_content_rejected
(tmp_path)
tests/backend/services/test_binary_preflight.py:36
Function
test_garbage_input_is_a_typed_400
()
tests/test_dub_parse_subtitle_text.py:71
Function
test_gate_blocks_when_mlx_unsupported
(module_path, cls_name, monkeypatch)
tests/test_mlx_gate_390.py:26
Function
test_gate_passthrough_when_supported
(module_path, cls_name, monkeypatch)
tests/test_mlx_gate_390.py:37
Method
test_gated_repo_message_classified_as_license
(self, model_manager)
tests/test_diarization_error_class.py:70
Function
test_gated_weight_failures_are_typed_and_actionable
(reason)
tests/test_pockettts_deferred.py:180
Function
test_gateway_dependency_call_signatures_are_compatible
Keep every gateway call into its orchestration dependencies bindable.
tests/test_gpu_gateway_scheduler_contract.py:73
Function
test_gateway_input_staging_does_not_block_the_control_plane
( tmp_path, monkeypatch )
tests/test_gpu_gateway.py:208
Function
test_gen_pin_is_six_digits
()
tests/test_network_share.py:24
Function
test_generate_500_detail_carries_socks_hint
(client, monkeypatch)
tests/test_socks_proxy.py:217
Function
test_generate_applies_normalization_exactly_once
(client, monkeypatch, fake_engine)
tests/test_text_normalization.py:334
Function
test_generate_blocks_freeform_ref_audio
T-04-02 — ref_audio path that doesn't exist is rejected before spawning the subprocess.
tests/backend/engines/test_omnivoice_gguf.py:364
Function
test_generate_classic_response_is_watermarked
( client, fake_engine, marking_on, hermetic_outputs, )
tests/test_synthetic_audio_watermark_1169.py:246
Function
test_generate_clean_ref_reaches_model_unchanged
(tmp_path, fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:182
Function
test_generate_consumes_progress_frames_before_audio
(stub_sidecar, monkeypatch)
backend/tests/test_omnivoice_subprocess.py:302
Function
test_generate_cpu_fallback_emits_routing_headers
An MPS+CPU engine on a CUDA host → cpu_fallback → 200 + routing headers.
tests/test_generate_engine.py:178
Function
test_generate_cpu_only_host_emits_no_routing_header
A cpu-capable engine on a no-GPU host is benign cpu_only → no header.
tests/test_generate_engine.py:191
Function
test_generate_default_path_still_runs_omnivoice
No selection + no override → the OmniVoice model path, unchanged.
tests/test_generate_engine.py:201
Function
test_generate_does_not_deadlock_when_called_on_gpu_pool_worker
(stub_sidecar, monkeypatch)
backend/tests/test_omnivoice_subprocess.py:382
Function
test_generate_engine_param_overrides_selection
Explicit per-request `engine` form field wins, like /ws/tts's `engine`.
tests/test_generate_engine.py:128
Function
test_generate_enoexec_at_spawn_becomes_typed_error
#1172 TOCTOU leg: the file passes preflight but the OS still refuses to exec it (wrong arch) — the OSError is converted to the same typed, act
tests/backend/engines/test_omnivoice_gguf.py:585
Function
test_generate_explicit_auto_falls_back_to_profile
Explicit 'Auto' is request-unset → profile language still wins.
tests/test_profile_language_propagation.py:135
Function
test_generate_explicit_language_overrides_profile
An explicit non-Auto request language wins over the profile language.
tests/test_profile_language_propagation.py:118
Function
test_generate_fallback_leaves_real_errors_alone
()
tests/test_flashinfer_optin.py:204
Function
test_generate_fallback_unapplies_and_retries_once
()
tests/test_flashinfer_optin.py:184
Function
test_generate_forwards_control_arguments
The GGUF binary exposes quality/prosody controls; the adapter must not silently drop them.
tests/backend/engines/test_omnivoice_gguf.py:258
Function
test_generate_honors_settings_selected_engine
Engine selected via Settings (env/prefs resolution) runs the request.
tests/test_generate_engine.py:107
Function
test_generate_is_not_supported
(asr)
tests/backend/services/test_subprocess_asr.py:139
Function
test_generate_normalizes_before_dictionary
Route-level pin of the ordering: the DB dictionary sees normalized text, and its respellings are not re-normalized.
tests/test_text_normalization.py:357
Function
test_generate_on_pool_worker_does_not_deadlock
(tmp_path, monkeypatch)
backend/tests/test_subprocess_slot_deadlock.py:92
Function
test_generate_output_tail_is_trimmed
(fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:234
Function
test_generate_output_without_tail_is_unchanged
(fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:247
Function
test_generate_passes_prepared_ref_to_model
(tmp_path, fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:163
Function
test_generate_passes_ref_text_as_temporary_file
(monkeypatch, tmp_path)
tests/backend/engines/test_omnivoice_gguf.py:316
Function
test_generate_records_natural_durations_for_calibration
Natural-rate strategies persist (chars, natural dur) per segment — the raw material calibration_from_job turns into a chars/sec rate.
tests/test_dub_duration_plan_api.py:298
Function
test_generate_requires_ref_audio
IndexTTS2 cannot voice-clone without a reference; the parent rejects early so the sidecar isn't woken up on a no-op.
tests/backend/services/test_indextts_sidecar.py:307
Function
test_generate_respects_applies_own_mastering
Studio engines (applies_own_mastering=True) skip apply_mastering; regular engines still get the broadcast chain — parity with /v1/audio/speech
tests/test_generate_engine.py:225
Method
test_generate_returns_streaming_response
POST /generate should return streamed WAV with metadata headers.
tests/test_api.py:512
Function
test_generate_returns_tensor_from_stub_wav
T-04 happy path: a stubbed subprocess writes a 3-second 24 kHz WAV to the `-o` path, the backend reads it back as a (1, 72000) float32 tensor.
tests/backend/engines/test_omnivoice_gguf.py:199
Function
test_generate_routing_unavailable_is_400
A GPU-only engine (no cpu path) on a CPU host → 400 before any synth.
tests/test_generate_engine.py:168
Function
test_generate_stream_multi_chunk_previews_are_watermarked
( client, fake_engine, marking_on, hermetic_outputs, )
tests/test_synthetic_audio_watermark_1169.py:282
Function
test_generate_stream_single_chunk_preview_is_watermarked
( client, fake_engine, marking_on, hermetic_outputs, )
tests/test_synthetic_audio_watermark_1169.py:274
Function
test_generate_timeout_env_floor_respected
(monkeypatch)
tests/test_recurrence_hardening.py:185
Function
test_generate_timeout_scales_with_text_length
(monkeypatch)
tests/test_recurrence_hardening.py:174
Function
test_generate_toggle_off_sends_raw_text
(client, monkeypatch, fake_engine)
tests/test_text_normalization.py:379
Function
test_generate_unavailable_engine_is_400_with_reason
(client, monkeypatch)
tests/test_generate_engine.py:148
Function
test_generate_unknown_engine_is_400
(client, monkeypatch)
tests/test_generate_engine.py:141
Function
test_generate_uses_profile_language_when_request_unset
Request omits language → the profile's stored 'German' reaches the engine (not None). Before the fix generation.py never read row['language'].
tests/test_profile_language_propagation.py:99
Function
test_generate_voice_design_output_tail_is_trimmed
(fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:256
Function
test_generate_without_ref_audio_omits_reference
No ref_audio → plain TTS: neither ref_audio nor tokens leak in.
tests/test_moss_tts_v15.py:182
Function
test_generate_zero_byte_binary_raises_typed_actionable_error
#1172 end-to-end at the engine layer: generate() against a 0-byte binary raises InvalidBinaryError (typed, actionable) BEFORE exec — never the
tests/backend/engines/test_omnivoice_gguf.py:546
Function
test_generated_package_is_importable
protoc emits a flat sibling import that only resolves if the output directory happens to be on sys.path; the generator rewrites it.
tests/test_worker_protocol_gen.py:50
Function
test_generation_proxy_forwards_native_controls_and_seed
()
backend/tests/test_omnivoice_subprocess.py:449
Function
test_generic_default_opts_pass_no_extra_kwargs
(monkeypatch)
tests/test_audiobook_expressive.py:290
Function
test_generic_emotion_and_overrides_reach_a_naive_backend
A backend whose generate(self, text, **kw) does not understand the new options must receive them without raising (the engine-options contract),
tests/test_audiobook_expressive.py:304
Function
test_generic_error_is_not_transient
()
tests/test_dub_download_retry.py:52
Function
test_generic_failure_still_uses_oom_hint
()
tests/test_generation_audio_guard.py:67
Function
test_generic_gated_model_still_uses_existing_pyannote_class
()
tests/test_pockettts_deferred.py:190
Method
test_generic_load_failure_returns_load_sentinel
(self, model_manager, monkeypatch)
tests/test_diarization_error_class.py:165
Function
test_generic_synth_applies_pinned_profile_seed
(monkeypatch)
tests/test_longform_synth_params.py:86
Function
test_generic_synth_without_pinned_seed_stays_unseeded
(monkeypatch)
tests/test_longform_synth_params.py:102
Method
test_generic_torch_version_error_classified_as_load
(self, model_manager)
tests/test_diarization_error_class.py:95
Function
test_genuinely_low_ram_still_fails
(monkeypatch)
backend/tests/test_ram_preflight_1618.py:51
Function
test_genuinely_unsupported_still_reported
The gate must keep working — a Blackwell card on an old wheel is real.
tests/test_cuda_arch_compat.py:98
Function
test_get_active_asr_backend_caches_isolated_singleton
Selecting the isolated engine must not spawn a fresh sidecar (and leak an atexit hook) per request: SubprocessBackend instances own a child proces
tests/backend/services/test_subprocess_asr.py:119
Function
test_get_active_asr_backend_follows_prefs_switch_without_restart
#981 class (fixed on the TTS side): a Settings pick must take effect on the next transcribe, not after an app restart. get_active_asr_backend()
tests/test_engines.py:238
Function
test_get_active_tts_backend_reconstructs_on_mlx_model_switch
A curated-model-only change (same backend id 'mlx-audio') must invalidate the cached instance too — otherwise picking a different curated mode
tests/test_engines.py:165
Function
test_get_archetype_missing_returns_none
()
backend/tests/test_archetypes.py:213
Function
test_get_archetype_roundtrip
()
backend/tests/test_archetypes.py:208
Function
test_get_default_empty
(settings_mod)
tests/test_hf_mirror_settings.py:48
Function
test_get_default_empty
(settings_mod)
tests/test_asr_openai_compat_877.py:188
Function
test_get_default_state
Fresh DB → enabled=False, platform=<runtime>.
tests/backend/test_perf_settings.py:50
Function
test_get_defaults_to_auto_mode_when_nothing_configured
(settings_mod)
tests/test_hf_mirror_settings.py:94
Function
test_get_empty_state
(settings_mod)
tests/test_llm_endpoint_settings.py:33
Function
test_get_engines_asr_family_shape
GET /engines/asr — the ASR picker's data source: active id + one row per registered backend with availability, reasons and install hints.
tests/backend/api/test_engines_route_shape.py:450
Function
test_get_generator_loads_exactly_once_under_concurrency
A background prefetch thread + the first embed race the lazy load; both must share ONE generator build, not one each.
tests/test_watermark_prefetch_coldstart.py:62
Function
test_get_hf_token_state_fresh_busts_whoami_cache
`?fresh=1` (the panel's "Test now") re-runs whoami instead of serving the resolver's 300s validation cache. Fail-before/pass-after for the bug
tests/backend/test_engine_spawn_token.py:133
Function
test_get_hf_token_state_loopback_only
GET state is on the same admin router; non-loopback desktop → 403.
tests/backend/test_engine_spawn_token.py:177
Function
test_get_hf_token_state_returns_three_rows
GET state returns the same shape as token_resolver.state(): three SourceState rows in priority order, plus an `active` field.
tests/backend/test_engine_spawn_token.py:113
Function
test_get_missing_404
(client)
backend/tests/test_archetypes_api.py:138
Function
test_get_missing_returns_none
(tmp_path)
tests/test_user_env.py:47
Function
test_get_model_does_not_move_a_healthy_model
The self-heal must be free on the hot path — no spurious device moves.
tests/test_tts_placement_self_heal.py:186
Function
test_get_model_heals_placement_before_returning
THE CLASS FIX. Fail-before: get_model() returned the CPU-resident model untouched, so every generation after a stranded offload ran on CPU.
tests/test_tts_placement_self_heal.py:152
Function
test_get_model_times_out_and_resets_pool
(model_manager, monkeypatch)
tests/test_model_load_timeout.py:41
Function
test_get_personality_lookup
()
tests/backend/core/test_personalities.py:68
Function
test_get_prefs_defaults
(client)
tests/test_dictation_router.py:62
Function
test_get_reports_manual_when_endpoint_configured
(settings_mod)
tests/test_hf_mirror_settings.py:101
Function
test_get_reports_state_and_families
(fresh_app)
tests/backend/test_compute_device_settings.py:51
← previous
next →
11,301–11,400 of 15,058, ranked by callers