MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_status_falls_back_when_the_worker_dropped
(monkeypatch)
tests/test_gpu_gateway.py:713
Functiontest_status_frames_precede_results
A WS session whose model isn't cached yet narrates the cold start: status 'downloading' (or 'loading' when cached) then 'ready', before any pa
tests/test_sherpa_ws_streaming.py:515
Functiontest_status_includes_cert_domains
()
tests/test_tailscale_service.py:42
Functiontest_status_parses_json
()
tests/test_tailscale_service.py:13
Functiontest_status_reports_a_machine_that_has_never_joined
(client)
tests/test_worker_join_api.py:111
Functiontest_status_reports_featured_coverage_and_freshness
(sandbox, stub)
tests/test_gallery_previews.py:493
Functiontest_status_shape
(mt)
tests/test_media_tools.py:84
Functiontest_status_shows_local_when_the_choice_is_unreachable
(db, settings)
tests/test_worker_routing.py:332
Methodtest_stems_404_no_tracks
(self, client)
tests/test_api.py:300
Methodtest_stems_zip_export
(self, client, seeded_job)
tests/test_api.py:288
Functiontest_stop_closes_assignment_admission_before_draining
()
tests/test_worker_client_liveness.py:238
Functiontest_stopping_clears_the_setting_but_keeps_the_enrollment
(client, monkeypatch, tmp_path)
tests/test_worker_join_api.py:521
Functiontest_stopping_releases_everyone_awaiting_a_task
Otherwise quitting hangs on a future nothing will ever complete: the sweeper that would have timed the wait out is cancelled first.
tests/test_worker_service_api.py:417
Functiontest_store_false_encodes_but_never_inserts
(tmp_path)
tests/test_clone_prompt_cache.py:125
Functiontest_store_false_still_reads_the_cache
A hit is free — store=False only skips the insert, not the lookup.
tests/test_clone_prompt_cache.py:133
Functiontest_store_retains_only_the_token_hash
(store: AdminSessionStore)
tests/test_admin_sessions.py:147
Functiontest_stored_active_provider_id_ignores_env_and_auto
(lp, monkeypatch)
tests/test_llm_providers.py:296
Functiontest_stored_key_used_when_no_env
(lp)
tests/test_llm_providers.py:82
Functiontest_stored_manifest_is_reverified_on_every_load
(sandbox, stub)
tests/test_gallery_previews.py:297
Functiontest_stored_subpaths_split_on_both_separator_families
The component split is host-independent. Asserted on the splitter itself, not through ``resolve_within``: the Python suite runs on Linux only
tests/test_filesystem_boundaries.py:55
Functiontest_stored_transcript_never_overwritten
A profile that already has a transcript is untouched (and untranscribed).
tests/test_generate_ref_text_persist.py:188
Functiontest_stored_value_is_encrypted_not_plaintext
(isolated_db)
tests/backend/services/test_settings_store.py:77
Methodtest_stranded_fragment_survives_when_no_neighbor_matches
(self)
tests/test_segmentation.py:243
Functiontest_strategy_cannot_override_the_hard_filter
The §14-vs-§19 conflict: a user's 'always use my primary' must not be able to select a paused or offline worker.
tests/test_worker_scheduler.py:343
Functiontest_stray_close_ignored
()
tests/test_ssml_lite.py:93
Functiontest_stream_end_control_is_versioned_and_legacy_compatible
(frame, expected)
tests/test_speech_platform.py:58
Functiontest_stream_error_names_recognized_cause_and_journals
#1607: a streaming request answers 200 and carries its failure as an in-band error frame, so it bypasses the global 500 handler. That used to
tests/test_generate_streaming.py:315
Functiontest_stream_execution_timeout_is_not_reported_as_capacity_busy
A render that started and expired is not a queue/admission failure.
tests/test_generate_streaming.py:380
Functiontest_stream_final_file_identical_to_classic_output
The saved take must be byte-identical whether or not the preview streamed — streaming is a delivery channel, not a different render.
tests/test_generate_streaming.py:260
Functiontest_stream_midstream_error_yields_error_event
Chunk 2 blowing up must surface as an in-band error event AFTER the already-delivered chunk — no done, no history row, no saved file.
tests/test_generate_streaming.py:285
Functiontest_stream_native_model_path
The native OmniVoice model path streams too (per-chunk generate calls with duration=None), and its saved take matches the classic render.
tests/test_generate_streaming.py:405
Functiontest_stream_path_checks_memory_before_loading
The reporter was SIGKILLed on a 16 GB Mac. /generate has logged a low-memory advisory since the earlier reports of that class, but the STREAMI
tests/test_truncated_download_retry.py:288
Functiontest_stream_short_text_single_chunk
Short text = one chunk through the unchanged single-shot pipeline; the take lands in /history exactly like a classic generate.
tests/test_generate_streaming.py:362
Functiontest_stream_start_refuses_a_worker_removed_after_registration
Both stream directions must leave a raced session reusable/closed.
tests/test_worker_transport.py:1112
Functiontest_stream_teardown_cleans_authority_when_disconnect_persistence_fails
( plane, monkeypatch )
tests/test_worker_server_integrity.py:1732
Functiontest_stream_yields_chunks_incrementally
First chunk audio must be SENT to the client BEFORE the last chunk has even started synthesizing — the whole point of the streaming preview.
tests/test_generate_streaming.py:221
Functiontest_streamable_app_serves_at_root_for_submounting
()
tests/test_mcp_mount.py:28
Functiontest_streaming_mps_path_does_not_load_native_model
(monkeypatch)
backend/tests/test_omnivoice_subprocess.py:181
Functiontest_streaming_response_passes_through_with_valid_pin
()
tests/test_network_middleware.py:120
Functiontest_streaming_silent_model_does_not_download_a_fallback
An installed silent Sherpa model must not trigger another model pull. The session-start probe validates the selected Sherpa weights, but that
tests/test_sherpa_ws_streaming.py:234
Functiontest_streaming_silent_model_falls_back_and_demotes
Speech into a token-silent streaming recognizer still returns text. The offline Sherpa handler already detects this runtime failure class. The
tests/test_sherpa_ws_streaming.py:169
Functiontest_stretch_is_a_coroutine_and_hits_target_length
()
tests/test_pitch_stretch_async.py:16
Functiontest_stretch_noop_when_already_target_length
()
tests/test_pitch_stretch_async.py:27
Functiontest_strict_no_llm_degrades_gracefully
(monkeypatch)
tests/test_autofit_838.py:56
Functiontest_strict_slot_never_records_calibration
strict_slot pads/trims the audio to the slot — recording those durations would poison the observed chars-per-second.
tests/test_dub_duration_plan_api.py:327
Functiontest_strict_slot_to_natural_mode_forces_one_full_regen
Every natural-rate timing mode needs the slotted-cache guard. A strict-slot render destructively trims its durable segment WAVs. A later nat
tests/test_smart_fit_generate.py:412
Functiontest_strict_slot_to_smart_fit_forces_one_full_regen
(patched_generate)
tests/test_smart_fit_generate.py:374
Functiontest_strict_within_tolerance_is_noop
(speech_rate)
tests/test_autofit_838.py:64
Functiontest_stringified_interpreter_shutdown_matches
transformers ≥5 aggregates materializer-worker errors into NEW exceptions whose message embeds the original traceback as TEXT (log_conversion_
backend/tests/test_model_load_shutdown.py:141
Functiontest_stringified_plain_pool_shutdown_still_not_matched
()
backend/tests/test_model_load_shutdown.py:159
Functiontest_strip_ansi_handles_cursor_and_osc_sequences
Not only SGR colour: progress output moves the cursor, and OSC sequences (window title / hyperlinks) carry their own terminator, so a naive ``
tests/test_failure_ansi_stripping.py:69
Functiontest_strip_ansi_passes_clean_text_through
(failure)
tests/test_failure_ansi_stripping.py:78
Functiontest_strip_ansi_removes_colour_codes
(failure)
tests/test_failure_ansi_stripping.py:61
Functiontest_structured_input_case_renders_transcript
()
tests/evals/test_evals_harness.py:122
Functiontest_stub_import_is_relative
()
tests/test_worker_protocol_gen.py:72
Functiontest_stub_sidecar_roundtrip_is_model_free_and_forwards_voice_inputs
( tmp_path, monkeypatch, mock_settings_store )
tests/test_pockettts_deferred.py:245
Functiontest_subclass_gpu_compat
(engine_id, expected)
tests/test_asr_gpu_compat.py:51
Functiontest_submit_after_inner_shutdown_self_heals
(mm)
tests/test_gpu_pool_resilient.py:57
Functiontest_submit_demands_a_deadline
Without one the task is never stamped with `deadline_at`, and the sweeper's only deadline rule then has nothing to enforce — a task queued wit
tests/test_worker_service_api.py:701
Functiontest_submit_idempotent_on_job_id
(queue)
tests/test_job_queue.py:140
Functiontest_submit_is_unreachable_when_the_feature_is_off
Opt-in means opt-in: a running control plane is not consent by itself.
tests/test_worker_service_api.py:694
Functiontest_submit_queues_a_task
()
tests/test_worker_scheduler.py:88
Functiontest_submit_refuses_an_operation_with_no_remote_path
(client, monkeypatch)
tests/test_worker_service_api.py:710
Functiontest_submit_requires_the_feature_to_be_running
(client, monkeypatch)
tests/test_worker_service_api.py:689
Functiontest_submit_url
(client)
backend/tests/test_community.py:171
Functiontest_submitting_a_task_stages_and_records_its_inputs
(db, artifacts, voice)
tests/test_worker_inputs.py:295
Functiontest_subprocess_env_includes_hf_token_when_resolved
When token_resolver.resolve() returns a token, the env block passed to a Popen-style subprocess launcher contains HF_TOKEN=<that token>. This
tests/backend/test_engine_spawn_token.py:204
Functiontest_subprocess_env_unchanged_when_no_token
When token_resolver.resolve() returns None, the env block does NOT contain an injected HF_TOKEN. (If the parent had one in os.environ it would
tests/backend/test_engine_spawn_token.py:231
Functiontest_substitution
Show the post-substitution text for ``req.text`` — no model call. Applies the same dictionary + inline ``[[…]]`` resolution the synth path ru
backend/api/routers/pronunciation.py:240
Functiontest_success_after_403_on_alternate_client
(tmp_path, monkeypatch)
tests/test_dub_download_403.py:58
Functiontest_successful_probe_closes_the_breaker
()
tests/test_worker_breaker.py:108
Functiontest_successful_remux_with_unsupported_codecs_is_transcoded
(tmp_path, monkeypatch)
tests/test_dub_browser_media.py:152
Functiontest_successful_transcribe_resets_the_timeout_streak
Consecutive' must mean consecutive: a transcribe that completes between two timeouts proves the pool recovered, so the recommendation must not fir
backend/tests/test_asr_transcribe_timeout.py:159
Functiontest_successful_transcribe_restores_exactly_once
The finally must not double-restore what the success path already paid.
tests/test_tts_placement_self_heal.py:332
Functiontest_sufficient_free_vram_keeps_pytorch_whisper_on_cuda
(monkeypatch)
tests/test_pytorch_whisper_fallback.py:92
Functiontest_summary_consistent
(report)
tests/test_diagnose.py:28
Functiontest_summary_is_explainable_to_a_user
()
tests/test_worker_breaker.py:147
Functiontest_superseded_sessions_serialize_one_attempt_result_publication
A retained old stream and its replacement cannot share a result path.
tests/test_worker_server_integrity.py:429
Functiontest_supervisor_argv_uses_entry_module_for_source_and_frozen_binary
(monkeypatch)
backend/tests/test_contained_subprocess.py:27
Functiontest_supplied_transcript_rejects_long_file_before_tokenization
(tmp_path)
tests/test_omnivoice_reference_bound.py:45
Functiontest_supplied_transcript_rejects_long_tensor_before_tokenization
()
tests/test_omnivoice_reference_bound.py:34
Functiontest_supported_arch_still_compiles
(monkeypatch, compile_friendly_env)
tests/test_torch_compile_gate.py:94
Functiontest_supported_client_sample_rates_pass_through
(ws)
tests/test_dictation_recovery_tail_bound.py:90
Functiontest_supported_gpu_stays_on_cuda
(cuda_host, monkeypatch)
tests/test_device_unsupported_fallback.py:36
Functiontest_supports_cloning_true_false_and_model_dependent
(registry_sandbox)
tests/backend/services/test_tts_backend_registry.py:360
Functiontest_supports_does_not_hide_a_missing_download_from_gateway_preflight
Scheduling filters installation, while the gateway owns downloads.
tests/test_worker_scheduler.py:192
Functiontest_sweep_orphans_flips_running_to_failed
()
tests/test_job_store.py:115
Functiontest_switch_unloads_previous_engine
(monkeypatch)
tests/test_mm2_lifecycle.py:53
Functiontest_sync_fallback_streams_lines_and_done_without_typeerror
(monkeypatch)
backend/tests/test_stream_stderr_sync_fallback.py:101
Functiontest_sync_fallback_surfaces_nonzero_returncode
(monkeypatch)
backend/tests/test_stream_stderr_sync_fallback.py:119
Methodtest_sync_ratio_calculation
Test the sync ratio math directly.
tests/test_api.py:400
Methodtest_sync_ratio_fast
Generated audio shorter than original → ratio < 1.
tests/test_api.py:411
Methodtest_sync_ratio_slow
Generated audio longer than original → ratio > 1.
tests/test_api.py:419
Methodtest_sync_ratio_thresholds
Verify color-coded classification logic.
tests/test_api.py:427
Functiontest_synthesize_calls_generate_and_emits_audio
(sc, monkeypatch)
tests/test_confucius4_sidecar.py:157
Functiontest_synthesize_chapter_2d_engine_output_with_pause
()
tests/test_audiobook.py:155
Functiontest_synthesize_chapter_applies_lexicon
()
tests/test_audiobook.py:203
Functiontest_synthesize_chapter_silence_rank_matches_engine_output
(monkeypatch)
tests/test_audiobook.py:172
Functiontest_synthesize_chapter_stitches_spans_and_silence
()
tests/test_audiobook.py:131
Functiontest_synthesize_empty_spans_is_silent
()
tests/test_audiobook.py:148
← previousnext →13,901–14,000 of 15,058, ranked by callers