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_invalid_token_returns_none_with_warning
If the encrypted blob can't be decrypted (e.g. machine-id changed because the user migrated omnivoice_data/ across machines), get_hf_token mus
tests/backend/services/test_settings_store.py:135
Function
test_invalid_ui_port_falls_back_to_the_default_allowlist
(monkeypatch)
tests/test_csrf_origin.py:105
Function
test_invalid_ws_ticket_is_authoritative_over_legacy_query_key
(monkeypatch, store)
tests/test_auth_principal.py:396
Function
test_ipa_row_never_enters_the_grapheme_stream
()
tests/test_pronunciation.py:185
Function
test_ipa_validation_accepts_real_ipa
(client)
tests/test_pronunciation_api.py:250
Function
test_ipa_validation_rejects_bracket_garbage
(client)
tests/test_pronunciation_api.py:245
Function
test_ipv6_certificate_fetch_strips_endpoint_brackets
(monkeypatch)
tests/test_worker_agent.py:162
Function
test_is_available_does_not_chmod_placeholder
The #437 exec-bit self-heal must never bless a placeholder: with no manifest present, no SHA check confirmed the file, so chmod +x on an inval
tests/backend/engines/test_omnivoice_gguf.py:524
Function
test_is_available_no_spawn
is_available must not spawn the sidecar even when the venv exists. Settings UI calls list_backends() on every render. If is_available paid fo
tests/backend/services/test_indextts_sidecar.py:117
Function
test_is_available_no_venv
No venv => clear actionable error with the install-docs path.
tests/backend/services/test_indextts_sidecar.py:140
Function
test_is_available_not_installed_is_honest
On a supported OS without the venv, gate cleanly with an actionable hint and never claim MPS.
tests/test_dots_tts.py:88
Function
test_is_available_not_installed_is_honest
When the venv isn't present, is_available() gates cleanly with an actionable hint and never claims MPS.
tests/test_moss_tts_v15.py:118
Function
test_is_available_passes_when_manifest_absent
When checksums.sha256 is missing we still report ready — the manifest is an integrity check, not a hard requirement (binaries are bundled via
tests/backend/engines/test_omnivoice_gguf.py:129
Function
test_is_available_rejects_garbage_binary
#1172 class — non-empty but not a real executable (truncated download / HTML error page / text file) must also be rejected.
tests/backend/engines/test_omnivoice_gguf.py:506
Function
test_is_available_rejects_zero_byte_placeholder
#1172 — a source checkout ships 0-byte placeholders in bin/ and no checksums.sha256; is_available() used to bless them as (True, "ready") and
tests/backend/engines/test_omnivoice_gguf.py:484
Function
test_is_available_reports_install_hint_when_absent
()
tests/test_funasr_backend.py:53
Function
test_is_available_reports_not_raises_on_so_load_failure
whisperx + faster-whisper probes return (False, reason) — not raise — when the import dies loading the native .so (a non-ImportError).
tests/test_asr_execstack_fallback_692.py:36
Function
test_is_available_reports_why_the_import_failed
not installed" sends a user with a torch ABI mismatch or a half-written wheel to reinstall a package they already have (CodeRabbit).
tests/test_pockettts_sidecar.py:366
Function
test_is_available_returns_tuple
()
backend/tests/test_omnivoice_subprocess.py:204
Function
test_is_available_when_binary_missing
GGUF-03 — engine reports unavailable cleanly when the binary file is absent on this platform.
tests/backend/engines/test_omnivoice_gguf.py:83
Function
test_is_available_when_sha_mismatch
T-04-01 — bundled-binary tampering detection.
tests/backend/engines/test_omnivoice_gguf.py:101
Function
test_is_available_when_transformers_present
()
tests/test_pytorch_whisper_fallback.py:16
Function
test_is_blank_flags_dead_renders
()
tests/test_archetype_blank_guard.py:13
Function
test_is_blank_passes_real_audio
()
tests/test_archetype_blank_guard.py:20
Function
test_is_cached_falls_back_to_disk_when_scan_raises
(tmp_path, monkeypatch)
tests/test_hf_cache_fallback.py:27
Function
test_is_cached_false_for_uncached_repo_when_scan_raises
(tmp_path, monkeypatch)
tests/test_hf_cache_fallback.py:35
Function
test_is_committed_answers_after_the_in_memory_graph_is_gone
The guard for a result redelivered after a control-plane restart: the task object is gone, but the fact is on disk.
tests/test_worker_task_store.py:180
Function
test_is_indextts_installed_no_spawn
is_indextts_installed must NOT invoke any subprocess. The Settings UI calls list_backends() on every render — paying for a sidecar spawn each
tests/backend/services/test_indextts_backward_compat.py:250
Function
test_is_indextts_installed_returns_false_when_no_venv
Negative path — no venv anywhere returns False without spawning.
tests/backend/services/test_indextts_backward_compat.py:273
Function
test_is_local_host_ignores_malformed_cidr
(monkeypatch)
tests/test_loopback_server_mode.py:134
Function
test_is_local_host_loopback_always
(monkeypatch, host)
tests/test_loopback_server_mode.py:110
Function
test_is_local_host_rejects_outside_configured_cidr
(monkeypatch)
tests/test_loopback_server_mode.py:121
Function
test_is_local_host_trusts_configured_cidr
(monkeypatch)
tests/test_loopback_server_mode.py:115
Function
test_is_local_host_untrusted_without_config
(monkeypatch, host)
tests/test_loopback_server_mode.py:128
Function
test_is_local_host_unwraps_ipv4_mapped_ipv6
(monkeypatch)
tests/test_loopback_server_mode.py:550
Function
test_is_loopback_false_for_non_loopback
(monkeypatch, host)
tests/test_loopback_server_mode.py:104
Function
test_is_loopback_true_for_loopback_only
(host)
tests/test_loopback_server_mode.py:99
Function
test_is_marked_subprocess_isolated
()
backend/tests/test_omnivoice_subprocess.py:199
Function
test_is_valid_instruct
()
backend/tests/test_community.py:107
Function
test_isolated_backend_listed_in_settings_with_explanatory_hint
#730 residual B: the escape-hatch engine must be a first-class row in the Settings engine list — subprocess isolation flagged, an install_hint tha
tests/backend/services/test_subprocess_asr.py:97
Function
test_isolated_failure_is_still_charged_in_a_healthy_fleet
()
tests/test_worker_breaker.py:186
Method
test_isolated_faster_whisper_is_preflighted
The crash-isolated sidecar loads the same CT2 weights as in-process faster-whisper — it gets the same preflight, not a silent download.
tests/test_asr_model_missing.py:226
Function
test_isolation_mode_in_process_vs_subprocess
SubprocessBackend subclasses get isolation_mode='subprocess'; others 'in-process'.
tests/backend/services/test_tts_backend_registry.py:224
Function
test_issue_example_warm_elderly_british_storyteller
The exact example from issue #317 — partial match + graceful leftovers.
tests/test_describe_voice.py:34
Function
test_issue_rejects_an_empty_master
(store: AdminSessionStore)
tests/test_admin_sessions.py:106
Function
test_issue_returns_a_namespaced_256_bit_token_once
(store: AdminSessionStore)
tests/test_admin_sessions.py:136
Function
test_it_credits_the_resolving_thread_not_the_beater
The heartbeat runs on a helper thread so it can tick while resolution blocks — but the job the clock is watching is the caller's. Crediting the
tests/test_resolve_heartbeat_1414.py:68
Function
test_it_never_raises_on_odd_torch_objects
This runs inside a probe whose whole contract is that it cannot raise.
tests/test_why_no_gpu_1274.py:219
Function
test_italian_language_disables_aggressive_flush
()
tests/test_sentence_chunker.py:69
Function
test_items_filter_by_type
(client)
backend/tests/test_community.py:157
Function
test_items_filter_by_use_case
(client)
backend/tests/test_community.py:162
Function
test_iter_chunks_covers_everything_exactly_once
()
tests/test_watermark_chunking_1045.py:116
Function
test_iter_chunks_empty_audio_yields_nothing
()
tests/test_watermark_chunking_1045.py:122
Function
test_job_directory_failure_happens_before_cookie_staging
( dub_core, tmp_path, monkeypatch )
tests/test_youtube_cookie_import.py:193
Function
test_job_events_404
(client)
tests/test_router_smoke.py:232
Function
test_job_get_404
(client)
tests/test_router_smoke.py:226
Function
test_job_label_cannot_forge_log_lines
`what` embeds request-derived data (engine ids), and it reaches the timeout/saturation log lines — CodeQL py/log-injection.
tests/test_gpu_pool_queue_accounting_1190.py:341
Function
test_jobs_do_not_share_the_warning_memo
Two dubs can legitimately use the same segment ids.
tests/test_missing_clone_ref_is_not_silent.py:112
Function
test_jobs_excludes_done_and_manifestless
(client)
backend/tests/test_audiobook_resume_api.py:70
Function
test_jobs_excludes_non_longform_types
(client)
backend/tests/test_audiobook_resume_api.py:79
Function
test_jobs_includes_failed_with_manifest
(client)
backend/tests/test_audiobook_resume_api.py:64
Function
test_jobs_list_filter_active
(client)
tests/test_router_smoke.py:217
Function
test_jobs_list_smoke
(client)
tests/test_router_smoke.py:211
Function
test_jobs_lists_interrupted_with_progress
(client)
backend/tests/test_audiobook_resume_api.py:55
Function
test_jobs_run_serially_not_in_parallel
Two submits must not overlap — concurrency=1.
tests/test_job_queue.py:32
Function
test_join_cancellation_restores_the_previous_enrollment_and_agent
( client, monkeypatch, tmp_path )
tests/test_worker_join_api.py:628
Function
test_join_redeems_the_code_and_persists_worker_mode
(client, monkeypatch)
tests/test_worker_join_api.py:152
Function
test_join_refuses_to_replace_a_manifest_it_cannot_back_up
( client, monkeypatch, tmp_path )
tests/test_worker_join_api.py:307
Function
test_join_refuses_to_stop_when_settings_cannot_be_snapshotted
( client, monkeypatch )
tests/test_worker_join_api.py:332
Function
test_join_rejects_an_empty_code
(client, monkeypatch)
tests/test_worker_join_api.py:514
Function
test_join_rendered_chunks_records_through_every_one_of_its_branches
(ct)
tests/test_dropped_audio_reaches_the_user_1330.py:80
Function
test_join_rolls_back_when_enabling_worker_mode_cannot_commit
( client, monkeypatch, tmp_path )
tests/test_worker_join_api.py:574
Function
test_join_stops_any_previous_connection_first
(client, monkeypatch)
tests/test_worker_join_api.py:181
Function
test_join_surfaces_rollback_failure_as_actionable_conflict
( client, monkeypatch )
tests/test_worker_join_api.py:357
Function
test_joins_multi_line_cues_with_newline
()
tests/test_srt_parser.py:31
Function
test_joins_segments_when_no_top_level_text
WhisperX results carry no top-level "text" — only segments.
tests/test_transcribe_reference.py:60
Function
test_journal_classifies_mirror_download_as_network_error
(mirror_env)
tests/test_hf_mirror_error_class.py:122
Function
test_json_transcription_response_extracts_insertable_text
()
tests/test_speech_client.py:35
Function
test_judge_failure_records_zero_not_suite_abort
()
tests/evals/test_evals_harness.py:106
Function
test_judge_result_str
()
tests/probe/test_probe_judges.py:135
Function
test_judge_strips_code_fences
()
tests/evals/test_evals_harness.py:55
Function
test_just_above_floor_is_normalized
()
tests/test_normalize_audio_silence.py:33
Function
test_keepalive_distinguishes_slow_execution_from_a_wedge
A slow executor crosses 120s; a timer-only wedge still hits its phase cap.
tests/test_worker_scheduler.py:1104
Function
test_keepalive_frame_carries_slow_task_past_one_progress_lease
No real 120s sleep: advance the scheduler at its injected ``now`` seam.
tests/test_worker_transport.py:823
Function
test_keepalive_interval_is_a_third_of_the_lease
()
tests/test_worker_client_liveness.py:130
Function
test_keepalive_renews_a_lease_across_a_task_three_leases_long
The B1 regression: silence longer than one lease kills the attempt. Asserted as a gap invariant rather than a frame count, because the lease
tests/test_worker_client_liveness.py:337
Function
test_keepalive_stops_when_the_server_disowns_the_task
_abandon must silence the timer immediately: cancelling the task does not run its finally until the loop next schedules it.
tests/test_worker_client_liveness.py:412
Function
test_keepalive_stops_when_the_task_completes
A timer outliving its task renews the lease of an attempt the server has already settled — and keeps one alive for a worker that has crashed.
tests/test_worker_client_liveness.py:373
Function
test_keepalive_stops_when_the_task_fails
()
tests/test_worker_client_liveness.py:396
Function
test_keeps_the_model_warm_when_there_is_plenty_of_room
A roomy machine pays no reload — offloading is a cost, not a virtue.
tests/test_unified_memory_offload.py:58
Function
test_keeps_the_model_while_it_is_still_in_use
()
tests/test_capture_asr_idle_release.py:68
Function
test_keeps_the_omnivoice_core_when_it_IS_the_active_engine
(instance_cache, monkeypatch)
tests/test_engine_memory.py:176
Function
test_kernel_risk_still_outranks_the_vram_caveat
A card that may not launch kernels at all is the more severe finding.
tests/test_low_vram_advisory.py:107
Function
test_key_generation_is_stable_pepper_scoped_and_unicode_safe
()
tests/test_admin_sessions.py:530
Function
test_key_id_is_stable_and_short
()
tests/test_worker_identity.py:37
Function
test_key_id_that_does_not_match_the_public_key_is_refused
(db)
tests/test_worker_registry.py:298
Function
test_key_named_details_match_frontend_sniff
Every backend literal naming the admin key must contain the SPA matcher.
tests/test_auth_gate_detail_lockstep.py:40
Function
test_key_removal_cannot_revive_session_when_same_key_returns
(monkeypatch, store)
tests/test_auth_principal.py:427
Function
test_key_removal_invalidates_all_sessions
(store: AdminSessionStore)
tests/test_admin_sessions.py:214
Function
test_key_revoked_during_registration_is_never_confirmed
Revocation wins even after admission but before identity is durable.
tests/test_worker_inbound_transport.py:1058
← previous
next →
11,701–11,800 of 15,058, ranked by callers