MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_repeat_requests_reuse_the_cached_reference
Across requests too — the cache outlives a single render.
tests/test_clone_prompt_wiring.py:129
Functiontest_repeated_authenticated_input_calls_hit_the_per_key_disk_quota
( tmp_path, )
tests/test_worker_inbound_transport.py:2313
Functiontest_repeated_clones_of_one_voice_share_a_single_copy
(artifacts, voice, tmp_path)
tests/test_worker_inputs.py:202
Functiontest_repeated_line_is_deduped_by_default
(tmp_path)
tests/test_audiobook_expressive.py:346
Functiontest_repeated_registration_skips_unchanged_durable_mirrors
( monkeypatch, tmp_path )
tests/test_worker_agent.py:1389
Functiontest_repeated_token_source_collision_fails_closed
(clock: FakeClock)
tests/test_admin_sessions.py:123
Functiontest_repeated_unacked_results_hit_the_per_key_disk_quota
(tmp_path)
tests/test_worker_inbound_transport.py:2419
Functiontest_replaced_connection_cannot_mutate_the_live_session
Late connection-state frames belong to the connection that sent them.
tests/test_worker_server_integrity.py:1009
Functiontest_replacement_cancels_an_assignment_blocked_in_inbound_egress
(plane)
tests/test_worker_server_integrity.py:1986
Functiontest_replacement_cancels_an_old_assignment_blocked_in_control_write
(plane)
tests/test_worker_server_integrity.py:1904
Methodtest_replaces_mismatched_text_with_the_actual_clip_transcript
(self)
tests/test_speaker_clone_purity.py:199
Functiontest_repo_cache_dir_uses_env_cache
(monkeypatch, tmp_path)
tests/test_hf_cache_repair.py:307
Functiontest_repo_changelog_is_quiet_style
()
tests/test_changelog_style.py:150
Functiontest_report_renders_issue_button_on_failure
()
tests/probe/test_triage.py:92
Functiontest_report_shape
(report)
tests/test_diagnose.py:15
Functiontest_report_shape
()
tests/evals/test_evals_harness.py:132
Functiontest_report_written_on_clean
(drift_module, tmp_path)
tests/scripts/test_check_docs_drift.py:154
Functiontest_report_written_on_drift
(drift_module, tmp_path)
tests/scripts/test_check_docs_drift.py:145
Functiontest_reporter_source_still_emits_the_stamps
(report)
tests/scripts/test_crash_class_report.py:80
Functiontest_reporting_never_breaks_the_join
The diagnostic runs inside the join. One that throws would turn missing audio into a failed render — strictly worse than the bug. Asserts the
tests/test_dropped_chunk_is_not_silent.py:113
Functiontest_repr_and_debug_snapshot_contain_no_raw_credentials
(store: AdminSessionStore)
tests/test_admin_sessions.py:508
Functiontest_request_during_shutdown_gets_503_not_a_crash_shaped_500
A user-initiated request that triggers a load while the backend is shutting down must answer 503, not 500 (#1276). #1174 made this benign for
backend/tests/test_model_load_shutdown.py:390
Functiontest_request_ref_text_wins_and_is_not_persisted
A request-supplied transcript must skip ASR and must NOT be written to the profile (it may be a one-off override).
tests/test_generate_ref_text_persist.py:172
Methodtest_request_timing_wins
(self)
tests/test_dub_subtitles_309.py:136
Functiontest_require_admin_action_desktop_detail_is_plain_loopback
Desktop build, side-effectful GET: plain loopback detail.
tests/test_loopback_server_mode.py:309
Functiontest_require_admin_action_server_mode_detail_names_the_key
Server mode + key configured, side-effectful GET: names the key.
tests/test_loopback_server_mode.py:327
Functiontest_require_admin_desktop_detail_is_plain_loopback
Desktop build: no presented key can satisfy the gate.
tests/test_loopback_server_mode.py:267
Functiontest_require_admin_pin_only_server_mode_detail_is_plain_loopback
Server mode with ONLY a share PIN (Greptile P1, PR #1569): the PIN closes read-only bootstrap but no API key exists to present, so naming the
tests/test_loopback_server_mode.py:293
Functiontest_require_admin_server_mode_detail_names_the_key
Server mode with an API key configured: the 403 names the key.
tests/test_loopback_server_mode.py:281
Functiontest_require_local_allows_trusted_network
(monkeypatch)
tests/test_loopback_server_mode.py:157
Functiontest_require_local_rejects_untrusted_non_loopback
(monkeypatch)
tests/test_loopback_server_mode.py:163
Functiontest_require_loopback_rejects_trusted_network
(monkeypatch)
tests/test_loopback_server_mode.py:141
Functiontest_require_loopback_still_rejects_untrusted_non_loopback
(monkeypatch)
tests/test_loopback_server_mode.py:150
Functiontest_required_assets_matches_what_the_manifest_references
The caller fetches `.sig` files from this list; if it disagreed with the selection, the build would fail on a signature it was never asked to get.
tests/test_release_preview_manifest_rebuild.py:275
Functiontest_required_fields_present
()
tests/test_models_catalog.py:46
Functiontest_required_models_is_tts_only
()
tests/test_setup_recommendations.py:35
Functiontest_rerecord_replaces_previous_consent_file
(app_client)
tests/test_profile_consent.py:95
Functiontest_rerun_after_success_skips_completed_steps
(monkeypatch)
tests/test_sidecar_install.py:154
Functiontest_reserve_and_release_round_trip
()
tests/test_worker_capacity.py:63
Functiontest_reset_active_backend_is_idempotent_and_unloads
()
tests/test_mm2_lifecycle.py:66
Functiontest_reset_clears_state
(monkeypatch)
tests/backend/services/test_aec.py:145
Functiontest_reset_failure_does_not_persist_new_preferences
(monkeypatch)
tests/test_dictation_router.py:97
Functiontest_reset_failures_are_not_swallowed
A reset wrapped in ``except: pass`` hands the next test stale state while reporting success — the fixture would look like it worked and #1269 woul
backend/tests/test_shutdown_state_isolation.py:94
Functiontest_reset_keeps_wrapper_identity_drops_inner_pool
(mm)
tests/test_gpu_pool_resilient.py:44
Functiontest_reset_pool_after_wedge_is_shared_and_best_effort
One reset mechanism for every transcribe path (#730 residual A): it resets a reset-capable pool, no-ops a plain executor, and never raises.
backend/tests/test_asr_transcribe_timeout.py:212
Functiontest_reset_pool_on_wedge_is_a_noop_without_reset
A plain executor has no reset(); the helper must no-op, never raise — it runs on the failure path it's recovering from.
tests/test_dub_transcribe.py:553
Functiontest_reset_pool_on_wedge_resets_resilient_pool
#730: a chunk transcribe that times out wedges its GPU-pool worker. The chunked stream must abandon the pool so the next chunk / a concurrent TTS
tests/test_dub_transcribe.py:533
Functiontest_reset_still_swaps_the_pool_for_new_work
Dropping the poisoned pool (so new submits get a clean worker) is preserved — only the peer-cancelling part is gone.
tests/test_gpu_pool_queue_accounting_1190.py:173
Functiontest_reset_waits_for_killed_process_exit_or_fails
(monkeypatch, tmp_path)
tests/test_desktop_prod_scripts.py:350
Functiontest_residency_is_visible_to_the_scheduler
Warm vs cold is the dominant latency term — 8s versus minutes.
tests/test_worker_capacity.py:248
Functiontest_resident_model_gets_a_short_load_budget
()
tests/test_worker_deadlines.py:94
Functiontest_resolution_global_default
(db, monkeypatch)
tests/test_mcp_bindings.py:85
Functiontest_resolution_precedence
(db)
tests/test_mcp_bindings.py:69
Functiontest_resolve_accepts_hugging_face_hub_token_alias
HF docs list HUGGING_FACE_HUB_TOKEN as the legacy env-var name; the resolver must accept either.
tests/backend/services/test_token_resolver.py:242
Functiontest_resolve_caches_result
Second call returns the cached path without re-probing.
tests/backend/services/test_indextts_backward_compat.py:325
Functiontest_resolve_checkpoint_honors_test_sentinel
`OMNIVOICE_MODEL=test` (the suite-wide sentinel from tests/conftest.py) must pass through verbatim — the #693 bare-token self-heal mapping it to
tests/test_model_manager_preload.py:89
Functiontest_resolve_default_language_falls_back_to_profile
(german_profile)
tests/test_profile_language_propagation.py:161
Functiontest_resolve_default_language_none_when_nothing
(_init_db)
tests/test_profile_language_propagation.py:169
Functiontest_resolve_default_language_request_wins
()
tests/test_profile_language_propagation.py:154
Functiontest_resolve_does_not_scan_every_live_credential
(store: AdminSessionStore)
tests/test_admin_sessions.py:264
Functiontest_resolve_ffprobe_env_var_with_command_name_resolves_via_which
Legacy shape: env var set to a bare command name (not a path) — resolve via shutil.which so older Tauri shells that set FFPROBE_PATH=ffprobe still
tests/backend/services/test_ffmpeg_utils.py:111
Functiontest_resolve_ffprobe_falls_back_to_PATH
No env var → shutil.which result is returned.
tests/backend/services/test_ffmpeg_utils.py:61
Functiontest_resolve_ffprobe_falls_back_to_legacy_FFPROBE_PATH
OMNIVOICE_FFPROBE_PATH absent but legacy FFPROBE_PATH set → legacy used.
tests/backend/services/test_ffmpeg_utils.py:31
Functiontest_resolve_ffprobe_omnivoice_path_takes_precedence_over_legacy
Both env vars set → OMNIVOICE_FFPROBE_PATH wins.
tests/backend/services/test_ffmpeg_utils.py:43
Functiontest_resolve_ffprobe_prefers_omnivoice_env_var
OMNIVOICE_FFPROBE_PATH set to a real file → that path wins.
tests/backend/services/test_ffmpeg_utils.py:19
Functiontest_resolve_ffprobe_rejects_non_runnable_candidate
#360/#361/#362: a candidate that exists but cannot execute (corrupt / wrong-arch binary → WinError 193 on Windows) is skipped and the cascade
tests/backend/services/test_ffmpeg_utils.py:80
Functiontest_resolve_ffprobe_returns_None_when_nothing_resolves
No env, no PATH → returns None (no crash).
tests/backend/services/test_ffmpeg_utils.py:103
Functiontest_resolve_instruct_tolerates_object_object_sentinel
A pre-fix Voice Studio build persisted the literal "[object Object]" into voice_profiles.instruct (#550 et al). _resolve_instruct must DROP that
tests/backend/core/test_personalities.py:111
Functiontest_resolve_priority_app_wins
All three sources set + valid → App wins.
tests/backend/services/test_token_resolver.py:62
Functiontest_resolve_raises_actionable_without_clone
(monkeypatch)
tests/test_confucius4_scaffold.py:38
Functiontest_resolve_returns_expected_admin_capabilities
(store: AdminSessionStore)
tests/test_admin_sessions.py:156
Functiontest_resolve_returns_none_when_all_empty
(fresh_resolver, monkeypatch)
tests/backend/services/test_token_resolver.py:95
Functiontest_resolve_script_imports
``scripts/resolve_supertonic3_sha.py`` is importable + parses argv.
tests/test_supertonic3.py:346
Functiontest_resolve_skips_401_app_falls_to_env
App set but 401, env set and valid → resolver returns Env, not App. AUTH-06 mid-resolve fallback.
tests/backend/services/test_token_resolver.py:103
Functiontest_resolve_skips_empty_falls_to_env
No app token, env set, no CLI → Env wins.
tests/backend/services/test_token_resolver.py:82
Functiontest_resolve_snapshot_dir_falls_back_to_network_on_cache_miss
(monkeypatch)
tests/test_socks_proxy.py:115
Functiontest_resolve_snapshot_dir_prefers_complete_cache
(monkeypatch, tmp_path)
tests/test_socks_proxy.py:92
Functiontest_resolve_snapshot_dir_uses_local_dir
(tmp_path)
tests/test_socks_proxy.py:86
Functiontest_resolve_source_lang_priority
(monkeypatch)
tests/test_dub_translate.py:19
Functiontest_resolve_within_accepts_relative_and_existing_absolute_paths
(tmp_path)
tests/test_filesystem_boundaries.py:46
Functiontest_resolve_within_reads_a_stored_subpath
A persisted sub-path resolves to the same file on Windows and POSIX. Rows written on Windows, POSIX, or Docker must resolve identically after
tests/test_filesystem_boundaries.py:69
Functiontest_resolve_within_rejects_parent_and_absolute_escape
(tmp_path)
tests/test_filesystem_boundaries.py:90
Functiontest_resolve_within_rejects_symlink_escape
(tmp_path)
tests/test_filesystem_boundaries.py:104
Functiontest_resolve_within_rejects_traversal_through_either_separator
Splitting on both separators must not open a traversal path.
tests/test_filesystem_boundaries.py:81
Functiontest_resolves_every_name_upstream_has_used
(exported)
tests/test_moss_entry_point_1287.py:41
Functiontest_resolving_symlink_to_zero_byte_blob_not_flagged
(tmp_path)
tests/test_hf_cache_repair.py:131
Methodtest_respects_sentence_boundaries
(self)
tests/test_segmentation.py:164
Functiontest_respelling_not_rescanned_in_single_pass
()
tests/test_pronunciation.py:74
Functiontest_response_carries_no_job_shaped_fields
()
tests/test_dub_parse_subtitle_text.py:63
Functiontest_response_never_mirrors_a_large_body
(client)
backend/tests/test_validation_error_handler.py:59
Functiontest_rest_crud_roundtrip
(client)
tests/test_mcp_bindings.py:200
Functiontest_rest_polishes_text_like_ws_socket
P1 parity regression: the REST /transcribe `text` is polished (leading capital + terminal punctuation) exactly like the WS `final`. Before the fix
tests/test_capture_refine.py:68
Functiontest_rest_rejects_empty_client_id
(client)
tests/test_mcp_bindings.py:223
Functiontest_restart_never_mixes_generations_after_legacy_mirror_crash
A crash after the certificate mirror cannot pair it with an old id.
tests/test_worker_agent.py:1314
Functiontest_restart_releases_crash_surviving_input_bytes_from_the_quota
(tmp_path)
tests/test_worker_inbound_transport.py:2616
Functiontest_restart_removes_unindexed_staging_generations
(tmp_path)
tests/test_worker_inbound_transport.py:2279
Functiontest_restart_required_only_on_change
restart_required is honest: True only when the persisted value actually changes — a no-op re-save of the same URL must NOT nag the user to restart
tests/test_hf_mirror_settings.py:67
Functiontest_restore_bounds_a_legacy_queued_task_with_no_deadline
Pre-deadline rows otherwise survive every sweep forever.
tests/test_worker_scheduler.py:1250
Functiontest_restore_bundled_clears_override_and_is_always_safe
(mt, monkeypatch, tmp_path)
tests/test_media_tools.py:304
Functiontest_restore_is_a_no_op_on_unified_memory
Nothing to restore: the model was unloaded, and get_model() reloads it lazily on the next TTS call. Reloading it here would re-occupy the RAM we
tests/test_unified_memory_offload.py:67
← previousnext →13,201–13,300 of 15,058, ranked by callers