MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_the_reported_error_names_the_engine_and_the_way_out
()
tests/test_engine_language_rejection.py:39
Functiontest_the_reported_error_triggers_client_escalation
()
tests/test_yt_drm_escalation.py:39
Functiontest_the_reported_message_is_not_called_a_broken_install
(failure)
tests/test_network_beats_install_diagnosis.py:71
Functiontest_the_reporters_error_is_classified
()
tests/test_media_tool_missing.py:37
Functiontest_the_reporters_error_is_recognised_as_transient
()
tests/test_truncated_download_retry.py:34
Functiontest_the_resolved_binaries_are_published_on_PATH
The half that stops the failure happening: a dependency that shells out by bare name must find what `find_ffprobe()` already resolved.
tests/test_media_tool_missing.py:91
Functiontest_the_retained_audio_is_the_most_recent
Head-trimming, not head-keeping — the useful speech is the latest.
tests/test_dictation_recovery_tail_bound.py:47
Functiontest_the_router_and_the_worker_share_one_cache
Two caches with no coordination is the #1169-adjacent memory bug engine_memory.py exists to prevent — and eviction there reaches for the route
tests/test_worker_executor_residency.py:217
Functiontest_the_rust_data_dir_mirror_agrees_with_python
()
tests/test_identity_paths_survive_the_rename.py:104
Functiontest_the_rust_mirror_of_the_identifier_agrees
()
tests/test_identity_paths_survive_the_rename.py:52
Functiontest_the_same_path_under_one_key_still_warns_once
...without giving up the de-duplication it exists for.
tests/test_missing_clone_ref_is_not_silent.py:172
Functiontest_the_same_reference_is_encoded_once
(sc, tmp_path)
tests/test_pockettts_sidecar.py:232
Functiontest_the_same_shape_wrapped_in_an_oserror_is_also_repaired
transformers wraps tensor-library failures in OSError, where the missing-shard check would drop it as unrecognised and re-raise.
tests/test_corrupt_weights_recovery_1406.py:152
Functiontest_the_scan_finds_the_sidecars_it_is_meant_to_guard
A guard that silently matched nothing would pass while protecting nothing.
tests/test_sidecar_stdout_isolation_1428.py:53
Functiontest_the_scheduler_finally_has_a_producer
B0: before this route existed, nothing in the app ever called submit.
tests/test_worker_service_api.py:674
Functiontest_the_second_clone_of_a_voice_transfers_nothing
( artifacts, voice, engine, tmp_path )
tests/test_worker_inputs.py:384
Functiontest_the_secret_never_appears_in_the_loggable_form
()
tests/test_worker_inbound_keys.py:550
Functiontest_the_shared_taxonomy_still_names_it_precisely
core/failure.py distinguishes a CUT connection from a failed handshake — the certifi/proxy advice would send the user to fix working trust.
tests/test_network_beats_install_diagnosis.py:145
Functiontest_the_shell_hands_the_token_to_the_backend_it_spawns
Without this a baked release token could never beat the in-repo default.
tests/test_no_committed_analytics_token.py:116
Functiontest_the_sherpa_paths_use_the_bounded_rate
Structural: both sherpa handlers get their rate from _sherpa_session, which must parse via the clamped helper — a raw int() of the query param
tests/test_dictation_recovery_tail_bound.py:95
Functiontest_the_sidecar_progress_loop_reports_activity
Pin the wiring: a progress frame arriving in SubprocessBackend.generate must bump the heartbeat. Without this, the waiter listens to a phone that
tests/test_model_load_extends_generate_budget.py:201
Functiontest_the_sidecar_script_path_resolves
(backend)
tests/test_pockettts_sidecar.py:407
Functiontest_the_size_gate_measures_the_frame_not_just_the_payload
A modest waveform under a huge result_json overflows the same frame — a payload-only check would let that one through and back into _pending.
tests/test_worker_client_liveness.py:543
Functiontest_the_small_fallbacks_are_smaller_than_the_heavy_models
The property that made the old numbers actively misleading. The low-RAM zipformers exist to rescue users whose machine cannot carry a 0.6B mo
tests/test_sherpa_model_sizes.py:119
Functiontest_the_spec_accepts_the_name_upstream_actually_ships
config.yaml is what IndexTeam/IndexTTS-2.5 contains.
tests/test_indextts_config_and_timeout_1611.py:57
Functiontest_the_spec_still_accepts_the_hand_renamed_config
Anyone who applied the pre-fix workaround must not have to reinstall.
tests/test_indextts_config_and_timeout_1611.py:63
Functiontest_the_streaming_path_emits_a_warning_frame_before_done
()
tests/test_dropped_audio_reaches_the_user_1330.py:154
Functiontest_the_sweep_forgets_instances_someone_else_evicted
engine_memory and model_lifecycle pop straight out of the cache; the timestamps must not keep those classes alive forever.
tests/test_worker_executor_residency.py:330
Functiontest_the_sweep_interval_can_be_shortened_with_the_threshold
Shortening only the threshold still means waiting a full minute to see a thirty-second rule fire, which reads as a broken sweep.
tests/test_worker_inbound_keys.py:757
Functiontest_the_sweep_releases_least_recently_used_first
(engine_cache)
tests/test_worker_executor_residency.py:246
Functiontest_the_tail_case_specifically
The reported shape: it is the LAST chunk that comes back empty, so the output ends early and everything before it sounds perfect.
tests/test_dropped_chunk_is_not_silent.py:77
Functiontest_the_target_endpoint_answers_per_operation
The badge on a tab whose work is entirely local must say so — and say why, in the words of that tab rather than the machine's.
tests/test_worker_service_api.py:857
Functiontest_the_thread_bump_never_exceeds_the_host_core_count
(monkeypatch, sd)
tests/test_sherpa_model_sizes.py:171
Functiontest_the_torch_stack_is_pinned_in_pyproject
Guards the rest of this file from passing vacuously if the pins move.
tests/test_rocm_torch_pins_match_pyproject.py:55
Functiontest_the_transformers_lazy_attribute_error_is_not
The reported failure. It carries no `name` at all, because transformers raises it by hand rather than through the import machinery — which is
tests/test_broken_dependency_diagnosis_1415.py:57
Functiontest_the_true_total_survives_trimming
is_model_silent gates on how much audio the session carried; capping the buffer must not make a long session look too short to be recoverable.
tests/test_dictation_recovery_tail_bound.py:36
Functiontest_the_two_budgets_do_not_share_a_counter
Review finding (#1224): the closed-client reset incremented the same counter as the download retries, so a session reset followed by transient
tests/test_truncated_download_retry.py:310
Functiontest_the_two_channels_are_actually_averaged
Distinct channels, so a downmix that silently dropped one would pass the tests above but not this one.
tests/test_sidecar_downmix_is_channel_aware.py:112
Functiontest_the_two_consumers_share_one_signature_list
A drift between "is this a disk problem?" (classify) and "should we name the folder?" (_with_target_facts) is what produced the finding above.
tests/test_dub_download_os_error.py:139
Functiontest_the_two_halves_stay_distinct
They are one class to the user and two repairs to the code — a resume for the missing half, a forced re-download for the damaged half. If these
tests/test_corrupt_weights_recovery_1406.py:66
Functiontest_the_two_registries_publish_the_same_name
()
tests/test_published_image_path_is_pinned.py:40
Functiontest_the_uninstall_allowlist_still_recognises_our_paths
()
tests/test_identity_paths_survive_the_rename.py:160
Functiontest_the_upload_lease_runs_on_the_result_delivery_budget
A slow delivery is bounded by ``result_delivery_seconds`` (900s), not by the execution budget it used to inherit — which is what made a large
tests/test_worker_upload_server.py:1382
Functiontest_the_upstream_eager_switch_still_exists
An audioseal bump that moves this seam must fail here, loudly, rather than silently restoring the 30-40 s compile on every user's first take.
tests/test_watermark_no_torch_compile_1615.py:91
Functiontest_the_voice_cache_is_bounded
A 50-speaker dub would otherwise hold every encoded voice state for the life of the process.
tests/test_pockettts_sidecar.py:283
Functiontest_the_warm_dictation_asr_can_be_unloaded
A SECOND instance of the same defect, found by the contract test below rather than by a user: `capture-asr` was listed as unloadable and the d
tests/test_unload_advertised_ids.py:88
Functiontest_the_warning_frame_is_not_an_error_frame
()
tests/test_dropped_audio_reaches_the_user_1330.py:164
Functiontest_the_watcher_ignores_unrelated_errors
It must not turn every logged OSError into "port in use" — a permission failure or an unreachable bind host is a different problem with different
tests/test_port_in_use_exit.py:251
Functiontest_the_weights_floor_accepts_either_config
(si, tmp_path, present)
tests/test_indextts_config_and_timeout_1611.py:70
Functiontest_the_weights_floor_still_rejects_a_config_less_dir
The floor's real job — catching a truncated download — is unchanged.
tests/test_indextts_config_and_timeout_1611.py:78
Functiontest_the_whole_stack_is_reinstalled_together
Torch, torchaudio and torchvision ship as one matched set. Reinstalling a subset leaves the others as the CUDA wheels that the ROCm build can
tests/test_rocm_torch_pins_match_pyproject.py:101
Functiontest_the_width_follows_measured_headroom
(batch, host, family, vram_gb, expected)
tests/test_dub_batch_width_and_budget.py:55
Functiontest_the_width_is_overridable
(batch, host, monkeypatch)
tests/test_dub_batch_width_and_budget.py:71
Functiontest_the_window_is_bounded
()
tests/test_worker_capacity.py:302
Functiontest_the_windows_dll_directory_handle_is_retained
`os.add_dll_directory` returns a context-manager cookie whose close (or garbage collection) UN-registers the directory again. Discarding it t
tests/test_cudnn8_hard_crash_1371.py:213
Functiontest_the_windows_paging_file_case_gets_its_own_advice
#1334: WinError 1455 used to sit in the list above and get the generic "ran out of memory / try Flush" message. It is still a memory-class fa
tests/test_generation_audio_guard.py:167
Functiontest_the_wiring_rewrites_a_language_rejection_end_to_end
Exercised through the real call path, not by reading its source: an assertion on source text passes even when the call is unreachable or its r
tests/test_engine_language_rejection.py:104
Functiontest_the_worker_input_cache_has_a_ceiling
(tmp_path)
tests/test_worker_inputs.py:689
Functiontest_the_worker_releases_engines_it_has_stopped_using
Requirement 6. A machine lending its GPU is usually not the one its owner is sitting at — holding several GB against a task that may never come is
tests/test_worker_agent.py:1634
Functiontest_the_workflow_binds_the_manifest_to_the_run_that_built_it
The rule above is only worth having if release.yml actually passes the timestamp — and passes `created_at`, not `run_started_at`: the latter r
tests/test_release_preview_manifest_rebuild.py:167
Functiontest_the_workflow_still_calls_this_module
The rules are only worth testing where they are used. A workflow that grew its own inline copy would pass every test above and ship the old bug.
tests/test_release_preview_manifest_rebuild.py:297
Functiontest_the_workflow_verifies_before_it_uploads
Order is load-bearing (greptile): uploading first and checking afterwards leaves a manifest that failed the check live and served, with the job me
tests/test_release_preview_manifest_rebuild.py:306
Functiontest_three_speaker_runs_split_into_three
()
tests/test_resplit_speaker.py:89
Functiontest_threshold_boundary
(repeats, survives)
tests/backend/services/test_refinement_collapse.py:78
Functiontest_throughput_not_probed_when_canonical_wins_latency
The ranged-GET sample only runs to confirm a decisive mirror win.
tests/test_endpoint_race.py:165
Functiontest_throughput_probe_failure_keeps_latency_verdict
(er)
tests/test_endpoint_race.py:159
Functiontest_throughput_tiebreak_confirms_mirror_win
(er)
tests/test_endpoint_race.py:143
Functiontest_throughput_tiebreak_vetoes_latency_noise
Mirror decisively faster on latency but slower on actual throughput — canonical keeps the win (throughput is what a multi-GB download feels).
tests/test_endpoint_race.py:150
Functiontest_ticket_cannot_be_redeemed_twice
(store: AdminSessionStore)
tests/test_admin_sessions.py:432
Functiontest_ticket_capacity_is_bounded
(clock: FakeClock)
tests/test_admin_sessions.py:488
Functiontest_ticket_expires_at_thirty_seconds
(store: AdminSessionStore, clock: FakeClock)
tests/test_admin_sessions.py:423
Functiontest_ticket_index_stays_consistent_across_mixed_removals
(clock: FakeClock)
tests/test_admin_sessions.py:283
Functiontest_ticket_is_scoped_to_normalized_path
(store: AdminSessionStore)
tests/test_admin_sessions.py:367
Functiontest_ticket_issuance_and_consumption_fail_after_key_removal
(store: AdminSessionStore)
tests/test_admin_sessions.py:411
Functiontest_ticket_issuance_rejects_invalid_or_inactive_sessions
(store: AdminSessionStore)
tests/test_admin_sessions.py:398
Functiontest_ticket_rejects_noncanonical_or_unapproved_paths
( store: AdminSessionStore, path: str )
tests/test_admin_sessions.py:389
Functiontest_tight_between_audio_only_and_absorb_cap
()
tests/test_duration_planner.py:119
Functiontest_time_past_last_chunk_carries_at_unit_rate
()
tests/test_fitted_subtitles.py:29
Functiontest_timed_watermark_deadline_returns_finished_audio
Both guarded deadline phases are watermark-only fail-open outcomes.
tests/test_watermark_prefetch_coldstart.py:318
Functiontest_timeout_captures_stacks_before_resetting_the_pool
Ordering is load-bearing, so it is asserted rather than assumed. ``reset()`` swaps in a fresh executor. Once that happens the wedged thread i
tests/test_gpu_wedge_stack_capture.py:121
Functiontest_timeout_does_not_cancel_queued_peers
reset() may drop the pool, but a peer already queued behind the wedged job must still run to completion. Pre-fix (`cancel_futures=True`) the peer
tests/test_gpu_pool_queue_accounting_1190.py:140
Functiontest_timeout_does_not_overlap_an_in_process_native_worker
()
backend/tests/test_asr_transcribe_timeout.py:83
Functiontest_timeout_does_not_propagate
(monkeypatch)
tests/test_loudness.py:66
Functiontest_timeout_env_name_is_parameterized
The chunked dub path passes its own knob; the message must name IT, not the whole-file env var (actionable errors point at the right dial).
backend/tests/test_asr_transcribe_timeout.py:193
Functiontest_timeout_env_override
(monkeypatch)
tests/test_mcp_startup_timeout.py:77
Functiontest_timeout_error_is_a_timeouterror_subclass
()
backend/tests/test_asr_transcribe_timeout.py:78
Functiontest_timeout_error_lands_in_timeout_state
()
tests/test_worker_lifecycle.py:270
Functiontest_timeout_error_names_the_env_knob
()
tests/test_gguf_source_build_runtime_1348.py:69
Functiontest_timeout_guidance_does_not_claim_capacity_was_restored
(mm)
tests/test_gpu_pool_queue_accounting_1190.py:199
Functiontest_timeout_keeps_capacity_reserved_until_engine_thread_exits
()
tests/test_worker_client_liveness.py:185
Functiontest_timeout_message_names_the_small_card
(monkeypatch)
tests/test_low_vram_advisory.py:132
Functiontest_timeout_message_unchanged_on_a_large_card
(monkeypatch)
tests/test_low_vram_advisory.py:140
Functiontest_timeout_message_unchanged_on_cpu
#896: a CPU-only host must never be blamed on VRAM.
tests/test_low_vram_advisory.py:173
Functiontest_timeout_parks_a_zombie_slot
The GPU thread survives the timeout, so its capacity does not return.
tests/test_worker_scheduler.py:545
Functiontest_timeout_parks_a_zombie_slot_instead_of_returning_it
A timed-out GPU job cannot be killed — the thread keeps the device. Returning the slot early is how a worker gets overcommitted into an OOM.
tests/test_worker_capacity.py:97
Functiontest_timeout_returns_partial_with_unreadable_warning
(roots)
tests/test_storage_report.py:232
Functiontest_timeout_with_mirror_not_misclassified_as_video_network
(mirror_env)
tests/test_hf_mirror_error_class.py:79
Functiontest_timeout_without_reset_capable_pool_does_not_crash
()
backend/tests/test_asr_transcribe_timeout.py:110
Functiontest_timing_line_tolerates_leading_and_inner_spaces
()
tests/test_srt_parser.py:169
Functiontest_tiny_line_skips_llm_expansion
A line under 15% of its slot can never honestly fill it — the LLM must not even be asked (it could only fabricate), and the line stays short.
tests/test_autofit_838.py:111
← previousnext →14,201–14,300 of 15,058, ranked by callers