MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 1 callersFunction_row
(r: JudgeResult)
tests/probe/report.py:157
↓ 1 callersFunction_row_to_attempt
(row)
backend/worker/task_store.py:60
↓ 1 callersFunction_run
()
backend/mcp_shim/__main__.py:139
↓ 1 callersFunction_run
()
tests/test_install_disk_space.py:106
↓ 1 callersFunction_run
()
tests/test_gpu_wedge_stack_capture.py:158
↓ 1 callersFunction_run
()
tests/test_longform_e2e.py:79
↓ 1 callersMethod_run
(self, assignment: pb.TaskAssignment)
backend/worker/transport/client.py:961
↓ 1 callersFunction_run_alembic_upgrade
(db_path: str, target: str = "head")
tests/test_migration_0006_instruct.py:28
↓ 1 callersFunction_run_alembic_upgrade
(db_path: str, target: str = "head")
tests/test_migration_0007_instruct_rebuild.py:40
↓ 1 callersFunction_run_batch_pipeline
Full batch dub pipeline: extract → transcribe → translate → generate → mix → export.
backend/api/routers/batch.py:175
↓ 1 callersFunction_run_case
(tokens: list[str])
tests/test_sentence_chunker.py:25
↓ 1 callersFunction_run_cmd
Run a subprocess synchronously with a short timeout.
backend/api/routers/setup/wizard.py:72
↓ 1 callersFunction_run_linux_arm_build
Execute the real build script against hermetic fake build tools.
tests/test_gguf_source_build_runtime_1348.py:152
↓ 1 callersFunction_run_one
(name: str, args: Any, *, context: dict, subject: Any, backends: dict, advisory: bool)
tests/probe/spec.py:217
↓ 1 callersFunction_run_pip_thread
Fallback: run pip in a thread via subprocess.Popen (Windows compat).
backend/services/translation_engines.py:265
↓ 1 callersFunction_run_remote
The remote branch: submit, await, decode. Raises ``_NotDispatched`` while nothing has run yet (rule 1) and :class:`RemoteJobFailed` once a wo
backend/services/gpu_gateway.py:475
↓ 1 callersFunction_run_selftest
Import the SDK + resolve the pinned snapshot. Exit 0 on success. Used by release-prep CI to verify the wheel + pinned SHA still resolve. The
backend/engines/supertonic3/sidecar.py:273
↓ 1 callersFunction_run_sherpa_offline
Offline-kind sherpa model with live partials, utterance-windowed. Raw PCM accumulates in a *live* buffer holding only the current (uncommitte
backend/api/routers/capture_ws.py:914
↓ 1 callersFunction_run_sherpa_streaming
True streaming: feed the OnlineRecognizer frame-by-frame, emit `partial` every time the decoded text grows, and `final` on sherpa's endpoint (sile
backend/api/routers/capture_ws.py:767
↓ 1 callersMethod_run_subprocess
Spawn the binary, feed ``stdin_text``, enforce timeout. Never uses ``shell=True``. Stderr is captured and HF-token-redacted b
backend/engines/omnivoice_gguf/backend.py:753
↓ 1 callersFunction_run_synth_bounded
Run one tiny synthesis in a daemon thread, bounded by ``timeout_s``. Returns ``{"audio": .., "duration_ms": ..}`` on success, ``{"error": exc}``
backend/api/routers/engines.py:422
↓ 1 callersFunction_run_tts
Run TTS inference in the GPU thread pool.
backend/api/routers/openai_compat.py:297
↓ 1 callersMethod_run_worker
(self, idx: int)
backend/core/job_queue.py:174
↓ 1 callersFunction_safe
(m: re.Match, render: Callable[[re.Match], str])
backend/services/text_normalization.py:409
↓ 1 callersFunction_safe_cover_path
Confine a user-supplied cover to the upload directory before it can flow into ffmpeg. Covers only ever come from ``/audiobook/cover``, which
backend/api/routers/audiobook.py:60
↓ 1 callersFunction_safe_extract_members
Tar-slip-guarded extraction for interpreters without ``extractall(filter="data")`` (Python < 3.11.4). Mirrors what the "data" filter enforces
backend/services/sidecar_install.py:763
↓ 1 callersFunction_safe_hard_cut
(segment: str, max_chars: int)
backend/services/chunked_tts.py:262
↓ 1 callersFunction_safe_manifest_url
(url: str)
backend/api/routers/community.py:119
↓ 1 callersFunction_safe_member_ext
The extension for a ZIP member, allowlisted to ``^\\.[A-Za-z0-9]{1,8}$`` (else ``.wav``). Used ONLY to choose the output extension — never the pat
backend/services/persona_bundle.py:60
↓ 1 callersFunction_safe_name
Sanitised download filename stem (marketplace idiom); empty → persona_<id>.
backend/api/routers/personas.py:39
↓ 1 callersFunction_safe_source
Resolve a source filename against OUTPUTS_DIR / dub outputs, blocking traversal.
backend/api/routers/exports.py:38
↓ 1 callersFunction_safety_filters
(text: str)
backend/services/text_normalization.py:233
↓ 1 callersFunction_same_release
A record with no recorded version never matches — with unknown provenance it may predate the running build, and a stale post-upgrade crash not
backend/core/run_sentinel.py:171
↓ 1 callersFunction_same_volume
True when *a* and *b* live on the same filesystem/volume. Windows drive letters, POSIX mount points, and not-yet-created targets (compared vi
backend/services/sidecar_install.py:240
↓ 1 callersFunction_sample_count
Total sample count of an engine's ``generate()`` return, tolerant of torch.Tensor / numpy.ndarray / list shapes. 0 when it can't be measured.
backend/api/routers/engines.py:410
↓ 1 callersFunction_san_entries
Cover every address a worker might legitimately dial. A tailnet name, a LAN hostname, and a bare IP are all normal ways to reach a desktop, a
backend/worker/tls.py:74
↓ 1 callersFunction_sanitize_version
Version string → filesystem-safe fragment (defense in depth; real versions are semver and already safe).
backend/core/db_backup.py:46
↓ 1 callersFunction_save
Durably replace a pair, leaving enough state to finish after a crash. No filesystem atomically renames two independent paths. A mode-0600 jou
backend/worker/tls.py:336
↓ 1 callersFunction_save_consumed_token_hash
(path: str, token_text: str)
backend/worker/agent.py:615
↓ 1 callersFunction_save_done
(part: str, size: int, done: set)
backend/services/segmented_download.py:96
↓ 1 callersFunction_save_enrollment_manifest
Atomically commit all state needed to reconnect after acceptance.
backend/worker/agent.py:461
↓ 1 callersFunction_scalar
One aggregate value, or `default` when the table/column doesn't exist yet (a fresh install, or a DB predating a migration). Never raises — an insi
backend/services/local_stats.py:33
↓ 1 callersFunction_scope_type
(connection)
backend/core/auth.py:139
↓ 1 callersFunction_scrubbed_log_tail
Last `lines` of omnivoice.log, scrubbed — the record can end up in a prefilled GitHub issue, so it must never carry secrets or home paths.
backend/core/run_sentinel.py:260
↓ 1 callersFunction_scrubbed_tail
Last `max_lines` of `path`, scrubbed. Missing/unreadable file → a one-line note instead of a hard failure (the bundle must always build).
backend/core/diagnostic_bundle.py:38
↓ 1 callersFunction_section_date
(suffix)
tests/test_changelog_style.py:57
↓ 1 callersFunction_seed
(job_id)
tests/test_dub_error_transparency.py:260
↓ 1 callersFunction_seed_segment_rng
Apply a profile's pinned seed to this synth call (#1139). ``_resolve_voice`` has always fetched the profile ``seed`` — but only the cache sig
backend/api/routers/audiobook.py:364
↓ 1 callersFunction_seg_durations
(source, dubbed) durations from a segment dict, computing source from start/end when not given explicitly.
tests/probe/judges/dubbing.py:20
↓ 1 callersFunction_seg_id_order
Sort key for the tie-break: numeric suffix when there is one (so 'seg_2' < 'seg_10'), plain string ordering otherwise. Deterministic for any i
backend/api/routers/dub_generate.py:280
↓ 1 callersFunction_seg_lang_path
(seg_key)
backend/api/routers/dub_generate.py:529
↓ 1 callersFunction_segmented_snapshot
Fetch every file of a repo via the segmented downloader into the HF cache, mirroring hf_hub_download's blob+snapshot+refs layout so the result
backend/api/routers/setup/download.py:183
↓ 1 callersMethod_select_quant_entry
Return the ``{base, tokenizer, rationale}`` dict for the quant the current hardware should use (or the override). Always retu
backend/engines/omnivoice_gguf/backend.py:476
↓ 1 callersFunction_select_sherpa_spec
Resolve the sherpa dictation model for this WS session, or None. A ``?model=<id>`` query param wins (the frontend can pin a model per session
backend/api/routers/capture_ws.py:201
↓ 1 callersFunction_selfheal_broken_snapshot_links
Rung 0 of cache recovery: delete-and-restore broken snapshot entries. Returns True only when broken entries were found, removed AND restored —
backend/services/model_manager.py:1892
↓ 1 callersFunction_selftest_timeout_s
()
backend/api/routers/engines.py:403
↓ 1 callersFunction_send
(stream, obj)
backend/engines/_asr_sidecar/main.py:45
↓ 1 callersFunction_send
(stream, obj: dict)
backend/engines/_echo/main.py:48
↓ 1 callersFunction_send
(stream, obj)
tests/fixtures/mock_indextts_sidecar.py:46
↓ 1 callersFunction_serialize_job
(job: Optional[dict])
backend/services/sidecar_install.py:412
↓ 1 callersFunction_serve
(bus, received: list[str], started: threading.Event, done: threading.Event)
tests/test_event_bus_thread_emit.py:118
↓ 1 callersFunction_serve_mcp
Own the MCP session manager's full enter→exit lifecycle in ONE task. FastMCP's ``run()`` opens an anyio task group, and anyio requires the cancel
backend/main.py:439
↓ 1 callersFunction_set_cache
(key: str, value: object)
backend/api/routers/setup/models.py:489
↓ 1 callersFunction_set_progress
Update a job's progress dict.
backend/api/routers/batch.py:101
↓ 1 callersFunction_set_session_cookie
(response: Response, request: Request, token: str, expires_at: float)
backend/api/routers/auth.py:110
↓ 1 callersMethod_settled
May the worker drop its copy of this result? Only against a durable verdict: this commit, an earlier one that won the race, or — afte
backend/worker/transport/server.py:2347
↓ 1 callersFunction_sha
(c)
scripts/resolve_supertonic3_sha.py:140
↓ 1 callersFunction_sha256
(path: str)
backend/services/segmented_download.py:218
↓ 1 callersFunction_sha256_of_file
(p: Path, *, chunk: int = 1 << 20)
backend/engines/omnivoice_gguf/backend.py:246
↓ 1 callersFunction_shape
(m: dict)
backend/services/asr_backend.py:3210
↓ 1 callersFunction_shape
(name, affinity-normalized type, notnull-or-PK, normalized default) per column — the semantic fingerprint two converged schemas must share.
tests/test_pronunciation_api.py:69
↓ 1 callersFunction_sherpa_result
Normalise a sherpa decode to VoiceStudio's ``{chunks, segments, language, text}`` contract. sherpa gives plain text (no VAD split), so emit a sing
backend/services/asr_backend.py:1825
↓ 1 callersFunction_should_make_room_for_generate
Decide whether to free idle GPU memory before a generate (#730/#1190). Modes (OMNIVOICE_FREE_VRAM_BEFORE_GENERATE): auto (default): free wh
backend/services/model_manager.py:2768
↓ 1 callersFunction_should_merge
(a: Seg, b: Seg)
backend/services/subtitle_segmenter.py:265
↓ 1 callersFunction_should_open
(explicit: bool | None)
tests/probe/report.py:247
↓ 1 callersFunction_sidecar_installable_ids
Engine ids with a one-click sidecar installer. Deferred import — the installer module is tiny, but keeping the import inside the function mean
backend/services/tts_backend.py:2332
↓ 1 callersFunction_signal_process
(pidfd: int, sig: signal.Signals)
scripts/desktop_prod_processes.py:76
↓ 1 callersFunction_sigs
(assets)
tests/test_release_preview_manifest_rebuild.py:63
↓ 1 callersFunction_silence_pcm_b64
Return base64-encoded 1 second of int16 silence at the given rate.
backend/engines/_echo/main.py:71
↓ 1 callersFunction_silent_wav
(path, seconds=0.2, rate=16000)
backend/tests/test_asr_mlx_validated_ffmpeg.py:10
↓ 1 callersFunction_sine_pcm_b64
Return base64-encoded 1 s of 0.5-amplitude 440 Hz sine, int16 PCM. Amplitude 0.5 → ``abs(tensor).max() > 0.3`` assertion in the test. No nump
tests/fixtures/mock_indextts_sidecar.py:69
↓ 1 callersFunction_skill
(sid: str)
backend/services/llm_skills.py:64
↓ 1 callersFunction_snapshot
()
tests/conftest.py:533
↓ 1 callersFunction_snapshot_dirs
Existing snapshot revision dirs for a repo across the candidate cache roots.
backend/api/routers/setup/models.py:355
↓ 1 callersFunction_snapshot_file_generation
Capture exact bytes/presence for one file a join may overwrite.
backend/worker/agent.py:130
↓ 1 callersFunction_spawn_async
Try asyncio subprocess; fall back to thread-based subprocess on Windows where ProactorEventLoop may not be available (e.g. under uvicorn --reload)
backend/services/ffmpeg_utils.py:380
↓ 1 callersFunction_spawn_thread_fallback
Run a subprocess synchronously in a thread via subprocess.Popen.
backend/services/ffmpeg_utils.py:390
↓ 1 callersFunction_spec_block
(o: SpecOutcome)
tests/probe/report.py:171
↓ 1 callersFunction_spectral_flatness
Geometric-mean / arithmetic-mean of the power spectrum. ~1.0 for broadband noise, →0 for a pure tone. The degenerate diffusion renders this g
backend/api/routers/archetypes.py:251
↓ 1 callersFunction_split_one
Recursively split `s` until every piece fits MAX_CHARS_TOTAL + MAX_CPS.
backend/services/subtitle_segmenter.py:130
↓ 1 callersFunction_split_sentences
Split text into sentences using regex marker replacement. Returns a list of (sentence, start_pos, end_pos) tuples. The text must not contain
backend/services/sentence_chunker.py:213
↓ 1 callersMethod_split_to_token_budget
Split ``chunk`` (at word boundaries, then mid-word as a last resort) until each piece phonemizes to ≤ _MAX_ONNX_TOKENS tokens, measure
backend/services/tts_backend.py:1448
↓ 1 callersFunction_stack_shows_a_wedge
True when the abandoned worker's DEEPEST frame is a blocking wait. The message this feeds is the one users actually read, and for years it sa
backend/services/model_manager.py:992
↓ 1 callersFunction_stage_cookie_export
Write an explicitly supplied cookies.txt export to a private temp file.
backend/api/routers/dub_core.py:67
↓ 1 callersFunction_staged_inputs
Stage this task's inputs, or say why they could not be staged. A staging failure must not take down the dispatch loop, and it must not fall b
backend/worker/transport/codec.py:183
↓ 1 callersFunction_stamped_revisions
Revisions recorded in ``alembic_version`` (empty set = never stamped), or None when the DB can't be read.
backend/core/db.py:444
↓ 1 callersMethod_start
(self, *, port: Optional[int] = None)
backend/worker/service.py:158
↓ 1 callersMethod_start
(self)
backend/worker/inbound/service.py:319
↓ 1 callersFunction_start_inbound_node_if_enabled
Accepting connections is independent of running a control plane. A machine can lend its GPU without driving any jobs of its own, and the impo
backend/worker/service.py:454
↓ 1 callersFunction_status_for
ready / busy / offline — the three states the header dot colours on. A worker that is connected but unusable for a config reason (disabled, not
backend/worker/routing.py:201
← previousnext →3,801–3,900 of 15,058, ranked by callers