MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_list_backends_includes_install_hint
Every backend in list_backends() must have an install_hint field.
tests/test_issue_fixes.py:179
Functiontest_list_backends_resilient
A BrokenBackend.is_available() that raises must NOT take down the list.
tests/backend/services/test_tts_backend_registry.py:119
Functiontest_list_backends_shape
Every entry must contain exactly the documented keys — no more, no less — EXCEPT mlx-audio, which also carries `curated_models` + `active_mode
tests/backend/services/test_tts_backend_registry.py:143
Functiontest_list_backends_shape_unchanged
list_backends() must still include the original fields (backward compat).
tests/test_issue_fixes.py:229
Functiontest_list_engines_emits_install_command
()
tests/test_translation_install_command.py:19
Functiontest_list_history_includes_starred_beyond_recency_window
(api)
tests/test_generation_takes.py:268
Functiontest_list_jobs_live_only_by_default
(queue)
tests/test_job_queue.py:170
Functiontest_list_live_sidecars_reports_running
(echo)
tests/backend/services/test_subprocess_reaper.py:133
Functiontest_list_loaded_asr_row_is_honest
(monkeypatch)
tests/test_mm2_lifecycle.py:91
Functiontest_list_loaded_attributes_resident_tts_to_its_engine
(monkeypatch)
tests/test_mm2_lifecycle.py:104
Functiontest_list_loaded_attribution_failure_degrades
(monkeypatch)
tests/test_mm2_lifecycle.py:128
Functiontest_list_loaded_empty
(monkeypatch)
tests/test_mm2_lifecycle.py:84
Functiontest_list_models_downgrades_truncated_cache
A size-positive but weight-less cache must report installed=False so the first-run wizard re-offers the download instead of stranding the user (#6
tests/test_mm2_lifecycle.py:257
Functiontest_list_models_omits_probe_diagnostic
(client, monkeypatch)
tests/test_dictation_router.py:49
Functiontest_list_models_shape
(client)
tests/test_dictation_router.py:34
Functiontest_list_models_uses_selected_worker_inventory_not_local_cache
(monkeypatch)
tests/test_mm2_lifecycle.py:281
Functiontest_list_never_leaks_keys
(settings_mod)
tests/test_llm_providers_router.py:90
Functiontest_list_offset_advances
(client)
backend/tests/test_archetypes_api.py:74
Functiontest_list_returns_every_skill_with_status
(settings_mod, store, skills)
tests/test_llm_skills.py:355
Functiontest_list_returns_paginated_envelope
(client)
backend/tests/test_archetypes_api.py:65
Functiontest_listener_stop_failure_retains_handle_for_retry
(tmp_path, monkeypatch)
tests/test_worker_inbound_transport.py:4276
Functiontest_listing_workers_is_safe_when_the_feature_is_off
(client)
tests/test_worker_service_api.py:289
Functiontest_live_bundle_launch_skips_cleanly
()
tests/probe/test_probe_desktop.py:57
Functiontest_live_fields_still_come_from_the_pool
(client, db, monkeypatch, tmp_path)
tests/test_worker_service_api.py:1113
Functiontest_live_inbound_listener_rejects_endpoint_changes_before_persisting
( monkeypatch, )
tests/test_worker_security_boundaries.py:98
Functiontest_live_launch_skips_cleanly
()
tests/probe/test_probe_web.py:170
Functiontest_live_network_start_cleanup_can_be_retried_by_disable
(monkeypatch)
tests/test_truthful_degraded_state.py:251
Functiontest_live_pid_means_second_instance_not_a_crash
A sentinel owned by a LIVE process is a concurrent second instance sharing DATA_DIR — never a crash, and we must not take over or delete its s
backend/tests/test_run_sentinel.py:116
Functiontest_live_tasks_are_never_purged
(db)
tests/test_worker_task_store.py:294
Functiontest_liveness_survives_the_reconnect_that_interrupts_it
A worker that drops mid-render and resumes must still be able to say so. The regression: task frames were fenced against the *live* session epoch
tests/test_worker_server_integrity.py:916
Functiontest_llm_auto_selects_off_when_nothing_configured
(clean_llm_env)
tests/test_engines.py:279
Functiontest_llm_auto_selects_openai_compat_when_configured
(monkeypatch)
tests/test_engines.py:287
Functiontest_llm_backend_not_blocked_by_missing_openai_package
()
tests/test_llm_openai_available.py:18
Functiontest_llm_entries_are_network_n_a
(fresh_app)
tests/backend/api/test_engines_route_shape.py:133
Functiontest_llm_healer_heals_via_model
()
tests/probe/test_probe_web.py:120
Functiontest_llm_healer_parse_strips_noise
()
tests/probe/test_probe_web.py:114
Functiontest_llm_healer_swallows_model_errors
()
tests/probe/test_probe_web.py:134
Functiontest_llm_off_chat_raises_actionable
(monkeypatch)
tests/test_engines.py:268
Functiontest_llm_provider
One cheap round-trip against a provider to prove the key/URL work. Temporarily activates the provider for the probe by resolving its config d
backend/api/routers/settings.py:485
Functiontest_llm_registry_includes_off
()
tests/test_engines.py:262
Functiontest_llm_state_restored_after_polluting_test
The autouse guard must have restored env, store, and prefs exactly.
tests/test_llm_state_isolation.py:79
Functiontest_lmstudio_is_the_only_placeholder_today
A guard on the flag itself: marking a provider as a placeholder makes every resolve for it hit the network, so it should be a deliberate act.
tests/test_lmstudio_model_discovery.py:171
Functiontest_load_beats_warmth_when_a_warm_worker_is_saturated
()
tests/test_worker_scheduler.py:366
Functiontest_load_heartbeats_keep_their_own_shorter_grace
The two signals must not collapse into one window: a load that stops reporting is wedged after 0.5s, and giving it synthesis's 1.0s grace would
tests/test_chunk_progress_extends_generate_budget_1391.py:176
Functiontest_load_missing_or_empty
(tmp_path)
tests/test_pronunciation.py:119
Functiontest_load_model_applies_the_24l_suffix_to_load_model
The load path must honour the opt-in, not just the name helper.
tests/test_pockettts_sidecar.py:446
Functiontest_load_model_can_preload_pytorch_whisper_when_requested
(model_manager, monkeypatch)
tests/test_model_manager_preload.py:62
Functiontest_load_model_skips_pytorch_whisper_by_default
(model_manager, monkeypatch)
tests/test_model_manager_preload.py:37
Functiontest_load_model_sync_pins_compiled_model_to_one_thread
End-to-end through _load_model_sync: a CUDA load that applies torch.compile(mode="reduce-overhead") must return a model whose generate is sing
tests/test_compile_thread_affinity.py:109
Functiontest_load_non_object_json
(tmp_path)
tests/test_pronunciation.py:126
Functiontest_load_normalizes
(tmp_path)
tests/test_pronunciation.py:132
Functiontest_load_or_create_is_stable_across_calls
(tmp_path)
tests/test_worker_identity.py:215
Functiontest_load_shipped_dub_suite
()
tests/evals/test_evals_harness.py:151
Functiontest_load_spec_parses_fields
()
tests/probe/test_probe_spec.py:31
Functiontest_load_suite_rejects_non_mapping
(tmp_path)
tests/evals/test_evals_harness.py:159
Functiontest_load_sync_bails_before_torch_when_already_shutting_down
A load that reaches the pool AFTER shutdown began (queued behind a warmup on a 1-worker pool) must not start a multi-GB import/load.
backend/tests/test_model_load_shutdown.py:256
Functiontest_load_sync_converts_interpreter_shutdown_to_benign
Fail-before/pass-after (#1174): the raw RuntimeError used to escape _load_model_sync (re-raised), reaching whichever teardown machinery ran ne
backend/tests/test_model_load_shutdown.py:184
Functiontest_load_sync_converts_wrapped_stringified_error
The transformers-5 aggregated form (severed chain, non-RuntimeError).
backend/tests/test_model_load_shutdown.py:202
Functiontest_load_sync_plain_pool_shutdown_benign_only_during_app_shutdown
Once the lifespan flipped begin_shutdown(), even the plain single-pool rejection is benign — our own _reset_gpu_pool() caused it.
backend/tests/test_model_load_shutdown.py:220
Functiontest_load_sync_plain_pool_shutdown_stays_loud_outside_shutdown
Outside app shutdown the plain-pool rejection is the #589-class real fault: it must keep the ERROR log + /model/status error.
backend/tests/test_model_load_shutdown.py:234
Functiontest_load_sync_real_failure_stays_loud
(monkeypatch, caplog, _loading_detail_guard)
backend/tests/test_model_load_shutdown.py:247
Functiontest_loaded_model_inventory_reports_degraded_source
(monkeypatch, caplog)
tests/test_truthful_degraded_state.py:178
Functiontest_loads_pyannote_after_registering_safe_globals
(reset_diar, monkeypatch)
tests/test_diarization_weights_only.py:24
Functiontest_local_base_url_is_available_without_key
(settings_mod)
tests/test_llm_endpoint_settings.py:75
Functiontest_local_choice_runs_locally
(db, settings)
tests/test_worker_routing.py:183
Functiontest_local_download_delegates_to_the_installer
(monkeypatch)
tests/test_gpu_gateway.py:740
Functiontest_local_download_rejects_anything_outside_the_catalog
()
tests/test_gpu_gateway.py:734
Functiontest_local_is_always_first_and_always_available
(db, settings)
tests/test_worker_routing.py:98
Functiontest_local_oom_flushes_the_cuda_cache_before_retry
(monkeypatch)
tests/test_dub_remote_safety.py:8
Functiontest_local_provider_needs_no_key
(lp)
tests/test_llm_providers.py:105
Functiontest_local_retry_bypasses_present_gallery_file
A client-side decode error must be able to replace silence with a render.
tests/test_gallery_previews.py:561
Functiontest_local_target_runs_on_the_pool
(pool_executor)
tests/test_gpu_gateway.py:169
Functiontest_local_video_is_normalized_before_job_is_persisted
(tmp_path, monkeypatch)
tests/test_dub_browser_media.py:71
Functiontest_locale_inventory_matches_baseline
Every locale is ratcheted; a new locale must be added to the baseline (and fully translated), a removed one must be dropped from it.
tests/test_locale_parity.py:171
Functiontest_locale_language_parses_env_and_skips_posix
(monkeypatch)
tests/test_asr_device_aware_autodetect.py:265
Functiontest_locale_parses_without_duplicate_keys
(locale)
tests/test_locale_parity.py:190
Functiontest_locked_profile_transcript_not_persisted
Locked profiles still transcribe (their audio is the locked take) but never persist — unlocking must not pair that transcript with the original
tests/test_generate_ref_text_persist.py:211
Functiontest_lockfile_no_onnxruntime_double_install
``uv.lock`` declares exactly one ``onnxruntime`` distribution. Pitfall 1 / T-03-05: if a future engine bumps in ``onnxruntime-gpu``, the CPU
tests/test_supertonic3.py:61
Functiontest_log_clear_does_not_hide_notification_reset_failure
(monkeypatch, tmp_path)
tests/test_truthful_degraded_state.py:102
Functiontest_log_if_low_never_raises_and_returns_the_message
(monkeypatch, caplog)
tests/test_memory_budget.py:53
Functiontest_log_safe_bounds_oversized_values
()
tests/test_logging_utils.py:31
Functiontest_log_safe_preserves_unicode_and_never_raises
()
tests/test_logging_utils.py:37
Functiontest_log_safe_renders_controls_without_losing_forensic_text
(value, marker)
tests/test_logging_utils.py:25
Functiontest_log_safe_survives_a_broken_sanitizer
A probe must not fail because logging could not redact.
tests/test_engine_venv_probe_1414.py:216
Functiontest_log_stream_start_failure_returns_stable_error
(monkeypatch, tmp_path)
tests/test_truthful_degraded_state.py:89
Functiontest_log_tail_is_captured_scrubbed_and_capped
(sentinel_env)
backend/tests/test_run_sentinel.py:264
Functiontest_logout_revokes_immediately_and_is_idempotent
(store: AdminSessionStore)
tests/test_admin_sessions.py:188
Functiontest_logout_revokes_session_expires_cookie_and_is_idempotent
()
tests/test_auth_session_api.py:332
Methodtest_long_graph_moves_to_a_script_file
(self, tmp_path)
tests/test_ffmpeg_failure_diagnosis.py:57
Functiontest_long_operations_get_a_longer_grace_window
Losing a 40-minute dub to a 45-second Wi-Fi blip and redoing it from zero is the expensive mistake.
tests/test_worker_deadlines.py:113
Functiontest_long_segments_get_their_own_ref
(tmp_path, vocals)
tests/test_segment_refs.py:28
Functiontest_long_strings_are_truncated_with_a_count
()
backend/tests/test_validation_error_handler.py:101
Functiontest_long_text_is_chunked_through_engine
(client, monkeypatch)
tests/test_chunked_tts.py:221
Functiontest_long_text_splits_at_sentence_boundaries
()
tests/test_chunked_tts.py:30
Functiontest_longest_match_first
()
tests/test_pronunciation.py:49
Functiontest_longform_cache_key_tracks_normalization_toggle
(tmp_path, monkeypatch)
tests/test_text_normalization.py:421
Functiontest_longform_chapter_normalizes_spans
(tmp_path, monkeypatch)
tests/test_text_normalization.py:414
Functiontest_longform_chapter_wav_is_watermarked
(tmp_path, marking_on)
tests/test_synthetic_audio_watermark_1169.py:307
Functiontest_longform_render_rejects_too_many_chapters
(monkeypatch)
tests/test_longform_limits.py:32
Functiontest_longform_stale_unmarked_cache_is_not_served
The cache-poisoning half of the class: a chapter WAV cached under the pre-#1169 key derivation (unmarked audio) must MISS while marking is on —
tests/test_synthetic_audio_watermark_1169.py:320
← previousnext →11,901–12,000 of 15,058, ranked by callers