MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_the_dockerfile_passes_the_constraint
()
tests/test_torch_constraints_are_applied.py:100
Functiontest_the_docs_name_the_path_that_is_actually_published
Docs drift here is invisible: a wrong pull command fails only for users.
tests/test_published_image_path_is_pinned.py:52
Functiontest_the_dubbing_demo_manifest_and_every_file_it_names_exist
The Dub workspace reads this manifest and plays what it lists.
tests/test_demo_assets_exist.py:111
Functiontest_the_eager_guard_is_restored_after_the_call
The switch is a process-global; leaving it latched would silently disable compile for every other model in the backend.
tests/test_watermark_no_torch_compile_1615.py:110
Functiontest_the_eager_guard_is_restored_when_embedding_raises
( monkeypatch, watermark, moshi_compile, )
tests/test_watermark_no_torch_compile_1615.py:117
Functiontest_the_engine_is_built_once_across_tasks
The regression: ``return cls()`` per assignment, cached nowhere.
tests/test_worker_executor_residency.py:178
Functiontest_the_engine_is_registered_lazily
Registered eagerly, the optional pocket-tts import would run for every user on every startup.
tests/test_pockettts_sidecar.py:398
Functiontest_the_engines_own_rate_is_the_fallback
A flat 24 kHz default plays a 48 kHz engine's output at half speed.
tests/test_worker_executor_residency.py:458
Functiontest_the_env_override_still_wins_for_every_model
`OMNIVOICE_SHERPA_ASR_THREADS` is a documented power-user override; the per-model policy must not quietly outrank what the user asked for.
tests/test_sherpa_model_sizes.py:185
Functiontest_the_env_token_beats_the_in_repo_default
Release builds bake a token through the shell env; developers set their own. Either must override the committed default.
tests/test_analytics_optin.py:85
Functiontest_the_environment_still_wins_over_the_stored_setting
(client, monkeypatch)
tests/test_worker_join_api.py:546
Functiontest_the_error_key_is_the_one_the_worker_reads
Two modules, one contract, no import between them.
tests/test_worker_inputs.py:349
Functiontest_the_exact_reported_failure
A four-character CJK name — the one that produced 'position 22-25'.
tests/test_content_disposition_unicode.py:55
Functiontest_the_executor_reports_through_the_callbacks_the_client_injects
B1: unwired, these are the frames whose absence expired the lease on any task longer than it — starting with the cold load, which happens after
tests/test_worker_executor_residency.py:533
Functiontest_the_extension_is_capped
Heartbeats forever must not mean waiting forever — the cap is the difference between patience and a hung worker nobody hears about.
tests/test_model_load_extends_generate_budget.py:129
Functiontest_the_extension_is_logged_once
The extension must be visible in the log — a generate that quietly took 4x its budget is its own diagnosability bug.
tests/test_model_load_extends_generate_budget.py:81
Functiontest_the_extension_is_still_capped
A render that heartbeats forever must not hold a worker forever.
tests/test_chunk_progress_extends_generate_budget_1391.py:128
Functiontest_the_fallback_detail_does_not_leak_a_path
If building the classified failure itself fails, what lands on the status must not be the raw exception — those carry absolute paths, i.e. the
tests/test_broken_dependency_diagnosis_1415.py:236
Functiontest_the_file_matches_pyproject
Two sources of truth that disagree would ship `uv sync` users one torch and Docker/Colab users another, with no error anywhere.
tests/test_torch_constraints_are_applied.py:76
Functiontest_the_fold_keeps_the_punctuation_adjacent_to_its_sentence
It belongs to the text before it; gluing it to the front of the NEXT chunk would change where the pause lands.
tests/test_no_unspeakable_chunks_1330.py:64
Functiontest_the_fold_prefers_moving_a_word_over_overflowing
Given room to rebalance, both chunks stay inside the limit.
tests/test_no_unspeakable_chunks_1330.py:130
Functiontest_the_frontend_reads_its_token_override_from_the_build_env
The build-time override mechanism must stay in place.
tests/test_no_committed_analytics_token.py:104
Functiontest_the_full_closed_client_signature_still_wins
(failure)
tests/test_network_beats_install_diagnosis.py:261
Functiontest_the_generate_call_sites_pass_the_engines_floor
...and the TTS generate dispatches DO opt in — otherwise the branch above is unreachable in production.
tests/test_low_vram_advisory.py:160
Functiontest_the_generate_message_says_retry_not_flush
(gen)
tests/test_network_beats_install_diagnosis.py:136
Functiontest_the_generate_path_still_treats_it_as_resource_exhaustion
It IS a resource failure — the retry/queue behaviour keyed off `_is_oom_failure` must keep working; only the user-facing advice changed.
tests/test_windows_paging_file.py:70
Functiontest_the_generate_response_actually_carries_the_loss
End to end on the classic path: an engine that renders one chunk to nothing, through POST /generate, must come back with the headers that tell
tests/test_dropped_audio_reaches_the_user_1330.py:178
Methodtest_the_genuinely_stale_case_is_still_refused
(self)
tests/test_release_preview_manifest_rebuild.py:141
Functiontest_the_ghcr_path_does_not_follow_the_repository_name
()
tests/test_published_image_path_is_pinned.py:30
Functiontest_the_gpu_pool_timeout_class_is_recognised
`GpuJobTimeoutError` is the project's own wrapper and is not a TimeoutError subclass, so it has to be matched by name.
tests/test_generation_timeout_is_named.py:62
Functiontest_the_guard_keys_off_the_real_pool_thread_name
If the pool's thread-name prefix ever changes, the guard silently stops applying and the 500 comes back — so pin that they agree.
tests/test_model_lock_event_loop_1417.py:128
Functiontest_the_guard_resolves_the_selector_instead_of_matching_its_name
(label, source, flagged)
backend/tests/test_asr_request_path_degrades.py:316
Functiontest_the_header_survives_any_script
(name)
tests/test_content_disposition_unicode.py:49
Functiontest_the_heartbeat_stops_with_the_block
A leaked beat thread would keep writing onto a pipe the next request owns, corrupting its framing. The context manager joins the thread on exi
tests/test_indextts_config_and_timeout_1611.py:227
Functiontest_the_hint_does_not_tell_them_to_reinstall
The specific harm: reinstalling transformers cannot fix a dropped connection, so the old advice was work that could never succeed.
tests/test_network_beats_install_diagnosis.py:75
Functiontest_the_hint_gives_a_way_forward_rather_than_another_retry
()
tests/test_yt_drm_escalation.py:81
Functiontest_the_hint_gives_the_windows_setting_that_actually_fixes_it
()
tests/test_windows_paging_file.py:41
Functiontest_the_hint_names_the_repair_and_is_actionable
()
tests/test_media_tool_missing.py:56
Functiontest_the_hint_says_the_partial_download_is_kept
Otherwise a user on a slow link assumes retrying restarts a multi-GB download and gives up instead.
tests/test_network_beats_install_diagnosis.py:84
Functiontest_the_idle_threshold_can_be_shortened_for_testing
Ten minutes is right in production and useless to observe by hand.
tests/test_worker_inbound_keys.py:728
Functiontest_the_ingest_ending_is_not_an_un_delete
`end_ingest` used to clear the tombstone, which is what opened the gap above — the ingest finishing is not the user un-deleting anything.
tests/test_dub_job_deleted_mid_ingest.py:347
Functiontest_the_ingest_pipeline_no_longer_blind_subscripts_the_job
The call site itself. A direct `_dub_jobs[job_id].update(` anywhere in the pipeline reintroduces exactly this KeyError.
tests/test_dub_job_deleted_mid_ingest.py:65
Functiontest_the_ingest_pipeline_persists_atomically
()
tests/test_dub_job_deleted_mid_ingest.py:243
Functiontest_the_isolated_sidecar_engine_reports_the_same_reason
Crash isolation makes the missing library a failed job instead of a dead backend — which is worse than it sounds: it fails on every transcribe, wi
tests/test_cudnn8_hard_crash_1371.py:158
Functiontest_the_job_being_deleted_does_not_count_as_its_own_holder
(dp)
tests/test_deleting_a_dub_keeps_dirs_others_use.py:97
Functiontest_the_large_model_target_is_above_the_base_default
(sd)
tests/test_sherpa_model_sizes.py:193
Functiontest_the_load_phase_actually_loads_the_weights
Adapters load lazily inside generate(). Without ensure_ready() the load phase is instant, the cold load runs under the execution budget, and the
tests/test_worker_executor_residency.py:190
Functiontest_the_lock_is_reentrant
`save_job` acquires the lock, and the atomic helpers call it while already holding it — a plain Lock would deadlock the backend here.
tests/test_dub_job_deleted_mid_ingest.py:491
Functiontest_the_log_names_the_text_that_was_lost
A count alone tells a maintainer that something went missing. The text tells them which sentence to try to reproduce with.
tests/test_dropped_chunk_is_not_silent.py:66
Functiontest_the_marker_is_exposed_to_cross_origin_readers
()
tests/test_backend_marker_header_1385.py:85
Functiontest_the_marker_is_shared_not_duplicated
core/ cannot import services/, so the marker lives in audio_io and failure.py matches its lowercased text. Pinned through classify() itself, n
tests/test_synth_error_classes.py:183
Functiontest_the_marker_map_cannot_grow_without_bound
The count cap is a memory backstop, not the policy.
tests/test_dub_job_deleted_mid_ingest.py:426
Functiontest_the_marker_reports_the_running_version
(client)
tests/test_backend_marker_header_1385.py:52
Functiontest_the_marker_survives_the_auth_gates
(monkeypatch, tmp_path)
tests/test_backend_marker_header_1385.py:59
Functiontest_the_matrix_payload_carries_the_floor
()
tests/test_low_vram_advisory.py:114
Functiontest_the_message_does_not_blame_memory
The #880 class bug, in its newest disguise: never send someone to Flush for a failure that has nothing to do with memory.
tests/test_generation_timeout_is_named.py:134
Functiontest_the_message_explains_the_first_run_download_case
The most likely cause on a fresh install, and the one where "retry" is genuinely the right advice — the download resumes (#1367).
tests/test_generation_timeout_is_named.py:142
Functiontest_the_message_names_the_override
Someone on slow CPU-only hardware needs a way through, not just an explanation.
tests/test_generation_timeout_is_named.py:150
Functiontest_the_message_names_the_time_limit_not_a_mystery
(gen)
tests/test_generation_timeout_is_named.py:126
Functiontest_the_model_catalogue_carries_the_same_sizes
`backend/config/models.yaml` is a second copy of these numbers. The Model Catalogue's download accounting reads the yaml, the dictation picke
tests/test_sherpa_model_sizes.py:86
Functiontest_the_model_class_name_is_unchanged
()
tests/test_identity_paths_survive_the_rename.py:177
Functiontest_the_node_is_enrolled_by_its_own_key_not_by_the_api_key
The API key admits a panel; identity stays with the node's keypair. If these were conflated, anyone who copied the key could impersonate the m
tests/test_worker_inbound_transport.py:426
Functiontest_the_node_keeps_sending_heartbeats_after_it_registers
A session that goes quiet is declared dead and flaps forever. Found on hardware, not here: the inbound Attach handler started the read pump a
tests/test_worker_inbound_transport.py:3180
Functiontest_the_out_dir_comes_from_the_jobs_own_id
()
tests/test_clone_refs_live_in_their_own_job_dir.py:65
Functiontest_the_out_dir_is_not_derived_from_the_vocals_path
The bug, stated directly: ``os.path.dirname(vocals_for_clone)`` follows the vocals into whichever job dir the cache resolved them from.
tests/test_clone_refs_live_in_their_own_job_dir.py:53
Functiontest_the_outbox_blocks_rather_than_spinning_when_empty
()
tests/test_worker_upload_client.py:661
Functiontest_the_override_is_bounded_and_survives_nonsense
(batch, host, monkeypatch)
tests/test_dub_batch_width_and_budget.py:77
Functiontest_the_owner_can_see_who_connected_and_kick_them
(inbound)
tests/test_worker_inbound_transport.py:1742
Functiontest_the_paging_file_error_does_not_send_the_user_to_flush
The reporter saw a bare 500 and reasonably wondered whether OmniVoice needs the internet. It does not — this is a Windows virtual-memory setting.
tests/test_network_beats_install_diagnosis.py:165
Functiontest_the_paging_file_failure_is_classified
(reason)
tests/test_windows_paging_file.py:37
Functiontest_the_paging_file_message_carries_the_actual_instructions
Naming the cause without the remedy would still leave them stuck.
tests/test_network_beats_install_diagnosis.py:189
Functiontest_the_paging_file_message_says_it_is_not_a_network_problem
Directly answering what #1334 asked: it correlated with being offline, and the correlation is a coincidence.
tests/test_network_beats_install_diagnosis.py:181
Functiontest_the_per_task_artifact_budget_is_enforced_across_attempts
One artifact under the cap, twice, must not add up to more than a task is allowed to deliver.
tests/test_worker_upload_server.py:1124
Functiontest_the_phase_anchor_moves_with_each_phase
()
tests/test_worker_lifecycle.py:423
Functiontest_the_phase_anchor_survives_a_pinned_zero_clock
`0.0` is a legitimate timestamp — an `or` chain would skip it and silently anchor the ceiling to the wrong phase (worker/clock.py).
tests/test_worker_lifecycle.py:411
Functiontest_the_pins_carry_no_local_version
`==2.8.0+cu128` would match only the CUDA build and force a reinstall on the ROCm image and on Colab. Bare `==2.8.0` matches every local segment
tests/test_torch_constraints_are_applied.py:87
Functiontest_the_pipeline_registers_and_releases_its_run
()
tests/test_dub_job_deleted_mid_ingest.py:434
Functiontest_the_plaintext_key_is_never_written_to_disk
The node can replace a key but must never be able to show it again.
tests/test_worker_inbound_keys.py:25
Functiontest_the_pool_copy_is_refreshed_too
Otherwise the scheduler's logs keep naming the worker by its old name.
tests/test_worker_service_api.py:1006
Functiontest_the_pool_path_never_resubmits_to_the_pool
The inline load must not go through `_get_gpu_pool()`. `_load_model_with_timeout` runs `_load_model_sync` *in the pool*. Calling it from a po
tests/test_model_lock_event_loop_1417.py:170
Functiontest_the_preview_job_can_actually_read_its_run_metadata
`contents: write` alone 403s the Actions Runs API (greptile), which under `set -e` would take the whole publish down — the outage this change
tests/test_release_preview_manifest_rebuild.py:193
Functiontest_the_preview_request_can_carry_a_segment_id
Optional and diagnostic-only, so old callers are unaffected — but a caller that supplies it gets the line named instead of a bare "preview".
tests/test_missing_clone_ref_is_not_silent.py:181
Functiontest_the_probe_attaches_the_reason
End to end: the note has to reach `HostCaps.notes`, which is what the About page and the diagnostics bundle read. Fail-before, this branch pro
tests/test_why_no_gpu_1274.py:255
Functiontest_the_probe_does_not_false_positive_on_a_free_port
A free port must start normally. The probe uses uvicorn's own socket options (SO_REUSEADDR off Windows) precisely so a TIME_WAIT socket uvicorn
tests/test_port_in_use_exit.py:158
Functiontest_the_probe_is_cached
(monkeypatch, cudnn8, cudnn8_missing)
tests/test_cudnn8_hard_crash_1371.py:88
Functiontest_the_product_name_is_the_new_one
()
tests/test_identity_paths_survive_the_rename.py:202
Functiontest_the_progress_report_cannot_break_a_render
A liveness signal that can raise is worse than no signal at all.
tests/test_chunk_progress_extends_generate_budget_1391.py:260
Functiontest_the_public_env_var_prefix_is_unchanged
(env_var)
tests/test_identity_paths_survive_the_rename.py:192
Functiontest_the_published_paths_are_not_logged
Review finding (#1256): a user-set FFMPEG_PATH resolves under their home directory, and absolute home paths must not reach the log.
tests/test_media_tool_missing.py:185
Functiontest_the_python_package_name_is_unchanged
()
tests/test_identity_paths_survive_the_rename.py:169
Functiontest_the_raw_500_surface_now_carries_the_paging_file_hint
The reporter's message arrived as a bare 500 with only the OS sentence: the class was classified correctly but its hint was never attached, becaus
tests/test_network_beats_install_diagnosis.py:216
Functiontest_the_real_name_is_preserved_for_modern_clients
()
tests/test_content_disposition_unicode.py:63
Functiontest_the_real_openssl_message_still_matches
...and the gate must not cost us the case it exists for.
tests/test_network_beats_install_diagnosis.py:241
Functiontest_the_real_scheduler_agrees_with_how_the_endpoint_drives_it
The stubs above pin this endpoint's behaviour; this pins the seam. With no worker connected the task simply waits, so the request's own deadline i
tests/test_worker_service_api.py:761
Functiontest_the_recv_deadline_is_tunable_but_bounded
(monkeypatch, raw, expected)
tests/test_indextts_config_and_timeout_1611.py:155
Functiontest_the_recv_deadline_outlasts_a_long_passage
()
tests/test_indextts_config_and_timeout_1611.py:140
Functiontest_the_redeemed_endpoint_is_remembered_for_the_next_launch
The token carries the address; forgetting it puts the barrier back. A machine that joined from the UI used to come back up enrolled but with
tests/test_worker_join_api.py:560
Functiontest_the_release_artifact_patterns_follow_the_product_name
()
tests/test_identity_paths_survive_the_rename.py:208
Functiontest_the_render_path_actually_calls_the_gate
The check is only worth having where the paths are used. Pin that both call sites route through it, since a resolution branch added later would
tests/test_missing_clone_ref_is_not_silent.py:140
Functiontest_the_reported_engine_declares_a_floor
()
tests/test_low_vram_advisory.py:44
← previousnext →14,101–14,200 of 15,058, ranked by callers