MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Methodtest_tiny_returns_none
(self)
backend/tests/test_capture_ws.py:19
Functiontest_tiny_values_are_floored_not_instant_kill
(gguf, monkeypatch)
tests/test_gguf_source_build_runtime_1348.py:64
Functiontest_title_bucketing
(report, title, expected)
tests/scripts/test_crash_class_report.py:47
Functiontest_to_profile_uses_live_schema_and_clone_metadata
(client)
backend/tests/test_gallery_profiles.py:67
Functiontest_toggle_cancellation_restores_the_previous_live_state
( client, monkeypatch )
tests/test_worker_join_api.py:741
Functiontest_toggle_setting_failure_restores_durable_and_live_state
( client, monkeypatch, enabled, previous_mode, previous_running, )
tests/test_worker_join_api.py:693
Functiontest_toggles_off_exactly_one_llm_call_per_segment
auto_glossary=False + reflect=False → the LLM engine behaves exactly as before: one call per segment, nothing else.
tests/test_dub_translation_quality.py:402
Functiontest_token_can_be_redeemed_exactly_once
Single-use is enforced with a conditional UPDATE so two workers racing the same token cannot both win.
tests/test_worker_registry.py:86
Functiontest_token_carries_the_cert_fingerprint_for_pinning
The token is the trust anchor — it is what makes connecting to a self-signed desktop control plane safe, with no skip-verification mode.
tests/test_worker_identity.py:106
Functiontest_token_expiry_is_honoured
()
tests/test_worker_identity.py:131
Functiontest_token_is_prefixed_for_identification
()
tests/test_worker_identity.py:113
Functiontest_token_is_stored_hashed_never_in_plaintext
(db)
tests/test_worker_registry.py:78
Functiontest_token_round_trips_through_its_encoded_form
()
tests/test_worker_identity.py:96
Functiontest_token_source_must_return_exactly_256_bits
(clock: FakeClock)
tests/test_admin_sessions.py:111
Functiontest_token_with_a_mismatched_certificate_is_refused
config_from_token must refuse rather than offer an override.
tests/test_worker_transport.py:244
Functiontest_token_with_a_wrong_secret_is_refused
Knowing a token id is not knowing the token.
tests/test_worker_registry.py:129
Functiontest_tokens_are_unique_and_high_entropy
()
tests/test_worker_identity.py:137
Functiontest_tokens_redacted
(secret)
tests/test_scrub.py:64
Functiontest_too_little_audio_does_not_trigger_fallback
A stray blip shorter than the final-transcribe floor isn't evidence the model is broken — don't cry wolf on a hotkey mis-tap.
backend/tests/test_dictation_silent_model.py:54
Functiontest_tools_direction_parses
(client)
tests/test_router_smoke.py:153
Functiontest_tools_incremental_first_run_everything_stale
(client)
tests/test_router_smoke.py:162
Functiontest_tools_rate_fit_respects_tolerance
(client)
tests/test_router_smoke.py:171
Functiontest_top_models_capped_at_ten
(roots, tmp_path)
tests/test_storage_report.py:173
Functiontest_torch_free_fallback_uses_explicit_target_and_custom_cpu
(monkeypatch)
tests/test_worker_deadlines.py:47
Methodtest_torch_load_not_reassigned
(self)
backend/tests/test_asr_pickle_safety.py:57
Functiontest_torch_unimportable_degrades_to_cpu_probe_not_ok
()
tests/test_device_caps.py:73
Functiontest_torch_unimportable_still_reports_the_request
(monkeypatch)
tests/test_device_override.py:126
Functiontest_total_is_the_sum_of_the_phases
()
tests/test_worker_deadlines.py:158
Functiontest_touch_activity_throttles_and_never_raises
(sentinel_env, monkeypatch)
backend/tests/test_run_sentinel.py:172
Functiontest_touch_activity_without_ownership_never_writes
No sentinel written (e.g. foreign live instance) → touches stay in-memory and never create/overwrite the file.
backend/tests/test_run_sentinel.py:193
Functiontest_touch_last_seen_is_best_effort
(db)
tests/test_mcp_bindings.py:92
Functiontest_trace_is_scrubbed_and_truncated
()
tests/test_error_journal.py:68
Functiontest_track_assembly_handles_non_contig_after_torch_cat
Reproduce the dub_generate.py:390 / batch.py:341 failure pattern. Before the fix, bare ``torchaudio.save`` of a torch.cat-built, non-contiguo
tests/backend/test_dub_pipeline_wav.py:153
Functiontest_track_lang_scopes_fingerprint
()
tests/test_redub_incremental.py:435
Functiontest_trailing_marker
()
tests/test_pause_markers.py:46
Functiontest_trailing_whitespace_tolerated
(validator_module, tmp_path, capsys)
tests/scripts/test_validate_install_docs.py:186
Functiontest_transcribe_adapts_verbose_json_segments
(asr_mod, ss, monkeypatch, tmp_path)
tests/test_asr_openai_compat_877.py:123
Functiontest_transcribe_chunk_failure_uses_stable_public_metadata
Inner ASR failures must not serialize provider secrets or local paths.
tests/test_dub_transcribe.py:238
Functiontest_transcribe_chunk_oom_has_one_actionable_public_message
CUDA OOM must not collapse into a duplicated no-segments error.
tests/test_dub_transcribe.py:300
Functiontest_transcribe_does_not_load_the_tts_model
The regression: default config must never touch the TTS core to transcribe.
tests/test_dub_no_tts_load_for_asr.py:110
Functiontest_transcribe_errno22_keeps_its_own_class
#763's class must not be swallowed by the new download rule.
tests/test_dub_download_os_error.py:54
Functiontest_transcribe_falls_back_to_plain_text_when_verbose_json_rejected
(asr_mod, ss, monkeypatch, tmp_path)
tests/test_asr_openai_compat_877.py:141
Functiontest_transcribe_guard_contains_system_exit
()
tests/test_recurrence_hardening.py:241
Functiontest_transcribe_network_failure_does_not_leak_raw_exception
Mirrors the #977 convention: a raw SDK/httpx exception must never reach the caller unformatted — only a clean, actionable RuntimeError.
tests/test_asr_openai_compat_877.py:156
Functiontest_transcribe_off_pool_holds_a_slot
The other half of the branch — and the half that had no test. Only the on-pool path above was covered, so `threading.Event()` in the off-pool
backend/tests/test_subprocess_asr_slot_deadlock.py:107
Functiontest_transcribe_on_pool_worker_does_not_deadlock
(tmp_path, monkeypatch)
backend/tests/test_subprocess_asr_slot_deadlock.py:87
Methodtest_transcribe_reference_skips_without_backend_construction
Clone-ref transcription degrades to None — it must never trigger a silent multi-GB download (it is best-effort by contract).
tests/test_asr_model_missing.py:273
Functiontest_transcribe_round_trip
(asr)
tests/backend/services/test_subprocess_asr.py:56
Functiontest_transcribe_still_loads_the_model_when_preload_is_on
The one case the load is for: an _asr_pipe actually exists to harvest.
tests/test_dub_no_tts_load_for_asr.py:120
Functiontest_transcribe_stream_never_closes_without_terminal_event
Regression #516: an unanticipated exception INSIDE the stream body (one that escapes the per-chunk handler, e.g. segmentation blowing up) must sti
tests/test_dub_transcribe.py:163
Functiontest_transcribe_stream_preflight_crash_is_a_structured_error
Regression #1196: the whole preflight used to run in the endpoint body, BEFORE the StreamingResponse existed. An exception on any line without its
tests/test_dub_transcribe.py:424
Functiontest_transcribe_stream_sends_bytes_while_asr_loads
Regression #1196 (silent-load drop class): the old endpoint-body preflight sent NOT ONE byte — not even response headers — until the ASR backe
tests/test_dub_transcribe.py:466
Functiontest_transcribe_stream_surfaces_asr_load_failure_at_preflight
Regression #578: the reported failure mode is the *ASR model* failing to load (WhisperX: faster-whisper weights / CTranslate2-cuDNN mismatch / the
tests/test_dub_transcribe.py:351
Functiontest_transcribe_stream_surfaces_model_load_failure
Regression #255: when the model fails to load, the SSE transcribe stream must emit a structured `error` event carrying the real cause — not silent
tests/test_dub_transcribe.py:117
Functiontest_transformers_connect_error_classifies_as_mirror
(mirror_env)
tests/test_hf_mirror_error_class.py:49
Functiontest_transformers_import_hint_names_the_package_that_actually_breaks
#1376: the hint told users to reinstall torch+torchaudio+transformers — omitting torchvision, the package whose ABI mismatch produces this exact
tests/test_failure_classify.py:182
Functiontest_transformers_import_hint_versions_match_the_constraint_file
The hint carries LITERAL pins — desktop installs don't ship deploy/, so a `--constraint deploy/torch-constraints.txt` command fails with "file not
tests/test_failure_classify.py:196
Functiontest_transitions_are_broadcast
()
tests/test_worker_scheduler.py:814
Functiontest_translate_codes_cover_popular_iso
()
tests/test_dub_translate.py:6
Functiontest_translate_plan_uses_job_calibration
With synthesized-segment records on the job, the estimate calibrates to THIS voice's observed rate — a fast voice flips s2 tight → fits.
tests/test_dub_duration_plan_api.py:94
Functiontest_translate_request_accepts_dialect_and_defaults_none
()
tests/test_dub_dialect.py:44
Functiontest_translate_segment_keeps_direction_and_slot_seconds
Regression: the frontend has always sent `direction`/`slot_seconds`, but pydantic dropped them as undeclared extras — so the per-segment direc
tests/test_dub_dialect.py:52
Functiontest_translate_stamps_plan_per_segment
The response the segment table consumes carries one plan per row, with statuses aligned to fit_planner's caps and a truthful overrun.
tests/test_dub_duration_plan_api.py:70
Functiontest_translate_without_timing_stamps_no_plan
Old clients that only send slot_seconds keep the exact pre-feature response shape — rate_ratio badge yes, plan no.
tests/test_dub_duration_plan_api.py:125
Functiontest_translated_error_is_a_runtimeerror
Upstream handlers catch ``Exception`` (and often ``RuntimeError``) — the translation must not slip past them into a bare-except crash path.
backend/tests/test_pool_stopiteration_guard.py:53
Methodtest_translated_text_replaces_source_text
(self)
tests/test_dub_subtitles_309.py:78
Functiontest_transliterated_brands_are_a_known_gap
Documented limit, asserted so it cannot be mistaken for coverage. Several locales transliterate rather than keep the Latin spelling (\u30a6\u
tests/test_locale_parity.py:394
Functiontest_traversal_job_id_rejected
(job_env, monkeypatch)
tests/test_dub_onsets_route.py:139
Functiontest_traversal_profile_id_is_rejected
#476 hardening / CWE-22 (CodeQL path-injection): a profile_id carrying path separators / `..` / NUL must 404 at the entry guard, never reaching a
tests/test_profile_design_save_decouple.py:159
Functiontest_tray_toggle_does_not_infer_recording_from_visibility
A permanently hidden window is never visible, so visibility can't mean 'recording'. The tray Start/Stop item reads the `dictating` flag that the
tests/test_dictation_no_pill_window.py:116
Functiontest_triage_builds_github_url
(monkeypatch)
tests/probe/test_triage.py:70
Functiontest_triage_no_url_when_all_pass
()
tests/probe/test_triage.py:85
Functiontest_trimming_never_splits_a_sample
int16 mono PCM: transport frames can carry odd byte counts (a sample split across two WebSocket messages), but the *stream* stays aligned — a
tests/test_dictation_recovery_tail_bound.py:116
Functiontest_triple_yeah_survives
()
tests/backend/services/test_refinement_collapse.py:47
Functiontest_true_diff_distinguished_from_whitespace
B-5 case (e): a real semantic diff (different command) must fail; a whitespace-only diff (trailing spaces) must pass.
tests/scripts/test_validate_install_docs.py:224
Functiontest_truncated_download_is_retried_and_succeeds
(monkeypatch)
tests/test_truncated_download_retry.py:70
Functiontest_truncated_snapshot_still_rejected
(tmp_path)
tests/test_mm2_lifecycle.py:193
Functiontest_truncation_smaller_than_the_header_is_still_caught
A file missing fewer payload bytes than the 44-byte RIFF header would pass a bare payload-size comparison — the header bytes masked it.
tests/test_dub_batch_width_and_budget.py:172
Methodtest_trusted_labels_still_extract
(self, tmp_path, vocals, source)
tests/test_speaker_clone_purity.py:121
Functiontest_trusted_network_is_consumption_only
(monkeypatch, store)
tests/test_auth_principal.py:295
Functiontest_trusted_network_parser_ignores_invalid_entries_and_maps_ipv4
(monkeypatch)
tests/test_auth_principal.py:100
Functiontest_trusted_network_without_explicit_credential_still_passes
(key_env, monkeypatch)
tests/test_bearer_middleware.py:74
Functiontest_tts_active_backend_env_override
(monkeypatch)
tests/test_engines.py:61
Functiontest_tts_active_backend_prefs_fallback
(monkeypatch, tmp_path)
tests/test_engines.py:109
Functiontest_tts_asr_preload_is_opt_in
(model_manager, monkeypatch)
tests/test_model_manager_preload.py:25
Functiontest_tts_asr_routing_keys_are_well_formed
(fresh_app)
tests/backend/api/test_engines_route_shape.py:120
Functiontest_tts_lazy_registry_iter_survives_concurrent_insert
()
tests/backend/services/test_lazy_registry_concurrency.py:27
Functiontest_tts_moss_nano_language_count
()
tests/test_engines.py:54
Functiontest_tts_moss_nano_unavailable_message_points_to_install
()
tests/test_engines.py:47
Functiontest_tts_registry_lists_all_backends
()
tests/test_engines.py:15
Functiontest_tts_sample_rate_per_backend
()
tests/test_engines.py:120
Functiontest_tts_sherpa_available_when_model_env_points_at_model
(monkeypatch, tmp_path)
tests/test_engines.py:95
Functiontest_tts_sherpa_setup_snippet_registered
()
tests/test_engines.py:103
Functiontest_tts_sherpa_unavailable_when_model_dir_lacks_onnx
(monkeypatch, tmp_path)
tests/test_engines.py:87
Functiontest_tts_sherpa_unavailable_without_model_env
(monkeypatch)
tests/test_engines.py:78
Functiontest_tts_unknown_backend_raises
()
tests/test_engines.py:126
Functiontest_tts_voxcpm2_unavailable_message_is_actionable
()
tests/test_engines.py:25
Functiontest_tts_voxcpm2_upgrade_hint_reaches_list_backends
The reported instance of the dropped-ok-message class: an old-but-working voxcpm install reports available=True, and its ">=2.0.3" upgrade advice
tests/test_engines.py:33
Functiontest_two_calls_reuse_one_sidecar
(asr)
tests/backend/services/test_subprocess_asr.py:62
Functiontest_two_panels_can_use_one_node_at_the_same_time
The reason inbound exists. Outbound is 1:1 by construction, so this is the case it can never serve.
tests/test_worker_inbound_transport.py:438
← previousnext →14,301–14,400 of 15,058, ranked by callers