MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 31 callersFunctionclassify
Map a failure reason to a docs-taxonomy key, or "" when unknown. Heuristic substring match — mirrors the frontend ``classifyError`` so the ba
backend/core/failure.py:362
↓ 31 callersMethodclassify
(ratio)
tests/test_api.py:429
↓ 31 callersMethodconnect_panel
(self, secret=None, *, wait=True)
tests/test_worker_inbound_transport.py:182
↓ 31 callersMethodreplace
Re-render one preview: same key, different bytes — the update case.
tests/test_gallery_previews.py:152
↓ 31 callersFunctionsleep
(ms)
scripts/clear-dev-ports.mjs:197
↓ 30 callersMethod_on_assignment
(self, assignment: pb.TaskAssignment)
backend/worker/transport/client.py:907
↓ 29 callersFunction_chunks
Split ``payload`` into offset-correct chunks.
tests/test_worker_upload_server.py:540
↓ 29 callersFunction_task
(**kw)
tests/test_worker_lifecycle.py:21
↓ 29 callersMethodall
(self)
backend/api/routers/setup/models.py:75
↓ 29 callersFunctionrefresh
()
frontend/src/components/settings/WorkersPanel.jsx:119
↓ 29 callersFunctionresolve
(stack)
frontend/src/utils/ssmlLite.js:34
↓ 28 callersMethodregister
Join on first call, prove key possession on every later one.
tests/test_worker_server_integrity.py:90
↓ 28 callersMethodstore
Persist a freshly rendered segment. Best-effort — a full disk or unwritable cache dir must never fail the chapter render. ``nonce`` ma
backend/services/longform_render.py:270
↓ 28 callersMethodupload
(self, chunks)
tests/test_worker_upload_server.py:179
↓ 27 callersFunction_req_full
Richer stub carrying the channels the admin-credential check reads: headers, query params, cookies, and app.state.network_share.pin.
tests/test_loopback_server_mode.py:170
↓ 27 callersMethodassign
Create the next attempt on ``worker_id``.
backend/worker/lifecycle.py:370
↓ 27 callersMethodfinal_path
(self, task, attempt)
tests/test_worker_upload_server.py:176
↓ 26 callersFunction_activate_groq
Configure + activate a remote provider directly through the store.
tests/test_llm_skills.py:55
↓ 26 callersMethodabort
(self, code, message)
tests/test_worker_transport.py:1067
↓ 26 callersFunctionfind_ffmpeg
Locate an ffmpeg binary. Resolution order: 1. ``FFMPEG_PATH`` env var (set by Tauri when a sidecar is bundled, or by the user's Se
backend/services/ffmpeg_utils.py:192
↓ 26 callersFunctionfn
()
frontend/src/test/PermissionsPanel.test.jsx:11
↓ 26 callersMethodload
Cached audio tensor for ``span``, or ``None`` (miss). A hit bumps the file's mtime so LRU eviction sees the segment as recently used.
backend/services/longform_render.py:245
↓ 26 callersMethodon_accepted
( self, task_id: str, attempt_id: str, *, epoch: Optional[int] = None, now: Optional[float] = None
backend/worker/scheduler.py:676
↓ 25 callersFunction_client
(addr=("10.0.0.5", 1))
tests/test_bearer_middleware.py:26
↓ 25 callersFunctionparse_audiobook_script
Parse a chapter-delimited script into an :class:`AudiobookPlan`. Thin wrapper over the canonical :func:`services.longform_parser. parse_scrip
backend/services/audiobook.py:225
↓ 25 callersMethodwhich
(self, name)
tests/backend/services/test_ffmpeg_utils.py:144
↓ 24 callersFunction_oom_friendly_reraise
Best-effort cache flush + the user-facing OOM hint shared by both inference paths.
backend/api/routers/generation.py:487
↓ 24 callersMethodget_text
(key, default="")
tests/test_worker_join_api.py:41
↓ 24 callersFunctioninit_db
()
backend/core/db.py:396
↓ 24 callersFunctionrequest
* `apiFetch` deliberately returns the raw Response and sets no Content-Type — * it preserves the call shape so FormData posts keep working. Every JSO
frontend/src/components/settings/WorkersPanel.jsx:57
↓ 24 callersMethodwait
(self, job_id: str, timeout: Optional[float] = None)
backend/core/job_queue.py:150
↓ 23 callersMethodon_started
( self, task_id: str, attempt_id: str, *, epoch: Optional[int] = None, now: Optional[float] = None
backend/worker/scheduler.py:714
↓ 23 callersMethodput
(self, message: pb.WorkerMessage, *, bulk: bool = False)
backend/worker/transport/client.py:215
↓ 23 callersFunctionresolve_principal
Resolve and attach the single authentication decision for one scope.
backend/core/auth.py:327
↓ 23 callersMethodstop
(self)
backend/worker/agent.py:1219
↓ 22 callersFunction_message_body
Extract one message body by matching braces. Brace counting rather than a lazy regex: several messages are written on a single line, and ``.*
tests/test_worker_protocol_contract.py:44
↓ 22 callersFunction_mk_spec
(**over)
tests/test_sidecar_install.py:55
↓ 22 callersFunction_task
(task_id="t1", **params)
tests/test_worker_inputs.py:82
↓ 22 callersMethodfail
()
tests/test_api.py:191
↓ 22 callersMethodissue_ws_ticket
( self, session_token: str | None, path: str, api_key: str | None, )
backend/services/admin_sessions.py:285
↓ 22 callersFunctionopenExternal
(url: string)
frontend/src/api/external.ts:19
↓ 22 callersMethodput
(self, message)
tests/test_worker_server_integrity.py:1967
↓ 22 callersMethodrelease
Return a slot. ``zombie=True`` parks it instead: the task is over but the GPU thread is not, so the capacity is still gone. Returns w
backend/worker/capacity.py:227
↓ 22 callersMethodstart
(self, *, token_text: str = "", endpoint: str = "")
backend/worker/agent.py:814
↓ 21 callersMethod__setitem__
(self, key, value)
tests/test_resolve_heartbeat_1414.py:249
↓ 21 callersFunction_caps
(family, *, notes=(), available=None)
tests/test_engine_routing.py:17
↓ 21 callersMethodflush
(self)
backend/utils/hf_progress.py:135
↓ 21 callersFunctionjoin_with_timeout
(h: std::thread::JoinHandle<()>, timeout: Duration, what: &str)
frontend/src-tauri/tests/backend_lifecycle.rs:507
↓ 21 callersMethodshutdown
()
backend/worker/inbound/service.py:366
↓ 20 callersFunction_err
(cls: ErrorClass, code: str = "BOOM")
tests/test_worker_breaker.py:19
↓ 20 callersFunction_safe_torchaudio_save
Single audited torchaudio.save wrapper. Closes BUG-01 / issue #48. The caller hands us a tensor that may have come from a GPU model, may have
backend/services/audio_io.py:69
↓ 20 callersFunction_task
(task_id="t1", **kw)
tests/test_worker_task_store.py:33
↓ 20 callersMethodauthenticate
Return the matching live key, or None. Compares against every stored key in constant time and does not stop at the first match. Short
backend/worker/inbound/keys.py:428
↓ 20 callersMethoddispatch
Send an assignment to its worker. False if the stream is gone.
backend/worker/transport/server.py:2606
↓ 20 callersMethodget_attempt
(self, attempt_id: str)
backend/worker/lifecycle.py:347
↓ 20 callersFunctionload_config
(app: &tauri::AppHandle<R>)
frontend/src-tauri/src/config.rs:146
↓ 20 callersMethodrevoke
Revoke one panel's key. Others keep working — that is the point.
backend/worker/inbound/keys.py:297
↓ 20 callersMethodsend
(self, message: pb.WorkerMessage)
tests/test_worker_server_integrity.py:169
↓ 20 callersMethodsession_for
Resolve the exact registration response an inbound node accepted.
backend/worker/transport/server.py:1617
↓ 20 callersMethodtext
(self)
backend/services/longform_import.py:98
↓ 20 callersMethodwait
(self, timeout=None)
backend/tests/test_contained_subprocess.py:185
↓ 19 callersFunction_client
(execute, *, stub: _FakeStub | None = None)
tests/test_worker_upload_client.py:99
↓ 19 callersFunction_returning
(payload: bytes, meta: dict | None = None)
tests/test_worker_upload_client.py:113
↓ 19 callersMethod_send
Enqueue a frame. ``bulk`` is for anything that can be large. Only result frames qualify today. Everything else — heartbeat, pong, pro
backend/worker/transport/client.py:663
↓ 19 callersFunction_torch
Minimal torch mock: CUDA build when ``hip`` is None, else a ROCm build.
tests/test_rocm_arch_gate.py:28
↓ 19 callersFunctioncopyText
(text)
frontend/src/utils/copyText.js:14
↓ 19 callersFunctionremote_call
(**kw)
tests/test_gpu_gateway.py:141
↓ 19 callersMethodrevoke_worker_sessions
(self, worker_id)
tests/test_worker_service_api.py:1081
↓ 19 callersMethodrun_bootstrap
Run the bootstrap on a thread; the returned closure joins it with a hard timeout so a wiring regression fails red instead of hanging CI.
frontend/src-tauri/tests/backend_lifecycle.rs:424
↓ 19 callersMethodtranscribe
Return the raw Whisper output dict. Callers (`segment_transcript`) know how to read it — this stays deliberately untyped so new engines
backend/services/asr_backend.py:313
↓ 18 callersFunctionapply_pronunciation
Apply the pronunciation dictionary + inline overrides to ``text``. Order (load-bearing): 1. DB dictionary rows (``entries``) filtered to ``
backend/services/pronunciation.py:266
↓ 18 callersMethodargs
(self)
backend/core/contained_subprocess.py:83
↓ 18 callersFunctioncontent_disposition
A ``Content-Disposition`` value that is safe for ANY filename (#1262). Emits both forms per RFC 6266 §4.3: ``filename=`` for the lowest common
backend/core/http_headers.py:70
↓ 18 callersFunctiondetect_host_caps
Cached per-process host capabilities. Never raises, makes no network call, kernel-free on cold start. Host compute capability does not change at
backend/core/device_caps.py:622
↓ 18 callersFunctionlist_backends
Enumerate every registered backend with its availability state. Per-entry shape (ENGINE-05 + ENGINE-06): { "id": s
backend/services/tts_backend.py:2349
↓ 18 callersFunctionmake_prober
Prober from {endpoint: latency_ms | None (unreachable)}; counts calls.
tests/test_endpoint_race.py:31
↓ 18 callersFunctionreload
()
frontend/src/components/gallery/ImportsZone.jsx:55
↓ 18 callersMethodselect_worker
Pick the best eligible worker, or explain why there is none. The two "nothing available" cases are deliberately distinguished: all wo
backend/worker/scheduler.py:549
↓ 17 callersFunction_enroll
(name="desktop-4090", **kw)
tests/test_worker_routing.py:49
↓ 17 callersFunction_issue_cookie
(client, *, headers: dict[str, str] | None = None)
tests/test_auth_session_api.py:43
↓ 17 callersFunction_result
(ref, *, payload=b"", artifact_id="")
tests/test_worker_server_integrity.py:180
↓ 17 callersFunctionbuild_failure
Build the structured failure fields (no ``type`` — caller/prep_event adds it). ``reason`` is guaranteed non-empty: ``str(exc)`` → exception class
backend/core/failure.py:959
↓ 17 callersFunctionconcatenate_audio_chunks
Join per-chunk waveforms with a linear crossfade on the sample axis. ``chunks`` are torch tensors as returned by the engine (1-D, or N-D with
backend/services/chunked_tts.py:371
↓ 17 callersMethodextend
(self, _)
tests/test_dropped_audio_reaches_the_user_1330.py:116
↓ 17 callersMethodfileno
(self)
tests/test_worker_inbound_transport.py:1985
↓ 17 callersFunctionkind_err
(kind: &str, detail: impl std::fmt::Display)
frontend/src-tauri/src/dictation_output.rs:765
↓ 17 callersFunctionlocal_call
(value="local", *, boom=None)
tests/test_gpu_gateway.py:132
↓ 17 callersFunctionparse_ssml_lite
Split one line of SSML-LITE markup into ordered prosody segments. See the module docstring for the full contract. Always returns at least one
backend/services/ssml_lite.py:87
↓ 17 callersMethodpublish
Stage a finished result and return the ref that names it.
backend/worker/inbound/artifacts.py:568
↓ 17 callersMethodrecord
(self, spec: Spec, results: list[JudgeResult], duration_s: float = 0.0)
tests/probe/conftest.py:34
↓ 17 callersFunctionsnap_segment_starts
Snap each segment's ``start`` forward to the actual speech onset. Mutates the segment dicts in place (the shape the dub pipeline passes aroun
backend/services/onset_align.py:228
↓ 17 callersMethodwait
(self)
backend/services/ffmpeg_utils.py:430
↓ 16 callersMethod_activate_session
Publish a registered worker only once its stream is opening.
backend/worker/transport/server.py:934
↓ 16 callersFunction_assets
A published-asset list, with each artifact's `.sig` companion.
tests/test_release_preview_manifest_rebuild.py:50
↓ 16 callersFunction_cap
(**kw)
tests/test_worker_capacity.py:57
↓ 16 callersFunction_connection
( *, origin: str | None = "https://voice.test", destination: str = "https://voice.test", metho
tests/test_csrf_origin.py:29
↓ 16 callersMethod_recv
Read one frame from the sidecar's stdout. Returns None on EOF. Op allowlist is enforced here: unknown ops are logged and dropped, and
backend/services/subprocess_backend.py:744
↓ 16 callersFunction_remote_decision
(label="gpu2")
tests/test_generation_remote_routing.py:97
↓ 16 callersFunction_render_chapter_cached
Render one chapter, content-addressed so a re-run reuses it (resume). Returns ``(wav_path, duration_s, was_cached, seg_stats)``. Two cache la
backend/api/routers/audiobook.py:572
↓ 16 callersFunction_until
(predicate, timeout=5.0)
tests/test_worker_inbound_transport.py:230
← previousnext →101–200 of 15,058, ranked by callers