MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_purge_survives_a_missing_artifact_directory
(db, tmp_path, monkeypatch)
tests/test_worker_inputs.py:870
Functiontest_purging_a_task_takes_its_artifacts_with_it
The regression: rows were purged, bytes were kept — forever.
tests/test_worker_inputs.py:824
Functiontest_put_empty_string_clears
(settings_mod)
tests/test_llm_endpoint_settings.py:67
Functiontest_put_enabled_true_persists
(fresh_app, monkeypatch)
tests/backend/test_perf_settings.py:62
Functiontest_put_get_job_in_memory
()
tests/test_dub_pipeline_state.py:93
Functiontest_put_manual_official_is_an_explicit_choice
Explicitly picking the official endpoint (mode=manual, empty url) must stick as manual — never silently become Auto.
tests/test_hf_mirror_settings.py:146
Functiontest_put_mode_auto_clears_explicit_and_races
(settings_mod, monkeypatch)
tests/test_hf_mirror_settings.py:123
Functiontest_put_mode_auto_clears_pref_fallback
The `hf_endpoint` pref (bootstrap-installer fallback) counts as explicit config too — switching to Auto must clear it.
tests/test_hf_mirror_settings.py:156
Functiontest_put_non_loopback_rejected
T-02-04: a PUT from a non-loopback origin is 403.
tests/backend/test_perf_settings.py:76
Functiontest_put_none_field_leaves_unchanged
(settings_mod)
tests/test_llm_endpoint_settings.py:55
Functiontest_put_omitted_fields_left_unchanged
(settings_mod, store)
tests/test_llm_skills.py:394
Functiontest_put_persists_and_flags_restart
(fresh_app)
tests/backend/test_compute_device_settings.py:62
Functiontest_put_persists_and_never_echoes_the_key
(settings_mod)
tests/test_asr_openai_compat_877.py:193
Functiontest_put_provider_override_round_trips
(settings_mod, store)
tests/test_llm_skills.py:378
Functiontest_put_rejects_unknown_and_unavailable_values
(fresh_app)
tests/backend/test_compute_device_settings.py:81
Functiontest_put_rejects_unknown_mode
(settings_mod)
tests/test_hf_mirror_settings.py:192
Functiontest_put_sets_and_masks
(settings_mod)
tests/test_llm_endpoint_settings.py:42
Functiontest_put_toggle_round_trips
(settings_mod, store)
tests/test_llm_skills.py:366
Functiontest_put_unknown_provider_404s
(settings_mod, store)
tests/test_llm_skills.py:412
Functiontest_put_unknown_skill_404s
(settings_mod, store)
tests/test_llm_skills.py:405
Functiontest_pyannote_binds_the_shim
The real proof: after the shim, pyannote's own `hf_hub_download` reference translates `use_auth_token` rather than raising.
tests/test_pyannote_hf_compat.py:50
Functiontest_pyannote_crash_with_turns_falls_back_to_turns_not_heuristic
When the hint routes a turns-job through pyannote and pyannote crashes mid-run, the inline turns are the fallback (better than the heuristic) and
tests/test_speaker_hint.py:243
Functiontest_pyannote_license_class_points_at_diarization_docs
Issue #78: the diarization warning toast deeplinks to the `License acceptance flow` section of `docs/features/diarization.md`, NOT to the gene
tests/backend/core/test_error_docs_map.py:56
Methodtest_pyannote_license_required_deeplinks_to_diarization_section
(self)
tests/test_diarization_error_class.py:199
Methodtest_pyannote_license_required_is_in_locked_taxonomy
If this test fails, the 5-class taxonomy was bumped without also bumping the TS mirror — see frontend/src/utils/errorDocsMap.ts and it
tests/test_diarization_error_class.py:205
Functiontest_pyannote_needs_auth_marker
()
tests/test_error_journal.py:41
Functiontest_pypi_metadata_and_wheel_digest_reach_the_verified_download_sink
()
tests/test_ghas_false_positive_invariants.py:79
Functiontest_python_package_metadata_points_to_voicestudio
()
tests/test_voicestudio_branding.py:80
Functiontest_python_prompt_prefix_stripped
(validator_module, tmp_path, capsys)
tests/scripts/test_validate_install_docs.py:150
Functiontest_python_security_floors_are_locked
()
tests/test_dependency_security_floors.py:47
Functiontest_pytorch_asr_model_overridable_via_env
(monkeypatch)
tests/test_pytorch_whisper_fallback.py:101
Methodtest_pytorch_whisper_default_repo_fails_open
openai/whisper-large-v3-turbo (the pytorch-whisper default) is not a catalog entry — the preflight stays out of the way (auto-download,
tests/test_asr_model_missing.py:208
Functiontest_pytorch_whisper_defers_to_model_fallback
When the registry itself resolves to pytorch-whisper, defer to the model's lazy load instead of constructing a second pipeline.
tests/test_transcribe_reference.py:86
Functiontest_q_empty_is_noop
A blank/whitespace `q` must not filter — it's the default picker state.
backend/tests/test_archetypes_api.py:123
Functiontest_q_matches_instruct_tokens
`q` also matches instruct tokens (e.g. an accent) so typing narrows the several-hundred-voice catalog instead of only the loaded page.
backend/tests/test_archetypes_api.py:114
Functiontest_q_substring_search_by_name
`q` reaches a featured voice by name — the gallery picker's search box.
backend/tests/test_archetypes_api.py:107
Functiontest_quant_map_valid
GGUF-02 — quant_map.json is well-formed and pinned to real SHAs.
tests/backend/engines/test_omnivoice_gguf.py:37
Functiontest_quant_override_clear_with_auto_sentinel
(isolated_db)
tests/backend/services/test_settings_store.py:450
Functiontest_quant_override_clear_with_none
(isolated_db)
tests/backend/services/test_settings_store.py:442
Functiontest_quant_override_rejects_freeform_path
T-04-05 — UI input cannot load an attacker-controlled GGUF path.
tests/backend/services/test_settings_store.py:461
Functiontest_quant_override_rejects_non_string
(isolated_db)
tests/backend/services/test_settings_store.py:477
Functiontest_quant_override_rejects_unknown_filename
Anything not in the quant_map.json allow-list is refused.
tests/backend/services/test_settings_store.py:469
Functiontest_quant_override_round_trip
A user picks a quant in Settings; after restart (modelled by a fresh `get_quant_override()` against the same SQLite path) the value still reso
tests/backend/services/test_settings_store.py:431
Functiontest_quarantine_status_shape
quarantine_status() returns the keys the frontend ErrorBoundary expects: quarantined, bundle_path, error_class.
tests/backend/core/test_gatekeeper_detect.py:92
Functiontest_query_and_legacy_cookie_remain_master_compatibility_channels
(monkeypatch, store)
tests/test_auth_principal.py:211
Functiontest_query_master_cannot_issue_session
()
tests/test_auth_session_api.py:182
Functiontest_query_param_key_passes
(key_env)
tests/test_bearer_middleware.py:155
Functiontest_queue_full_error_is_actionable
()
tests/test_worker_scheduler.py:132
Functiontest_queue_full_falls_back_quietly
(pool_executor)
tests/test_gpu_gateway.py:432
Functiontest_queue_is_bounded_and_refuses_at_the_door
Accepting into an unbounded queue means the user waits, then gets a timeout that looks like their hardware failed.
tests/test_worker_scheduler.py:122
Functiontest_queue_position_is_reported
Preserves the local queue's "2 jobs ahead of you" affordance.
tests/test_worker_scheduler.py:228
Functiontest_queue_wait_is_not_charged_to_the_execution_budget
A job that waits in line longer than its execution budget, then runs quickly, must SUCCEED. Pre-fix this raised GpuJobTimeoutError without the
tests/test_gpu_pool_queue_accounting_1190.py:53
Functiontest_queued_cancellation_releases_without_running_job
()
backend/tests/test_gpu_pool_abandon_cleanup.py:42
Functiontest_queued_capability_update_from_superseded_session_never_lands
( plane, monkeypatch )
tests/test_worker_server_integrity.py:1151
Functiontest_queued_synthesis_rechecks_license_after_acquiring_lock
( monkeypatch, mock_settings_store )
tests/test_pockettts_deferred.py:220
Functiontest_queued_task_past_its_deadline_fails_with_a_clear_reason
()
tests/test_worker_scheduler.py:747
Functiontest_queued_watermark_cancelled_by_shutdown_returns_finished_audio
Teardown cancellation of admitted work is lifecycle fail-open.
tests/test_watermark_prefetch_coldstart.py:248
Functiontest_quiet_user_is_not_a_silent_model
No speech-level audio => the user just didn't say anything. Falling back here would burn the capture engine on silence and emit a bogus warning.
backend/tests/test_dictation_silent_model.py:39
Functiontest_quinn_security_floor_is_locked
()
tests/test_dependency_security_floors.py:54
Functiontest_quoting_and_header_injection_are_neutralised
A dub filename comes from a video title, i.e. from the internet. A bare quote would end the quoted-string; a CRLF would split the header.
tests/test_content_disposition_unicode.py:88
Methodtest_raw_preset_returns_unmodified
(self)
tests/test_effects_chain.py:73
Methodtest_raw_returns_empty
(self)
tests/test_effects_chain.py:63
Functiontest_rc_none_returns_none
(monkeypatch)
tests/test_loudness.py:61
Functiontest_re_importing_the_same_id_revives_it
The one thing that legitimately un-deletes a job.
tests/test_dub_job_deleted_mid_ingest.py:360
Functiontest_read_missing_returns_none
()
tests/test_longform_resume.py:58
Functiontest_read_rejects_corrupt_json
()
tests/test_longform_resume.py:70
Functiontest_read_rejects_wrong_version
()
tests/test_longform_resume.py:63
Functiontest_readme_string_missing_fails
(drift_module, tmp_path, capsys)
tests/scripts/test_check_docs_drift.py:139
Functiontest_reads_and_writes_share_one_containment_rule
The asymmetry that made this bug possible was two implementations of the same rule, one of which was missing.
tests/test_worker_server_integrity.py:970
Functiontest_ready_linux_host_has_no_problem
()
tests/test_desktop_runtime_preflight.py:62
Functiontest_real_audio_is_normalized_to_target
()
tests/test_normalize_audio_silence.py:25
Functiontest_real_base_url_override_still_persists
(lp)
tests/test_llm_providers.py:202
Functiontest_real_bind_conflict_exits_with_the_dedicated_code
End-to-end against the REAL uvicorn: hold a port, run main.py's guard shape against it, and confirm the process exits 78 with an actionable me
tests/test_port_in_use_exit.py:108
Functiontest_real_caller_still_surfaces_import_error
A genuine access from real user code (not inspect.py) with the target missing must still raise ImportError — we only suppress inspect-triggered
backend/tests/test_asr_speechbrain_lazy_guard.py:65
Functiontest_real_cuda_is_untouched_by_the_rocm_branch
(monkeypatch)
tests/test_asr_device_aware_autodetect.py:443
Functiontest_real_drain_survives_pending_registration_discard_and_activation
(plane)
tests/test_worker_server_integrity.py:1305
Functiontest_real_error_survives_and_banner_does_not
()
tests/test_ffmpeg_banner_stripping.py:32
Functiontest_real_executable_magics_accepted
(tmp_path, magic)
tests/backend/services/test_binary_preflight.py:65
Functiontest_real_handshake_failures_still_classify_as_such
The new branch runs first, so guard that it didn't steal these.
tests/test_tls_dropped_classification.py:56
Functiontest_real_locales_spec
Blocking: all real locale files are valid JSON. Orphan-key/coverage run as advisory. The orphans were cleaned up — dead `gallery.cat_*` keys (rena
tests/probe/test_probe_i18n.py:50
Functiontest_real_model_digit_explosion_synthesizes
The exact #1173 trigger against the real ONNX graph: 110 chars of digits phonemize to ~1150 tokens. Before the fix: ONNXRuntimeError InvalidAr
tests/test_kitten_input_shape_1173.py:236
Functiontest_real_model_empty_input_typed_error
(real_kitten_backend)
tests/test_kitten_input_shape_1173.py:252
Functiontest_real_model_hello_world_still_works
(real_kitten_backend)
tests/test_kitten_input_shape_1173.py:246
Functiontest_real_oom_is_not_classified_as_compile_failure
(model_manager)
tests/test_compile_fallback.py:130
Functiontest_real_oom_signatures_still_classify_as_oom
(reason)
tests/test_generation_audio_guard.py:160
Functiontest_real_progress_is_forwarded_and_not_marked_keepalive
Keepalive and real progress must stay distinguishable on the wire, or the server cannot bound one and trust the other.
tests/test_worker_client_liveness.py:435
Functiontest_real_progress_renews_without_a_ceiling
Slow is not wedged: a task that keeps producing output keeps its lease however long it takes (a 40-minute dub is not a hung task).
tests/test_worker_scheduler.py:1142
Functiontest_real_repo_changelog_parses
The shipped changelog is the production input — it must parse into non-empty structured releases with the house sections.
tests/test_changelog_parse.py:99
Functiontest_real_repo_is_clean
The shipped inventory must match the shipped README/registries.
tests/scripts/test_check_docs_drift.py:167
Functiontest_real_round_trip_asr
()
tests/probe/test_probe_asr_e2e.py:28
Functiontest_real_silence_splitter_does_not_keep_silent_prefix
(monkeypatch)
tests/test_omnivoice_reference_bound.py:120
Functiontest_real_silence_splitter_ignores_transient_before_late_speech
(monkeypatch)
tests/test_omnivoice_reference_bound.py:137
Functiontest_real_worker_failures_are_charged
()
tests/test_worker_breaker.py:51
Functiontest_reaped_by_own_popen_reports_code_without_waitid
(no_waitid)
backend/tests/test_contained_subprocess_waitid_fallback.py:76
Functiontest_reaper_disabled_at_nonpositive_timeout
(echo)
tests/backend/services/test_subprocess_reaper.py:105
Functiontest_reaper_ignores_dead_sidecar
(echo)
tests/backend/services/test_subprocess_reaper.py:114
Functiontest_reaper_kills_idle_sidecar_then_respawns
(echo)
tests/backend/services/test_subprocess_reaper.py:66
Functiontest_reaper_skips_busy_sidecar
(echo)
tests/backend/services/test_subprocess_reaper.py:82
Functiontest_reason_is_non_empty_and_actionable
``str(StopIteration())`` is ``''``. A translation that kept an empty message would trade a hang for "unknown error", which is the failure class
backend/tests/test_pool_stopiteration_guard.py:59
Functiontest_reason_non_empty_when_exception_message_empty
()
tests/test_failure_helper.py:14
← previousnext →12,901–13,000 of 15,058, ranked by callers