MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_cancelled_result_fetch_removes_its_partial_destination
(tmp_path)
tests/test_worker_inbound_transport.py:1925
Functiontest_cancelled_result_publish_drains_write_before_removing_file
( tmp_path, monkeypatch )
tests/test_worker_inbound_transport.py:2671
Functiontest_cancelled_result_pull_drains_off_loop_write_before_unlink
( tmp_path, monkeypatch )
tests/test_worker_inbound_transport.py:3292
Functiontest_cancelled_resume_drains_rehash_and_releases_logical_lease
( plane, monkeypatch )
tests/test_worker_upload_server.py:480
Functiontest_cancelled_slow_probe_keeps_control_responsive_and_drains_thread
()
tests/test_worker_capability_refresh.py:77
Functiontest_cancelled_task_cannot_resurrect_to_completed
()
tests/test_worker_scheduler.py:780
Functiontest_cancelled_terminal_network_start_resets_state
(monkeypatch)
tests/test_truthful_degraded_state.py:280
Functiontest_cancelling_a_finished_task_is_a_no_op
()
tests/test_worker_scheduler.py:799
Functiontest_cancelling_execution_drains_the_blocking_engine_thread
(monkeypatch)
tests/test_worker_executor_residency.py:108
Functiontest_candidate_roots_prefers_env_then_backend_parent
(tmp_path, monkeypatch)
tests/test_omnivoice_path.py:41
Functiontest_candidate_roots_without_env
(tmp_path, monkeypatch)
tests/test_omnivoice_path.py:49
Functiontest_candidates_order_follows_hint
(er)
tests/test_endpoint_race.py:68
Functiontest_canonical_preset_preview_delegates_same_origin
(client, monkeypatch)
backend/tests/test_community.py:258
Functiontest_canonical_unreachable_mirror_wins
(er)
tests/test_endpoint_race.py:128
Functiontest_cap_zero_disables_pruning
(api, monkeypatch)
tests/test_generation_takes.py:322
Functiontest_capabilities_are_stable_and_side_effect_free
(monkeypatch)
tests/test_speech_platform.py:12
Functiontest_capabilities_can_be_refreshed
(db)
tests/test_worker_registry.py:310
Functiontest_capability_concurrency_is_derived_when_not_supplied
Never defaulted to a constant: a wrong value corrupts output (#315).
tests/test_worker_transport.py:294
Functiontest_capability_distinguishes_supported_installed_downloaded_resident
All four states are distinct scheduling inputs — 'supported' does not mean the weights are on disk, and only 'resident' is fast.
tests/test_worker_protocol_contract.py:269
Functiontest_capability_flood_coalesces_off_loop_to_the_latest_snapshot
( plane, monkeypatch )
tests/test_worker_server_integrity.py:1099
Functiontest_capability_mismatch_is_never_charged
A 4 GB card refusing a 6 GB engine is not flakiness (#1226).
tests/test_worker_breaker.py:32
Functiontest_capability_round_trips
()
tests/test_worker_transport.py:319
Functiontest_capability_workers_do_not_share_mutable_records
()
tests/test_gpu_gateway.py:125
Functiontest_capacity_evicts_oldest_live_session_deterministically
(clock: FakeClock)
tests/test_admin_sessions.py:247
Functiontest_capacity_rejection_does_not_exclude_or_charge
()
tests/test_worker_scheduler.py:527
Functiontest_capacity_rejection_does_not_exclude_the_worker
A worker that was full will have room later — excluding it would shrink the fleet for being busy.
tests/test_worker_lifecycle.py:216
Functiontest_capacity_rejection_is_never_charged
A worker declining because it is full is doing its job. Charging it is how a healthy busy fleet self-quarantines.
tests/test_worker_breaker.py:26
Functiontest_capture_accurate_mode_degrades_past_broken_engine
`/transcribe mode=accurate` — the sibling 500 on the same host.
backend/tests/test_asr_request_path_degrades.py:149
Functiontest_capture_backend_falls_back_when_dictation_disabled
(monkeypatch)
tests/test_sherpa_dictation.py:406
Functiontest_capture_backend_honors_dictation_model_id
(fake_sherpa, no_download, monkeypatch)
tests/test_sherpa_dictation.py:330
Functiontest_capture_ignores_threads_that_are_not_pool_workers
The process has a web server, a watchdog and a watermark pool in it. A dump of everything is a dump nobody reads.
tests/test_gpu_wedge_stack_capture.py:76
Functiontest_capture_is_empty_when_no_pool_worker_exists
Nothing to report is not an error — the timeout path must not depend on this having found anything. The absence is manufactured rather than a
tests/test_gpu_wedge_stack_capture.py:98
Functiontest_capture_keeps_whisper_for_uncovered_language
Language parity: parakeet-mlx knows exactly 25 European languages — a CJK/etc locale must keep the ~100-language whisper tier even with the pa
tests/test_asr_device_aware_autodetect.py:208
Functiontest_capture_keeps_whisper_without_locale_signal
No usable locale (C/POSIX, empty launchd GUI env) → no evidence the user's language is covered → keep whisper (never regress on a guess).
tests/test_asr_device_aware_autodetect.py:223
Functiontest_capture_names_the_function_the_worker_is_stuck_in
(mm)
tests/test_gpu_wedge_stack_capture.py:51
Functiontest_capture_never_auto_downloads_parakeet_mlx
Package installed but weights NOT cached → the picker must skip parakeet-mlx (no surprise ~1.2 GB download) and keep MLX turbo. Exercises the
tests/test_asr_device_aware_autodetect.py:300
Functiontest_capture_never_raises
Diagnostics run inside the timeout handler. One that throws would replace a real GpuJobTimeoutError with an unrelated crash.
tests/test_gpu_wedge_stack_capture.py:112
Functiontest_capture_never_raises_even_if_the_sdk_explodes
(monkeypatch)
tests/test_analytics_optin.py:283
Functiontest_capture_prefers_installed_parakeet_mlx
On Apple Silicon with the Parakeet weights ON DISK and a covered (European) locale language, dictation/capture picks parakeet-mlx over mlx-whi
tests/test_asr_device_aware_autodetect.py:193
Functiontest_capture_preload_defaults_on
(monkeypatch)
tests/test_capture_ws.py:253
Functiontest_capture_preload_delay_default_and_override
(monkeypatch)
tests/test_capture_ws.py:263
Functiontest_capture_preload_ram_guard
(monkeypatch)
tests/test_capture_ws.py:273
Functiontest_capture_skips_parakeet_mlx_when_package_unavailable
Not Apple Silicon / package missing → unchanged pre-existing behavior.
tests/test_asr_device_aware_autodetect.py:315
Methodtest_capture_transcribe_409
(self, client)
tests/test_asr_model_missing.py:316
Methodtest_capture_ws_invalid_override_still_preflights_whisper
#1175 review: an invalid ``?model=`` resolves to no sherpa spec, so the session falls through to the Whisper path — the preflight must
tests/test_asr_model_missing.py:395
Methodtest_capture_ws_sends_typed_error_frame
(self, client)
tests/test_asr_model_missing.py:380
Functiontest_case_and_punct_insensitive_word_match
()
tests/backend/services/test_refinement_collapse.py:70
Functiontest_case_insensitive
()
tests/test_describe_voice.py:136
Functiontest_case_insensitive_and_inner_whitespace
()
tests/test_pause_markers.py:38
Functiontest_case_insensitive_match
()
tests/test_pronunciation.py:25
Functiontest_case_insensitive_tags
()
tests/test_ssml_lite.py:122
Functiontest_catalog_loads_and_has_entries
()
tests/test_models_catalog.py:35
Functiontest_catalog_reaches_hundreds
()
backend/tests/test_archetypes.py:91
Functiontest_categories_are_the_seven_use_cases
()
backend/tests/test_archetypes.py:136
Functiontest_categories_endpoint
(client)
backend/tests/test_archetypes_api.py:54
Functiontest_category_sizes_computed
(roots)
tests/test_storage_report.py:83
Functiontest_cause_cycle_terminates
()
backend/tests/test_model_load_shutdown.py:132
Functiontest_certificate_is_fetched_from_a_live_server
(control_plane_tls)
tests/test_worker_agent.py:102
Functiontest_certificate_is_persisted_and_reused
(tmp_path)
tests/test_worker_transport.py:99
Functiontest_certificate_regenerates_when_an_explicit_listener_host_is_added
(tmp_path)
tests/test_worker_transport.py:1365
Functiontest_certificate_regenerates_when_it_stops_covering_this_machine
A laptop that moved networks otherwise keeps a certificate no worker on the new network can validate.
tests/test_worker_transport.py:1340
Functiontest_certificate_with_a_corrupt_signature_is_not_reused
(tmp_path)
tests/test_worker_transport.py:161
Functiontest_challenge_binds_worker_epoch_and_nonce
A bare random challenge would let a captured signature be replayed against a different worker record or a stale epoch.
tests/test_worker_identity.py:69
Functiontest_challenges_are_unique
()
tests/test_worker_identity.py:89
Functiontest_changed_registry_layout_is_loud
(drift_module, tmp_path)
tests/scripts/test_check_docs_drift.py:161
Functiontest_changelog_endpoint_degrades_when_missing
(settings_mod, tmp_path, monkeypatch)
tests/test_settings_updates_api.py:40
Functiontest_changelog_endpoint_returns_structured_releases
(settings_mod, tmp_path, monkeypatch)
tests/test_settings_updates_api.py:21
Functiontest_changelog_path_env_override
(tmp_path, monkeypatch)
tests/test_changelog_parse.py:114
Functiontest_channels_first_stereo_still_works
The case that was already correct. The fix must not trade one layout for the other — this is what a naive `axis=-1` would break.
tests/test_sidecar_downmix_is_channel_aware.py:99
Functiontest_channels_last_stereo_downmixes_to_the_right_length
The bug, stated as length: a (100, 2) input must yield 100 samples. Averaging across time yields 2 — the whole render collapsed into a pair of
tests/test_sidecar_downmix_is_channel_aware.py:73
Functiontest_channels_last_stereo_preserves_the_waveform
...and stated as content: a channel-correct downmix of two identical channels is the original signal, unchanged.
tests/test_sidecar_downmix_is_channel_aware.py:85
Functiontest_chapter_cache_key_changes_for_every_expressive_field
The end-to-end guard: two renders that differ only in one expressive knob must land in different cache slots (else the second silently replays the
tests/test_audiobook_expressive.py:94
Functiontest_chapter_cache_key_changes_when_the_map_changes
(tmp_path)
tests/test_audiobook_cast.py:154
Functiontest_chapter_error_names_an_exception_with_no_message
An exception whose ``str()`` is empty must still produce a reason — any emit site that formats ``str(e)`` would tell the user nothing at all. The
tests/test_longform_e2e.py:258
Functiontest_chapter_failing_before_any_text_is_skipped_not_fatal
If the parser dies before extracting anything, that chapter is empty and skipped (pre-existing behavior) — but the rest of the book still imports.
backend/tests/test_longform_import_parse_failure.py:81
Functiontest_chapter_key_golden_unchanged_by_segment_layer
()
tests/test_longform_segment_cache.py:84
Functiontest_chargeability_matrix
(cls, charges)
tests/test_worker_errors.py:43
Functiontest_chat_caps_absurd_retry_after
A provider demanding a 10-minute wait gets the cap, not a stalled dub.
tests/test_translator.py:350
Functiontest_chat_honors_retry_after_once
A 429 with a small Retry-After gets ONE polite wait + retry, not a hard fail. OpenRouter's free pool says 'Retry-After: 2' — giving up instantly
tests/test_translator.py:338
Functiontest_chat_non_429_does_not_retry
Only rate limits are retryable; real errors propagate immediately.
tests/test_translator.py:372
Functiontest_chat_pins_low_temperature
Cinematic reflect/adapt must pin temperature like the Fast path does — the provider default of 1.0 is what let local models drift into invention.
tests/test_translator.py:189
Functiontest_chat_second_429_propagates
One retry only — a persistent throttle degrades the segment instead of looping.
tests/test_translator.py:358
Functiontest_check_is_throttled_to_once_a_day
(sandbox, stub)
tests/test_gallery_previews.py:352
Functiontest_checkpoint_in_local_cache_probe
(monkeypatch, tmp_path)
tests/test_socks_proxy.py:181
Functiontest_choice_is_deterministic_across_runs
Several models loaded: two runs on one machine must pick the same one, or a bug report stops being reproducible.
tests/test_lmstudio_model_discovery.py:135
Functiontest_choice_is_persisted
A target that resets on restart would quietly send work elsewhere.
tests/test_worker_routing.py:75
Functiontest_choosing_a_worker_persists_and_is_reflected
(client, db, monkeypatch)
tests/test_worker_service_api.py:586
Functiontest_choosing_an_unknown_worker_is_refused
Otherwise a typo silently parks generation on a target that will never resolve, and every job quietly runs locally with no explanation.
tests/test_worker_service_api.py:580
Functiontest_chosen_and_reachable_runs_remotely
(db, settings)
tests/test_worker_routing.py:187
Functiontest_chunk_offsets_are_bytes_already_sent_and_only_the_last_commits
The receiver checks ``offset`` against the length it holds and commits only on ``last`` — both are contracts this side has to keep.
tests/test_worker_upload_client.py:439
Functiontest_chunk_start_and_end_map_to_fitted_bounds
()
tests/test_fitted_subtitles.py:18
Functiontest_chunking_disabled_with_zero
(client, monkeypatch)
tests/test_chunked_tts.py:250
Functiontest_chunking_itself_loses_no_text
Pins an eliminated hypothesis rather than a fixed defect. Kept deliberately, and it does NOT fail before this change — the splitter was alrea
tests/test_dropped_chunk_is_not_silent.py:146
Functiontest_chunks_may_be_far_slower_than_a_load_heartbeat
A single chunk on a modest GPU takes minutes, not the ~5s between sidecar download frames. Judging synthesis by the LOAD grace would call ever
tests/test_chunk_progress_extends_generate_budget_1391.py:106
Functiontest_ci_artifact_upload_includes_the_shared_libs
()
tests/test_gguf_source_build_runtime_1348.py:323
Functiontest_ci_verifies_intel_mac_as_the_documented_remote_only_host
()
tests/test_pockettts_deferred.py:98
Functiontest_cinematic_adapt_critique_echo_rejected
ADAPT returning the critique itself must not become the dub line.
tests/test_translator.py:145
Functiontest_cinematic_adapt_runaway_length_falls_back_to_literal
The reported bug: for a Latin-script target the script check passes ANY text, so a hallucinated wall of dialogue used to ship as the dub line.
tests/test_translator.py:130
Functiontest_cinematic_adapt_wrong_script_falls_back_to_literal
ADAPT output off the target script degrades to the literal with the script-specific marker (the pre-existing fallback, previously untested).
tests/test_translator.py:175
Functiontest_cinematic_budget_degrades_slow_segments_to_literal
A slow LLM must not hang the translate: the pass returns within the budget and unfinished segments fall back to their literal translation.
tests/test_translator.py:220
← previousnext →10,101–10,200 of 15,058, ranked by callers