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
Method
test_plain_vtt_get_still_returns_text_body
(self, client, translated_job)
tests/test_dub_subtitles_309.py:215
Function
test_plaintext_ignores_sentences_starting_with_keyword
()
tests/test_longform_import.py:79
Function
test_plaintext_leaves_existing_h1_untouched
()
tests/test_longform_import.py:65
Function
test_plaintext_no_breaks_is_single_chapter
()
tests/test_longform_import.py:91
Function
test_plaintext_promotes_chapter_lines
()
tests/test_longform_import.py:70
Function
test_plaintext_promotes_prologue_and_part
()
tests/test_longform_import.py:86
Function
test_plan_chapter_count_property
()
tests/test_audiobook.py:79
Function
test_plan_for_returns_entry_when_strategy_matches_and_plan_exists
()
tests/test_dub_timing_strategy.py:137
Function
test_plan_for_returns_none_when_plan_missing_for_lang
()
tests/test_dub_timing_strategy.py:127
Function
test_plan_for_returns_none_when_strategy_is_concise
()
tests/test_dub_timing_strategy.py:117
Function
test_plan_for_returns_none_when_video_stretch_plans_absent
A job that ran strict_slot then was upgraded won't carry the plans dict; the helper must tolerate that and return None.
tests/test_dub_timing_strategy.py:150
Function
test_plan_incremental_track_lang_threads_through
()
tests/test_redub_incremental.py:444
Function
test_plan_to_dict_shape
()
tests/test_audiobook.py:72
Function
test_platform_override_replaces_targets
()
tests/probe/test_probe_desktop.py:33
Function
test_platform_slug_maps_linux_arm64_to_aarch64_binary
Asahi Apple Silicon — Linux/aarch64 hosts must resolve the linux-aarch64 binary, not silently fall into linux-x86_64 (which can never run on A
tests/test_gguf_source_build_runtime_1348.py:136
Function
test_platform_tags_follow_selected_worker_not_control_plane
(monkeypatch)
tests/test_setup_recommendations.py:40
Function
test_platform_ws_accepts_path_bound_ticket
(key_env)
tests/test_bearer_middleware.py:258
Function
test_pockettts_gate_points_at_pockettts_instructions
()
tests/backend/core/test_error_docs_map.py:68
Function
test_pockettts_is_a_pinned_optional_extra
()
tests/test_pockettts_deferred.py:68
Function
test_pockettts_reports_the_intel_mac_wheel_gap
(monkeypatch)
tests/test_pockettts_deferred.py:80
Method
test_podcast_preset_returns_tensor
(self)
tests/test_effects_chain.py:92
Function
test_policy_can_be_disabled
(instance_cache, monkeypatch)
tests/test_engine_memory.py:191
Function
test_poll_reports_real_exit_code_without_waitid
(no_waitid)
backend/tests/test_contained_subprocess_waitid_fallback.py:51
Function
test_poll_running_then_exited_without_waitid
(no_waitid)
backend/tests/test_contained_subprocess_waitid_fallback.py:33
Function
test_pollute_llm_state_without_cleanup
Deliberately leak on every surface — no monkeypatch, no teardown.
tests/test_llm_state_isolation.py:53
Function
test_pool_contains_system_exit
mlx-audio → misaki → spacy.cli.download() calls sys.exit(1) in-process when pip is missing (uv venvs ship none); SystemExit is not an Exception,
tests/test_recurrence_hardening.py:218
Function
test_pool_tracks_queue_depth
Admission control is only as good as the accounting behind it.
tests/test_gpu_pool_queue_accounting_1190.py:301
Method
test_pooled_clone_wins_and_private_fields_do_not_cross_api
(self)
tests/test_speaker_clone_purity.py:157
Function
test_port_falls_back_when_the_env_var_is_garbage
(monkeypatch)
tests/test_worker_service_api.py:151
Function
test_position_reports_zero_for_next_up
(queue)
tests/test_job_queue.py:117
Function
test_positive_missing_model_stops_before_submit
()
tests/test_gpu_gateway.py:334
Function
test_posix_missing_media_process_error_is_actionable
Equivalent missing-tool failures receive the same guidance on POSIX.
tests/test_generation_audio_guard.py:136
Function
test_post_hf_token_loopback_succeeds
A loopback-origin POST persists the token and returns the updated cascade state.
tests/backend/test_engine_spawn_token.py:53
Function
test_post_hf_token_non_loopback_returns_403
A non-loopback origin (simulated via TestClient client tuple) is rejected with 403 per the require_admin dep.
tests/backend/test_engine_spawn_token.py:79
Function
test_posthog_token_literals_only_in_the_two_canonical_files
()
tests/test_no_committed_analytics_token.py:53
Function
test_pre_fix_clone_refs_are_detected_too
Jobs created before the job-scoped-clones fix carry clone reference paths — not vocals — into the neighbour dir. The scan is textual over the
tests/test_deleting_a_dub_keeps_dirs_others_use.py:81
Function
test_pre_hq_stem_cache_is_not_reused
Content-hash cache gate (review finding on the HQ-extraction change): stems separated before the HQ change came from the 16 kHz mono ASR file.
tests/test_dub_error_transparency.py:250
Function
test_pre_migration_db_self_heals_starred
A DB where alembic never runs (#552/#547 class) still gains `starred` via the additive schema reconcile — no manual migration ever required.
tests/test_generation_takes.py:139
Function
test_pref_endpoint_forces_manual
(er)
tests/test_endpoint_race.py:192
Function
test_pref_off_bypasses
(monkeypatch)
tests/test_text_normalization.py:217
Method
test_prefers_clause_when_no_sentence
(self)
tests/test_segmentation.py:51
Method
test_prefers_sentence_over_clause
(self)
tests/test_segmentation.py:44
Method
test_prefers_slice_not_adjacent_to_other_speaker
(self)
tests/test_speaker_clone_purity.py:60
Function
test_prefers_tauri_config_when_present
With a fake `tauri.conf.json` containing the desktop fork URL in the updater endpoint, `PROJECT_REPO_URL` resolves to that fork (NOT the pypro
tests/backend/core/test_links.py:38
Function
test_prefers_vocals_over_mix
(job_env)
tests/test_dub_onsets_route.py:68
Method
test_prefers_word_level_when_available
(self)
tests/test_segmentation.py:79
Function
test_prefetch_generator_degrades_silently_on_failure
A failed warm-up must never take the backend down or wedge the lazy path: log, leave _generator None; the first embed retries inline.
tests/test_watermark_prefetch_coldstart.py:115
Function
test_prefetch_generator_does_not_download_with_empty_offline_cache
Default startup stays local-first even when watermarking is enabled.
tests/test_watermark_prefetch_coldstart.py:129
Function
test_prefetch_generator_loads_cached_checkpoint_offline
( monkeypatch, tmp_path, watermark )
tests/test_watermark_prefetch_coldstart.py:144
Function
test_prefetch_generator_loads_when_watermarking_is_on
prefetch_generator() must build the generator eagerly (the startup warm-up path) while the pref is enabled and audioseal is importable.
tests/test_watermark_prefetch_coldstart.py:87
Function
test_prefetch_generator_no_ops_when_disabled_or_absent
Pref disabled, or audioseal not installed: the warm-up must touch nothing — no import attempts, no model, no exception.
tests/test_watermark_prefetch_coldstart.py:99
Function
test_prefetched_model_gets_one_extra_idle_window
Review finding: the reaper freed the prefetch-warmed, never-used generator at the first idle tick, re-imposing the cold start the prefetch exi
tests/test_watermark_prefetch_coldstart.py:463
Function
test_preflight_always_probes_core_checks
The fixed set of checks should always be present — users need a consistent list regardless of platform. Genuine user facts only.
tests/test_setup_preflight.py:58
Function
test_preflight_amd_flags_warn_when_no_rocm_torch
AMD GPU + torch without HIP → warn with ROCm install instructions.
tests/test_setup_preflight.py:228
Function
test_preflight_carries_media_tools_verdict
The wizard's quiet progress line / failure card reads a top-level media_tools verdict: {ready, acquire:{state, progress, error}}.
tests/test_setup_preflight.py:82
Function
test_preflight_detects_apple_silicon
On mac-ARM, vendor → 'apple' and backend → 'mps'.
tests/test_setup_preflight.py:184
Function
test_preflight_device_summary
device block must include os/arch/gpu_vendor/gpu_backend/ram_gb.
tests/test_setup_preflight.py:137
Function
test_preflight_docker_gpu_fallback_detects_cuda
When nvidia-smi is absent but torch.cuda works (Docker container), vendor → 'unknown', backend → 'cuda', available → True, and device_name is
tests/test_setup_preflight.py:251
Function
test_preflight_docker_gpu_fallback_shows_pass_status
The preflight GPU check should show status='pass' when the Docker fallback detects CUDA, not the old 'No compatible GPU' warning.
tests/test_setup_preflight.py:284
Function
test_preflight_does_not_retrigger_after_failed_acquisition
After a failed download the wizard's failure card owns Retry — a preflight recheck must not silently re-fire the download.
tests/test_setup_preflight.py:118
Function
test_preflight_error_does_not_leave_asr_on_vocals_unbound
`asr_on_vocals` was assigned only inside the model-loaded branch but read from _gen_body — an early preflight bail raised NameError over the real
tests/test_dub_no_tts_load_for_asr.py:137
Function
test_preflight_every_check_has_required_fields
Each check entry must carry id/label/status/detail/fix.
tests/test_setup_preflight.py:50
Function
test_preflight_handles_missing_nvidia_smi
When nvidia-smi is absent, vendor falls through (not nvidia).
tests/test_setup_preflight.py:197
Function
test_preflight_has_warnings_matches_checks
(client)
tests/test_setup_preflight.py:176
Function
test_preflight_includes_active_engine_routing
#21: preflight surfaces a routing verdict for the active TTS engine (no silent CPU fallback) — both a `gpu_routing` object and a check entry.
tests/test_setup_preflight.py:152
Function
test_preflight_kicks_background_acquisition_when_unresolved
No tier resolves → preflight itself starts the bundled download (the first-run self-heal) instead of telling the user to install anything.
tests/test_setup_preflight.py:92
Function
test_preflight_lets_a_healthy_folder_through
A writable folder must not be blocked — the preflight only rejects what it can positively see is broken.
tests/test_dub_download_os_error.py:182
Function
test_preflight_network_auto_pass_on_canonical
No explicit endpoint → preflight races both endpoints; a reachable huggingface.co wins and the check passes naming it.
tests/test_setup_preflight.py:366
Function
test_preflight_network_auto_selects_reachable_mirror
Official endpoint blocked but hf-mirror.com reachable → with no explicit endpoint configured the race picks the mirror automatically, the chec
tests/test_setup_preflight.py:420
Function
test_preflight_network_explicit_setting_never_raced
An explicit endpoint (Settings / HF_ENDPOINT) is never auto-switched: preflight must not race, even when the explicit endpoint is down.
tests/test_setup_preflight.py:440
Function
test_preflight_network_handles_offline
_probe_network must gracefully return False on connection error.
tests/test_setup_preflight.py:346
Function
test_preflight_network_probes_configured_mirror
With HF_ENDPOINT set (explicit choice → manual mode, no auto race), the probe targets the mirror host — not the hardcoded official host that m
tests/test_setup_preflight.py:397
Function
test_preflight_network_unreachable_is_warn_not_blocker
A dead network must NOT hard-block the wizard (restricted-network first-run, e.g. China where huggingface.co is blocked): the check is a warni
tests/test_setup_preflight.py:380
Function
test_preflight_never_lists_media_tools_as_requirements
ffmpeg / ffprobe / yt-dlp are internal dependencies the app provisions for itself — they must NOT appear as system-requirement check rows (the
tests/test_setup_preflight.py:70
Function
test_preflight_no_gpu_at_all_shows_warn
When no GPU tools or torch.cuda, should warn (not fail).
tests/test_setup_preflight.py:316
Function
test_preflight_nvidia_driver_below_min_flags_fail
An old NVIDIA driver must produce status='fail' with a driver-update fix.
tests/test_setup_preflight.py:208
Function
test_preflight_ok_false_when_any_fail
If any check is fail, aggregate ok must be false.
tests/test_setup_preflight.py:169
Function
test_preflight_ram_fail_threshold
Below _RAM_FAIL_GB → fail status in the RAM check.
tests/test_setup_preflight.py:462
Function
test_preflight_ram_warn_threshold
Between fail and warn thresholds → warn.
tests/test_setup_preflight.py:472
Function
test_preflight_returns_expected_shape
Endpoint always returns {ok, has_warnings, checks[], device}.
tests/test_setup_preflight.py:38
Function
test_preload_interrupted_by_shutdown_logs_info_only
(monkeypatch, caplog)
backend/tests/test_model_load_shutdown.py:272
Function
test_preload_never_loads_uninstalled_checkpoint
Networked machine, repo exists on the Hub, model NOT installed locally: preload must skip. The old `model_info()` probe treated Hub reachability
tests/test_model_manager_preload.py:105
Function
test_preload_oom_status_is_actionable_and_does_not_publish_allocator_details
( mm, monkeypatch, )
tests/test_broken_dependency_diagnosis_1415.py:209
Function
test_preload_still_skips_when_not_cached
(monkeypatch)
tests/test_socks_proxy.py:163
Function
test_preload_warms_up_from_cache_when_network_probe_fails
(monkeypatch)
tests/test_socks_proxy.py:142
Function
test_preload_warms_up_locally_installed_checkpoint
The counterpart guard: a locally present checkpoint must still warm up (skipping it would make the first /generate eat the full weight load).
tests/test_model_manager_preload.py:132
Function
test_prep_event_contains_type_and_fields
()
tests/test_dub_pipeline_state.py:42
Function
test_preprocess_prompt_is_part_of_the_key
preprocess_prompt changes the encoded prompt (silence trim + ref-text punctuation), so it must key the cache. It didn't — and /v1/audio/speech
tests/test_clone_prompt_cache.py:83
Function
test_preprocess_prompt_reaches_the_encoder
It was accepted by the API and dropped on the floor before reaching here.
tests/test_clone_prompt_cache.py:100
Function
test_preserves_extra_keys
()
tests/test_subtitle_segmenter.py:25
Method
test_preserves_filename
(self, client, fake_video)
backend/tests/test_batch.py:109
Function
test_preserves_other_keys
(tmp_path)
tests/test_user_env.py:28
Function
test_preset_attrs_are_normalized_and_complete
()
backend/tests/test_community.py:115
Method
test_preset_has_required_fields
(self)
tests/test_effects_chain.py:41
Function
test_preview_and_render_derive_identical_opts_and_keys
(tmp_path)
tests/test_audiobook_expressive.py:123
Function
test_preview_and_render_requests_carry_and_key_on_the_same_map
(tmp_path)
tests/test_audiobook_cast.py:187
Function
test_preview_ffmpeg_does_not_block_event_loop
(monkeypatch, tmp_path)
backend/tests/test_dub_preview_upload.py:12
Function
test_preview_missing_404
(client)
backend/tests/test_archetypes_api.py:142
Function
test_preview_path_rejects_anything_that_is_not_a_key
(sandbox, key)
tests/test_gallery_previews.py:484
Function
test_preview_rejects_empty_script
()
tests/test_audiobook_preview.py:24
← previous
next →
12,701–12,800 of 15,058, ranked by callers