MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_get_returns_none_when_unset
(isolated_db)
tests/backend/services/test_settings_store.py:130
Functiontest_get_secret_propagates_unexpected_decryption_failure
(isolated_db, monkeypatch)
tests/backend/services/test_settings_store.py:172
Functiontest_get_secret_sqlite_failure_uses_fixed_shape_fallback
( isolated_db, monkeypatch, caplog )
tests/backend/services/test_settings_store.py:191
Functiontest_get_shape
(env)
tests/test_models_dir_setting.py:141
Functiontest_get_sherpa_dictation_backend_reuses_warm_singleton
A second WS session for the same model reuses the warm backend instead of rebuilding the recognizer (1.3–2.5s) per connect — the reuse that makes
tests/test_sherpa_dictation.py:377
Functiontest_get_single
(client)
backend/tests/test_archetypes_api.py:131
Functiontest_get_spec_accepts_repo_id
()
tests/test_sherpa_dictation.py:169
Functiontest_get_status_synthesizes_state_without_job
(monkeypatch)
tests/test_sidecar_install.py:638
Functiontest_getting_the_backend_resets_the_idle_clock
Any handout counts as use — otherwise a freshly-warmed model built at T=0 would be reaped on the very next idle tick.
tests/test_capture_asr_idle_release.py:134
Functiontest_git_absent_falls_back_to_tarball
(monkeypatch)
tests/test_sidecar_install.py:248
Functiontest_git_failure_falls_back_to_tarball
A present-but-failing git (proxy block, DNS, …) must not dead-end.
tests/test_sidecar_install.py:272
Functiontest_git_lfs_pointer_rejected_with_lfs_hint
(tmp_path)
tests/backend/services/test_binary_preflight.py:44
Functiontest_gitleaks_allowlist_contains_only_reviewed_exact_values
()
tests/test_gitleaks_allowlist.py:24
Functiontest_gives_up_after_bounded_retries
(_patched_ytdlp)
tests/test_dub_download_retry.py:125
Functiontest_gives_up_loudly_when_ffmpeg_never_arrives
Exhausting the retries must fail the job — a silent pass would push a broken toolchain into the test run.
tests/test_ci_windows_ffmpeg_retry.py:152
Functiontest_global_env_kill_switch_silences_overrides
(skills, store, monkeypatch)
tests/test_llm_skills.py:211
Functiontest_global_exception_handler_keeps_private_failure_out_of_response
( tmp_path, monkeypatch )
tests/test_response_safety.py:171
Functiontest_global_row_always_applies
()
tests/test_pronunciation.py:163
Functiontest_global_speaker_backend_receives_the_whole_recording
(tmp_path, monkeypatch)
tests/test_funasr_global_speaker_chunking.py:154
Functiontest_glossary_text_empty_inputs
()
tests/test_translator.py:18
Functiontest_glossary_text_includes_each_term
()
tests/test_translator.py:24
Functiontest_golden_fit_plan
(name)
tests/test_fit_planner.py:347
Functiontest_golden_parity
(case)
tests/test_sentence_chunker.py:37
Functiontest_google_path_passes_correct_target_code
GoogleTranslator constructed with the expected src/tgt codes for German.
tests/test_dub_translate.py:59
Functiontest_google_path_uses_seg_target_lang_override
(monkeypatch)
tests/test_dub_translate.py:98
Functiontest_google_reports_error_when_all_attempts_fail
(monkeypatch)
tests/test_dub_translate.py:162
Functiontest_google_retries_then_falls_back_to_auto
Transient failure → retry → still fails → fall back to auto source.
tests/test_dub_translate.py:128
Functiontest_gptsovits_availability_uses_valid_configured_endpoint
( outbound_http, monkeypatch )
tests/test_gptsovits_endpoint_security.py:183
Functiontest_gpu_compat_cuda_cpu_no_mps
()
tests/test_dots_tts.py:62
Functiontest_gpu_compat_cuda_cpu_no_mps
MPS is undocumented/untested upstream — we must not claim it.
tests/test_moss_tts_v15.py:109
Functiontest_gpu_compat_omnivoice_variants_include_rocm
Both OmniVoice paths use torch's HIP-backed CUDA device on ROCm.
tests/backend/api/test_engines_route_shape.py:241
Functiontest_gpu_host_keeps_vram_guidance
(monkeypatch)
tests/test_generate_timeout_730.py:205
Functiontest_gpu_oom_classifier_covers_typed_and_wrapped_failures
()
tests/test_failure_helper.py:94
Functiontest_gpu_oom_classifier_visits_cause_and_context_branches
()
tests/test_failure_helper.py:107
Functiontest_gpu_oom_gets_a_stable_remedy_without_allocator_details
()
tests/test_failure_helper.py:81
Functiontest_gpu_pool_translates_bare_stopiteration
The GPU pool is where every engine/model dispatch runs.
backend/tests/test_pool_stopiteration_guard.py:40
Functiontest_grace_expiry_loses_the_attempt_and_requeues
()
tests/test_worker_lifecycle.py:118
Functiontest_grace_expiry_requeues_and_frees_the_slot
()
tests/test_worker_scheduler.py:596
Functiontest_graceful_drain_keeps_the_stream_until_the_result_is_acked
()
tests/test_worker_client_liveness.py:279
Functiontest_guard_fires_for_inspect_frame_on_any_separator
(monkeypatch, inspect_path)
backend/tests/test_asr_speechbrain_lazy_guard.py:52
Functiontest_guard_happy_path_returns_value
(model_manager)
tests/test_generate_timeout_730.py:69
Methodtest_guard_runs_before_accept
(self)
backend/tests/test_capture_ws.py:76
Functiontest_guard_timeout_env_default
The generate bound is env-overridable (parity with the ASR bound).
tests/test_generate_timeout_730.py:82
Functiontest_guard_times_out_resets_pool_and_restores_capacity
(model_manager)
tests/test_generate_timeout_730.py:33
Functiontest_guard_without_reset_still_bounds
A plain executor (no `reset`, e.g. in other call sites/tests) still gets the wall-clock bound + actionable error — reset is best-effort, not requi
tests/test_generate_timeout_730.py:161
Functiontest_h1_headings_become_chapters
()
tests/test_audiobook.py:30
Functiontest_half_fetched_checkout_is_refetched
A checkout without pyproject.toml (killed mid-clone) is wiped and re-fetched instead of being trusted or corrupting the install.
tests/test_sidecar_install.py:435
Functiontest_handler_is_registered_on_the_real_app
The throwaway app above proves the handler works; this proves main.py actually installs it (the bug was purely a missing registration).
backend/tests/test_validation_error_handler.py:84
Functiontest_handles_crlf_line_endings
()
tests/test_srt_parser.py:59
Functiontest_handles_utf8_bom_at_start_of_file
()
tests/test_srt_parser.py:52
Functiontest_hang_does_not_block_startup
()
tests/test_mcp_startup_timeout.py:59
Functiontest_happy_parses_fixture
(monkeypatch)
tests/test_loudness.py:42
Functiontest_happy_path_completes_and_releases_capacity
()
tests/test_worker_scheduler.py:464
Functiontest_happy_path_installs_and_persists
(monkeypatch)
tests/test_sidecar_install.py:117
Functiontest_hard_bound_keeps_late_speech_instead_of_cropping_only_silence
(monkeypatch)
tests/test_omnivoice_reference_bound.py:83
Functiontest_hard_bound_prefers_speech_over_distant_transient
(monkeypatch)
tests/test_omnivoice_reference_bound.py:100
Functiontest_hard_cut_concat
()
tests/test_chunked_tts.py:95
Functiontest_hard_cut_when_no_boundaries
()
tests/test_chunked_tts.py:68
Functiontest_harness_actually_hides_ffmpeg
Guard the guard. Every assertion here depends on ffmpeg being genuinely absent until a stub install creates it. If a real ffmpeg leaks onto P
tests/test_ci_windows_ffmpeg_retry.py:112
Functiontest_header_reason_capped_at_256
()
tests/test_engine_routing.py:193
Functiontest_header_reason_none_for_empty
()
tests/test_engine_routing.py:173
Functiontest_header_reason_scrubs_home_path
()
tests/test_engine_routing.py:197
Functiontest_header_reason_strips_control_chars_no_header_injection
()
tests/test_engine_routing.py:186
Functiontest_header_reason_strips_non_ascii
()
tests/test_engine_routing.py:178
Functiontest_headless_docs_and_acceptance_script_use_the_supported_backend_command
()
tests/test_headless_worker_packaging.py:83
Functiontest_headless_readiness_rejects_missing_or_invalid_tokens
( monkeypatch, tmp_path, token, message )
tests/test_worker_agent.py:419
Functiontest_heal_clone_profile_without_vd_states_just_sanitizes
()
tests/test_voice_design_instruct_heal.py:116
Functiontest_heal_prefers_valid_stored_tags_over_vd_states
()
tests/test_voice_design_instruct_heal.py:110
Functiontest_heal_recovers_from_vd_states_when_prose
()
tests/test_voice_design_instruct_heal.py:105
Functiontest_heal_recovers_gender_from_vd_states_when_poisoned
()
tests/test_voice_design_instruct_heal.py:98
Functiontest_health_check_pings
(echo_backend)
tests/backend/services/test_subprocess_backend.py:104
Functiontest_health_check_url_and_server_are_both_pinned_to_loopback
()
tests/test_ghas_false_positive_invariants.py:99
Functiontest_health_exposes_version
`/health` is the zero-auth way to confirm the running version (#249).
tests/test_router_smoke.py:65
Functiontest_health_returns_ok
`/health` is the canonical liveness probe (release.yml uses it too).
tests/smoke/test_boot_smoke.py:94
Functiontest_healthy_cache_scan_is_a_noop
(tmp_path)
tests/test_hf_cache_repair.py:80
Functiontest_healthy_managed_install_reheals_lost_env_var
A complete managed install whose env var vanished (prefs.json wiped) is re-pointed by start_install instead of being reinstalled — and instead
tests/test_sidecar_install.py:588
Functiontest_healthy_manager_mounts
()
tests/test_mcp_startup_timeout.py:64
Functiontest_heartbeat_does_not_promise_gpu_utilisation
Unobtainable on Apple without sudo powermetrics and absent on CUDA without a new NVML dependency. Slots and queue depth are the load signal.
tests/test_worker_protocol_contract.py:283
Functiontest_heartbeat_flood_updates_live_state_without_blocking_or_flooding_sqlite
( plane, monkeypatch )
tests/test_worker_server_integrity.py:1056
Functiontest_heartbeat_reports_residency
(proto)
tests/test_worker_protocol_contract.py:291
Functiontest_heartbeats_do_not_leak_between_jobs
Thread idents are reused. Job A's heartbeats must not vouch for job B running later on the same pool thread — the entry is cleared when the job
tests/test_model_load_extends_generate_budget.py:161
Functiontest_heartbeats_that_stop_kill_the_job_within_the_grace
A download that dies mid-transfer stops heartbeating; the job must not coast to the hard cap on stale credit.
tests/test_model_load_extends_generate_budget.py:114
Methodtest_heuristic_alternates_on_gap
(self)
tests/test_segmentation.py:288
Functiontest_heuristic_fallback_warns_approximate_and_skips_clones
No turns, no pyannote, hint set: the heuristic cycles the requested count (approximate honesty), the warning says exactly that, and auto voice
tests/test_speaker_hint.py:210
Functiontest_heuristic_fallback_without_hint_keeps_legacy_warning
No hint → the pre-existing fallback warning is unchanged (no hint text), but the clone-purity guard still protects against gap-based labels.
tests/test_speaker_hint.py:228
Methodtest_heuristic_hint_no_gaps_keeps_one_speaker
(self)
tests/test_segmentation.py:335
Methodtest_heuristic_hint_one_speaker_single_label
(self)
tests/test_segmentation.py:320
Methodtest_heuristic_hint_three_speakers_cycles_three_labels
(self)
tests/test_segmentation.py:308
Methodtest_heuristic_invalid_hint_falls_back_to_legacy
(self, bad)
tests/test_segmentation.py:330
Methodtest_heuristic_labels_source_returns_nothing
(self)
tests/test_speaker_clone_purity.py:87
Methodtest_heuristic_labels_source_skips_extraction
(self, tmp_path, vocals)
tests/test_speaker_clone_purity.py:113
Methodtest_heuristic_none_hint_preserves_legacy_two_speaker_alternation
(self)
tests/test_segmentation.py:324
Methodtest_heuristic_speaker_assignment_without_diarization
(self, app_client)
tests/test_dub_transcribe.py:730
Functiontest_hf_downloadable_engine_always_names_a_repository
A positive missing-weights answer must carry an HF download target.
tests/test_worker_capabilities_downloaded.py:55
Functiontest_hf_home_marker_present_after_bootstrap
HF cache is read-only from the bootstrap path. (ENGINE-07 / Pitfall 4) The existing user's downloaded model weights at ``$HF_HOME/hub/models-
tests/backend/services/test_indextts_backward_compat.py:287
Functiontest_hf_home_only_finds_repo_under_hub_subdir
(tmp_path, monkeypatch)
tests/test_hf_cache_fallback.py:51
Functiontest_hf_mirror
Re-run the endpoint race now (the Auto panel's "Test again"). Forces fresh probes and re-caches the decision. In manual mode this is a no-op
backend/api/routers/settings.py:992
Functiontest_hf_retry_does_not_retry_unrelated_errors
()
tests/test_engines.py:339
Functiontest_hf_retry_is_single_shot
()
tests/test_engines.py:351
Functiontest_hf_retry_matches_wrapped_closed_client_error
()
tests/test_engines.py:322
← previousnext →11,401–11,500 of 15,058, ranked by callers