MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_mlx_audio_model_id_resolves_via_prefs
(monkeypatch, tmp_path)
tests/test_engines.py:139
Functiontest_mlx_audio_unavailable_not_crash
(monkeypatch, exc)
tests/backend/services/test_mlx_import_guard.py:41
Functiontest_mlx_backends_declare_mps_cpu
(module_path, cls_name)
tests/test_mlx_gate_390.py:49
Functiontest_mlx_decodes_the_audio_instead_of_handing_over_a_path
A path sends mlx_whisper to a bare "ffmpeg" that need not exist. Given a path, mlx_whisper calls whisper.audio.load_audio, which shells out t
backend/tests/test_asr_mlx_validated_ffmpeg.py:19
Functiontest_mlx_whisper_unavailable_not_crash
(monkeypatch, exc)
tests/backend/services/test_mlx_import_guard.py:26
Functiontest_mlx_whisper_unavailable_off_apple_platform
(monkeypatch)
tests/backend/services/test_mlx_import_guard.py:52
Functiontest_mode_pref_manual_disables_auto
(er)
tests/test_endpoint_race.py:207
Functiontest_model_id_is_engine_scoped
Two engines whose model is called "default" must not share a breaker.
tests/test_worker_executor_residency.py:487
Functiontest_model_id_is_not_the_display_name
It keys breakers, per-model slots and residency, and is persisted. A UI copy edit must not orphan any of that.
tests/test_worker_executor_residency.py:479
Functiontest_model_id_never_carries_a_repo_path
The wire carries engine + a closed identifier, never a repo path — so there is nothing to validate on arrival and nothing to point at a model
tests/test_worker_executor_residency.py:492
Functiontest_model_left_on_cpu_is_reported_stranded
CPU-resident weights on a CUDA box is the #1191 state.
tests/test_tts_placement_self_heal.py:105
Functiontest_model_load_timeout_respects_env
(model_manager, monkeypatch)
tests/test_model_load_timeout.py:29
Functiontest_model_loading_after_started_is_legal
An out-of-order frame, or an engine loading a second model mid-run. Raising here ended the read loop and tore down a healthy session (B12).
tests/test_worker_lifecycle.py:446
Functiontest_model_loading_is_its_own_reported_phase
Folding a cold load into the execution deadline quarantines healthy hardware for doing normal work.
tests/test_worker_protocol_contract.py:262
Functiontest_model_loading_is_optional
A warm worker goes straight from ACCEPTED to RUNNING.
tests/test_worker_lifecycle.py:60
Functiontest_model_on_the_accelerator_is_not_stranded
The hot path must be a no-op: a healthy model costs one parameter probe.
tests/test_tts_placement_self_heal.py:99
Functiontest_model_rejecting_the_prompt_falls_back_to_inline_reference
The prompt encodes fine, but the model refuses it. The cache is an optimization, so this must degrade to the inline reference and still produ
tests/test_clone_prompt_wiring.py:176
Functiontest_model_resolution_pins_offline_probe_and_download
(monkeypatch, tmp_path)
tests/test_sherpa_dictation.py:203
Functiontest_model_resolution_probes_preserved_legacy_snapshot
(monkeypatch, tmp_path)
tests/test_sherpa_dictation.py:224
Methodtest_model_status
(self, client)
tests/test_api.py:470
Functiontest_model_status_smoke
(client)
tests/test_router_smoke.py:87
Functiontest_model_that_does_not_fit_returns_zero
A 4 GB card refusing a 6 GB engine is correct behaviour (#1226), and the scheduler must read it as 'send it elsewhere', never as a worker fault.
tests/test_worker_capacity.py:40
Functiontest_models_directory_authorization_is_one_shot
(env, tmp_path)
tests/test_models_dir_setting.py:124
Functiontest_models_disables_sdk_retries
(settings_mod, monkeypatch)
tests/test_llm_providers_router.py:246
Functiontest_models_endpoint_exposes_curated_flag
(client)
tests/test_setup_recommendations.py:123
Functiontest_models_failure_is_classified
(settings_mod, monkeypatch)
tests/test_llm_providers_router.py:202
Functiontest_models_failure_omits_trace_path_and_secret
(settings_mod, monkeypatch)
tests/test_llm_providers_router.py:212
Functiontest_models_lists_sorted_ids
(settings_mod, monkeypatch)
tests/test_llm_providers_router.py:189
Functiontest_models_not_truncated_under_cap
(settings_mod, monkeypatch)
tests/test_llm_providers_router.py:222
Functiontest_models_truncated_over_cap
(settings_mod, monkeypatch)
tests/test_llm_providers_router.py:229
Functiontest_models_unconfigured_is_kind_config
(settings_mod)
tests/test_llm_providers_router.py:197
Functiontest_moderate_pitch_australian_guy_in_twenties
()
tests/test_describe_voice.py:92
Functiontest_module_reload_and_reimport_cannot_fork_the_process_store
Reloading/re-importing the module must not split the auth store (#1528). Auth is process-global: the module copy that issued a session and any
tests/test_admin_sessions.py:543
Functiontest_mono_chunk_broadcasts_to_stereo
()
tests/test_chunked_tts.py:160
Functiontest_mount_mcp_contains_systemexit_from_integration_layer
(monkeypatch)
tests/test_mcp_graceful_degradation.py:61
Functiontest_mount_mcp_survives_missing_sdk
()
tests/test_mcp_graceful_degradation.py:50
Methodtest_mp3_export_produces_unique_file_each_call
(self, app_client)
tests/test_dub_export_unique.py:209
Functiontest_mp3_format_produces_mp3_container
(tmp_path, monkeypatch)
tests/test_longform_e2e.py:121
Functiontest_mp3_uses_lame
()
tests/test_dub_audio_export.py:35
Methodtest_mp4_export_produces_unique_file_each_call
(self, app_client)
tests/test_dub_export_unique.py:190
Methodtest_mp4_export_refuses_when_ffmpeg_writes_nothing
(self, app_client)
tests/test_dub_export_unique.py:235
Functiontest_mps_host_mps_engine_accelerated
()
tests/test_engine_routing.py:30
Functiontest_mps_host_uses_half_ram
()
tests/test_device_caps.py:158
Functiontest_mps_is_not_judged_by_a_cuda_measured_floor
On MPS, HostCaps.vram_gb is a heuristic (system RAM / 2) for a UNIFIED memory pool. An 8 GB Mac therefore reports 4.0 "VRAM" — comparing that to a
tests/test_low_vram_advisory.py:76
Functiontest_mps_proxy_keeps_longform_quality_and_child_seed
(monkeypatch)
tests/test_longform_synth_params.py:118
Functiontest_mps_proxy_survives_fatal_child_exit_and_recovers
(stub_sidecar, monkeypatch)
backend/tests/test_omnivoice_subprocess.py:340
Functiontest_mps_startup_does_not_preload_native_model
(monkeypatch)
backend/tests/test_omnivoice_subprocess.py:163
Functiontest_mps_timeout_message_is_not_a_vram_verdict
(monkeypatch)
tests/test_low_vram_advisory.py:92
Functiontest_mps_uses_half_of_system_ram_as_ceiling
MPS unified memory: effective ceiling is half of system RAM.
tests/backend/engines/test_hardware_probe.py:79
Functiontest_mt_engine_unaffected_by_quality_flags
MT engines can't run either stage: with both flags forced on, the google path neither touches the LLM Skills seam nor changes its output.
tests/test_dub_translation_quality.py:444
Functiontest_mtime_change_invalidates
(tmp_path)
tests/test_clone_prompt_cache.py:56
Functiontest_multi_chunk_render_encodes_reference_only_once
The core regression: N chunks used to mean N reference encodes.
tests/test_clone_prompt_wiring.py:108
Functiontest_multi_field_worker_update_is_durable_and_live_atomic
( client, db, monkeypatch, tmp_path )
tests/test_worker_service_api.py:1045
Functiontest_multi_gpu_advisory_note
()
tests/test_device_caps.py:150
Methodtest_multi_lang_splits
(self, client, fake_video)
backend/tests/test_batch.py:103
Functiontest_multi_line_error_is_kept_whole
()
tests/test_ffmpeg_banner_stripping.py:40
Functiontest_multi_unit_job_falls_back_per_unit_and_latches
(tmp_path, pool_executor)
tests/test_gpu_gateway.py:510
Functiontest_multichannel_audio_raises_rather_than_being_downmixed_wrongly
The original `arr.mean(axis=0)` assumed channels-first. For a channels-last (N, 2) array it averages across TIME, not across channels — every
tests/test_pockettts_sidecar.py:113
Functiontest_multichannel_chunks_concat_on_last_axis
()
tests/test_chunked_tts.py:114
Functiontest_multilingual_archetypes_are_neutral_timbre_with_valid_tokens
()
backend/tests/test_archetypes.py:188
Functiontest_multilingual_featured_languages_present
()
backend/tests/test_archetypes.py:182
Functiontest_multipart_matches_openai_audio_contract
()
tests/test_speech_client.py:16
Functiontest_multiple_issuances_are_unique
()
tests/test_auth_session_api.py:310
Functiontest_multiple_recognized_segments_concatenate
()
tests/test_dub_qc.py:79
Functiontest_multiple_replacements_in_one_pass
()
tests/test_pronunciation.py:55
Functiontest_multiple_tasks_are_all_cancelled_before_any_await
Cancel-then-await (not cancel-then-immediately-await-one-at-a-time) — every task gets its cancellation requested up front, so a slow task earl
tests/test_shutdown_preload_race_1000.py:92
Functiontest_multiword_phrase_loop_is_dropped
()
tests/backend/services/test_refinement_collapse.py:25
Methodtest_named_exception_class_classified_as_license
(self, model_manager)
tests/test_diarization_error_class.py:86
Functiontest_named_voice_resolves_through_the_map
(monkeypatch)
tests/test_audiobook_cast.py:91
Functiontest_native_async_path_unchanged
A proc without uses_sync_pipes still streams via the async StreamReader.
backend/tests/test_stream_stderr_sync_fallback.py:129
Functiontest_native_filesystem_capabilities_allow_true_loopback
(host)
tests/test_filesystem_boundaries.py:21
Functiontest_native_filesystem_capabilities_reject_remote_even_in_server_mode
(monkeypatch, host)
tests/test_filesystem_boundaries.py:27
Functiontest_native_reveal_reaps_the_opener_child
()
tests/test_filesystem_boundaries.py:150
Functiontest_native_reveal_requires_app_root_or_native_selection
()
tests/test_filesystem_boundaries.py:160
Functiontest_native_support_skips_the_hsa_override
gfx1151 is native on ROCm 7.x — overriding it onto gfx1100 would force a supported GPU onto foreign kernels.
tests/test_rocm_arch_gate.py:227
Functiontest_natural_cache_decode_failure_degrades_to_silence
A valid WAV header must not move a corrupt payload outside recovery.
tests/test_smart_fit_generate.py:530
Functiontest_natural_cache_remix_skips_mix_scratch_roundtrip
A fit-only re-mix should decode each durable segment exactly once. The durable natural-rate WAV is already the assembly input. Loading it, w
tests/test_smart_fit_generate.py:441
Functiontest_near_full_slots_are_left_alone
Within UNDERRUN_TOLERANCE the hole is imperceptible — no ffmpeg pass.
tests/test_fit_planner.py:68
Functiontest_nearest_existing_walks_up_to_a_real_dir
(tmp_path)
tests/test_uv_cross_drive.py:32
Functiontest_need_at_audio_only_boundary_is_audio_only
need = 1.2 (the max_audio_only_rate default) → audio only, no video.
tests/test_fit_planner.py:97
Functiontest_need_below_one_is_slowed_toward_the_slot
Underrun fill: a line shorter than its slot is slowed (pitch-preserving) so speech covers the on-screen mouth time instead of leaving a hole of
tests/test_fit_planner.py:47
Functiontest_need_exactly_one_fits
()
tests/test_fit_planner.py:89
Functiontest_need_four_saturates_both_caps_and_overflows
need = 4.0: sqrt(4)=2 > audio cap 1.5 → audio=1.5; video=min(4/1.5, 2)=2. Combined 3.0× < 4.0× → residual overflow trimmed at mix time.
tests/test_fit_planner.py:119
Functiontest_need_just_past_boundary_goes_hybrid
need = 1.21 → geometric split: sqrt(1.21) = 1.1 on each side.
tests/test_fit_planner.py:107
Methodtest_neither_keyspace_returns_none
(self)
tests/test_smart_fit_export.py:128
Functiontest_nemo_parakeet_has_no_cuda_gate
Regression (CPU un-gating, 2026-07-02): on a CUDA-less host, is_available() must never claim a GPU is required — availability is a pure nemo_t
tests/test_asr_gpu_compat.py:73
Functiontest_nemo_parakeet_hint_does_not_imply_isolated_venv_exists
Unlike dots-tts/moss-tts-v15/confucius4-tts, nemo-parakeet has no isolated-venv env var yet — the hint must not invent one.
tests/test_nemo_parakeet_install_hint.py:37
Functiontest_nemo_parakeet_hint_does_not_recommend_shared_venv_install
()
tests/test_nemo_parakeet_install_hint.py:21
Functiontest_nemo_parakeet_hint_surfaced_in_list_backends
()
tests/test_nemo_parakeet_install_hint.py:44
Functiontest_nemo_parakeet_hint_warns_about_transformers_conflict
()
tests/test_nemo_parakeet_install_hint.py:30
Functiontest_nested_leases_refcount_correctly
()
tests/test_capture_asr_idle_release.py:104
Functiontest_nesting_innermost_speed_wins
()
tests/test_ssml_lite.py:60
Functiontest_nesting_spell_inside_slow_keeps_both
()
tests/test_ssml_lite.py:69
Functiontest_network_check_skippable
(report)
tests/test_diagnose.py:24
Functiontest_network_control_rejects_non_loopback
()
tests/test_network_share.py:104
Functiontest_network_disable_retains_enabled_state_when_listener_does_not_stop
(monkeypatch)
tests/test_truthful_degraded_state.py:129
Functiontest_network_failures_are_left_alone
(tmp_path)
tests/test_dub_download_os_error.py:111
Functiontest_network_state_endpoint_defaults_disabled
()
tests/test_network_share.py:71
Functiontest_neutral_failures_never_open_the_breaker
()
tests/test_worker_breaker.py:89
Functiontest_never_emits_n_a
()
tests/test_engine_routing.py:134
← previousnext →12,201–12,300 of 15,058, ranked by callers