Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/debpalash/VoiceStudio
/ functions
Functions
15,058 in github.com/debpalash/VoiceStudio
⨍
Functions
15,058
◇
Types & classes
1,240
↳
Endpoints
303
Function
test_reason_str_for_fallback_and_unavailable_none_for_clean
()
tests/test_engine_routing.py:145
Function
test_reason_uses_message_when_present
()
tests/test_failure_helper.py:23
Function
test_recent_use_is_not_reaped
(echo)
tests/backend/services/test_subprocess_reaper.py:98
Function
test_recognized_failure_gets_constant_recovery_without_private_text
()
tests/test_response_safety.py:43
Function
test_recognizer_kind_constructs_and_transcribes
( fake_sherpa, no_download, monkeypatch, tmp_path, model_id, kind, factory, is_online, )
tests/test_sherpa_dictation.py:266
Function
test_recommendations_use_selected_worker_install_state
(monkeypatch)
tests/test_setup_recommendations.py:49
Function
test_recommended_badge_copy_belongs_to_whisper_tiny_in_every_locale
()
tests/test_dictation_model_copy.py:12
Function
test_recomputes_when_audio_newer_than_cache
(job_env)
tests/test_dub_onsets_route.py:112
Function
test_reconcile_converges_voice_profiles_to_base_schema
(tmp_path)
tests/test_db_schema_reconcile.py:69
Function
test_reconcile_flags_a_zombie_the_server_wrote_off
()
tests/test_worker_lifecycle.py:370
Function
test_reconcile_is_idempotent_and_additive_only
(tmp_path)
tests/test_db_schema_reconcile.py:78
Function
test_reconcile_loses_a_task_the_worker_no_longer_has
The worker is the source of truth for what is executing on it.
tests/test_worker_lifecycle.py:354
Function
test_reconcile_renews_the_lease_of_the_attempt_it_resumes
A resume that only cleared the disconnect left the attempt carrying an expiry stamped before the outage — so the next sweep failed the task the
tests/test_worker_lifecycle.py:331
Function
test_reconcile_resumes_a_task_the_worker_still_holds
()
tests/test_worker_lifecycle.py:311
Function
test_reconnect_backoff_grace_and_progress_lease_are_strictly_ordered
()
tests/test_worker_deadlines.py:119
Function
test_reconnect_cancels_an_attempt_unknown_to_the_control_plane
()
tests/test_worker_scheduler.py:643
Function
test_reconnect_claims_the_same_running_inbound_execution
(inbound)
tests/test_worker_inbound_transport.py:265
Function
test_reconnect_does_not_mistake_another_live_task_for_a_zombie
()
tests/test_worker_scheduler.py:653
Function
test_reconnect_failure_resolves_an_existing_waiter
()
tests/test_worker_scheduler.py:672
Function
test_reconnect_flags_zombies_for_cancellation
()
tests/test_worker_scheduler.py:629
Function
test_reconnect_inside_grace_window_commits_without_a_second_attempt
()
tests/test_worker_lifecycle.py:103
Function
test_reconnect_notifies_listeners_when_missing_work_is_requeued
()
tests/test_worker_scheduler.py:686
Function
test_reconnect_proves_key_possession
A server-assigned worker id is a name, not an authenticator.
tests/test_worker_protocol_contract.py:222
Function
test_reconnect_redelivers_an_inbound_result_not_yet_acknowledged
( inbound, monkeypatch )
tests/test_worker_inbound_transport.py:300
Function
test_reconnect_reports_in_flight_work
The worker is the source of truth for what is executing on it; without this a control-plane restart orphans every live task.
tests/test_worker_protocol_contract.py:187
Function
test_reconnect_seeds_capacity_from_claimed_live_attempts
(plane)
tests/test_worker_server_integrity.py:1586
Function
test_record_and_recent_order
()
tests/test_error_journal.py:52
Function
test_record_consent_sets_flag_and_stores_audio
(app_client)
tests/test_profile_consent.py:74
Function
test_record_export_defaults
(client)
tests/test_exports_api.py:356
Function
test_record_export_writes_history_row
(client)
tests/test_exports_api.py:339
Function
test_record_never_raises
(monkeypatch)
tests/test_error_journal.py:88
Function
test_recorded_community_use_is_idempotent_clone_profile
(client, tmp_path, monkeypatch)
backend/tests/test_community.py:571
Function
test_recorded_download_cap_is_atomic
(tmp_path, monkeypatch)
backend/tests/test_community.py:324
Function
test_recorded_download_follows_allowlisted_redirect
(tmp_path)
backend/tests/test_community.py:370
Function
test_recorded_download_rejects_non_audio_bytes
(tmp_path)
backend/tests/test_community.py:395
Function
test_recorded_download_rejects_redirect_before_external_request
(tmp_path)
backend/tests/test_community.py:350
Function
test_recorded_preview_is_served_from_same_origin
(client, tmp_path, monkeypatch)
backend/tests/test_community.py:311
Function
test_records_are_capped_at_three_newest_first
(sentinel_env)
backend/tests/test_run_sentinel.py:217
Function
test_recovery_preserves_interactive_before_batch
(db)
tests/test_worker_task_store.py:249
Function
test_recovery_tail_environment_override_is_finite_and_bounded
(ws, value, expected)
tests/test_dictation_recovery_tail_bound.py:69
Function
test_recv_eof_returns_none
(sc)
tests/test_confucius4_sidecar.py:145
Function
test_recv_raises_on_a_truncated_body
A body shorter than its header means the child died mid-write; looping on a stream that will never yield more would hang the parent instead.
tests/test_pockettts_sidecar.py:149
Function
test_recv_raises_on_a_truncated_body
A body shorter than its header means the child died mid-write; looping on a stream that will never yield more would hang the parent instead.
tests/test_subprocess_sidecar_wire.py:64
Function
test_recv_rejects_an_oversized_frame
Without the cap a corrupt length header allocates unbounded memory.
tests/test_pockettts_sidecar.py:143
Function
test_recv_rejects_an_oversized_frame
Without the cap a corrupt length header allocates unbounded memory.
tests/test_subprocess_sidecar_wire.py:58
Function
test_recv_rejects_oversize_frame
(sc)
tests/test_confucius4_sidecar.py:149
Function
test_recv_returns_none_at_eof
A closed pipe is an orderly parent shutdown, not an error.
tests/test_pockettts_sidecar.py:138
Function
test_recv_returns_none_at_eof
A closed pipe is an orderly parent shutdown, not an error.
tests/test_subprocess_sidecar_wire.py:53
Function
test_recv_timeout_has_a_floor
A 1s deadline kills every cold load before it can finish.
tests/test_pockettts_sidecar.py:355
Function
test_recv_timeout_honours_a_sane_override
(backend, monkeypatch)
tests/test_pockettts_sidecar.py:361
Function
test_recv_timeout_rejects_garbage
(backend, monkeypatch)
tests/test_pockettts_sidecar.py:350
Function
test_recv_timeout_rejects_non_finite_values
inf would disable the deadline entirely, so a wedged sidecar would never be reaped — the watchdog is the whole reason this engine is a subprocess.
tests/test_pockettts_sidecar.py:342
Function
test_redaction_pattern_failure_is_fail_closed
(monkeypatch, target)
tests/test_scrub.py:169
Function
test_redacts_args_tuple
(redactor_logger, caplog)
tests/backend/core/test_logging_filter.py:38
Function
test_redacts_msg_substring
(redactor_logger, caplog)
tests/backend/core/test_logging_filter.py:30
Function
test_redacts_multiple_tokens
(redactor_logger, caplog)
tests/backend/core/test_logging_filter.py:68
Function
test_redirect_is_rejected_without_following_location
(outbound_http, monkeypatch)
tests/test_gptsovits_endpoint_security.py:165
Function
test_redos_safe_on_adversarial_input
()
tests/test_ssml_lite.py:138
Function
test_reentrant_disable_cannot_publish_a_cached_enabled_row
( plane, monkeypatch )
tests/test_worker_server_integrity.py:2215
Function
test_reentrant_generate_does_not_deadlock
generate re-entering model.generate on the dedicated thread must run inline (a 1-worker executor submitting to itself would deadlock).
tests/test_compile_thread_affinity.py:190
Function
test_reentrant_revoke_cannot_activate_a_cached_authority_row
( plane, monkeypatch )
tests/test_worker_server_integrity.py:1771
Function
test_ref_prep_caps_length
(tmp_path, fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:132
Function
test_ref_prep_fail_open_on_unreadable_path
(fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:152
Function
test_ref_prep_noop_on_all_silence_clip
(tmp_path, fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:146
Function
test_ref_prep_noop_on_short_clean_clip
(tmp_path, fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:140
Function
test_ref_prep_result_is_cached
(tmp_path, fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:157
Function
test_ref_prep_trims_edge_silence
(tmp_path, fresh_ref_cache)
tests/test_voxcpm2_guardrails.py:120
Function
test_reference_audio_is_copied_into_the_artifact_store
(artifacts, voice)
tests/test_worker_inputs.py:185
Function
test_reference_audio_travels_with_the_assignment
A clone's reference lives only on this machine, so the assignment has to carry it — the transport is what stages it onto the worker.
tests/test_generation_remote_routing.py:290
Function
test_refine_flag_adds_refined_text_when_changed
(client, monkeypatch)
tests/test_capture_refine.py:113
Function
test_refine_guard_ratio_env_override
(monkeypatch)
tests/test_translator.py:209
Function
test_refine_guard_short_reference_uses_absolute_cap
()
tests/test_translator.py:200
Function
test_refine_identical_result_omits_refined_text
(client, monkeypatch)
tests/test_capture_refine.py:138
Function
test_refine_noop_omits_refined_text
(client, monkeypatch)
tests/test_capture_refine.py:128
Method
test_refine_ref_texts_alone_has_no_wall_clock_bound
(self)
tests/test_speaker_clone_purity.py:277
Function
test_refine_timeout_env_default_and_override
(monkeypatch)
tests/backend/services/test_refinement_llm.py:160
Function
test_refine_transcript_builds_structured_few_shot
(monkeypatch)
tests/backend/services/test_refinement_llm.py:68
Function
test_refined_text_is_also_polished
`refined_text` is polished too, so both surfaced strings read as typed text (an LLM that forgets the trailing period still yields a clean final).
tests/test_capture_refine.py:81
Function
test_refinement_state_reflects_disabled_skill
(skills, store)
tests/test_llm_skills.py:341
Method
test_refines_every_entry_in_place_and_returns_the_dict
(self)
tests/test_speaker_clone_purity.py:227
Function
test_reflect_falls_back_on_divergent_rewrite
A rewrite that diverges from the draft (runaway length — hallucinated dialogue / commentary) is refused; the direct translation ships.
tests/test_dub_translation_quality.py:349
Function
test_reflect_falls_back_silently_on_failure
ANY failure in the extra steps (critique or rewrite) keeps the direct translation with NO per-segment error — refinement never fails a segment.
tests/test_dub_translation_quality.py:323
Function
test_reflect_polishes_direct_translation
Happy path: direct → critique → rewrite; the polished line ships and the direct translation is kept as `literal` for the 3-column view.
tests/test_dub_translation_quality.py:289
Function
test_reflect_unit_fallbacks
reflect_translation_sync returns None (keep direct) for: empty draft, empty rewrite, rewrite == draft, and critique echoed back as the line.
tests/test_dub_translation_quality.py:374
Function
test_refresh_sends_capability_update
()
tests/test_worker_capability_refresh.py:23
Function
test_refusal_reply_rejected_keeps_input
A refusal/commentary reply must not replace a long line just because its length happens to land near the slot budget.
tests/test_autofit_838.py:89
Method
test_regenerating_a_language_replaces_only_that_language
(self, two_track_job)
tests/test_dub_per_lang_subtitles.py:91
Function
test_register_and_refresh_share_one_off_loop_capability_probe
()
tests/test_worker_capability_refresh.py:36
Function
test_register_keeps_an_unacknowledged_result_alive
The worker holds the only copy. Reconciling it away as LOST while it is redelivering is the largest silent-loss path in the system.
tests/test_worker_server_integrity.py:982
Function
test_register_unregister_has_active
()
tests/test_dub_pipeline_state.py:70
Function
test_registered_in_asr_registry
()
tests/test_sherpa_dictation.py:320
Function
test_registered_in_backend_list
(asr_mod)
tests/test_asr_openai_compat_877.py:238
Function
test_registered_in_lazy_registry
()
tests/test_confucius4_scaffold.py:14
Function
test_registered_in_picker
()
tests/test_funasr_backend.py:93
Function
test_registration_confirmation_timeout_discards_the_provisional_session
A node silent after Register must release its handshake and retry.
tests/test_worker_inbound_transport.py:532
Function
test_registration_declares_semantic_features
(proto)
tests/test_worker_protocol_contract.py:80
Function
test_registration_negotiates_a_version_range
(proto)
tests/test_worker_protocol_contract.py:74
Function
test_registration_persistence_failure_adopts_no_live_session
The server response is not usable until its reconnect identity is durable.
tests/test_worker_transport.py:514
Function
test_registration_persistence_is_off_loop_and_drained_before_adoption
Cancellation cannot publish a session while its identity write is active.
tests/test_worker_transport.py:550
Function
test_registration_refusal_escapes_the_reconnect_loop
A spent or rejected token needs a new user action, not backoff forever.
tests/test_worker_transport.py:425
← previous
next →
13,001–13,100 of 15,058, ranked by callers