AI Slop Code Risk Monitor

Neywa-Labs/mlx-audio

SlopCodeMonitor badge for Neywa-Labs/mlx-audio Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A text-to-speech (TTS), speech-to-text (STT) and speech-to-speech (STS) library built on Apple's MLX framework, providing efficient speech analysis on Apple Silicon.

18.8 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Neywa-Labs/mlx-audio, a Python project with 8,248 GitHub stars. SynthScan examined 286,234 lines of code across 1177 source files, recording 4364 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 18.8 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

18.8
Adjusted Signal
18.8
Raw Pattern Score
100%
Time Factor
2026-11-10
Last Push
8.2K
Stars
Python
Language
286.2K
Lines of Code
1.2K
Files
4.4K
Pattern Hits
2026-11-11
Scan Date
0.07
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-11.

Cognitive Ownership Risk 40.0/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 2804 finding(s).

Hallucinated Dependency & Supply Chain Risk 18.6/100 · LOW

Are imports declared and package/API names verified? 1006 finding(s).

Agent Over-Engineering Ratio 46.1/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 2919 finding(s).

PR Review Velocity Impact 61.5/100 · HIGH

Which changes need focused human review? 4364 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 1HIGH 87MEDIUM 330LOW 3946

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4364 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers2157 hits · 2053 pts
SeverityFileLineSnippetContext
LOWmlx_audio/server.py241def _load_model_for_inference(model_name: str):CODE
LOWmlx_audio/server.py443 def _cancel_disconnected_requests(self) -> None:CODE
LOWmlx_audio/server.py584 def _can_call_continuous_session(self, model, request: InferenceRequest) -> bool:CODE
LOWmlx_audio/server.py597 def supports_continuous_batch(self, request: InferenceRequest) -> bool:CODE
LOWmlx_audio/server.py624 def create_continuous_batch_session(self, request: InferenceRequest):CODE
LOWmlx_audio/server.py896async def _stream_inference_results(CODE
LOWmlx_audio/server.py1295async def stt_realtime_transcriptions(websocket: WebSocket):CODE
LOWmlx_audio/server.py1533def _default_transcription_delay_ms() -> Optional[int]:CODE
LOWmlx_audio/server.py1576def _resolve_realtime_model_name(requested_model: Optional[str]) -> Optional[str]:CODE
LOWmlx_audio/server_inference.py76 def supports_continuous_batch(self, request: InferenceRequest) -> bool: ...CODE
LOWmlx_audio/server_inference.py80 def create_continuous_batch_session(CODE
LOWmlx_audio/server_inference.py115 def supports_continuous_batch(self, request: InferenceRequest) -> bool:CODE
LOWmlx_audio/server_inference.py122 def create_continuous_batch_session(CODE
LOWmlx_audio/server_inference.py315 def _route_continuous_requests(self, pending: list[InferenceRequest]) -> None:CODE
LOW⚡mlx_audio/server_inference.py347 def _step_continuous_sessions(self) -> None:CODE
LOWmlx_audio/convert.py174def _discover_detection_hints(domain: str) -> dict:CODE
LOWmlx_audio/audio_io.py65def _detect_format_from_bytes(data: bytes) -> Optional[str]:CODE
LOWmlx_audio/audio_io.py309def _decode_miniaudio_resampled(CODE
LOWmlx_audio/utils.py558def random_select_audio_segment(audio, length: int):CODE
LOWmlx_audio/music/tests/test_generate.py13def test_parser_exposes_only_music_generation_controls() -> None:CODE
LOWmlx_audio/music/tests/test_generate.py57def test_generate_music_joins_results_and_writes_audio(mock_write, tmp_path) -> None:CODE
LOWmlx_audio/music/tests/test_generate.py94def test_main_reads_lyrics_file(tmp_path, verbose) -> None:CODE
LOWmlx_audio/music/tests/test_minimax_music3.py23def test_tiny_generation_returns_finite_stereo_audio() -> None:CODE
LOWmlx_audio/music/tests/test_minimax_music3.py67def test_waveform_crops_match_the_official_chunk_stitching() -> None:CODE
LOWmlx_audio/music/tests/test_minimax_music3.py85def test_flow_schedule_runs_from_noise_to_data() -> None:CODE
LOWmlx_audio/music/tests/test_minimax_music3.py94def test_quantization_policy_targets_only_large_generation_linears() -> None:CODE
LOWmlx_audio/music/tests/test_minimax_music3.py128def test_all_mlx_quantization_modes_rebuild_the_same_quantized_topology(CODE
LOWmlx_audio/music/tests/test_minimax_music3.py220def _write_official_tiny_tree(source: Path) -> None:CODE
LOWmlx_audio/music/tests/test_minimax_music3.py277def test_official_tree_converts_and_loads_in_every_mlx_quantization_mode(CODE
LOWmlx_audio/music/models/minimax_music3/minimax_music3.py78def _encode_official_text_pair(CODE
LOWmlx_audio/music/models/minimax_music3/fusion.py19def latent_length_from_frames(num_frames: int, config: ModelConfig) -> int:CODE
LOWmlx_audio/ui/app/speech-to-text/realtime/page.tsx10export default function RealtimeTranscriptionPage() {CODE
LOWmlx_audio/lm/generate.py240def _supports_input_embeddings(model: nn.Module) -> bool:CODE
LOWmlx_audio/lm/convert.py16def mixed_quant_predicate_builder(recipe: str, model: nn.Module, group_size: int = 64):CODE
LOWmlx_audio/lm/sample_utils.py300 def repetition_penalty_processor(tokens, logits):CODE
LOWmlx_audio/lm/sample_utils.py332 def presence_penalty_processor(tokens, logits):CODE
LOWmlx_audio/lm/sample_utils.py361 def frequency_penalty_processor(tokens, logits):CODE
LOWmlx_audio/lm/models/rope_utils.py153 def yarn_find_correction_range():CODE
LOWmlx_audio/lm/models/qwen3_next.py215 def fix_query_key_value_ordering(CODE
LOWmlx_audio/lm/models/base.py64def scaled_dot_product_attention(CODE
LOWmlx_audio/codec/tests/test_moss_audio_tokenizer.py58 def test_parent_config_defaults_to_mono(self):CODE
LOWmlx_audio/codec/tests/test_moss_audio_tokenizer.py72 def test_import_from_codec_models(self):CODE
LOWmlx_audio/codec/tests/test_moss_audio_tokenizer.py75 def test_from_pretrained_tiny_tokenizer_encode_decode(self):CODE
LOWmlx_audio/codec/tests/test_moss_audio_tokenizer.py94 def test_streaming_decoder_matches_offline_without_decoder_modules(self):CODE
LOWmlx_audio/codec/tests/test_moss_audio_tokenizer.py115 def test_streaming_decoder_matches_offline_with_causal_transformer(self):CODE
LOWmlx_audio/codec/tests/test_moss_audio_tokenizer.py174 def test_from_model_dir_prefers_nested_audio_tokenizer(self):CODE
LOWmlx_audio/codec/tests/test_moss_audio_tokenizer.py188 def test_same_dimension_projection_keys_force_linear_modules(self):CODE
LOWmlx_audio/codec/tests/test_fish_s1_dac.py112 def test_streaming_step_matches_full_decode(self):CODE
LOWmlx_audio/codec/tests/test_fish_s1_dac.py124 def test_streaming_state_resets_between_streams(self):CODE
LOWmlx_audio/codec/tests/test_fish_s1_dac.py132 def test_streaming_continues_past_rope_table(self):CODE
LOWmlx_audio/codec/tests/test_fish_s1_dac.py143 def test_streaming_rejects_chunk_larger_than_rope_table(self):CODE
LOWmlx_audio/codec/tests/test_fish_s1_dac.py150 def test_folded_kernels_match_and_refold_after_new_weights(self):CODE
LOWmlx_audio/codec/tests/test_fish_s1_dac.py175 def test_folded_codec_decodes_on_another_thread(self):CODE
LOWmlx_audio/codec/tests/test_fish_s1_dac.py196 def test_folded_codec_compiles_with_captured_state(self):CODE
LOWmlx_audio/codec/tests/test_fish_s1_dac.py209 def test_checkpoint_causal_masks_are_dropped(self):CODE
LOWmlx_audio/codec/tests/test_stepaudio2.py9 def test_tiny_dit_forward_shape(self):CODE
LOWmlx_audio/codec/tests/test_stepaudio2.py30 def test_partial_segments_exclude_padding(self):CODE
LOWmlx_audio/codec/tests/test_stepaudio2.py44 def test_statistics_use_sample_standard_deviation_without_epsilon(self):CODE
LOWmlx_audio/codec/tests/test_ecapa_speaker.py19 def test_speechbrain_frontend_conventions(self):CODE
LOWmlx_audio/codec/tests/test_ecapa_speaker.py48 def test_reflection_padding_matches_numpy(self):CODE
2097 more matches not shown…
Unused Imports969 hits · 960 pts
SeverityFileLineSnippetContext
LOWmlx_audio/server_inference.py1CODE
LOWmlx_audio/registry.py10CODE
LOWmlx_audio/utils.py31CODE
LOWmlx_audio/utils.py31CODE
LOWmlx_audio/utils.py31CODE
LOWmlx_audio/utils.py31CODE
LOWmlx_audio/utils.py31CODE
LOWmlx_audio/utils.py31CODE
LOWmlx_audio/utils.py31CODE
LOWmlx_audio/utils.py31CODE
LOWmlx_audio/realtime_vad.py18CODE
LOWmlx_audio/music/generate.py3CODE
LOWmlx_audio/music/__init__.py3CODE
LOWmlx_audio/music/__init__.py3CODE
LOWmlx_audio/music/tests/test_minimax_music3.py3CODE
LOWmlx_audio/music/models/minimax_music3/vocoder.py3CODE
LOWmlx_audio/music/models/minimax_music3/config.py3CODE
LOWmlx_audio/music/models/minimax_music3/conversion.py3CODE
LOWmlx_audio/music/models/minimax_music3/__init__.py3CODE
LOWmlx_audio/music/models/minimax_music3/__init__.py3CODE
LOWmlx_audio/music/models/minimax_music3/__init__.py3CODE
LOWmlx_audio/music/models/minimax_music3/__init__.py4CODE
LOWmlx_audio/music/models/minimax_music3/__init__.py4CODE
LOWmlx_audio/music/models/minimax_music3/minimax_music3.py3CODE
LOWmlx_audio/music/models/minimax_music3/depth.py3CODE
LOWmlx_audio/music/models/minimax_music3/fusion.py3CODE
LOWmlx_audio/music/models/minimax_music3/sampling.py3CODE
LOWmlx_audio/music/models/minimax_music3/ar.py3CODE
LOWmlx_audio/music/models/minimax_music3/prompt.py3CODE
LOWmlx_audio/music/models/minimax_music3/dit.py3CODE
LOWmlx_audio/music/models/minimax_music3/euler.py3CODE
LOWmlx_audio/lm/models/nemotron_h.py5CODE
LOWmlx_audio/lm/models/qwen3_next.py4CODE
LOWmlx_audio/lm/models/qwen3_next.py8CODE
LOWmlx_audio/lm/models/switch_layers.py5CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/__init__.py1CODE
LOWmlx_audio/codec/models/__init__.py1CODE
LOWmlx_audio/codec/models/__init__.py2CODE
LOWmlx_audio/codec/models/__init__.py2CODE
LOWmlx_audio/codec/models/__init__.py3CODE
LOWmlx_audio/codec/models/__init__.py4CODE
LOWmlx_audio/codec/models/__init__.py5CODE
LOWmlx_audio/codec/models/__init__.py6CODE
LOWmlx_audio/codec/models/__init__.py7CODE
LOWmlx_audio/codec/models/__init__.py8CODE
LOWmlx_audio/codec/models/__init__.py9CODE
LOWmlx_audio/codec/models/__init__.py10CODE
LOWmlx_audio/codec/models/s3/__init__.py1CODE
LOWmlx_audio/codec/models/s3/__init__.py1CODE
LOWmlx_audio/codec/models/s3/__init__.py2CODE
LOWmlx_audio/codec/models/s3/__init__.py2CODE
909 more matches not shown…
Decorative Section Separators280 hits · 866 pts
SeverityFileLineSnippetContext
MEDIUMmlx_audio/dsp.py757# =============================================================================COMMENT
MEDIUMmlx_audio/dsp.py759# =============================================================================COMMENT
MEDIUMmlx_audio/utils.py79# =============================================================================COMMENT
MEDIUMmlx_audio/utils.py81# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py45# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py47# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py252# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py254# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py325# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py327# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py387# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py389# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py462# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py464# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py617# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py619# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py783# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py785# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py908# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py910# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py960# =============================================================================COMMENT
MEDIUMmlx_audio/codec/models/dacvae/codec.py962# =============================================================================COMMENT
MEDIUM⚡mlx_audio/tests/test_server.py285# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tests/test_server.py287# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tests/test_server.py823# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tests/test_server.py825# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tests/test_server.py389# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tests/test_server.py391# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/lid/models/ecapa_tdnn/ecapa_tdnn.py18# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/lid/models/ecapa_tdnn/ecapa_tdnn.py20# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/lid/models/ecapa_tdnn/ecapa_tdnn.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/lid/models/ecapa_tdnn/ecapa_tdnn.py78# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tts/tests/test_models.py4646# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tts/tests/test_models.py4648# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tts/tests/test_models.py5087# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tts/tests/test_models.py5089# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tts/tests/test_models.py5710# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tts/tests/test_models.py5712# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tts/tests/test_models.py6308# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tts/tests/test_models.py6310# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tts/tests/test_models.py4568# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tts/tests/test_models.py4570# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tts/tests/test_models.py5147# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tts/tests/test_models.py5149# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tts/tests/test_models.py5414# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tts/tests/test_models.py5416# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tts/tests/test_models.py8929# ── VoxCPM2 ──────────────────────────────────────────────────────COMMENT
MEDIUMmlx_audio/tts/tests/test_models.py10596# ---------------------------------------------------------------------------COMMENT
MEDIUMmlx_audio/tts/tests/test_models.py10598# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1026# ─────────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1028# ─────────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1034 # ── Numbers ────────────────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1044 # ── Scientific notation ─────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1048 # ── Scale suffixes ─────────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1052 # ── Currency ───────────────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1056 # ── Percentages ────────────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1059 # ── Ordinals ───────────────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1064 # ── Fractions ──────────────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1069 # ── Time ───────────────────────────────────────────────────────COMMENT
MEDIUM⚡mlx_audio/tts/models/kitten_tts/preprocess.py1074 # ── Decades ────────────────────────────────────────────────────COMMENT
220 more matches not shown…
Deep Nesting269 hits · 258 pts
SeverityFileLineSnippetContext
LOWmlx_audio/server.py67CODE
LOWmlx_audio/server.py1063CODE
LOWmlx_audio/server.py1295CODE
LOWmlx_audio/server.py1622CODE
LOWmlx_audio/server.py296CODE
LOWmlx_audio/server_inference.py195CODE
LOWmlx_audio/convert.py174CODE
LOWmlx_audio/convert.py312CODE
LOWmlx_audio/convert.py334CODE
LOWmlx_audio/audio_io.py65CODE
LOWmlx_audio/audio_io.py420CODE
LOWmlx_audio/audio_io.py569CODE
LOWmlx_audio/audio_io.py650CODE
LOWmlx_audio/utils.py269CODE
LOWmlx_audio/utils.py775CODE
LOWmlx_audio/utils.py828CODE
LOWmlx_audio/lm/convert.py94CODE
LOWmlx_audio/lm/models/rope_utils.py236CODE
LOWmlx_audio/lm/models/bailing_moe.py347CODE
LOWmlx_audio/lm/models/nemotron_h.py443CODE
LOWmlx_audio/lm/models/bailing_moe_v3.py379CODE
LOWmlx_audio/lm/models/falcon_h1.py460CODE
LOWmlx_audio/codec/tests/test_nemotron_voicechat.py62CODE
LOWmlx_audio/codec/tests/test_encodec.py47CODE
LOWmlx_audio/codec/tests/test_encodec.py94CODE
LOWmlx_audio/codec/models/s3/model_v2.py378CODE
LOWmlx_audio/codec/models/s3/model_v2.py543CODE
LOWmlx_audio/codec/models/fish_s1_dac/fish_s1_dac.py1438CODE
LOWmlx_audio/codec/models/higgs_audio/higgs_audio.py182CODE
LOWmlx_audio/codec/models/bigvgan/bigvgan.py124CODE
LOWmlx_audio/codec/models/stepaudio2/convert.py70CODE
LOWmlx_audio/codec/models/stepaudio2/convert.py169CODE
LOWmlx_audio/codec/models/descript/base.py107CODE
LOWmlx_audio/codec/models/dacvae/codec.py1170CODE
LOWmlx_audio/codec/models/dacvae/codec.py1364CODE
LOWmlx_audio/tests/test_sampler_logprob_contract.py43CODE
LOWmlx_audio/tests/test_sampler_logprob_contract.py80CODE
LOWmlx_audio/tests/test_modelopt.py371CODE
LOWmlx_audio/tests/test_modelopt.py400CODE
LOWmlx_audio/tests/test_no_mlx_lm.py21CODE
LOWmlx_audio/quantization/modelopt.py36CODE
LOWmlx_audio/quantization/modelopt.py56CODE
LOWmlx_audio/quantization/modelopt.py146CODE
LOWmlx_audio/lid/models/ecapa_tdnn/mel.py27CODE
LOWmlx_audio/tts/generate.py151CODE
LOWmlx_audio/tts/audio_player.py78CODE
LOWmlx_audio/tts/audio_player.py97CODE
LOWmlx_audio/tts/tests/test_fish_drama3.py101CODE
LOWmlx_audio/tts/tests/test_pocket_tts.py297CODE
LOWmlx_audio/tts/models/pocket_tts/pocket_tts.py691CODE
LOWmlx_audio/tts/models/pocket_tts/pocket_tts.py133CODE
LOWmlx_audio/tts/models/pocket_tts/pocket_tts.py196CODE
LOWmlx_audio/tts/models/moss_tts_nano/text.py251CODE
LOWmlx_audio/tts/models/voxcpm2/audio_vae.py450CODE
LOWmlx_audio/tts/models/voxcpm2/voxcpm2.py320CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py147CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py210CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py271CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py352CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py780CODE
209 more matches not shown…
AI Structural Patterns208 hits · 204 pts
SeverityFileLineSnippetContext
LOWmlx_audio/dsp.py900CODE
LOWmlx_audio/server.py1063CODE
LOWmlx_audio/convert.py600CODE
LOWmlx_audio/lm/generate.py270CODE
LOWmlx_audio/lm/sample_utils.py11CODE
LOWmlx_audio/lm/models/rope_utils.py130CODE
LOWmlx_audio/lm/models/gemma3_text.py163CODE
LOWmlx_audio/lm/models/gpt2.py109CODE
LOWmlx_audio/lm/models/gpt2.py169CODE
LOWmlx_audio/lm/models/llama.py149CODE
LOWmlx_audio/lm/models/qwen3_5.py239CODE
LOWmlx_audio/lm/models/cohere2.py200CODE
LOWmlx_audio/lm/models/lfm2.py236CODE
LOWmlx_audio/lm/models/qwen3_next.py390CODE
LOWmlx_audio/lm/models/qwen3.py127CODE
LOWmlx_audio/lm/models/granite.py135CODE
LOWmlx_audio/lm/models/qwen2.py122CODE
LOWmlx_audio/codec/models/fish_s1_dac/fish_s1_dac.py943CODE
LOWmlx_audio/codec/models/fish_s1_dac/fish_s1_dac.py1280CODE
LOWmlx_audio/codec/models/bigvgan/resample.py98CODE
LOW…x_audio/codec/models/stepaudio2/upsample_encoder_v2.py81CODE
LOWmlx_audio/codec/models/stepaudio2/flow.py10CODE
LOWmlx_audio/codec/models/snac/snac.py16CODE
LOWmlx_audio/codec/models/descript/dac.py133CODE
LOWmlx_audio/codec/models/dacvae/codec.py260CODE
LOWmlx_audio/codec/models/dacvae/codec.py905CODE
LOWmlx_audio/codec/models/dacvae/codec.py1067CODE
LOWmlx_audio/tests/test_server.py1246CODE
LOWmlx_audio/tts/generate.py151CODE
LOWmlx_audio/tts/utils.py220CODE
LOWmlx_audio/tts/models/interpolate.py117CODE
LOWmlx_audio/tts/models/base.py68CODE
LOWmlx_audio/tts/models/moss_tts_nano/moss_tts_nano.py335CODE
LOWmlx_audio/tts/models/voxcpm2/voxcpm2.py409CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py780CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py1018CODE
LOW…io/tts/models/chatterbox_turbo/models/s3gen/decoder.py431CODE
LOW…io/tts/models/chatterbox_turbo/models/s3gen/hifigan.py334CODE
LOW…_audio/tts/models/chatterbox_turbo/models/s3gen/mel.py56CODE
LOW…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py104CODE
LOW…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py281CODE
LOW…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py336CODE
LOWmlx_audio/tts/models/kitten_tts/istftnet.py848CODE
LOWmlx_audio/tts/models/kitten_tts/istftnet.py945CODE
LOWmlx_audio/tts/models/kitten_tts/preprocess.py918CODE
LOWmlx_audio/tts/models/vibevoice/vibevoice.py751CODE
LOWmlx_audio/tts/models/vibevoice/scheduler.py53CODE
LOWmlx_audio/tts/models/zonos2/model.py851CODE
LOWmlx_audio/tts/models/zonos2/model.py1009CODE
LOWmlx_audio/tts/models/zonos2/prompt.py315CODE
LOWmlx_audio/tts/models/lingv3_tts/lingv3_tts.py223CODE
LOWmlx_audio/tts/models/zonos3/generation.py102CODE
LOWmlx_audio/tts/models/zonos3/model.py127CODE
LOWmlx_audio/tts/models/omnivoice/omnivoice.py299CODE
LOWmlx_audio/tts/models/omnivoice/omnivoice.py489CODE
LOWmlx_audio/tts/models/irodori_tts/model.py824CODE
LOWmlx_audio/tts/models/irodori_tts/irodori_tts.py296CODE
LOWmlx_audio/tts/models/irodori_tts/sampling.py72CODE
LOWmlx_audio/tts/models/echo_tts/sampling.py53CODE
LOWmlx_audio/tts/models/echo_tts/sampling.py164CODE
148 more matches not shown…
Cross-Language Confusion33 hits · 202 pts
SeverityFileLineSnippetContext
HIGHmlx_audio/server.py1869 # Manual-commit mode (turn_detection: null): no VAD, soCOMMENT
HIGHmlx_audio/realtime_vad.py187 events.extend(self._detector.push(prob, VAD_FRAME_MS))CODE
HIGH⚡mlx_audio/tests/test_realtime_vad.py73 events.extend(detector.push(p, frame_ms))CODE
HIGH⚡mlx_audio/tts/tests/test_ming_dense.py179 '{"audio_sequence": [{"序号": 1, "说话人": "speaker_1", "方言": null, 'CODE
HIGH⚡mlx_audio/tts/tests/test_ming_dense.py180 '"风格": null, "语速": null, "基频": null, "音量": null, "情感": null, 'CODE
HIGH⚡mlx_audio/tts/tests/test_ming_dense.py181 '"BGM": {"Genre": null, "Mood": null, "Instrument": null, "Theme": null, 'CODE
HIGH⚡mlx_audio/tts/tests/test_ming_dense.py182 '"ENV": null, "SNR": null}, "IP": "US_James"}]}',CODE
HIGH⚡mlx_audio/tts/tests/test_ming_dense.py189 self.assertTrue(caption.endswith('"ip": null}]}'))CODE
HIGHmlx_audio/tts/models/zonos3/codec.py484 [self.resampler.push(self.head.flush()), self.resampler.flush()]CODE
HIGHmlx_audio/tts/models/zonos3/codec.py537 out = self.resampler.push(CODE
HIGHmlx_audio/tts/models/zonos3/codec.py538 self.head.push(CODE
HIGHmlx_audio/sts/voice_pipeline.py232 for chunk in self.chunker.push(samples):CODE
HIGHmlx_audio/sts/models/nemotron_voicechat/streaming.py214 mel = self._mel_stream.push(frame)CODE
HIGHmlx_audio/sts/models/nemotron_voicechat/streaming.py215 chunks = self._conformer_stream.push(mel, emit_partial=True)CODE
HIGH…o/sts/models/mossformer2_se/depthwise_conv1d_kernel.py31 if (batch >= B || time >= L_out || chan >= C) {CODE
HIGH…o/sts/models/mossformer2_se/depthwise_conv1d_kernel.py41 if (in_time >= 0 && in_time < L_in) {CODE
HIGH⚡mlx_audio/stt/tests/test_nemotron_asr.py175 chunks.append(frontend.push(audio[start : start + 937]))CODE
HIGHmlx_audio/stt/tests/test_nemotron_asr.py218 mel = frontend.push(frame)CODE
HIGHmlx_audio/stt/tests/test_nemotron_asr.py219 outputs = state.push(mel, emit_partial=True)CODE
HIGHmlx_audio/stt/tests/test_nemotron_unified.py190 state.push(audio[start : start + feed])CODE
HIGH⚡mlx_audio/stt/tests/test_nemotron_unified_session.py140 state.push(np.zeros(1280, np.float32))CODE
HIGH⚡mlx_audio/stt/tests/test_nemotron_unified_session.py152 single = one.push(audio, final=True)CODE
HIGHmlx_audio/stt/models/nemotron_asr/buffered.py152 return self.push(mx.zeros(0, dtype=mx.float32), final=True)CODE
HIGH⚡mlx_audio/stt/models/nemotron_asr/session.py159 chunks = self._buffered.push(samples, final=final)CODE
HIGH⚡mlx_audio/stt/models/nemotron_asr/session.py168 mel = self._frontend.push(mx.array(samples), final=final)CODE
HIGH⚡mlx_audio/stt/models/nemotron_asr/session.py169 for encoded in self._encoder.push(mel, final=final):CODE
HIGHmlx_audio/stt/models/nemotron_asr/speaker_streaming.py150 mel = self._frontend.push(samples, final=final)CODE
HIGHmlx_audio/stt/models/nemotron_asr/speaker_streaming.py197 for encoded in encoder.push(masked, final=last):CODE
HIGH⚡mlx_audio/stt/models/nemotron_asr/nemotron_asr.py579 for result in self._decode_prompted_chunks(state.push(audio_data, final=True)):CODE
HIGH⚡mlx_audio/stt/models/nemotron_asr/nemotron_asr.py593 yield from state.push(samples[start : start + step])CODE
HIGHmlx_audio/stt/models/nemotron_asr/audio.py306 return self.push(mx.zeros((0,), dtype=self._samples.dtype), final=True)CODE
HIGHmlx_audio/stt/models/nemotron_asr/streaming.py196 for encoded in state.push(current):CODE
HIGHmlx_audio/stt/models/nemotron_asr/streaming.py200 for encoded in state.push(current, final=True):CODE
Excessive Try-Catch Wrapping123 hits · 141 pts
SeverityFileLineSnippetContext
MEDIUMmlx_audio/server.py1464 print(f"Error during initial transcription: {error_msg}")CODE
MEDIUMmlx_audio/server.py1498 print(f"Error during transcription: {error_msg}")CODE
LOW⚡mlx_audio/server.py1509 except Exception:CODE
LOW⚡mlx_audio/server.py1514 except Exception as e:CODE
LOW⚡mlx_audio/server.py1517 except Exception:CODE
LOW⚡mlx_audio/server.py1522 except Exception:CODE
LOW⚡mlx_audio/server.py1995 except Exception as e:CODE
LOW⚡mlx_audio/server.py2001 except Exception:CODE
LOW⚡mlx_audio/server.py2006 except Exception:CODE
LOWmlx_audio/server.py273 except Exception as exc:CODE
LOWmlx_audio/server.py911 except Exception as exc:CODE
LOWmlx_audio/server.py1047 except Exception as e:CODE
LOWmlx_audio/server.py1152 except Exception:CODE
LOWmlx_audio/server.py1351 except Exception:CODE
LOWmlx_audio/server.py1459 except Exception as e:CODE
LOWmlx_audio/server.py1493 except Exception as e:CODE
LOWmlx_audio/server.py1678 except Exception as e:CODE
LOWmlx_audio/server.py1812 except Exception as e:CODE
LOWmlx_audio/server.py1845 except Exception as e:CODE
LOWmlx_audio/server.py2052 except Exception as e:CODE
LOWmlx_audio/server_inference.py248 except Exception as exc: # pragma: no cover - defensive broker guardCODE
LOW⚡mlx_audio/server_inference.py340 except Exception as exc:CODE
LOW⚡mlx_audio/server_inference.py351 except Exception as exc:CODE
LOWmlx_audio/convert.py490 except Exception:CODE
LOWmlx_audio/codec/tests/test_fish_s1_dac.py188 except Exception as error:CODE
MEDIUMmlx_audio/codec/tests/test_fish_s1_dac.py184def decode():CODE
LOWmlx_audio/tests/test_server.py141 except Exception as e:CODE
LOWmlx_audio/tests/test_server.py477 except Exception:CODE
LOWmlx_audio/tts/generate.py466 except Exception as e:CODE
MEDIUMmlx_audio/tts/generate.py467 print(f"Error loading model: {e}")CODE
MEDIUMmlx_audio/tts/tests/test_models.py226def run_sine_generator():CODE
MEDIUMmlx_audio/tts/tests/test_models.py8695def _require_g2p(self):CODE
LOWmlx_audio/tts/tests/test_models.py231 except Exception as exc:CODE
LOWmlx_audio/tts/tests/test_models.py3701 except Exception:CODE
LOWmlx_audio/tts/tests/test_models.py3722 except Exception:CODE
LOWmlx_audio/tts/tests/test_models.py9433 except Exception:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py295 except Exception as e:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py313 except Exception as e:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py344 except Exception as e:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py414 except Exception as e:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py424 except Exception as e:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py500 except Exception as e:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py537 except Exception as e:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py587 except Exception as e:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py641 except Exception as e:CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py1301 except Exception as e:CODE
LOW⚡mlx_audio/tts/models/kitten_tts/istftnet.py169 except Exception as e:CODE
MEDIUM⚡mlx_audio/tts/models/kitten_tts/istftnet.py170 print(f"Error: {e}")CODE
LOWmlx_audio/tts/models/kitten_tts/preprocess.py512 except Exception:CODE
LOWmlx_audio/tts/models/kitten_tts/kitten_tts.py578 except Exception:CODE
LOWmlx_audio/tts/models/omnivoice/omnivoice.py676 except Exception as e:CODE
LOW⚡mlx_audio/tts/models/irodori_tts/irodori_tts.py117 except Exception as e:CODE
LOWmlx_audio/tts/models/echo_tts/echo_tts.py88 except Exception:CODE
LOWmlx_audio/tts/models/chatterbox/tokenizer.py136 except Exception as e:CODE
LOWmlx_audio/tts/models/chatterbox/tokenizer.py195 except Exception as e:CODE
LOWmlx_audio/tts/models/chatterbox/tokenizer.py263 except Exception as e:CODE
MEDIUMmlx_audio/tts/models/chatterbox/tokenizer.py170def _load_cangjie_mapping(self, model_dir=None):CODE
LOW⚡mlx_audio/tts/models/tada/tada.py1488 except Exception as e:CODE
LOW⚡mlx_audio/tts/models/tada/tada.py1494 except Exception as e:CODE
LOWmlx_audio/tts/models/tada/tada.py487 except Exception as e:CODE
63 more matches not shown…
Modern Structural Boilerplate120 hits · 120 pts
SeverityFileLineSnippetContext
LOWmlx_audio/dsp.py10__all__ = [CODE
LOWmlx_audio/utils.py728__all__ = [CODE
LOWmlx_audio/music/__init__.py5__all__ = ["load", "load_model"]CODE
LOWmlx_audio/music/utils.py40__all__ = ["MODEL_REMAPPING", "load", "load_model"]CODE
LOWmlx_audio/music/models/minimax_music3/conversion.py214__all__ = ["copy_supporting_files", "load_source_weights", "prepare_config"]CODE
LOWmlx_audio/music/models/minimax_music3/__init__.py19__all__ = [CODE
LOWmlx_audio/music/models/minimax_music3/minimax_music3.py273__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/codec/__init__.py14__all__ = [CODE
LOWmlx_audio/codec/models/__init__.py12__all__ = [CODE
LOWmlx_audio/codec/models/s3/__init__.py17__all__ = [CODE
LOWmlx_audio/codec/models/fish_s1_dac/__init__.py3__all__ = ["DAC", "ModelArgs", "build_ae"]CODE
LOWmlx_audio/codec/models/moss_audio_tokenizer/__init__.py8__all__ = [CODE
LOWmlx_audio/codec/models/mimo_audio_tokenizer/__init__.py4__all__ = ["MiMoAudioTokenizer", "Model", "ModelConfig"]CODE
LOWmlx_audio/codec/models/higgs_audio/__init__.py11__all__ = [CODE
LOWmlx_audio/codec/models/stepaudio2/__init__.py9__all__ = [CODE
LOWmlx_audio/codec/models/nemotron_voicechat/__init__.py9__all__ = [CODE
LOWmlx_audio/codec/models/ecapa_tdnn/__init__.py5__all__ = ["EcapaTdnnBackbone", "EcapaTdnnConfig", "EcapaSpeakerEmbeddingExtractor"]CODE
LOWmlx_audio/quantization/modelopt.py14logger = logging.getLogger(__name__)CODE
LOWmlx_audio/lid/__init__.py3__all__ = ["load", "load_model"]CODE
LOWmlx_audio/tts/__init__.py3__all__ = ["load", "load_model"]CODE
LOWmlx_audio/tts/models/pocket_tts/conditioners.py11logger = logging.getLogger(__name__)CODE
LOWmlx_audio/tts/models/moss_tts_nano/__init__.py4__all__ = ["GPT2Config", "Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/bark/__init__.py4__all__ = ["Model", "Pipeline", "ModelConfig"]CODE
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py24logger = logging.getLogger(__name__)CODE
LOWmlx_audio/tts/models/chatterbox_turbo/__init__.py11__all__ = [CODE
LOW…x_audio/tts/models/chatterbox_turbo/models/__init__.py7__all__ = [CODE
LOW…models/chatterbox_turbo/models/s3tokenizer/__init__.py19__all__ = [CODE
LOW…udio/tts/models/chatterbox_turbo/models/t3/__init__.py8__all__ = [CODE
LOW…dels/chatterbox_turbo/models/voice_encoder/__init__.py7__all__ = [CODE
LOW…o/tts/models/chatterbox_turbo/models/s3gen/__init__.py17__all__ = [CODE
LOW…_audio/tts/models/chatterbox_turbo/models/s3gen/mel.py12logger = logging.getLogger(__name__)CODE
LOW…udio/tts/models/chatterbox_turbo/models/s3gen/s3gen.py19logger = logging.getLogger(__name__)CODE
LOWmlx_audio/tts/models/kugelaudio/__init__.py4__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/kitten_tts/__init__.py3__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/vibevoice/__init__.py10__all__ = [CODE
LOWmlx_audio/tts/models/zonos2/convert.py233 def update_largest(key: str, value: mx.array) -> None:CODE
LOWmlx_audio/tts/models/zonos2/__init__.py4__all__ = ["Model", "ModelConfig", "Zonos2Config"]CODE
LOWmlx_audio/tts/models/zonos3/__init__.py4__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/zonos3/codec.py20logger = logging.getLogger(__name__)CODE
LOWmlx_audio/tts/models/omnivoice/__init__.py7__all__ = ["Model", "ModelConfig", "OmniVoiceConfig", "create_voice_clone_prompt"]CODE
LOWmlx_audio/tts/models/omnivoice/utils.py8logger = logging.getLogger(__name__)CODE
LOWmlx_audio/tts/models/qwen3/__init__.py3__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/higgs_audio/__init__.py14__all__ = [CODE
LOWmlx_audio/tts/models/chatterbox/__init__.py5__all__ = ["Model", "ModelConfig", "convert_from_source"]CODE
LOWmlx_audio/tts/models/chatterbox/tokenizer.py20logger = logging.getLogger(__name__)CODE
LOWmlx_audio/tts/models/chatterbox/s3tokenizer/__init__.py17__all__ = [CODE
LOWmlx_audio/tts/models/chatterbox/t3/__init__.py6__all__ = [CODE
LOW…_audio/tts/models/chatterbox/voice_encoder/__init__.py5__all__ = ["VoiceEncoder", "VoiceEncConfig", "melspectrogram"]CODE
LOWmlx_audio/tts/models/chatterbox/s3gen/__init__.py10__all__ = [CODE
LOW…io/tts/models/chatterbox/s3gen/transformer/__init__.py10__all__ = [CODE
LOW…x_audio/tts/models/chatterbox/s3gen/matcha/__init__.py12__all__ = [CODE
LOWmlx_audio/tts/models/dense/__init__.py3__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/maya2/__init__.py7__all__ = [CODE
LOWmlx_audio/tts/models/fish_drama3/__init__.py4__all__ = ["Model", "ModelConfig", "TowerConfig"]CODE
LOWmlx_audio/tts/models/arktts/__init__.py9__all__ = [CODE
LOWmlx_audio/tts/models/confucius4/__init__.py4__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/melotts/__init__.py3__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/rumik_oss/__init__.py3__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/moss_tts_delay/__init__.py3__all__ = ["Model", "ModelConfig"]CODE
LOWmlx_audio/tts/models/higgs_audio_v3/__init__.py17__all__ = [CODE
60 more matches not shown…
Empty Error Handlers24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHmlx_audio/server.py1512except WebSocketDisconnect:CODE
HIGHmlx_audio/server.py1993except WebSocketDisconnect:CODE
HIGHmlx_audio/server.py1522except Exception:CODE
HIGHmlx_audio/server.py2006except Exception:CODE
HIGHmlx_audio/server.py1517except Exception:CODE
HIGHmlx_audio/server.py2001except Exception:CODE
HIGHmlx_audio/server.py1509except Exception:CODE
HIGHmlx_audio/codec/models/vocos/vocos.py335except KeyError:CODE
HIGHmlx_audio/tts/tests/test_models.py9433except Exception:CODE
HIGHmlx_audio/tts/tests/test_models.py3701except Exception:CODE
HIGHmlx_audio/tts/tests/test_models.py3722except Exception:CODE
HIGHmlx_audio/tts/models/voxcpm2/voxcpm2.py348except ImportError:CODE
HIGHmlx_audio/tts/models/kitten_tts/kitten_tts.py88except KeyError:CODE
HIGHmlx_audio/tts/models/kitten_tts/kitten_tts.py578except Exception:CODE
HIGHmlx_audio/tts/models/tada/tada.py956except Exception:CODE
HIGHmlx_audio/tts/models/voxtral_tts/voxtral_tts.py421except Exception:CODE
HIGHmlx_audio/sts/voice_pipeline.py1565except KeyboardInterrupt:CODE
HIGHmlx_audio/sts/audio_player.py49except Exception:CODE
HIGHmlx_audio/sts/models/deepfilternet/weight_loader.py209except (KeyError, AttributeError, TypeError, IndexError):CODE
HIGHmlx_audio/sts/models/moshi/moshi.py145except Exception:CODE
HIGHmlx_audio/stt/models/fireredasr2/fireredasr2.py658except ValueError:CODE
HIGHmlx_audio/stt/models/sensevoice/sensevoice.py591except ImportError:CODE
HIGHmlx_audio/stt/models/moonshine/moonshine.py462except Exception:CODE
HIGHmlx_audio/stt/eval/seed_tts.py181except Exception:CODE
Docstring Block Structure21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHmlx_audio/server.py980 Remove a model from the API. Args: model_name (str): The name of the model to remove. Returns: STRING
HIGHmlx_audio/audio_io.py135Decode audio using ffmpeg (for formats not supported by miniaudio like M4A). Args: input_data: Path to the STRING
HIGHmlx_audio/utils.py115 Ensures the model is available locally. If the path does not exist locally, it is downloaded from the Hugging FSTRING
HIGHmlx_audio/utils.py157Load model configuration from a path or Hugging Face repo. Args: model_path: Local path or Hugging Face repSTRING
HIGHmlx_audio/utils.py181Load model weights from safetensors or npz files. Args: model_path: Path to the model directory ReturnSTRING
HIGHmlx_audio/utils.py275 Retrieve the model architecture module based on the model type and name. Args: model_type: The type ofSTRING
HIGHmlx_audio/utils.py667Load audio from file path or return mx.array as-is. Args: audio: Audio input - can be: - str: PSTRING
HIGHmlx_audio/utils.py875Load a TTS, STT, STS, LID, or VAD model based on its configuration and name. Args: model_name (str): Name oSTRING
HIGHmlx_audio/lid/models/wav2vec2/wav2vec_lid.py106Predict language from raw audio waveform. Automatically applies zero-mean unit-variance normalization bSTRING
HIGHmlx_audio/tts/generate.py27Detect the start and end points of speech in an audio signal using RMS energy. Args: wav: Input audio signaSTRING
HIGHmlx_audio/tts/generate.py71Remove silence from both ends of an audio signal. Args: wav: Input audio signal array sample_rate: STRING
HIGHmlx_audio/tts/utils.py81 Retrieve the model architecture module based on the model type and name. This function attempts to find the apSTRING
HIGHmlx_audio/tts/utils.py115 Load and initialize the model from a given path. Args: model_path (Path): The path to load the model fSTRING
HIGH…odels/chatterbox/s3gen/transformer/upsample_encoder.py129Make mask tensor containing indices of padded part. Args: lengths: Batch of lengths (B,). max_len: STRING
HIGH…odels/chatterbox/s3gen/transformer/upsample_encoder.py164Create mask for subsequent steps (size, size) with chunk size. This is for streaming encoder. Args: siSTRING
HIGHmlx_audio/tts/models/dia/config.py239Load and validate a Dia configuration from a JSON file. Args: path: The path to the configuration fSTRING
HIGHmlx_audio/tts/models/dia/dia.py53Loads the Dia model from local configuration and checkpoint files. Args: config_path: Path to the cSTRING
HIGHmlx_audio/tts/models/dia/dia.py88Loads the Dia model from a Hugging Face Hub repository. Downloads the configuration and checkpoint files from tSTRING
HIGHmlx_audio/tts/models/kokoro/pipeline.py319Generate audio from either raw phonemes or pre-processed tokens. Args: tokens: Either a phoneme strSTRING
HIGHmlx_audio/tts/models/spark/utils/audio.py144Detect the start and end points of speech in an audio signal using RMS energy. Args: wav: Input audio signaSTRING
HIGHmlx_audio/tts/models/spark/utils/audio.py188Remove silence from both ends of an audio signal. Args: wav: Input audio signal array sample_rate: STRING
Self-Referential Comments25 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMmlx_audio/lm/models/cache.py97 # Create an instance of cls without calling __init__COMMENT
MEDIUMmlx_audio/codec/models/snac/vq.py44 # Create a new tensor with the expanded shapeCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py16# Create a patch for the deprecated open_text functionCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py196 # Create a mock outputCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py391 # Create a mock outputCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py396 # Create a Result instanceCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py538 # Create a minimal configCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py724 # Create a minimal configCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py778 # Create a config with tie_word_embeddings=TrueCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py872 # Create a minimal configCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py1034 # Create a minimal configCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py1149 # Create a config instanceCOMMENT
MEDIUMmlx_audio/tts/tests/test_models.py2798 # Create a simple test audioCOMMENT
MEDIUMmlx_audio/tts/tests/test_base.py13 # Define a test subclassCOMMENT
MEDIUMmlx_audio/tts/tests/test_interpolate.py42 # Create a simple test arrayCOMMENT
MEDIUMmlx_audio/tts/tests/test_interpolate.py63 # Create a simple test arrayCOMMENT
MEDIUMmlx_audio/tts/models/qwen3/qwen3.py142 # Create a mask and filter manually since boolean indexing isn't supportedCOMMENT
MEDIUMmlx_audio/tts/models/dia/dia.py512 # Create a mask for setting tokens beyond 1025 to -infCOMMENT
MEDIUMmlx_audio/tts/models/spark/modules/blocks/sampler.py61 # Create a new tensor with the expanded shapeCOMMENT
MEDIUMmlx_audio/tts/models/llama/llama.py174 # Create a mask and filter manually since boolean indexing isn't supportedCOMMENT
MEDIUMmlx_audio/sts/models/sam_audio/model.py928 # Create the generatorCOMMENT
MEDIUMmlx_audio/sts/models/mossformer2_se/mossformerblock.py74 # Create a list of attention layers using FLASH_ShareA_FFConvMCOMMENT
MEDIUM…dio/sts/models/mossformer2_se/mossformerblock_gfsmn.py65 # Create a list of Gated FSMN blocksCOMMENT
MEDIUM…dio/sts/models/mossformer2_se/mossformerblock_gfsmn.py73 # Create a list of attention layers using FLASH_ShareA_FFConvMCOMMENT
MEDIUMmlx_audio/stt/models/vibevoice_asr/audio_encoder.py67 # Create the convolution layer (no padding in conv, we'll handle it manually)COMMENT
Redundant / Tautological Comments42 hits · 66 pts
SeverityFileLineSnippetContext
LOW⚡mlx_audio/base.py21 # Check if the shape has 4 dimensionsCOMMENT
LOW⚡mlx_audio/base.py24 # Check if out_channels is the largest, and kH and KW are the sameCOMMENT
LOW⚡mlx_audio/base.py29 # Check if the shape has 3 dimensionsCOMMENT
LOW⚡mlx_audio/base.py32 # Check if out_channels is the largestCOMMENT
LOWmlx_audio/lm/models/falcon_h1.py461 # Check if needs sanitizationCOMMENT
LOWmlx_audio/codec/models/s3/model_v2.py364 # Check if any audio exceeds 30 secondsCOMMENT
LOWmlx_audio/tests/test_audio_io.py14# Check if ffmpeg is available for optional testsCOMMENT
LOWmlx_audio/tts/models/base.py24 # Check if the shape has 4 dimensionsCOMMENT
LOWmlx_audio/tts/models/base.py30 # Check if out_channels is the largest, and kH and KW are the sameCOMMENT
LOW…_audio/tts/models/chatterbox_turbo/chatterbox_turbo.py121 # Check if first argument is a config dict (from load_model)COMMENT
LOWmlx_audio/tts/models/kugelaudio/kugelaudio.py430 # Check if target key existsCOMMENT
LOW⚡mlx_audio/tts/models/kitten_tts/istftnet.py162 # Check if channels last match or if groups > 1 for ConvTransposed1dCOMMENT
LOWmlx_audio/tts/models/kitten_tts/istftnet.py1005 # Check if this block has upsamplingCOMMENT
LOWmlx_audio/tts/models/vibevoice/vibevoice.py562 # Check if key exists in modelCOMMENT
LOWmlx_audio/tts/models/vibevoice/vibevoice.py578 # Check if it's a transposed conv weightCOMMENT
LOWmlx_audio/tts/models/qwen3/qwen3.py128 # Check if we found any tokens BEFORE converting to MLX arrayCOMMENT
LOWmlx_audio/tts/models/chatterbox/chatterbox.py187 # Check if first argument is a configCOMMENT
LOWmlx_audio/tts/models/chatterbox/chatterbox.py511 # Check if we have quantized weights (scales) for this pathCOMMENT
LOWmlx_audio/tts/models/chatterbox/t3/t3.py94 # Check if already converted (idempotent)COMMENT
LOWmlx_audio/tts/models/chatterbox/s3gen/s3gen.py407 # Check if this is ConvTranspose (ups) or regular ConvCOMMENT
LOW…udio/tts/models/chatterbox/s3gen/matcha/transformer.py65 # Check if it's additive bias (contains large negative values)COMMENT
LOWmlx_audio/tts/models/outetts/audio_processor.py158 if audio.size == 0: # Check if array is emptyCODE
LOWmlx_audio/tts/models/qwen3_tts/qwen3_tts.py1268 # Check if we should use ICL modeCOMMENT
LOW⚡mlx_audio/tts/models/kokoro/istftnet.py160 # Check if channels last match or if groups > 1 for ConvTransposed1dCOMMENT
LOWmlx_audio/tts/models/kokoro/istftnet.py993 # Check if this block has upsamplingCOMMENT
LOWmlx_audio/tts/models/kokoro/pipeline.py186 # Check if voice exists in local snapshot firstCOMMENT
LOWmlx_audio/tts/models/spark/utils/file.py61 # Open the file for readingCOMMENT
LOWmlx_audio/tts/models/spark/utils/file.py116 # Check if there is a base configuration specified and merge if necessaryCOMMENT
LOWmlx_audio/tts/models/spark/utils/file.py169 # Set headers to keys from the first dictionary in data if not explicitly providedCOMMENT
LOWmlx_audio/tts/models/spark/modules/residual.py130 # Check if indices are emptyCOMMENT
LOWmlx_audio/tts/models/voxcpm/audio_vae.py538 # Check if this is a 3D weight that needs transposition by comparing with model shapeCOMMENT
LOWmlx_audio/sts/models/sam_audio/processor.py33 # Check if file exists firstCOMMENT
LOWmlx_audio/sts/models/sam_audio/model.py507 ] = None, # Set it to 50 for better performanceCODE
LOWmlx_audio/sts/models/deepfilternet/network.py310 # Check if separable (has pointwise conv at index '2')COMMENT
LOW…udio/sts/models/mossformer2_se/flash_sharea_ffconvm.py230 # Check if it's mlx.nn.RoPE or custom implementationCOMMENT
LOWmlx_audio/sts/models/mossformer2_se/model.py260 # Check if segmented processing is neededCOMMENT
LOWmlx_audio/sts/models/mossformer2_se/mossformerm.py92 # Set MossFormerBlock to eval modeCOMMENT
LOWmlx_audio/sts/models/mossformer2_se/mossformerm.py99 # Set MossFormerBlock to train modeCOMMENT
LOWmlx_audio/stt/models/mimo_v2_asr/model.py607 # Check if we need speech tokensCOMMENT
LOWmlx_audio/stt/models/qwen3_asr/config.py100 # Check if this is a forced aligner configCOMMENT
LOWmlx_audio/stt/models/whisper/whisper.py311 # Check if this is HuggingFace format (has d_model or encoder_layers)COMMENT
LOWmlx_audio/stt/models/whisper/whisper.py596 # Check if this is HuggingFace format (has 'model.' prefix)COMMENT
Structural Annotation Overuse31 hits · 62 pts
SeverityFileLineSnippetContext
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py194 # Step 1: Remove DC offset per frame (before preemphasis)COMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py198 # Step 2: Apply preemphasis PER FRAME (Kaldi applies it after framing)COMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py209 # Step 3: Apply windowCOMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py212 # Step 4: Pad to FFT lengthCOMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py216 # Step 5: Compute FFT and get magnitude/power spectrumCOMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py222 # Step 6: Apply mel filterbankCOMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py225 # Step 7: Apply log with epsilon floorCOMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py587 # Step 1: STFT → real/imag [B, 2, freq_bins, T]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py593 # Step 2: CaC interleave — [B, 2, freq_bins, T] → [B, freq_bins*2, T]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py600 # Step 3: BandSplit → [B, T, num_bands, dim]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py605 # Step 4: 6× dual-axis transformerCOMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py617 # Step 5: Mask estimation → list of [B, T, band_dim]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py620 # Step 6: Merge masks → [B, freq_bins*2, T, 2]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py623 # Step 7: Complex multiply (input × mask)COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py632 # Step 8: De-interleave → [B, 2, freq_bins, T]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py636 # Step 9: iSTFT → [B, 2, samples]COMMENT
LOW⚡…o/sts/models/mossformer2_se/flash_attention_kernels.py115 # Step 1: Q @ K^T scaledCOMMENT
LOW⚡…o/sts/models/mossformer2_se/flash_attention_kernels.py118 # Step 2: Apply fused ReLU² kernelCOMMENT
LOW…o/sts/models/mossformer2_se/flash_attention_kernels.py133 # Step 3: Attention @ VCOMMENT
LOWmlx_audio/stt/models/qwen3_asr/qwen3_asr.py980 # Step 1: Encode audio featuresCOMMENT
LOWmlx_audio/stt/models/qwen3_asr/qwen3_asr.py994 # Step 2: Build input embeddings with audio mergedCOMMENT
LOWdocs/contributing/adding-a-model.md28## Step 1: Create the Model PackageCOMMENT
LOWdocs/contributing/adding-a-model.md39## Step 2: Implement the ModelCOMMENT
LOWdocs/contributing/adding-a-model.md148## Step 3: Register the ModelCOMMENT
LOWdocs/contributing/adding-a-model.md194## Step 4: Convert and TestCOMMENT
LOWdocs/contributing/adding-a-model.md239## Step 5: Add DocumentationCOMMENT
LOW⚡docs/models/tts/omnivoice.md45# Step 1: Preprocess reference audio (silence removal, RMS norm)COMMENT
LOW⚡docs/models/tts/omnivoice.md49# Step 2: Decode preprocessed tokens back to audio, then transcribeCOMMENT
LOW⚡docs/models/tts/omnivoice.md59# Step 3: Generate with ref_tokens + ref_text from the same sourceCOMMENT
LOWexamples/qwen3_asr_transcription.py55 # Step 1: Transcribe audio with Qwen3-ASRCOMMENT
LOWexamples/qwen3_asr_transcription.py90 # Step 2: Run forced alignment with Qwen3-ForcedAlignerCOMMENT
Verbosity Indicators23 hits · 48 pts
SeverityFileLineSnippetContext
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py194 # Step 1: Remove DC offset per frame (before preemphasis)COMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py198 # Step 2: Apply preemphasis PER FRAME (Kaldi applies it after framing)COMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py209 # Step 3: Apply windowCOMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py212 # Step 4: Pad to FFT lengthCOMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py216 # Step 5: Compute FFT and get magnitude/power spectrumCOMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py222 # Step 6: Apply mel filterbankCOMMENT
LOW⚡…io/tts/models/chatterbox_turbo/models/s3gen/xvector.py225 # Step 7: Apply log with epsilon floorCOMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py587 # Step 1: STFT → real/imag [B, 2, freq_bins, T]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py593 # Step 2: CaC interleave — [B, 2, freq_bins, T] → [B, freq_bins*2, T]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py600 # Step 3: BandSplit → [B, T, num_bands, dim]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py605 # Step 4: 6× dual-axis transformerCOMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py617 # Step 5: Mask estimation → list of [B, T, band_dim]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py620 # Step 6: Merge masks → [B, freq_bins*2, T, 2]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py623 # Step 7: Complex multiply (input × mask)COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py632 # Step 8: De-interleave → [B, 2, freq_bins, T]COMMENT
LOW⚡mlx_audio/sts/models/mel_roformer/model.py636 # Step 9: iSTFT → [B, 2, samples]COMMENT
LOW⚡…o/sts/models/mossformer2_se/flash_attention_kernels.py115 # Step 1: Q @ K^T scaledCOMMENT
LOW⚡…o/sts/models/mossformer2_se/flash_attention_kernels.py118 # Step 2: Apply fused ReLU² kernelCOMMENT
LOW…o/sts/models/mossformer2_se/flash_attention_kernels.py133 # Step 3: Attention @ VCOMMENT
LOWmlx_audio/stt/models/qwen3_asr/qwen3_asr.py980 # Step 1: Encode audio featuresCOMMENT
LOWmlx_audio/stt/models/qwen3_asr/qwen3_asr.py994 # Step 2: Build input embeddings with audio mergedCOMMENT
LOWexamples/qwen3_asr_transcription.py55 # Step 1: Transcribe audio with Qwen3-ASRCOMMENT
LOWexamples/qwen3_asr_transcription.py90 # Step 2: Run forced alignment with Qwen3-ForcedAlignerCOMMENT
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHmlx_audio/lid/utils.py0load and initialize an stt model from a given path. args: model_path: the path or huggingface repo to load the model froSTRING
HIGHmlx_audio/vad/utils.py0load and initialize an stt model from a given path. args: model_path: the path or huggingface repo to load the model froSTRING
HIGHmlx_audio/stt/utils.py0load and initialize an stt model from a given path. args: model_path: the path or huggingface repo to load the model froSTRING
HIGHmlx_audio/tts/models/qwen3/qwen3.py0hook called after model weights are loaded. used to initialize the tokenizer which is required for text input.STRING
HIGHmlx_audio/tts/models/spark/spark.py0hook called after model weights are loaded. used to initialize the tokenizer which is required for text input.STRING
HIGHmlx_audio/tts/models/voxcpm/voxcpm.py0hook called after model weights are loaded. used to initialize the tokenizer which is required for text input.STRING
HIGHmlx_audio/stt/models/glmasr/glmasr.py0hook called after model weights are loaded. used to initialize the tokenizer which is required for text input.STRING
Modern AI Meta-Vocabulary9 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUMmlx_audio/tts/tests/test_models.py9360 # Simulate zero-shot inputCOMMENT
MEDIUMmlx_audio/tts/models/voxcpm2/voxcpm2.py622 # In zero-shot/ref modes, warmup patches are generated for conditioningCOMMENT
MEDIUMmlx_audio/tts/models/tada/tada.py1336 # For zero-shot: skip structural prefix featuresCOMMENT
MEDIUMmlx_audio/sts/models/mimo_audio/README.md104## Base: few-shot speech tasks and completionCOMMENT
MEDIUMmlx_audio/stt/models/whisper/whisper.py1202 # skip silence before possible hallucinationsCOMMENT
MEDIUMmlx_audio/stt/models/whisper/whisper.py1217 # if first segment might be a hallucination, skip leading silenceCOMMENT
MEDIUMmlx_audio/stt/models/whisper/whisper.py1229 # skip silence before any possible hallucination that is surroundedCOMMENT
MEDIUMmlx_audio/stt/models/whisper/whisper.py1230 # by silence or more hallucinationsCOMMENT
MEDIUMexamples/nemotron_diarization_asr.py231 # Silence has no speaker stream to transcribe; avoid ASR silence hallucinations.COMMENT
Over-Commented Block17 hits · 17 pts
SeverityFileLineSnippetContext
LOW…udio/tts/models/chatterbox_turbo/models/s3gen/s3gen.py441COMMENT
LOWmlx_audio/tts/models/omnivoice/duration.py1#!/usr/bin/env python3COMMENT
LOWmlx_audio/tts/models/chatterbox/s3gen/s3gen.py361 )COMMENT
LOWmlx_audio/tts/models/arktts/arktts.py1121 continueCOMMENT
LOWmlx_audio/tts/models/spark/utils/audio.py1# Copyright (c) 2025 SparkAudioCOMMENT
LOW…/tts/models/spark/modules/speaker/perceiver_encoder.py1# Copyright (c) 2025 SparkAudioCOMMENT
LOW…x_audio/tts/models/spark/modules/speaker/ecapa_tdnn.py1# Copyright (c) 2021 Zhengyang Chen (chenzhengyang117@gmail.com)COMMENT
LOW…x_audio/tts/models/spark/modules/speaker/ecapa_tdnn.py281 # x_np = torch.randn(1, 200, 80)COMMENT
LOW…dio/tts/models/spark/modules/speaker/pooling_layers.py1# Copyright (c) 2021 Shuai Wang (wsstriving@gmail.com)COMMENT
LOW…io/tts/models/spark/modules/speaker/speaker_encoder.py1# Copyright (c) 2025 SparkAudioCOMMENT
LOW…s/models/spark/modules/encoder_decoder/feat_decoder.py1# Copyright (c) 2025 SparkAudioCOMMENT
LOW…s/models/spark/modules/encoder_decoder/feat_encoder.py1# Copyright (c) 2025 SparkAudioCOMMENT
LOWmlx_audio/vad/models/sortformer/convert.py41#COMMENT
LOWmlx_audio/vad/models/fsmn/convert.py41 # 2. 去掉多余的 ".linear" (in_linear1.linear.weight → in_linear1.weight)COMMENT
LOWmlx_audio/sts/models/sam_audio/model.py1301 )COMMENT
LOW…udio/sts/models/mossformer2_se/flash_sharea_ffconvm.py341 # Compute k^T @ v: (batch, query_key_dim, value_dim)COMMENT
LOW…_audio/stt/models/voxtral_realtime/voxtral_realtime.py581COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALmlx_audio/tts/tests/test_pocket_tts.py629 model.flow_lm.conditioner.embed.weight.astype(mx.bfloat16)CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHmlx_audio/tts/models/sesame/sesame.py684 # This applies an imperceptible watermark to identify audio as AI-generated.COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHmlx_audio/tts/models/voxcpm/audio_vae.py228 # I'll implement it just in case.COMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWmlx_audio/tts/models/voxcpm2/README.md88 --ref_text "placeholder" \CODE
LOWmlx_audio/tts/models/kitten_tts/preprocess.py678 "555-1234" → "five five five one two three four"STRING
LOW⚡mlx_audio/stt/tests/test_ming_v3_asr.py151 with self.assertRaisesRegex(ValueError, "placeholder"):CODE