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_dub_transcribe_preflights_even_with_preloaded_pipe
A preloaded `_asr_pipe` only substitutes for the *pytorch-whisper* backend (its sole consumer) — with faster-whisper active and no wei
tests/test_asr_model_missing.py:334
Function
test_dub_worker_forwards_seed_into_mps_proxy
()
tests/test_worker_executor_residency.py:86
Function
test_dubbing_claims_the_remote_target_after_its_producer_lands
(db, settings)
tests/test_worker_routing.py:263
Function
test_dubbing_reports_reachability_after_its_producer_lands
(db, settings)
tests/test_worker_routing.py:275
Function
test_dubrequest_accepts_all_three_strategies
(strategy)
tests/test_dub_timing_strategy.py:47
Function
test_dubrequest_defaults_to_concise
()
tests/test_dub_timing_strategy.py:38
Function
test_dubrequest_rejects_unknown_strategy
()
tests/test_dub_timing_strategy.py:52
Function
test_dubsegment_accepts_direction
()
tests/test_redub_incremental.py:124
Function
test_duplicate_commit_is_acked_but_not_applied
At-least-once delivery, exactly-once commit.
tests/test_worker_lifecycle.py:147
Function
test_duplicate_input_validation_never_blocks_other_panel_admission
( tmp_path, monkeypatch )
tests/test_worker_inbound_transport.py:2901
Function
test_duplicate_lock_entries_cannot_hide_a_vulnerable_version
()
tests/test_dependency_security_floors.py:63
Function
test_duplicate_model_install_reuses_the_running_worker
()
tests/test_model_install_dedup.py:16
Function
test_duplicate_result_is_acked_but_not_applied
()
tests/test_worker_scheduler.py:481
Function
test_durable_registration_excludes_v1_in_both_directions
A v1 peer cannot safely participate in the two-phase handshake.
tests/test_worker_protocol_contract.py:84
Function
test_duration_between
(tone)
tests/probe/test_probe_judges.py:55
Function
test_duration_clamped
()
tests/test_pause_markers.py:57
Function
test_duration_maps_to_tokens
``duration`` (seconds) → ``tokens`` at 12.5 tokens/sec; engine-specific kwargs are forwarded and the generic ``num_step`` is dropped.
tests/test_moss_tts_v15.py:147
Function
test_duration_probe_rejects_absolute_traversal_and_symlink_escapes
(tmp_path, monkeypatch)
tests/test_filesystem_boundaries.py:121
Function
test_dynamic_updates_only_interpolate_allowlisted_columns_and_placeholders
()
tests/test_ghas_false_positive_invariants.py:32
Method
test_each_generated_language_is_preserved
(self, two_track_job)
tests/test_dub_per_lang_subtitles.py:84
Function
test_each_segment_warns_once
A 300-segment dub whose clip directory was cleaned should produce one line per segment, not one per retry of that segment.
tests/test_missing_clone_ref_is_not_silent.py:92
Function
test_eager_retry_failure_is_not_misclassified
If the eager retry then hits a *real* error (e.g. OOM), the propagated exception must not be classified as a compile failure via the chained o
tests/test_compile_fallback.py:189
Function
test_echo_round_trip
Spawn → synthesize("hello") → expect 1 s of int16 silence as float32.
tests/backend/services/test_subprocess_backend.py:94
Function
test_echo_script_exists
Permanent CI regression infrastructure assertion.
tests/backend/services/test_subprocess_backend.py:86
Function
test_edited_line_produces_different_cached_output
(patched_generate)
tests/test_redub_incremental.py:246
Function
test_edited_reference_is_not_served_a_stale_prompt
(tmp_path, ref_wav)
tests/test_prompt_disk_cache.py:137
Function
test_effect_preset_change_is_still_detected
Canonicalisation must not erase real preset changes.
tests/test_redub_incremental.py:81
Function
test_effective_endpoint_canonical_win_means_none
(er)
tests/test_endpoint_race.py:296
Function
test_effective_endpoint_ignores_unreachable_decision
(er)
tests/test_endpoint_race.py:312
Function
test_effective_endpoint_never_probes
(er, monkeypatch)
tests/test_endpoint_race.py:304
Function
test_effective_endpoint_uses_cached_mirror_win
(er)
tests/test_endpoint_race.py:288
Function
test_effective_max_chars_shrinks_only_for_dense_text
()
tests/test_chunked_tts_dense_script.py:28
Function
test_eight_gb_card_serializes_to_one_worker
()
tests/test_gpu_worker_sizing.py:16
Function
test_embed_1d_shape_restored
(fake_audioseal)
tests/test_watermark_chunking_1045.py:93
Function
test_embed_long_audio_is_chunk_bounded
(fake_audioseal)
tests/test_watermark_chunking_1045.py:61
Function
test_embed_short_audio_single_call
(fake_audioseal)
tests/test_watermark_chunking_1045.py:76
Function
test_embed_subsecond_tail_folds_into_previous_chunk
(fake_audioseal)
tests/test_watermark_chunking_1045.py:84
Function
test_embed_watermark_force_keyword
(monkeypatch)
tests/test_persona_bundle.py:306
Function
test_embed_watermark_not_called_outside_the_chokepoint
()
tests/test_watermark_route_coverage.py:153
Function
test_embedding_restarts_the_idle_clock
Without this the models are released mid-batch: `_last_used` would sit at whatever the first embed set it to while the batch kept watermarking.
tests/test_watermark_chunking_1045.py:161
Function
test_embedding_runs_the_generator_eagerly
(fakes, watermark)
tests/test_watermark_no_torch_compile_1615.py:98
Function
test_embedding_still_works_without_the_upstream_switch
A future audioseal without the moshi helper must degrade to a plain call, not crash the provenance chokepoint.
tests/test_watermark_no_torch_compile_1615.py:131
Function
test_emit_from_foreign_running_loop_reaches_serving_loop
An async producer may run on a worker loop, but listener state belongs to the WebSocket serving loop and must only be touched there.
tests/test_event_bus_thread_emit.py:69
Function
test_emit_from_thread_reaches_serving_loop
(bus, tmp_path)
tests/test_event_bus_thread_emit.py:31
Function
test_emphasis_tag_sets_speed_and_flag
()
tests/test_ssml_lite.py:45
Function
test_emphasized_single_letter_runs_survive
()
tests/backend/services/test_refinement_collapse.py:52
Method
test_empty
(self, client)
backend/tests/test_batch.py:117
Function
test_empty_and_none
()
tests/test_ssml_lite.py:24
Function
test_empty_and_none_safe
()
tests/backend/services/test_refinement_collapse.py:66
Function
test_empty_and_none_text
()
tests/test_text_normalization.py:251
Function
test_empty_and_unparseable_stderr_return_none
(monkeypatch)
tests/test_loudness.py:76
Function
test_empty_and_whitespace_descriptions
()
tests/test_describe_voice.py:128
Function
test_empty_and_whitespace_only
()
tests/test_text_polish.py:80
Function
test_empty_api_key_clears_it
(settings_mod)
tests/test_asr_openai_compat_877.py:208
Function
test_empty_arch_list_and_broken_metadata_fail_open
()
tests/test_rocm_arch_gate.py:171
Function
test_empty_arch_list_fails_open
(monkeypatch, compile_friendly_env)
tests/test_torch_compile_gate.py:100
Function
test_empty_arch_list_is_compatible
Unknown metadata degrades to "compatible" — the fail-open contract.
tests/test_cuda_arch_compat.py:109
Function
test_empty_audio_is_not_slowed
()
tests/test_fit_planner.py:83
Function
test_empty_bearer_channel_does_not_block_legacy_cookie_migration
()
tests/test_auth_session_api.py:415
Function
test_empty_binary_frame_acts_as_eof
An empty binary frame is the same end-of-audio signal as 'EOF' text.
tests/test_capture_ws.py:192
Function
test_empty_chapters_dropped
()
tests/test_audiobook.py:67
Function
test_empty_choice_means_local
(settings)
tests/test_worker_routing.py:82
Method
test_empty_chunks_no_batches
(self)
tests/test_smart_fit_export.py:166
Function
test_empty_client_id_rejected
(db)
tests/test_mcp_bindings.py:55
Function
test_empty_compat_is_defensive_cpu_only
()
tests/test_engine_routing.py:127
Function
test_empty_diarization_leaves_segment_untouched
()
tests/test_assign_speakers_from_diarization.py:75
Function
test_empty_frames_are_noops
()
tests/backend/services/test_aec.py:80
Function
test_empty_input
()
tests/test_subtitle_segmenter.py:178
Function
test_empty_input_is_a_typed_400
()
tests/test_dub_parse_subtitle_text.py:78
Function
test_empty_input_still_yields_nothing
(ct)
tests/test_no_unspeakable_chunks_1330.py:114
Function
test_empty_install_returns_zeros_not_an_error
A fresh install has no takes — the panel must render, not 500.
tests/test_local_stats.py:93
Method
test_empty_langs_fails
Empty langs string should return 400.
backend/tests/test_batch.py:93
Function
test_empty_passthrough
()
tests/test_normalize_audio_silence.py:41
Function
test_empty_plan_cues_match_original
()
tests/test_fitted_subtitles.py:50
Function
test_empty_plan_errors_cleanly
(tmp_path, monkeypatch)
tests/test_longform_e2e.py:280
Function
test_empty_plan_is_identity
()
tests/test_fitted_subtitles.py:14
Method
test_empty_plan_returns_none
(self)
tests/test_smart_fit_export.py:151
Method
test_empty_request_keeps_existing_segments
(self)
tests/test_dub_subtitles_309.py:129
Function
test_empty_result_degrades_to_none
(monkeypatch)
tests/test_transcribe_reference.py:94
Method
test_empty_result_returns_empty
(self)
tests/test_segmentation.py:106
Method
test_empty_result_returns_empty
(self)
tests/test_segmentation.py:194
Method
test_empty_returns_none
(self)
backend/tests/test_capture_ws.py:16
Function
test_empty_segment_list_yields_empty_plan
()
tests/test_fit_planner.py:274
Function
test_empty_segments_short_circuit
(monkeypatch)
tests/test_asr_device_aware_autodetect.py:165
Function
test_empty_signature_content_is_refused
An empty `.sig` file is present-but-useless; it must not become an empty `signature` field that every client fails on.
tests/test_release_preview_manifest_rebuild.py:266
Function
test_empty_snapshot_dir_not_counted_as_cached
(tmp_path, monkeypatch)
tests/test_hf_cache_fallback.py:68
Function
test_empty_text
()
tests/test_chunked_tts.py:80
Function
test_empty_text_and_empty_lexicon
()
tests/test_pronunciation.py:60
Function
test_empty_text_and_zero_slot_edge_cases
()
tests/test_duration_planner.py:152
Function
test_empty_text_estimates_zero
()
tests/test_duration_planner.py:45
Function
test_empty_text_passthrough_db
()
tests/test_pronunciation.py:242
Function
test_empty_text_skipped
(monkeypatch)
tests/test_dub_translate.py:186
Function
test_empty_translation_preserves_original
(monkeypatch)
tests/test_dub_translate.py:209
Function
test_empty_turns_falls_back_to_heuristic
()
tests/test_assign_speakers_from_turns.py:28
Function
test_enable_endpoint_persists_the_setting
Toggling must survive a restart, so it goes through settings_store — and turning it off must actually stop the control plane.
tests/test_worker_service_api.py:492
Function
test_enable_endpoint_rejects_a_non_object_body
The exact failure the panel shipped: a JSON *string* posted without a content type. FastAPI is right to refuse it; the test exists so the shape
tests/test_worker_service_api.py:478
Function
test_enable_endpoint_requires_the_field
(client)
tests/test_worker_service_api.py:488
Function
test_enabled_by_default
(monkeypatch)
tests/test_text_normalization.py:211
Function
test_enabled_only_when_BOTH_gates_are_true
(monkeypatch)
tests/test_analytics_optin.py:104
Function
test_enabled_when_triton_present_and_not_disabled
(monkeypatch, compile_friendly_env)
tests/test_torch_compile_gate.py:69
← previous
next →
10,801–10,900 of 15,058, ranked by callers