MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_enabling_inbound_starts_the_idle_sweep
The wiring, not just the loop: the gap was a missing caller.
tests/test_worker_inbound_transport.py:4151
Functiontest_enabling_is_what_starts_the_first_fetch
(sandbox, stub)
tests/test_gallery_previews.py:320
Functiontest_encode_failure_falls_back_to_inline_reference
A cache failure must degrade to the old inline path, never break synthesis.
tests/test_clone_prompt_wiring.py:163
Functiontest_encode_failure_returns_none_and_does_not_cache
(tmp_path)
tests/test_clone_prompt_cache.py:76
Functiontest_encodes_mp3_when_ffmpeg_present
()
tests/test_stories_encode.py:45
Functiontest_encodes_once_then_hits_cache
(tmp_path)
tests/test_clone_prompt_cache.py:39
Functiontest_endpoint_and_ack_roundtrip
(client)
backend/tests/test_run_sentinel.py:308
Functiontest_endpoint_empty_description
(client)
tests/test_describe_voice.py:191
Functiontest_endpoint_falls_back_to_the_configured_port_when_stopped
(monkeypatch)
tests/test_worker_service_api.py:470
Functiontest_endpoint_maps_description
(client)
tests/test_describe_voice.py:179
Functiontest_endpoint_pref_read_failure_keeps_manual_mode
(monkeypatch)
tests/test_truthful_degraded_state.py:312
Functiontest_endpoint_preference_failure_is_fail_closed_to_manual
(monkeypatch)
tests/test_truthful_degraded_state.py:50
Functiontest_endpoint_rejects_oversized_description
(client)
tests/test_describe_voice.py:197
Functiontest_endpoint_reports_nothing_without_a_crash
(client)
backend/tests/test_run_sentinel.py:302
Functiontest_endpoint_returns_report_shape
(roots, monkeypatch)
tests/test_storage_report.py:302
Functiontest_endpoint_rules_fast_defaults_and_env_override
Streaming endpoint rules commit at 1.0s/0.6s by default (was 2.4/1.2 — laggy) and honor OMNIVOICE_DICTATION_ENDPOINT_R1/R2.
tests/test_sherpa_ws_streaming.py:575
Methodtest_enforces_max_dur
(self)
tests/test_segmentation.py:177
Functiontest_engine_agnostic_labels_name_no_engine
A stage label must not name the engine that happens to implement it. The dub overlay said "Transcribing with Whisper…" in all 21 languages while
tests/test_locale_parity.py:335
Functiontest_engine_bootstraps_exist
()
tests/test_uv_cross_drive.py:216
Functiontest_engine_brand_matcher_catches_the_forms_that_actually_ship
The matcher itself, not the current locale contents. Every assertion here is a string a translator could plausibly write, and the check is on
tests/test_locale_parity.py:366
Functiontest_engine_catalogue_reports_effective_mps_isolation
(monkeypatch)
backend/tests/test_omnivoice_subprocess.py:145
Functiontest_engine_discovery_omits_service_diagnostics
(fresh_app, monkeypatch)
tests/backend/api/test_engines_route_shape.py:143
Functiontest_engine_discovery_preserves_routing_outcome_without_diagnostics
( fresh_app, monkeypatch, status, private_reason, expected )
tests/backend/api/test_engines_route_shape.py:202
Functiontest_engine_health_caches_instance_across_calls
Two health checks on the same engine reuse the same singleton. SubprocessBackend.__init__ registers atexit hooks; recreating it per request w
tests/backend/api/test_engines_route_shape.py:690
Functiontest_engine_health_in_process_falls_back_to_is_available
No health_check method on OmniVoiceBackend → fall back to is_available.
tests/backend/api/test_engines_route_shape.py:619
Functiontest_engine_health_is_admin_gated
Non-loopback desktop traffic is rejected by require_admin.
tests/backend/api/test_engines_route_shape.py:638
Functiontest_engine_health_never_returns_engine_owned_diagnostic
()
tests/test_response_safety.py:34
Functiontest_engine_health_route_logs_but_does_not_return_private_diagnostic
( monkeypatch, caplog )
tests/test_response_safety.py:66
Functiontest_engine_health_subprocess_success
Mock IndexTTS2Backend.health_check so we don't spawn a real sidecar.
tests/backend/api/test_engines_route_shape.py:600
Functiontest_engine_health_unknown_id
(fresh_app)
tests/backend/api/test_engines_route_shape.py:631
Functiontest_engine_help_names_the_app_not_the_upstream_model
()
tests/test_voicestudio_branding.py:87
Functiontest_engine_ids_never_reach_the_filesystem_through_the_cache
The cache resolves through the registry, so a wire-supplied engine id is a lookup miss, never a path.
tests/test_worker_executor_residency.py:593
Functiontest_engine_in_code_but_not_inventory_fails
(drift_module, tmp_path, capsys)
tests/scripts/test_check_docs_drift.py:98
Functiontest_engine_in_inventory_but_not_code_fails
(drift_module, tmp_path, capsys)
tests/scripts/test_check_docs_drift.py:108
Functiontest_engine_is_cpu_only_and_advertises_it
Kyutai reports no GPU speedup for this 100M batch-1 model, so claiming CUDA would send the scheduler looking for a device it cannot use.
tests/test_pockettts_sidecar.py:385
Functiontest_engine_matrix
(probe_report, boot_capture)
tests/probe/test_probe_engines.py:14
Functiontest_engine_not_configured_class_is_not_oom
()
tests/test_generation_audio_guard.py:303
Functiontest_engine_only_capability_and_named_task_share_one_slot
An old worker's model_id="" is a wildcard, not extra capacity.
tests/test_worker_capacity.py:72
Functiontest_engine_only_task_matching_remains_tolerant
Restored tasks may still match a capability by engine alone.
tests/test_worker_capacity.py:86
Functiontest_engine_reads_fresh_config_per_call
Saving a new base URL/model in Settings must take effect on the very next transcribe — the backend is instantiated fresh per call (get_active_
tests/test_asr_openai_compat_877.py:247
Functiontest_engine_unload_releases_the_shared_model
The idle-sweep path — the one that was inverted.
tests/test_mm2_lifecycle.py:353
Functiontest_engine_without_a_catalog_repo_is_advertised_and_schedulable
Missing download metadata must not hide an already-working engine.
tests/test_worker_capabilities_downloaded.py:19
Functiontest_engines_declare_no_floor_by_default
()
tests/test_low_vram_advisory.py:40
Functiontest_engines_list_smoke
(client)
tests/test_router_smoke.py:116
Functiontest_engines_present_but_not_downloaded_are_still_advertised
Otherwise "this worker has no such engine" and "it has it but the weights are missing" are the same silence, and the control plane can never offer
tests/test_worker_agent.py:1606
Functiontest_engines_response_curated_models_only_on_mlx_audio
(fresh_app)
tests/backend/api/test_engines_route_shape.py:587
Functiontest_engines_response_includes_new_fields
(fresh_app)
tests/backend/api/test_engines_route_shape.py:89
Functiontest_engines_response_marks_environment_pinned_families
(fresh_app, monkeypatch)
tests/backend/api/test_engines_route_shape.py:103
Functiontest_engines_select_refuses_unavailable_backend
(client)
tests/test_router_smoke.py:134
Functiontest_engines_select_rejects_unknown_family
(client)
tests/test_router_smoke.py:147
Functiontest_engines_that_cannot_clone_do_not_advertise_it
`supports_cloning` is None when it depends on the loaded model; treating that as "yes" produces a task that fails at the last moment.
tests/test_worker_service_api.py:219
Functiontest_engines_tts_lists_all_backends
(client)
tests/test_router_smoke.py:127
Functiontest_enoent_download_failure_also_gets_the_destination_facts
Review finding (#1225): classify() covered ENOENT but the enrichment gate did not, so a job folder that vanished after preflight produced a di
tests/test_dub_download_os_error.py:128
Functiontest_enqueue_failure_deletes_staged_cookie
(dub_core, tmp_path, monkeypatch)
tests/test_youtube_cookie_import.py:163
Functiontest_enrolled_workers_are_listed
(db, settings)
tests/test_worker_routing.py:104
Functiontest_enrolling_the_same_key_twice_is_idempotent
(db)
tests/test_worker_registry.py:157
Functiontest_enrollment_advertises_the_port_actually_bound
A token carries the endpoint a worker will dial. Advertising the configured port while listening on another hands workers an address nothing a
tests/test_worker_service_api.py:364
Functiontest_enrollment_binds_the_public_key
(db)
tests/test_worker_registry.py:151
Functiontest_enrollment_refuses_a_host_absent_from_the_live_certificate
Rotating only the token pin cannot add a SAN to the running server.
tests/test_worker_service_api.py:395
Functiontest_enrollment_token_is_single_use
A second worker cannot join on a token that has been spent.
tests/test_worker_transport.py:793
Functiontest_ensure_appends_source_root_when_not_importable
(tmp_path, monkeypatch)
tests/test_omnivoice_path.py:73
Functiontest_ensure_asr_applies_preflight_before_load
(monkeypatch)
tests/test_asr_vram_preflight.py:74
Functiontest_ensure_loaded_eagerly_builds_pipeline
Dub preflight must load the fallback before processing every chunk.
tests/test_pytorch_whisper_fallback.py:71
Functiontest_ensure_mcp_raises_importerror_not_systemexit
()
tests/test_mcp_graceful_degradation.py:39
Functiontest_ensure_noop_when_already_importable
()
tests/test_omnivoice_path.py:65
Functiontest_ensure_returns_none_when_no_source_found
(tmp_path, monkeypatch)
tests/test_omnivoice_path.py:89
Functiontest_ensure_schema_creates_missing_generation_history
(temp_db)
tests/test_generation_history_self_heal.py:48
Functiontest_ensure_schema_is_idempotent
(temp_db)
tests/test_generation_history_self_heal.py:73
Functiontest_ensure_tts_on_device_is_a_noop_when_already_placed
(mm, gpu_host)
tests/test_tts_placement_self_heal.py:134
Functiontest_ensure_tts_on_device_moves_a_stranded_model_back
(mm, gpu_host)
tests/test_tts_placement_self_heal.py:127
Functiontest_entries_for_language_collapses_to_map
()
tests/test_pronunciation.py:251
Functiontest_env_beats_the_persisted_settings_pick
(monkeypatch, tmp_path)
tests/test_device_override.py:102
Functiontest_env_endpoint_forces_manual
(er, monkeypatch)
tests/test_endpoint_race.py:184
Functiontest_env_forwarding_contract
HF_TOKEN, HF_HOME, HF_ENDPOINT, HF_HUB_CACHE all reach the sidecar. Locked Decision D5 — verifies the os.environ.copy() contract that Phase 2
tests/backend/services/test_subprocess_backend.py:156
Functiontest_env_forwarding_to_indextts_sidecar
HF_TOKEN / HF_HOME / HF_ENDPOINT / HF_HUB_CACHE reach the sidecar.
tests/backend/services/test_indextts_sidecar.py:415
Functiontest_env_injection_when_enabled_on_windows
build_engine_env injects TORCH_COMPILE_DISABLE=1 on win32 + flag true.
tests/backend/test_perf_settings.py:98
Functiontest_env_key_wins_and_is_flagged
(lp, monkeypatch)
tests/test_llm_providers.py:73
Functiontest_env_kill_switch_disables_the_layer
(tmp_path, ref_wav, monkeypatch)
tests/test_prompt_disk_cache.py:162
Functiontest_env_non_secret_name_untouched
(monkeypatch)
tests/test_scrub.py:96
Functiontest_env_off_bypasses
(monkeypatch)
tests/test_text_normalization.py:228
Functiontest_env_on_beats_pref_off
(monkeypatch)
tests/test_text_normalization.py:234
Functiontest_env_opt_out
(monkeypatch)
tests/test_asr_vram_preflight.py:67
Functiontest_env_opt_out_forces_manual
(er, monkeypatch)
tests/test_endpoint_race.py:200
Functiontest_env_opt_out_reported
(settings_mod, monkeypatch)
tests/test_hf_mirror_settings.py:116
Functiontest_env_override_can_disable
(monkeypatch)
tests/test_segmented_download_default.py:22
Functiontest_env_override_is_read_at_call_time
(gguf, monkeypatch)
tests/test_gguf_source_build_runtime_1348.py:50
Functiontest_env_override_truthy_keeps_it_on
(monkeypatch)
tests/test_segmented_download_default.py:27
Functiontest_env_overrides_stored_key
(lp, monkeypatch)
tests/test_llm_providers.py:91
Functiontest_env_pin_also_wins
(monkeypatch, llm)
tests/test_lmstudio_model_discovery.py:102
Functiontest_env_pin_is_reported_and_wins
(fresh_app, monkeypatch)
tests/backend/test_compute_device_settings.py:100
Functiontest_env_pinned_parakeet_model_bypasses_language_gate
ASR_MODEL_PARAKEET_MLX is an explicit engine choice — trust it over the locale heuristic.
tests/test_asr_device_aware_autodetect.py:234
Functiontest_env_secret_collection_failure_is_fail_closed
(monkeypatch)
tests/test_scrub.py:158
Functiontest_env_secret_short_value_not_swept
(monkeypatch)
tests/test_scrub.py:90
Functiontest_env_secret_value_redacted
(monkeypatch)
tests/test_scrub.py:83
Functiontest_env_var_beats_the_stored_setting
A headless deployment must be able to force the answer.
tests/test_worker_service_api.py:52
Functiontest_env_var_controls_the_gate
(monkeypatch, value, expected)
tests/test_worker_service_api.py:46
Functiontest_envelope_reserves_hosted_fields
(proto, field)
tests/test_worker_protocol_contract.py:203
Functiontest_environment_only_startup_enrolls_and_advertises_capabilities
A headless host needs only the two documented environment variables.
tests/test_worker_agent.py:325
Functiontest_environment_override_rejects_ui_enablement_changes
(monkeypatch)
tests/test_worker_inbound_keys.py:671
Functiontest_eof_text_frame_triggers_final_without_disconnect
Client sends audio + 'EOF' text frame, expects `final` over open socket.
tests/test_capture_ws.py:161
← previousnext →10,901–11,000 of 15,058, ranked by callers