MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_alembic_ini_paths_survive_spaces_and_drive_letters
The other half of the %(here)s fix: path_separator=os. Without it, alembic legacy-splits prepend_sys_path on spaces, commas AND colons — shred
tests/test_db_migration_safety.py:100
Functiontest_alembic_upgrade_on_v027_db_preserves_existing_tables
A user upgrading from v0.2.7 must keep their voice_profiles / dub_history intact and gain a new settings table.
tests/backend/services/test_settings_store.py:345
Functiontest_alignment_failure_never_loses_the_transcript
Worse timing beats no transcript. Never raise out of alignment.
tests/test_asr_device_aware_autodetect.py:150
Functiontest_alignment_retries_on_cpu_before_giving_up_on_timing
An aligner that hits an unimplemented MPS op must NOT silently cost us the word timing — it must fall back to the CPU, which always works.
tests/test_asr_device_aware_autodetect.py:121
Functiontest_all_1d_output_stays_1d
()
tests/test_chunked_tts.py:170
Functiontest_all_2d_output_stays_2d
()
tests/test_chunked_tts.py:176
Functiontest_all_auto_design_is_saveable
An all-Auto design (empty instruct) saves; it isn't gated on instruct.
tests/test_profile_design_save_decouple.py:91
Functiontest_all_backends_is_available_returns_tuple
Every backend's is_available() must return (bool, str), no crashes.
tests/test_issue_fixes.py:246
Functiontest_all_busy_leaves_the_task_queued
()
tests/test_worker_scheduler.py:454
Functiontest_all_chapters_fail_emits_error_and_no_file
(tmp_path, monkeypatch)
tests/test_longform_e2e.py:163
Functiontest_all_chapters_fail_marks_the_job_failed
The all-failed branch used to return without touching job history, so the row stayed `running`: the next startup's orphan sweep read it as an
tests/test_longform_e2e.py:183
Functiontest_all_chunks_empty_still_returns_a_tensor
The total-failure path is owned by the downstream dead-render guards; this must keep handing them something rather than raising here.
tests/test_dropped_chunk_is_not_silent.py:104
Functiontest_all_families_share_the_11_key_shape
(fresh_app)
tests/backend/api/test_engines_route_shape.py:111
Functiontest_all_flags_on_includes_all_sections
()
tests/backend/services/test_refinement_llm.py:24
Functiontest_all_generate_calls_execute_on_one_dedicated_thread
(model_manager)
tests/test_compile_thread_affinity.py:94
Functiontest_all_keys_match_taxonomy
The taxonomy is locked here. Adding a class is a contract change — bump this set + the TS mirror's keys-sync test in lockstep. PYANNOTE_LICEN
tests/backend/core/test_error_docs_map.py:35
Methodtest_all_presets_produce_output
Smoke test: every preset processes without error.
tests/test_effects_chain.py:113
Functiontest_all_skills_cover_every_consumption_point
(skills)
tests/test_llm_skills.py:63
Methodtest_all_subclasses_have_callable_unload
(self)
backend/tests/test_tts_backend_lifecycle.py:168
Functiontest_all_urls_resolve_to_repo
()
tests/backend/core/test_error_docs_map.py:26
Functiontest_all_version_files_in_lockstep
``frontend/package.json`` is the SINGLE SOURCE OF TRUTH for the app version: vite injects ``__APP_VERSION__`` from it (first-run footer + every
tests/test_app_version.py:35
Functiontest_all_zeros_stays_zero
()
tests/test_normalize_audio_silence.py:20
Methodtest_allow_vad_pickle_globals_defined
(self)
backend/tests/test_asr_pickle_safety.py:96
Methodtest_allow_vad_pickle_globals_invoked_in_ensure_asr
(self)
backend/tests/test_asr_pickle_safety.py:103
Functiontest_allowlist_drops_anything_that_could_carry_user_content
()
tests/test_analytics_optin.py:184
Functiontest_allowlist_is_not_stale
()
tests/test_watermark_route_coverage.py:166
Functiontest_allows_when_enough_space
(models_mod, monkeypatch)
tests/test_install_disk_space.py:50
Functiontest_already_deleted_asset_is_benign
A re-run (or the sibling leg racing us) already removed it — the goal is "no asset under this name", which is satisfied.
tests/test_release_preview_asset_cleanup.py:134
Functiontest_always_mode_frees_all
(monkeypatch)
backend/tests/test_make_room_before_generate.py:46
Functiontest_ample_vram_keeps_fp16
()
tests/test_asr_vram_preflight.py:43
Functiontest_an_absolute_artifact_reference_is_refused
The uploaded-artifact path is a reference into our store, not a path.
tests/test_worker_server_integrity.py:588
Functiontest_an_absurd_client_sample_rate_is_not_believed
`?sr=` sizes RecoveryTail's byte ceiling (rate × RECOVERY_TAIL_SECONDS), so an unclamped client value re-opens the unbounded-memory path (#1610
tests/test_dictation_recovery_tail_bound.py:83
Functiontest_an_app_function_named_wait_is_not_a_wedge
`in wait` / `in result` say nothing on their own — plenty of application code has functions by those names, and flagging them would tell a user wi
tests/test_wedge_vs_slow_hardware_1416.py:120
Functiontest_an_assignment_without_deadlines_still_runs
Zero means "the server stated none", never "no time at all".
tests/test_worker_executor_residency.py:389
Functiontest_an_empty_key_never_authenticates
A missing metadata header arrives as "" and must not match a key whose hash happens to be falsy-adjacent.
tests/test_worker_inbound_keys.py:367
Functiontest_an_empty_server_is_also_remembered
Running-but-nothing-loaded is just as expensive to re-probe as down.
tests/test_lmstudio_model_discovery.py:199
Functiontest_an_empty_timeout_message_does_not_end_the_sentence_in_a_colon
The literal reported output ended `Underlying error: TimeoutError:` — a sentence that stops mid-thought. Whatever we append, the useful content
tests/test_generation_timeout_is_named.py:156
Functiontest_an_engine_that_holds_nothing_reports_not_loaded
Same shape as the `tts` / `diarization` branches — a no-op, not an error.
tests/test_unload_advertised_ids.py:64
Functiontest_an_engine_that_is_not_instantiated_reports_not_loaded
A stale panel row (the engine was already evicted) must not 400 either — the user pressing a button that raced a background eviction did nothing
tests/test_unload_advertised_ids.py:77
Functiontest_an_engine_that_is_present_but_not_downloaded_still_reports
Without the row, "this worker has no such engine" and "it has it but the weights are missing" look identical — and the download-first flow has
tests/test_worker_executor_residency.py:518
Functiontest_an_engine_with_no_declared_floor_never_warns
Only engines with a measured figure warn — inventing floors for the rest would put confident numbers in the UI that nothing backs.
tests/test_low_vram_advisory.py:69
Functiontest_an_entirely_non_ascii_name_still_yields_a_usable_filename
Stripping CJK leaves only ".ovsvoice", which is not a filename.
tests/test_content_disposition_unicode.py:73
Functiontest_an_env_pinned_machine_refuses_a_join_too
Joining ENABLES worker mode, so the same rule applies as to the toggle. Under OMNIVOICE_WORKER_MODE the join would persist a setting nothing
tests/test_worker_join_api.py:495
Functiontest_an_env_pinned_machine_refuses_to_be_toggled
The environment wins everywhere else, so it wins here too. Writing the setting under OMNIVOICE_WORKER_MODE would store a value the rest of th
tests/test_worker_join_api.py:477
Functiontest_an_exception_with_no_message_at_all_still_names_itself
()
tests/test_dub_job_deleted_mid_ingest.py:88
Functiontest_an_executor_driven_without_reporters_still_runs
(engine_cache, no_watermark)
tests/test_worker_executor_residency.py:578
Functiontest_an_executor_that_takes_no_reporters_still_runs
The reporter keywords are probed, not assumed — otherwise injecting a plain ``async def (assignment)`` reports a TypeError as a failed job.
tests/test_worker_client_liveness.py:461
Functiontest_an_exhausted_drm_failure_is_classified
()
tests/test_yt_drm_escalation.py:77
Functiontest_an_existing_reference_passes_through
(dg, tmp_path)
tests/test_missing_clone_ref_is_not_silent.py:52
Functiontest_an_expired_token_is_refused_before_any_connection
(tmp_path)
tests/test_worker_agent.py:149
Functiontest_an_expired_wait_cancels_the_task_it_gave_up_on
(client, monkeypatch)
tests/test_worker_service_api.py:742
Functiontest_an_explicit_bind_is_advertised_as_given
Only wildcards are substituted — a user who typed a specific address meant that address, including one this host cannot introspect.
tests/test_worker_inbound_keys.py:715
Functiontest_an_explicit_model_always_wins
Discovery sits BELOW the user's choice. A setting that gets silently replaced by whatever the server happens to serve is a worse bug than the
tests/test_lmstudio_model_discovery.py:89
Functiontest_an_explicitly_pinned_backend_still_wins
Anyone who pinned an engine keeps it — auto-detect must not override.
tests/test_asr_device_aware_autodetect.py:79
Functiontest_an_hf_marker_does_not_make_stray_digits_an_auth_failure
(classify, text)
tests/test_classify_401_substring.py:122
Functiontest_an_hsa_override_is_the_first_suspect
The #1274 reporter set HSA_OVERRIDE_GFX_VERSION=11.0.0 on a gfx1151 card that the shipped ROCm 7.2.4 supports natively. Remapping a card the r
tests/test_why_no_gpu_1274.py:165
Functiontest_an_idle_engine_is_unloaded_and_a_busy_one_is_not
(engine_cache)
tests/test_worker_executor_residency.py:229
Functiontest_an_idle_worker_keeps_its_park
The worker counts asyncio tasks, not GPU threads — its "I am free" is exactly the claim the park exists to disbelieve (#730/#1190).
tests/test_worker_capacity.py:158
Functiontest_an_illegal_frame_does_not_end_the_read_loop
A late or out-of-order frame raises from the domain. Letting that end the reader disconnects a worker that is mid-render.
tests/test_worker_server_integrity.py:2631
Functiontest_an_inbound_only_node_still_unloads_idle_models
Requirement: free models nothing has used for ten minutes. The sweep used to live inside the dial-out agent, which an inbound-only node never
tests/test_worker_inbound_transport.py:4107
Functiontest_an_inline_result_lands_under_its_own_attempt
(plane)
tests/test_worker_server_integrity.py:262
Functiontest_an_input_outside_the_artifact_store_is_not_served
(plane, tmp_path)
tests/test_worker_upload_server.py:1794
Functiontest_an_input_pushed_before_the_assignment_is_there_when_the_task_asks
Inbound reverses the artifact direction, so ordering is a real hazard: an assignment that overtakes its own inputs fails on a file that is merely
tests/test_worker_inbound_transport.py:1805
Functiontest_an_input_request_naming_no_task_is_refused
(plane)
tests/test_worker_upload_server.py:1781
Functiontest_an_ipv6_node_is_bracketed_for_grpc
gRPC's resolver reads an unbracketed IPv6 address as host:port and fails on the wrong half of it.
tests/test_worker_inbound_keys.py:534
Functiontest_an_off_pool_caller_never_heartbeats
#1379's lesson: an off-pool thread's ident is not tracked by the clock, and a pool worker that later reuses it would inherit unearned extension.
tests/test_resolve_heartbeat_1414.py:113
Functiontest_an_off_pool_synthesis_records_no_heartbeat
The off-pool path (the diagnostic probe) never runs _job(), so its thread ident would never be CLEARED — and a pool worker later reusing that
tests/test_model_load_extends_generate_budget.py:252
Functiontest_an_offline_choice_falls_back_locally_and_says_so
A user whose remote GPU went to sleep should get their audio, not an error about infrastructure.
tests/test_worker_routing.py:212
Functiontest_an_offset_mismatch_removes_the_partial_input
(inbound)
tests/test_worker_inbound_transport.py:1856
Functiontest_an_oom_is_not_a_timeout
(gen)
tests/test_generation_timeout_is_named.py:100
Functiontest_an_oom_still_reaches_the_oom_path
The rewrite wraps every failure on the path, so the OOM handling that was already there must survive it.
tests/test_engine_language_rejection.py:115
Functiontest_an_ordinary_failure_is_not_a_timeout
(gen)
tests/test_generation_timeout_is_named.py:106
Functiontest_an_ordinary_generate_failure_is_still_unrecognized
(gen)
tests/test_network_beats_install_diagnosis.py:154
Functiontest_an_oversized_payload_with_no_session_fails_without_being_remembered
The upload path's own failure mode, which the size gate never sees. ``_stub`` is None whenever no session is established — between a disconnect
tests/test_worker_client_liveness.py:566
Functiontest_an_oversized_result_is_uploaded_not_failed
The B4 regression, and the direct reversal of the Phase 0 stopgap. A result over the frame ceiling used to come back as a terminal RESULT_TOO
tests/test_worker_upload_client.py:340
Functiontest_an_oversized_result_uploads_then_enters_the_redelivery_set
Large payload bytes use UploadResult; only the small artifact reference is retained for control-stream redelivery.
tests/test_worker_client_liveness.py:482
Functiontest_an_unapproved_worker_is_not_available
(db, settings)
tests/test_worker_routing.py:151
Functiontest_an_unbounded_renewal_is_unchanged
()
tests/test_worker_lifecycle.py:404
Functiontest_an_unconsented_update_is_never_replayed_after_opt_in
Version bookkeeping runs while un-consented so a later yes only ever reports what happens AFTER consent — no retroactive history.
tests/test_analytics_lifecycle.py:138
Functiontest_an_undeclared_upload_is_bounded_by_the_artifact_ceiling
(plane, monkeypatch)
tests/test_worker_upload_server.py:1112
Functiontest_an_unknown_engine_is_a_capability_failure
(engine_cache)
tests/test_worker_executor_residency.py:209
Functiontest_an_unparseable_hsa_override_is_left_alone
The user asked for something we don't understand; guessing is worse than trusting them.
tests/test_rocm_arch_gate.py:140
Functiontest_an_unprobeable_host_does_not_batch
Unknown capability is not permission to widen the forward pass.
tests/test_dub_batch_width_and_budget.py:60
Functiontest_an_unreachable_input_is_retryable_not_terminal
(artifacts, voice, engine, tmp_path)
tests/test_worker_inputs.py:637
Functiontest_an_unreadable_path_is_treated_as_missing
A dead network mount or a permissions failure reaches the engine the same way a deleted file does, so it must not escape through an OSError.
tests/test_missing_clone_ref_is_not_silent.py:130
Functiontest_an_unreadable_reference_is_reported_not_swallowed
(artifacts, voice, monkeypatch)
tests/test_worker_inputs.py:286
Methodtest_an_unreadable_run_timestamp_is_refused_not_ignored
(self)
tests/test_release_preview_manifest_rebuild.py:161
Functiontest_an_unrecognized_error_still_says_so
The catch-all must keep its job for genuinely unknown failures.
tests/test_generation_timeout_is_named.py:172
Functiontest_an_unrelated_download_failure_keeps_its_own_class
()
tests/test_yt_drm_escalation.py:90
Functiontest_an_unrelated_exception_still_propagates
The new clause is broad; this is what stops it becoming a catch-all.
tests/test_corrupt_weights_recovery_1406.py:286
Functiontest_an_unrelated_failure_is_returned_untouched
This wraps every exception on the path, so it must be inert for the rest — an OOM rewritten as a language problem would be far worse than the
tests/test_engine_language_rejection.py:74
Functiontest_an_unrelated_number_1455_does_not_match
The numeric match is deliberately paired with an OS-error marker so a model dimension, a sample offset or a byte count can't trip it.
tests/test_windows_paging_file.py:63
Functiontest_an_unrepairable_shard_says_what_to_do
(mm, monkeypatch)
tests/test_corrupt_weights_recovery_1406.py:279
Functiontest_an_unrouted_path_carries_the_marker
(client)
tests/test_backend_marker_header_1385.py:42
Functiontest_an_unrunnable_interpreter_is_no
(probe, tmp_path)
tests/test_engine_venv_probe_1414.py:75
Functiontest_an_unstageable_input_fails_the_task_instead_of_shipping_a_path
( artifacts, voice, monkeypatch )
tests/test_worker_inputs.py:334
Functiontest_an_unsupported_language_raises_instead_of_speaking_english
PocketTTS ships six models. Quietly handing a Japanese request to the English model returns confident, fluent, wrong audio — the user hears their
tests/test_pockettts_sidecar.py:74
Functiontest_an_upload_failure_above_the_frame_ceiling_is_transient
There is no inline fallback here. TRANSIENT, not TERMINAL: the failure is the path, not the output, so another worker can succeed — and nothing
tests/test_worker_upload_client.py:607
Functiontest_an_upload_failure_falls_back_to_inline_when_it_still_fits
An older control plane without UploadResult, or one stumble, must not destroy a render that already succeeded.
tests/test_worker_upload_client.py:587
Functiontest_an_upload_for_another_workers_attempt_is_refused
(plane)
tests/test_worker_upload_server.py:1458
← previousnext →9,701–9,800 of 15,058, ranked by callers