MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_a_malformed_endpoint_is_rejected
()
tests/test_worker_agent.py:157
Functiontest_a_mismatched_fingerprint_stops_everything
The café-network substitution. A warn-and-continue here would make the entire pinning design decorative.
tests/test_worker_agent.py:131
Functiontest_a_missing_INPUT_file_is_not_handed_the_media_engine_remedy
The narrow half of the match. ffmpeg reporting that its *input* is missing is an entirely different problem — telling that user to reinstall t
tests/test_media_tool_missing.py:67
Functiontest_a_missing_cache_is_rejected
(dub, tmp_path)
tests/test_dub_batch_width_and_budget.py:180
Functiontest_a_missing_config_names_a_real_upstream_path
Degrade to the name upstream ships, so the error a user sees names a file that could actually exist.
tests/test_indextts_config_and_timeout_1611.py:115
Functiontest_a_missing_darwin_tarball_is_refused
Intel Mac silently dropping out of the manifest is how those users stop getting preview updates without anyone noticing.
tests/test_release_preview_manifest_rebuild.py:252
Functiontest_a_missing_dependency_of_omnivoice_is_not
A torch/torchvision mismatch fails by name — a real module, just not ours. Putting the omnivoice source on sys.path cannot help.
tests/test_broken_dependency_diagnosis_1415.py:70
Functiontest_a_missing_lease_falls_back_rather_than_spinning
An older control plane sends no deadlines at all; 0/3 would busy-loop.
tests/test_worker_client_liveness.py:134
Functiontest_a_missing_omnivoice_is_recognised
(mm)
tests/test_broken_dependency_diagnosis_1415.py:47
Functiontest_a_missing_omnivoice_submodule_is_recognised
(mm)
tests/test_broken_dependency_diagnosis_1415.py:51
Functiontest_a_missing_reference_is_logged
The reported case: the path survived in the saved job, the file did not.
tests/test_missing_clone_ref_is_not_silent.py:70
Functiontest_a_missing_reference_is_still_passed_to_the_engine
Diagnostic only, on purpose. Nulling it would not change what the user hears — the engine already falls back — and it would decide on the eng
tests/test_missing_clone_ref_is_not_silent.py:58
Functiontest_a_missing_reference_still_reaches_the_model
stat() failing is not this function's call to make — the model owns what it can resolve, and a path inside the sidecar's own namespace may be vali
tests/test_pockettts_sidecar.py:274
Functiontest_a_missing_signature_companion_is_refused
A `.sig` that never uploaded means the artifact is unverifiable — publishing its entry hands every client a check it cannot pass.
tests/test_release_preview_manifest_rebuild.py:244
Functiontest_a_missing_table_degrades_to_zero_rather_than_raising
An older DB predating a table must not break the panel.
tests/test_local_stats.py:115
Functiontest_a_model_failure_that_merely_says_unsupported_language_is_untouched
Review finding (#1257): a bare "unsupported language" prefix also matches "Unsupported language model ...", which is a model/config problem th
tests/test_engine_language_rejection.py:146
Functiontest_a_multichannel_cache_accounts_for_channels
(dub, tmp_path)
tests/test_dub_batch_width_and_budget.py:184
Functiontest_a_multiplexing_engine_names_its_configured_model
mlx-audio hides 7+ curated models behind one id (#981); scheduling and residency are about the model, not the adapter.
tests/test_worker_executor_residency.py:500
Functiontest_a_name_without_from_pretrained_does_not_count
Matching on name alone would move the failure, not fix it.
tests/test_moss_entry_point_1287.py:52
Functiontest_a_nameless_backend_still_names_itself
`or "engine" in message` would always pass — the production template contains the word — so it proved nothing about the fallback (#1257 review
tests/test_engine_language_rejection.py:127
Functiontest_a_negotiated_threshold_cannot_exceed_what_a_frame_holds
Otherwise a generous control plane turns every large result back into the RESULT_TOO_LARGE this phase exists to remove.
tests/test_worker_upload_client.py:514
Functiontest_a_nested_input_id_is_accepted_the_way_staging_really_writes_it
Staged inputs are nested, and the node must take them as they come. `task_store.stage_input` mints `inputs/<digest><ext>` — a path, not a bare
tests/test_worker_inbound_transport.py:4049
Functiontest_a_network_download_failure_is_still_network
The new rule must not steal transient failures — those DO retry.
tests/test_dub_download_os_error.py:71
Functiontest_a_non_committed_ack_resumes_from_the_server_offset
()
tests/test_worker_upload_client.py:524
Functiontest_a_non_finite_backoff_falls_back_to_the_default
Review finding (#1224): `float("inf")` parses fine and then makes `sleep(inf)` raise OverflowError, replacing a retryable download failure wit
tests/test_truncated_download_retry.py:335
Functiontest_a_non_tls_eof_is_not_called_a_network_failure
The EOF wording is OpenSSL's, but nothing stops an unrelated component from saying something similar. Mislabelling a local fault as a network
tests/test_network_beats_install_diagnosis.py:228
Functiontest_a_non_transient_failure_is_not_retried
()
tests/test_truncated_download_retry.py:98
Functiontest_a_nonsense_bound_still_yields_a_usable_buffer
A bad sr query param or env override must not produce a zero-length buffer that silently disables recovery.
tests/test_dictation_recovery_tail_bound.py:74
Functiontest_a_normal_ingest_is_unaffected
The gate must be invisible when nobody deletes anything — this runs on every import.
tests/test_dub_job_deleted_mid_ingest.py:305
Functiontest_a_normal_model_without_a_description_is_untouched
The guard must not block every other mlx-audio model, none of which take an instruct at all.
tests/test_mlx_audio_instruct_1405.py:91
Functiontest_a_normal_response_carries_the_marker
(client)
tests/test_backend_marker_header_1385.py:36
Functiontest_a_normal_save_still_writes
(monkeypatch)
tests/test_dub_job_deleted_mid_ingest.py:482
Functiontest_a_number_containing_401_is_not_an_auth_failure
(classify, text)
tests/test_classify_401_substring.py:44
Functiontest_a_panel_refuses_a_node_whose_tls_certificate_misses_the_pin
(inbound)
tests/test_worker_inbound_transport.py:403
Functiontest_a_panel_that_dials_a_node_ends_up_with_a_schedulable_worker
The whole feature in one assertion: paste a string, get a usable GPU.
tests/test_worker_inbound_transport.py:250
Functiontest_a_panel_with_no_key_never_reaches_the_worker_pool
(inbound)
tests/test_worker_inbound_transport.py:473
Functiontest_a_parameter_that_is_not_a_file_is_left_alone
(artifacts)
tests/test_worker_inputs.py:279
Functiontest_a_parked_slot_does_not_strand_the_worker_forever
B2: with `max_concurrent_tasks=1`, one lease expiry made the worker permanently unschedulable — `reap_zombie` had no caller and nothing else e
tests/test_worker_scheduler.py:1269
Functiontest_a_parked_slot_is_reclaimed_when_its_ttl_runs_out
B2: `reap_zombie` had no caller and the protocol has no message that would trigger one, so a single lease expiry at max_concurrent_tasks=1 made
tests/test_worker_capacity.py:114
Functiontest_a_parked_worker_is_recognised
(mm, stack)
tests/test_wedge_vs_slow_hardware_1416.py:62
Functiontest_a_partial_closed_client_phrase_does_not_override_the_install_advice
( failure, text )
tests/test_network_beats_install_diagnosis.py:255
Functiontest_a_partial_or_corrupt_token_hash_is_treated_as_legacy_state
A killed marker write must never make a spent token run again.
tests/test_worker_agent.py:1532
Functiontest_a_path_that_merely_ends_in_the_tool_name_is_not_a_missing_tool
Review finding (#1256): the match accepted any message ending in 'ffmpeg'/'ffprobe', so a missing FILE whose name happens to be the tool's was
tests/test_media_tool_missing.py:167
Functiontest_a_paused_worker_reports_its_breaker
(db, settings)
tests/test_worker_routing.py:161
Functiontest_a_ported_operation_still_runs_remotely
(db, settings)
tests/test_worker_routing.py:254
Functiontest_a_preview_that_fails_its_digest_is_not_committed
(sandbox, stub)
tests/test_gallery_previews.py:425
Functiontest_a_printing_library_cannot_corrupt_the_frame_stream
End-to-end proof, with a real subprocess and a real print(). Fail-before: with `stdout = sys.stdout.buffer`, the `print()` below lands betwee
tests/test_sidecar_stdout_isolation_1428.py:88
Functiontest_a_proven_candidate_still_beats_an_unproven_one
Accepting-on-timeout must not demote a candidate that actually works — otherwise a wedged user clone would shadow a healthy bootstrapped venv.
tests/test_engine_venv_probe_1414.py:152
Functiontest_a_punctuation_tail_never_becomes_its_own_chunk
The measured failure, swept across the boundary lengths that trigger it.
tests/test_no_unspeakable_chunks_1330.py:50
Functiontest_a_purge_larger_than_the_cap_keeps_all_of_its_own_markers
The cap must never discard a marker the current purge just recorded: those are the newest and the likeliest to still be held. The bound is the
tests/test_dub_job_deleted_mid_ingest.py:529
Functiontest_a_purge_that_wins_the_race_stops_the_save_entirely
The other ordering: purge first, then the pipeline reaches its save.
tests/test_dub_job_deleted_mid_ingest.py:198
Functiontest_a_pushed_input_cannot_escape_the_staging_directory
Accepting nested ids must not mean accepting traversal. The id is now hashed rather than used as a path, so it cannot steer placement at all.
tests/test_worker_inbound_transport.py:4081
Functiontest_a_pushed_input_that_does_not_match_its_checksum_is_refused
A truncated or corrupted input that gets staged anyway becomes a render that succeeds against the wrong audio.
tests/test_worker_inbound_transport.py:1830
Functiontest_a_raising_resolver_never_breaks_startup
(monkeypatch)
tests/test_media_tool_missing.py:156
Functiontest_a_raising_unload_does_not_strand_the_rest
(engine_cache)
tests/test_worker_executor_residency.py:259
Functiontest_a_real_auth_failure_still_classifies
(classify, text)
tests/test_classify_401_substring.py:74
Functiontest_a_real_failure_is_still_permanent
Widening the net must not make genuine errors retry forever.
tests/test_truncated_download_retry.py:55
Functiontest_a_real_import_failure_is_still_no
(probe)
tests/test_engine_venv_probe_1414.py:57
Functiontest_a_real_message_is_left_exactly_alone
The fix must not prefix class names onto errors that already read fine — every existing hint and classification matches on message text.
tests/test_dub_job_deleted_mid_ingest.py:93
Functiontest_a_real_network_drop_is_still_transient_and_not_escalated
The two paths must not bleed into each other.
tests/test_yt_drm_escalation.py:67
Functiontest_a_real_oom_still_gets_the_flush_hint
The new branch runs first, so pin it did not swallow genuine OOM.
tests/test_network_beats_install_diagnosis.py:209
Functiontest_a_realistic_ellipsis_ending_stays_whole
(ct)
tests/test_no_unspeakable_chunks_1330.py:71
Functiontest_a_receiver_that_never_commits_cannot_spin_the_upload_forever
A resume loop is bounded by a count, not by "did the offset change". The tempting guard — refuse when the receiver repeats the offset it just
tests/test_worker_client_liveness.py:609
Functiontest_a_recently_staged_input_is_never_swept
(db, artifacts, voice)
tests/test_worker_inputs.py:858
Functiontest_a_refused_resume_restarts_the_partial_expiry_lease
(plane)
tests/test_worker_upload_server.py:1031
Functiontest_a_rejected_manifest_is_recorded_but_not_raised
Signature failure is the one remote state worth showing the user.
tests/test_gallery_previews.py:340
Functiontest_a_remap_target_the_build_lacks_is_still_a_mismatch
Review finding (#1230): being IN the override map was treated as proof of compatibility. If the wheel ships neither the native arch nor the remap
tests/test_rocm_arch_gate.py:95
Functiontest_a_remembered_failure_expires
...but it must expire, or starting the server would need an app restart.
tests/test_lmstudio_model_discovery.py:208
Functiontest_a_render_that_keeps_completing_chunks_outlives_its_budget
The reported case in miniature. Fails with GpuJobTimeoutError before.
tests/test_chunk_progress_extends_generate_budget_1391.py:88
Functiontest_a_render_that_stops_completing_chunks_dies
Started fine, then hung — the half-wedged case. The last heartbeat must expire rather than vouch for the job indefinitely.
tests/test_chunk_progress_extends_generate_budget_1391.py:161
Functiontest_a_replaced_reference_file_is_re_encoded
Re-recording a clip and saving over the same filename is the ordinary way a user iterates on a voice. Keyed on the path alone, the cache kept serv
tests/test_pockettts_sidecar.py:241
Functiontest_a_reporting_task_is_never_swept
Silence is the failure signal, not slowness.
tests/test_worker_scheduler.py:715
Functiontest_a_restarted_worker_reconnects_without_a_new_token
Key-based identity is pointless if a restart needs a fresh token. The challenge signature binds to the worker id, so a worker that does not r
tests/test_worker_transport.py:1391
Functiontest_a_restored_attempt_still_has_an_anchor
`phase_started_at` is not persisted, so recovery falls back to the phase timestamps that are.
tests/test_worker_lifecycle.py:434
Functiontest_a_result_for_a_task_this_plane_forgot_is_acknowledged
After a restart the task graph is gone but the commit is on disk, and that fact is a durable verdict.
tests/test_worker_server_integrity.py:2612
Functiontest_a_result_for_another_workers_attempt_is_not_stored
Attempt ownership gates the write, so a second worker cannot overwrite the attempt that is about to win.
tests/test_worker_server_integrity.py:896
Functiontest_a_result_from_a_replaced_epoch_still_commits
A result is a statement about a past epoch by construction: it was assigned in the session the reconnect just replaced.
tests/test_worker_server_integrity.py:994
Functiontest_a_result_is_the_only_frame_queued_as_bulk
Everything the control plane uses to decide this worker is alive has to stay on the fast queue — including the upload's own progress.
tests/test_worker_upload_client.py:673
Functiontest_a_result_racing_the_sweeper_cannot_double_release
Two paths ending one attempt: `capacity.release` guards its per-model slot but decrements the worker-wide count regardless, so the second one
tests/test_worker_scheduler.py:1314
Functiontest_a_result_that_fits_is_still_held_for_redelivery
The guard must not cost at-least-once delivery for ordinary results.
tests/test_worker_client_liveness.py:521
Functiontest_a_result_this_plane_cannot_place_is_not_acknowledged
An ack is the worker's licence to forget. Granting it for a frame we dropped destroys the render.
tests/test_worker_server_integrity.py:2537
Functiontest_a_result_under_the_threshold_still_rides_inline
The upload path must not cost small results their single-frame delivery.
tests/test_worker_upload_client.py:392
Functiontest_a_resume_hashes_the_bytes_already_on_disk
Otherwise the digest would attest only to the resumed tail — verifying the half of the file that was never in doubt.
tests/test_worker_upload_server.py:995
Functiontest_a_resume_onto_corrupted_held_bytes_still_fails_verification
(plane)
tests/test_worker_upload_server.py:1015
Functiontest_a_revoked_choice_falls_back
(db, settings)
tests/test_worker_routing.py:241
Functiontest_a_revoked_key_cannot_persist_a_registration_identity
(store)
tests/test_worker_inbound_keys.py:403
Functiontest_a_revoked_key_stops_working_without_disturbing_the_others
(inbound)
tests/test_worker_inbound_transport.py:1047
Functiontest_a_running_job_is_not_unloaded_out_from_under_itself
A 40-minute dub touches the cache once, at the start. On elapsed time alone it is indistinguishable from a model nobody wants any more.
tests/test_worker_executor_residency.py:275
Functiontest_a_same_size_corrupt_cache_entry_is_hashed_off_loop_and_refetched
( tmp_path, monkeypatch )
tests/test_worker_inputs.py:398
Functiontest_a_same_size_replacement_is_caught_by_nanosecond_mtime
Size alone misses a re-record of identical length, and whole-second mtime misses one written within the same second — which is precisely what a sc
tests/test_pockettts_sidecar.py:257
Functiontest_a_second_failure_does_not_re_download_again
One bad shard must not turn into a full re-download per generate request. After one forced re-fetch that did not help, say so and stop (CodeRa
tests/test_corrupt_weights_recovery_1406.py:293
Functiontest_a_short_session_is_kept_whole
(ws)
tests/test_dictation_recovery_tail_bound.py:55
Functiontest_a_shutdown_mid_wait_does_not_claim_the_task_was_cancelled
The worker was never told to stop, so it may still be rendering.
tests/test_worker_service_api.py:751
Functiontest_a_silent_job_still_times_out_at_the_original_deadline
The non-regression that matters most: no heartbeats, no extension. A wedged job dies at ~timeout, not at the hard cap.
tests/test_model_load_extends_generate_budget.py:100
Functiontest_a_similar_prefix_is_not_a_false_positive
job-a2's own dir starts with the string "job-a" — the needle carries a trailing separator so prefix-sharing ids cannot collide.
tests/test_deleting_a_dub_keeps_dirs_others_use.py:104
Functiontest_a_single_chunk_that_rendered_says_nothing
(ct, caplog)
tests/test_dropped_chunk_is_not_silent.py:207
Functiontest_a_single_core_host_still_gets_the_base_default
(monkeypatch, sd)
tests/test_sherpa_model_sizes.py:177
Functiontest_a_single_delete_also_withdraws_an_inflight_job
(monkeypatch)
tests/test_dub_job_deleted_mid_ingest.py:290
Functiontest_a_single_sample_is_not_published
The first round trip after connect lands while the worker is still importing torch — publishing it shows a wildly wrong number.
tests/test_worker_capacity.py:286
Functiontest_a_single_short_text_is_still_one_chunk
(ct)
tests/test_no_unspeakable_chunks_1330.py:110
← previousnext →9,501–9,600 of 15,058, ranked by callers