MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_cinematic_budget_disabled_runs_to_completion
Budget <= 0 disables the bound — every segment gets its refine.
tests/test_translator.py:253
Functiontest_cinematic_empty_literal_is_passthrough
()
tests/test_translator.py:53
Functiontest_cinematic_full_chain_with_mocked_llm
(monkeypatch)
tests/test_translator.py:69
Methodtest_cinematic_has_reverb
(self)
tests/test_effects_chain.py:58
Functiontest_cinematic_ignores_dialect_from_other_language
A leftover es-AR dialect must not contaminate a French translation.
tests/test_dub_dialect.py:189
Functiontest_cinematic_no_llm_returns_literal_with_marker
(monkeypatch)
tests/test_translator.py:37
Functiontest_cinematic_path_plans_the_refined_text
The cinematic/autofit merge path stamps plans too — on the FINAL (refined) text, after the fit pass.
tests/test_dub_duration_plan_api.py:188
Methodtest_cinematic_preset_returns_tensor
(self)
tests/test_effects_chain.py:85
Functiontest_cinematic_quality_reports_dialect_applied
(monkeypatch)
tests/test_dub_dialect.py:156
Functiontest_cinematic_refine_sync_injects_dialect_into_prompts
(monkeypatch)
tests/test_dub_dialect.py:86
Functiontest_cinematic_refine_sync_no_dialect_keeps_prompts_clean
(monkeypatch)
tests/test_dub_dialect.py:115
Functiontest_cinematic_reflect_failure_returns_literal
(monkeypatch)
tests/test_translator.py:100
Functiontest_cinematic_sane_adaptation_accepted
A faithful, idiomatic rewrite passes every guard untouched.
tests/test_translator.py:162
Functiontest_cjk_already_punctuated_passes_through
()
tests/test_text_polish.py:54
Functiontest_cjk_counts_as_speakable
The speakable test is \\w-based across all scripts, not ASCII letters — a CJK chunk must never be mistaken for punctuation and folded away.
tests/test_no_unspeakable_chunks_1330.py:119
Functiontest_cjk_dangling_comma_swapped
()
tests/test_text_polish.py:65
Functiontest_cjk_gets_fullwidth_stop
()
tests/test_text_polish.py:60
Functiontest_cjk_passthrough_untouched
()
tests/test_text_normalization.py:176
Functiontest_cjk_taxonomy_tokens_match
Chinese taxonomy tokens (derived from voice_design.py) map to EN attrs.
tests/test_describe_voice.py:111
Methodtest_clamp
(self, raw, expected)
tests/test_speaker_hint.py:272
Functiontest_clamp_above_ceiling_snaps_to_320k
(raw)
tests/test_dub_export_bitrate.py:41
Functiontest_clamp_below_floor_snaps_to_64k
(raw)
tests/test_dub_export_bitrate.py:36
Functiontest_clamp_defaults_192k_on_empty_str
Empty string should also be treated as default, not crash.
tests/test_dub_export_bitrate.py:58
Functiontest_clamp_malformed_falls_back_to_192k
Non-numeric / empty / scientific-notation values hit the ValueError branch and get the 192k default.
tests/test_dub_export_bitrate.py:46
Functiontest_clamp_negative_int_clamps_to_floor
Negative values parse as int fine but clamp up to the 64k floor — not a ValueError case.
tests/test_dub_export_bitrate.py:52
Functiontest_clamp_normal_values_pass_through
(raw, expected)
tests/test_dub_export_bitrate.py:31
Functiontest_classic_generate_unaffected_by_stream_default
stream defaults to false → classic WAV response with the same headers.
tests/test_generate_streaming.py:445
Functiontest_classification_sees_the_error_not_the_banner
classify() runs on the same text; matching against a build string is how a real topic gets missed. Asserts the BANNER IS GONE, not merely tha
tests/test_ffmpeg_banner_stripping.py:77
Functiontest_classification_still_works_through_the_wrapper
`build_failure` classifies on the raw text; adding a class prefix must not break the hint lookup for messages that do classify.
tests/test_dub_job_deleted_mid_ingest.py:102
Functiontest_classification_survives_colourized_output
Invariance guard, not a repair: today's ``classify`` patterns all match on substrings past the escape, so this passes with or without the strip.
tests/test_failure_ansi_stripping.py:108
Functiontest_classifier_matches_flashinfer_markers
()
tests/test_flashinfer_optin.py:106
Functiontest_classifier_walks_the_cause_chain
()
tests/test_flashinfer_optin.py:114
Functiontest_classify
(exc, trace, expected)
tests/test_error_journal.py:37
Functiontest_classify_broken_venv_encodings
()
tests/test_failure_classify.py:99
Functiontest_classify_broken_venv_missing_own_package
()
tests/test_failure_classify.py:109
Functiontest_classify_build
(report, body, version, expected)
tests/scripts/test_crash_class_report.py:76
Functiontest_classify_compute_type_unsupported
()
tests/test_failure_classify.py:10
Functiontest_classify_corrupted_transformers_file
()
tests/test_failure_classify.py:37
Functiontest_classify_generic_still_empty
()
tests/test_failure_classify.py:177
Functiontest_classify_local_directory_missing_weights_signature
()
tests/test_hf_cache_repair.py:542
Functiontest_classify_missing_weights_signature
()
tests/test_hf_cache_repair.py:497
Functiontest_classify_os_invalid_argument_einval
()
tests/test_failure_classify.py:59
Functiontest_classify_repair_messages
()
tests/test_hf_cache_repair.py:511
Functiontest_classify_socks_proxy_support_missing
()
tests/test_failure_classify.py:121
Functiontest_classify_ssl_handshake_failure
()
tests/test_failure_classify.py:146
Functiontest_classify_transformers_import
()
tests/test_failure_classify.py:22
Functiontest_classify_unrelated_errors_not_cache_corrupt
()
tests/test_hf_cache_repair.py:522
Functiontest_classify_video_download_classes
()
tests/test_failure_classify.py:80
Functiontest_clause_fallback_when_no_sentence_end
()
tests/test_chunked_tts.py:61
Functiontest_clean_audio_rejects_non_loopback
`/clean-audio` (POST) was previously reachable from any LAN host — a resource-exhaustion vector (uploads + demucs CPU/GPU burn). Now gated at
tests/test_api.py:677
Functiontest_clean_dub_no_flags
()
tests/test_dub_qc.py:44
Functiontest_clean_epub_yields_all_chapters
()
backend/tests/test_longform_import_parse_failure.py:50
Methodtest_clean_input_preserves_sentence_structure
(self, app_client)
tests/test_dub_transcribe.py:716
Functiontest_clean_state_passes
(validator_module, tmp_path, capsys)
tests/scripts/test_validate_install_docs.py:55
Functiontest_clean_state_passes
(drift_module, tmp_path, capsys)
tests/scripts/test_check_docs_drift.py:86
Functiontest_clean_text_content_unchanged
()
tests/backend/services/test_refinement_collapse.py:58
Functiontest_cleanup_ignores_legacy_non_mapping_translations
()
tests/test_dub_cleanup_preserves_translations.py:42
Functiontest_cleanup_preserves_editor_metadata_and_combines_translations
()
tests/test_dub_cleanup_preserves_translations.py:4
Functiontest_clear_app_token_also_logs_out_when_requested
(fresh_resolver, monkeypatch)
tests/backend/services/test_token_resolver.py:230
Functiontest_clear_app_token_removes_from_store
(fresh_resolver, monkeypatch)
tests/backend/services/test_token_resolver.py:216
Functiontest_clear_demotion_without_args_forgets_everything
()
backend/tests/test_dictation_model_demotion.py:78
Functiontest_clear_empties_cache
(tmp_path)
tests/test_clone_prompt_cache.py:107
Functiontest_clear_failure_keeps_entries_retryable
(monkeypatch, caplog)
tests/test_error_journal.py:113
Functiontest_clear_history_also_evicts_in_memory_jobs
`DELETE /dub/history` deleted every row but evicted nothing from memory, so an in-flight job survived "clear history" outright and re-saved itself
tests/test_dub_job_deleted_mid_ingest.py:231
Functiontest_clear_history_sweeps_inflight_jobs
()
tests/test_dub_job_deleted_mid_ingest.py:445
Functiontest_clear_is_idempotent_when_durable_mirror_is_already_absent
(tmp_path, monkeypatch)
tests/test_error_journal.py:126
Functiontest_clear_manifest
()
tests/test_longform_resume.py:49
Functiontest_clear_preserves_salt
(isolated_db)
tests/backend/services/test_settings_store.py:118
Functiontest_clear_removes_sessions_tickets_and_key_generation
(store: AdminSessionStore)
tests/test_admin_sessions.py:520
Functiontest_clear_removes_token
(isolated_db)
tests/backend/services/test_settings_store.py:97
Functiontest_clear_reverts_to_default
(env)
tests/test_models_dir_setting.py:132
Functiontest_clear_temp_empty_dir_is_a_noop
(tmp_path)
tests/test_storage_report.py:352
Functiontest_clear_temp_endpoint_clears_and_invalidates_cache
(roots, monkeypatch, tmp_path)
tests/test_storage_report.py:359
Functiontest_clear_temp_removes_only_app_owned_entries
(tmp_path)
tests/test_storage_report.py:318
Functiontest_clear_temp_unlinks_symlinks_without_following
(tmp_path)
tests/test_storage_report.py:337
Functiontest_clear_to_official_also_clears_pref_fallback
Switching to official (manual, empty url) must also drop the legacy `hf_endpoint` pref fallback — the download paths resolve it as an explicit
tests/test_hf_mirror_settings.py:166
Functiontest_clearing_a_large_history_mid_render_does_not_evict_the_running_job
Review finding (#1252, Greptile P1): a count-bounded LRU is evictable by ordinary use. `DELETE /dub/history` selects every row with no limit,
tests/test_dub_job_deleted_mid_ingest.py:375
Functiontest_clearing_history_mid_ingest_is_not_undone_by_the_next_checkpoint
Review finding (#1252): dict membership can't express "withdrawn". An ingest's FIRST persistence CREATES the entry, so an absent key means "n
tests/test_dub_job_deleted_mid_ingest.py:264
Functiontest_clearing_override_returns_to_active
(skills, store)
tests/test_llm_skills.py:91
Functiontest_cli_entry_still_exits_nonzero_when_sdk_missing
The standalone `python -m backend.mcp_server` run SHOULD exit(1) on a missing SDK — only the embedded/library path must not.
tests/test_mcp_graceful_degradation.py:75
Functiontest_cli_exposes_speakers_flag
omnivoice-dub --speakers N must parse and be forwarded as the num_speakers query param on the legacy transcribe endpoint.
tests/test_speaker_hint.py:294
Functiontest_client_binds_override_provider
(skills, store)
tests/test_llm_skills.py:152
Functiontest_client_disables_sdk_retries
max_retries=0 — mirrors llm_skills.resolve_skill_client: a slow/rate- limited server retrying inside the SDK would blow past the caller's own
tests/test_asr_openai_compat_877.py:171
Functiontest_client_is_built_with_exception_autocapture_OFF
The SDK's own default ships raw tracebacks — home paths, and in this codebase HF tokens out of exception messages — bypassing the redaction in
tests/test_analytics_optin.py:251
Functiontest_client_none_when_construction_fails
(skills, store, monkeypatch)
tests/test_llm_skills.py:170
Functiontest_client_none_when_disabled
(skills, store)
tests/test_llm_skills.py:145
Functiontest_client_rejects_non_http_url_handlers
()
tests/test_speech_client.py:42
Functiontest_client_uses_active_when_no_override
(skills, store)
tests/test_llm_skills.py:163
Functiontest_clip_clamped_to_audio_bounds
(tmp_path, vocals)
tests/test_segment_refs.py:64
Methodtest_clipping_prevention
Output should not exceed [-1.0, 1.0] range after limiter presets.
tests/test_effects_chain.py:122
Methodtest_clock_skew_at_the_boundary_does_not_refuse
(self)
tests/test_release_preview_manifest_rebuild.py:148
Functiontest_clone_create_defaults_kind
(app_client)
tests/test_profile_unification.py:142
Functiontest_clone_dir_inserted_at_sys_path_front
(sc, monkeypatch)
tests/test_confucius4_sidecar.py:105
Functiontest_clone_lookup_uses_the_same_portable_speaker_slug_as_profile_ids
()
tests/test_dub_voice_match.py:140
Functiontest_clone_profile_save_sanitizes_instruct
The 400-on-every-use class recurred THREE times via clients that bypassed the frontend filter; the server-side save heal was gated to design-k
tests/test_recurrence_hardening.py:43
Functiontest_clone_requires_ref_audio
(app_client)
tests/test_profile_unification.py:61
Functiontest_clone_with_transcript_and_overrides
ref_audio+ref_text → continuation cloning; num_step/guidance forwarded.
tests/test_dots_tts.py:108
Functiontest_cloning_capable_engine_ids_excludes_fixed_voice_engines
()
tests/test_dub_batch_engine_selection.py:120
Functiontest_cloning_capable_engine_ids_excludes_model_dependent_adapters
()
tests/test_dub_batch_engine_selection.py:127
Functiontest_close_credit_counts_full_size_even_if_n_never_advanced
()
tests/test_fdl_download_preflight.py:69
← previousnext →10,201–10,300 of 15,058, ranked by callers