Repository Analysis

raullenchai/Rapid-MLX

The fastest local AI engine for Apple Silicon. 4.2x faster than Ollama, 0.08s cached TTFT, 100% tool calling. 17 tool parsers, prompt cache, reasoning separation, cloud routing. Drop-in OpenAI replacement. Works with Claude Code, Cursor, Aider.

40.2 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of raullenchai/Rapid-MLX, a Python project with 3,266 GitHub stars. SynthScan v2.0 examined 473,475 lines of code across 1053 source files, recording 13326 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 40.2 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

40.2
Adjusted Score
40.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.3K
Stars
Python
Language
473.5K
Lines of Code
1.1K
Files
13.3K
Pattern Hits
2026-07-14
Scan Date
0.06
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 1HIGH 63MEDIUM 2837LOW 10425

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 13326 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators2467 hits · 8813 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh16# ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMinstall.sh54# ── Banner ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMinstall.sh63# ── 1. Check platform ───────────────────────────────────────────────────────COMMENT
MEDIUMinstall.sh85# ── 2. Detect RAM → recommend model ──────────────────────────────────────────COMMENT
MEDIUMinstall.sh96# ── 3. Find or install Python 3.10+ ─────────────────────────────────────────COMMENT
MEDIUMinstall.sh139# ── 4. Migrate from old install location ─────────────────────────────────────COMMENT
MEDIUMinstall.sh147# ── 5. Create or update venv + install ───────────────────────────────────────COMMENT
MEDIUMinstall.sh191# ── 6. Create symlinks ──────────────────────────────────────────────────────COMMENT
MEDIUMinstall.sh206# ── 7. Ensure ~/.local/bin is in PATH ────────────────────────────────────────COMMENT
MEDIUMinstall.sh227# ── 8. Verify + done ────────────────────────────────────────────────────────COMMENT
MEDIUMevals/run_eval.py253# =============================================================================COMMENT
MEDIUMevals/run_eval.py255# =============================================================================COMMENT
MEDIUMevals/run_eval.py485# =============================================================================COMMENT
MEDIUMevals/run_eval.py487# =============================================================================COMMENT
MEDIUMevals/run_eval.py406# =============================================================================COMMENT
MEDIUMevals/run_eval.py408# =============================================================================COMMENT
MEDIUMevals/run_eval.py972# =============================================================================COMMENT
MEDIUMevals/run_eval.py974# =============================================================================COMMENT
MEDIUMevals/run_eval.py1095# =============================================================================COMMENT
MEDIUMevals/run_eval.py1097# =============================================================================COMMENT
MEDIUMevals/run_eval.py1248# =============================================================================COMMENT
MEDIUMevals/run_eval.py1250# =============================================================================COMMENT
MEDIUMevals/run_eval.py1558# =============================================================================COMMENT
MEDIUMevals/run_eval.py1560# =============================================================================COMMENT
MEDIUMevals/results/baseline_benchmark.json333 "content": "# Building a Distributed System on Apple Silicon: A Comprehensive Technical Guide## IntroductionThe adCODE
MEDIUMevals/results/baseline_benchmark.json333 "content": "# Building a Distributed System on Apple Silicon: A Comprehensive Technical Guide## IntroductionThe adCODE
MEDIUMevals/results/tier1_benchmark.json333 "content": "# Building a Distributed System on Apple Silicon: A Comprehensive Technical Guide## IntroductionApple CODE
MEDIUMcommunity-benchmarks/scripts/aggregate.py73# ---------------------------------------------------------------------------COMMENT
MEDIUMcommunity-benchmarks/scripts/aggregate.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMcommunity-benchmarks/scripts/aggregate.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMcommunity-benchmarks/scripts/aggregate.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMcommunity-benchmarks/scripts/aggregate.py136# ---------------------------------------------------------------------------COMMENT
MEDIUMcommunity-benchmarks/scripts/aggregate.py138# ---------------------------------------------------------------------------COMMENT
MEDIUMcommunity-benchmarks/scripts/aggregate.py226# ---------------------------------------------------------------------------COMMENT
MEDIUMcommunity-benchmarks/scripts/aggregate.py228# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py84# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1332# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1334# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1542# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1544# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1695 # -----------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1712 # -----------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2077# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2079# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2230# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2232# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py19# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py228# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py230# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py311# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py313# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1631# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1633# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2045# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2047# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2409# ---------------------------------------------------------------------------COMMENT
2407 more matches not shown…
Hyper-Verbose Identifiers6993 hits · 6054 pts
SeverityFileLineSnippetContext
LOWcommunity-benchmarks/scripts/validate.py352def _check_summary_matches_rounds(bucket_name: str, bucket: dict) -> None:CODE
LOWcommunity-benchmarks/scripts/validate.py399def _check_path_in_submissions(path: Path) -> None:CODE
LOWcommunity-benchmarks/scripts/validate.py423def _check_no_duplicate_submission_id(CODE
LOWcommunity-benchmarks/scripts/validate.py465def _load_submission_id_index(CODE
LOWtests/test_reasoning_parsers.py66 def extract_reasoning_streaming(self, prev, curr, delta):CODE
LOWtests/test_reasoning_parsers.py72 def test_finalize_streaming_default_none(self):CODE
LOWtests/test_reasoning_parsers.py77 def extract_reasoning_streaming(self, prev, curr, delta):CODE
LOWtests/test_reasoning_parsers.py101 def test_both_tags_empty_reasoning(self):CODE
LOWtests/test_reasoning_parsers.py107 def test_both_tags_empty_content(self):CODE
LOWtests/test_reasoning_parsers.py113 def test_both_tags_whitespace_reasoning(self):CODE
LOWtests/test_reasoning_parsers.py119 def test_only_end_tag_implicit(self):CODE
LOWtests/test_reasoning_parsers.py272 def test_both_tags_in_single_delta(self):CODE
LOWtests/test_reasoning_parsers.py280 def test_start_tag_only_in_delta(self):CODE
LOWtests/test_reasoning_parsers.py287 def test_no_tags_early_defaults_to_reasoning(self):CODE
LOWtests/test_reasoning_parsers.py351 def test_streaming_no_tag_past_threshold(self):CODE
LOWtests/test_reasoning_parsers.py358 def test_streaming_no_tag_under_threshold(self):CODE
LOWtests/test_reasoning_parsers.py365 def test_finalize_short_no_tag_correction(self):CODE
LOWtests/test_reasoning_parsers.py389 def test_finalize_long_no_tag_no_correction(self):CODE
LOWtests/test_reasoning_parsers.py396 def test_finalize_with_tags_no_correction(self):CODE
LOWtests/test_reasoning_parsers.py403 def test_finalize_empty_no_correction(self):CODE
LOWtests/test_reasoning_parsers.py1338 def test_extract_channel_analysis(self):CODE
LOWtests/test_reasoning_parsers.py1343 def test_extract_channel_final(self):CODE
LOWtests/test_reasoning_parsers.py1348 def test_extract_channel_not_found(self):CODE
LOWtests/test_reasoning_parsers.py1353 def test_extract_channel_empty_content(self):CODE
LOWtests/test_reasoning_parsers.py1358 def test_extract_channel_with_constrain(self):CODE
LOWtests/test_reasoning_parsers.py1363 def test_channel_regex_matches_analysis(self):CODE
LOWtests/test_reasoning_parsers.py1369 def test_channel_regex_matches_final(self):CODE
LOWtests/test_reasoning_parsers.py1375 def test_channel_regex_matches_constrain(self):CODE
LOWtests/test_reasoning_parsers.py1381 def test_structural_tokens_regex(self):CODE
LOWtests/test_reasoning_parsers.py1460 def test_detect_phase_analysis(self):CODE
LOWtests/test_reasoning_parsers.py1468 def test_detect_phase_transition(self):CODE
LOWtests/test_reasoning_parsers.py1472 def test_streaming_analysis_phase(self):CODE
LOWtests/test_reasoning_parsers.py1480 def test_streaming_final_phase(self):CODE
LOWtests/test_reasoning_parsers.py1488 def test_streaming_phase_transition_to_analysis(self):CODE
LOWtests/test_reasoning_parsers.py1497 def test_streaming_phase_transition_to_final(self):CODE
LOWtests/test_reasoning_parsers.py1506 def test_streaming_init_phase_skips(self):CODE
LOWtests/test_reasoning_parsers.py1513 def test_streaming_structural_token_stripped(self):CODE
LOWtests/test_reasoning_parsers.py1527 def test_extract_content_after_marker(self):CODE
LOWtests/test_reasoning_parsers.py1534 def test_extract_content_after_marker_not_found(self):CODE
LOWtests/test_reasoning_parsers.py1550 def test_think_parser_full_stream(self):CODE
LOWtests/test_reasoning_parsers.py1714 def test_bare_thinking_process_prefix_no_close_tag(self):CODE
LOWtests/test_reasoning_parsers.py2061 def test_no_tags_enable_thinking_true_still_routes_to_content(self):CODE
LOWtests/test_reasoning_parsers.py2067 def test_no_tags_enable_thinking_false_routes_to_content(self):CODE
LOWtests/test_reasoning_parsers.py2086 def test_direct_content_code_block(self):CODE
LOWtests/test_reasoning_parsers.py2098 def test_direct_content_tool_call(self):CODE
LOWtests/test_reasoning_parsers.py2104 def test_reasoning_pattern_english(self):CODE
LOWtests/test_reasoning_parsers.py2111 def test_reasoning_pattern_i_need(self):CODE
LOWtests/test_reasoning_parsers.py2118 def test_reasoning_pattern_let_me(self):CODE
LOWtests/test_reasoning_parsers.py2124 def test_reasoning_pattern_chinese(self):CODE
LOWtests/test_reasoning_parsers.py2129 def test_no_reasoning_pattern(self):CODE
LOWtests/test_reasoning_parsers.py2168 def test_explicit_think_tag_in_delta(self):CODE
LOWtests/test_reasoning_parsers.py2172 def test_explicit_think_tag_with_content(self):CODE
LOWtests/test_reasoning_parsers.py2178 def test_end_think_tag_transition(self):CODE
LOWtests/test_reasoning_parsers.py2211 def test_finalize_undecided_empty(self):CODE
LOWtests/test_reasoning_parsers.py2216 def test_finalize_content_phase(self):CODE
LOWtests/test_reasoning_parsers.py2222 def test_finalize_reasoning_reclassifies(self):CODE
LOWtests/test_reasoning_parsers.py2290 def test_analysis_channel_switch(self):CODE
LOWtests/test_reasoning_parsers.py2297 def test_final_channel_switch(self):CODE
LOWtests/test_reasoning_parsers.py2304 def test_commentary_channel_switch(self):CODE
LOWtests/test_reasoning_parsers.py2313 def test_message_start_skipped(self):CODE
6933 more matches not shown…
Over-Commented Block1316 hits · 900 pts
SeverityFileLineSnippetContext
LOWpyproject.toml41 # default_stream / new_stream / new_thread_local_stream) are materialisedCOMMENT
LOWpyproject.toml61 # ``transformers==5.7.0`` — that release is treated as the *canonicalCOMMENT
LOWpyproject.toml81 "psutil>=5.9.0",COMMENT
LOWpyproject.toml101 "argcomplete>=3.6",COMMENT
LOWpyproject.toml121 "opencv-python>=4.8.0",COMMENT
LOWpyproject.toml141# checkpoint contains an image-processor preprocessor_config.json (theCOMMENT
LOWpyproject.toml201# in the linter/typer toolchain.COMMENT
LOWpyproject.toml221 # to catch format regressions. NOT used at runtime — the routeCOMMENT
LOWpyproject.toml261 "vllm>=0.4.0",COMMENT
LOWpyproject.toml301 # 2. ``phonemizer-fork`` (NOT vanilla ``phonemizer``) is the onlyCOMMENT
LOWpyproject.toml401"vllm_mlx/models/deepseek_v4.py" = ["UP", "B", "SIM", "N", "F", "I", "E"]COMMENT
LOWcommunity-benchmarks/scripts/aggregate.py81# Metrics we surface per bucket. Keep this list in lockstep with whatCOMMENT
LOWcommunity-benchmarks/scripts/validate.py81COMMENT
LOWcommunity-benchmarks/scripts/validate.py141 "and re-run."COMMENT
LOWcommunity-benchmarks/scripts/validate.py161 # loose: it accepts date-only strings (``"2026-06-16"``) andCOMMENT
LOWcommunity-benchmarks/scripts/validate.py301 )COMMENT
LOWcommunity-benchmarks/scripts/validate.py541 # and the file read. The previous version calledCOMMENT
LOWcommunity-benchmarks/scripts/validate.py621 # id) so two files with the same id are correctly flagged: removingCOMMENT
LOWtests/test_reasoning_parsers.py201 assert "Line 1" in reasoningCOMMENT
LOWtests/test_reasoning_parsers.py1701 # then the user-facing answer. Sometimes the model restates theCOMMENT
LOWtests/test_reasoning_parsers.py1741 reasoning, content = self.parser.extract_reasoning(text)COMMENT
LOWtests/test_reasoning_parsers.py1901 "world-class — let me think of an example... Pok Pok was iconic."COMMENT
LOWtests/test_no_mllm_flag.py721# starts appearing here, the gates automatically include it.COMMENT
LOWtests/test_no_mllm_flag.py761 (DeepSeek round-3 #3).COMMENT
LOWtests/test_no_mllm_flag.py901 # Codex round-H fix (PR #409): the later prongs inCOMMENT
LOWtests/test_no_mllm_flag.py1061 "KWARGS_FORWARDED_BUT_NOT_VIA_MODEL_CONFIG. Either set "COMMENT
LOWtests/test_no_mllm_flag.py1161 # literal RoutingFlagPair(...) calls inside it. The assignment isCOMMENT
LOWtests/test_no_mllm_flag.py1381 for conftest in tests_dir.rglob("conftest.py"):COMMENT
LOWtests/test_no_mllm_flag.py1601 continueCOMMENT
LOWtests/test_gemma4_tool_parser.py181COMMENT
LOWtests/test_harmony_stop_final_channel_only.py421 assert stop_str == "</execute_ipython>"COMMENT
LOWtests/test_deep_nest_dos.py81 # NOTE: ``ChatCompletionRequest`` MUST be referenced from aCOMMENT
LOWtests/test_envelope_field_extraction.py601 _walk_loc_with_root,COMMENT
LOWtests/test_audio_upload_size_limit.py21# SKIP NOTE: this test file has heavy environmental requirements thatCOMMENT
LOWtests/test_no_out_of_band_routing.py61# Codex round-D fix (PR #409): allowlisting by NAME alone is bypass-COMMENT
LOWtests/test_no_out_of_band_routing.py101}COMMENT
LOWtests/test_no_out_of_band_routing.py121 # not consulted at runtime by the engine.COMMENT
LOWtests/test_no_out_of_band_routing.py141 # This is a cache placement/testing knob; model routing and DDTreeCOMMENT
LOWtests/test_no_out_of_band_routing.py161 # Operator ceiling for accepted generation token budgets.COMMENT
LOWtests/test_no_out_of_band_routing.py181 # Plumbs ``--mcp-config`` from the CLI to the FastAPI lifespan and isCOMMENT
LOWtests/test_no_out_of_band_routing.py201 # from* — strictly a download/CDN knob — not which model alias loads,COMMENT
LOWtests/test_no_out_of_band_routing.py221 # (the scheduler's cache-self-pressure trigger) tick on realCOMMENT
LOWtests/test_no_out_of_band_routing.py241 # selects a model, parser, or routing tier.COMMENT
LOWtests/test_no_out_of_band_routing.py261 # F-072 slow-DoS body-receive idle timeout (seconds, float).COMMENT
LOWtests/test_no_out_of_band_routing.py281 "RAPID_MLX_CORS_ALLOW_HEADERS",COMMENT
LOWtests/test_no_out_of_band_routing.py301 # Legacy alias for the rescue opt-out (PR #802 / #860 / issueCOMMENT
LOWtests/test_no_out_of_band_routing.py321 # never selects a model, parser, or routing tier; consumedCOMMENT
LOWtests/test_no_out_of_band_routing.py341 # PID of the supervising parent process for the parent-watchdogCOMMENT
LOWtests/test_no_out_of_band_routing.py361 # pure-silence and trailing-silence clips (issue #961). PureCOMMENT
LOWtests/test_no_out_of_band_routing.py921 "var access bypasses the string-Constant scan (matches "COMMENT
LOWtests/test_no_out_of_band_routing.py1261 "suffix_decoding_tier", # one of VALID_SUFFIX_TIERS — non-routing dataCOMMENT
LOWtests/test_ui_tars_fixes.py821 assert tc_expr is not None, "tool_choice= kwarg missing"COMMENT
LOWtests/test_no_pydantic_error_leak.py221# Cases chosen to hit each Pydantic v2 error class that would normallyCOMMENT
LOWtests/test_tokenizer_gemma4_hybrid.py361 # Pre-repair: ``Ġ`` leaks.COMMENT
LOWtests/test_model_auto_config.py381 # 3B base = Qwen2.5-Coder-3B). Verify both the alias pathsCOMMENT
LOWtests/test_model_auto_config.py1341 # body, matched by deepseek_v3 / deepseek_r1_0528. V3.1-lineCOMMENT
LOWtests/test_model_auto_config.py1361 ("deepseek-ai/DeepSeek-V3-0324", "deepseek_v3"),COMMENT
LOWtests/test_model_auto_config.py1461 # replaced with an explicit hermes pin — codex r6 PR-validate NIT,COMMENT
LOWtests/test_model_auto_config.py1481 assert "deepseek_v3" in msgCOMMENT
LOWtests/test_model_auto_config.py1621 # would have fired under the r5 same-parser-only gate), suppressCOMMENT
1256 more matches not shown…
Excessive Try-Catch Wrapping763 hits · 710 pts
SeverityFileLineSnippetContext
LOWbench/bench_spec_decode_mtp.py459 except Exception as exc: # pragma: no cover — benchCODE
LOWevals/run_eval.py265 except Exception:CODE
LOWevals/run_eval.py475 except Exception:CODE
LOWevals/run_eval.py280 except Exception:CODE
LOWevals/run_eval.py290 except Exception:CODE
LOWevals/run_eval.py947 except Exception as e:CODE
LOWevals/run_eval.py1072 except Exception as e:CODE
LOWevals/run_eval.py1226 except Exception as e:CODE
LOWevals/run_eval.py1537 except Exception as e:CODE
LOWevals/run_eval.py1679 except Exception:CODE
LOWtests/test_no_mllm_flag.py588 except Exception:CODE
LOWtests/test_continuous_batching.py68 except Exception:CODE
LOWtests/test_mllm_executor_cancel.py199 except Exception:CODE
LOWtests/test_mllm.py47 except Exception:CODE
LOWtests/test_mllm.py73 except Exception:CODE
LOWtests/regression_suite.py39 except Exception:CODE
LOWtests/regression_suite.py443 except Exception as e:CODE
LOWtests/regression_suite.py593 except Exception as e:CODE
LOWtests/regression_suite.py608 except Exception as e:CODE
LOWtests/regression_suite.py680 except Exception as e:CODE
LOWtests/test_anthropic_stop_sequences.py279 except Exception:CODE
LOWtests/test_telemetry_cli.py164 except Exception:CODE
LOWtests/test_batching_deterministic.py73 except Exception as e: # pragma: no cover - environment-dependentCODE
MEDIUMtests/test_batching_deterministic.py68def _load():CODE
LOWtests/test_event_loop.py256 except Exception as e:CODE
LOWtests/test_batching.py371 except Exception as e:CODE
LOWtests/test_streaming_latency.py153 except Exception as e:CODE
LOWtests/test_body_receive_timeout.py646 except Exception:CODE
LOWtests/test_metal_error_recovery.py42 except Exception as e:CODE
LOWtests/test_mtp_real_weights.py169 except Exception:CODE
LOWtests/test_idle_event_wakeup.py96 except Exception:CODE
MEDIUMtests/test_server.py341def make_requests():CODE
MEDIUMtests/test_server.py440def register_files():CODE
MEDIUMtests/test_server.py481def manipulate_counter():CODE
LOWtests/test_server.py346 except Exception as e:CODE
LOWtests/test_server.py449 except Exception as e:CODE
LOWtests/test_server.py488 except Exception as e:CODE
LOWtests/test_cache_routes.py1674 except Exception:CODE
LOWtests/test_anthropic_stream_finalize.py332 except Exception:CODE
LOWtests/test_mllm_cache.py624 except Exception as exc:CODE
LOWtests/test_mllm_cache.py655 except Exception as exc:CODE
MEDIUMtests/test_paged_cache.py559def allocate_blocks():CODE
LOWtests/test_paged_cache.py565 except Exception as e:CODE
LOWtests/test_tool_call_e2e.py273 except Exception:STRING
LOWtests/test_tool_call_e2e.py331 except Exception as e:CODE
LOWtests/test_tool_call_e2e.py344 except Exception as e:CODE
MEDIUMtests/test_telemetry_redact.py201def trigger_and_fingerprint() -> str:CODE
LOWtests/test_telemetry_redact.py250 except Exception as e:CODE
LOWtests/evals/gsm8k/gsm8k_eval.py176 except Exception as e:CODE
LOWtests/evals/gsm8k/gsm8k_eval.py280 except Exception as e:CODE
LOWtests/evals/gsm8k/gsm8k_eval.py347 except Exception as e:CODE
LOWtests/integrations/conftest.py234 except Exception as exc: # noqa: BLE001 — surface the underlying errorCODE
LOWtests/integrations/test_openwebui.py40 except Exception as e:CODE
LOWtests/integrations/test_openwebui.py69 except Exception as e:CODE
LOWtests/integrations/test_openwebui.py100 except Exception as e:CODE
LOWtests/integrations/test_openwebui.py143 except Exception as e:CODE
LOWtests/integrations/test_langchain.py27 except Exception:CODE
LOWtests/integrations/test_langchain.py51 except Exception:CODE
LOWtests/integrations/test_langchain.py70 except Exception as e:CODE
LOWtests/integrations/test_langchain.py88 except Exception as e:CODE
703 more matches not shown…
AI Slop Vocabulary181 hits · 579 pts
SeverityFileLineSnippetContext
MEDIUMevals/results/baseline_benchmark.json156 "content": "# Performance Analysis & BenchmarksHere's a comprehensive analysis with benchmarks:\n\n```pythonimCODE
MEDIUMevals/results/baseline_benchmark.json333 "content": "# Building a Distributed System on Apple Silicon: A Comprehensive Technical Guide## IntroductionThe adCODE
MEDIUMevals/results/baseline_benchmark.json333 "content": "# Building a Distributed System on Apple Silicon: A Comprehensive Technical Guide## IntroductionThe adCODE
MEDIUMevals/results/baseline_benchmark.json333 "content": "# Building a Distributed System on Apple Silicon: A Comprehensive Technical Guide## IntroductionThe adCODE
MEDIUMevals/results/tier1b_benchmark.json333 "content": " about building a distributed system on Apple Silicon. They want it to cover architecture design, netwCODE
MEDIUMevals/results/tier1b_benchmark.json333 "content": " about building a distributed system on Apple Silicon. They want it to cover architecture design, netwCODE
MEDIUMevals/results/tier1_benchmark.json333 "content": "# Building a Distributed System on Apple Silicon: A Comprehensive Technical Guide## IntroductionApple CODE
MEDIUMevals/results/tier1_benchmark.json333 "content": "# Building a Distributed System on Apple Silicon: A Comprehensive Technical Guide## IntroductionApple CODE
MEDIUMevals/results/tier1_benchmark.json333 "content": "# Building a Distributed System on Apple Silicon: A Comprehensive Technical Guide## IntroductionApple CODE
MEDIUMcommunity-benchmarks/scripts/aggregate.py90# adding harness pass-rate columns). Consumers should skip aggregatesCOMMENT
MEDIUMtests/test_no_mllm_flag.py1550# serving entrypoints (test helpers, internal probes, doctor harnessCOMMENT
MEDIUMtests/test_no_mllm_flag.py1556 # Eval harness — bench / scoring tool, not a serving entrypoint.COMMENT
MEDIUMtests/test_harmony_stop_final_channel_only.py6Discovered by PR #1048's real Docker OpenHands E2E harness: theSTRING
MEDIUMtests/test_no_out_of_band_routing.py132 # Port for doctor harness probe checks, not engine routing.COMMENT
MEDIUMtests/test_no_out_of_band_routing.py245 # harness name (or comma-separated subset) when running a scopedCOMMENT
MEDIUMtests/test_no_out_of_band_routing.py247 # profiles_filter`` consumes it to whittle the harness loop downCOMMENT
MEDIUMtests/test_audio_r11_b_bundle.py72# with the same harness pattern.COMMENT
MEDIUMtests/test_mtp_cli_wiring.py655 """Codex round-D BLOCKING #1 regression guard (bench-harness path).STRING
MEDIUMtests/test_mtp_cli_wiring.py890 """Codex round-G NIT #4 + round-D cross-check: bench-harness pathSTRING
MEDIUMtests/regression_suite.py19# Port can be overridden by the doctor harness (which picks a free port).COMMENT
MEDIUMtests/test_stream_include_usage_honored.py112# Test harnessCOMMENT
MEDIUMtests/test_pflash_needle.py39# in ``pytest.ini`` is reserved for the deferred engine-level harnessCOMMENT
MEDIUMtests/test_pflash_needle.py91 [4_096, 8_192, 16_384], # token-level only — engine harness exercises longerCODE
MEDIUMtests/test_pflash_needle.py187# Engine-level harness — deferred.COMMENT
MEDIUMtests/test_pflash_needle.py204# When someone re-introduces an engine-level harness here, the rightCOMMENT
MEDIUMtests/test_pflash_needle.py217# Env contract for that future harness: ``PFLASH_NEEDLE_MODEL`` selectsCOMMENT
MEDIUMtests/test_pflash_needle.py219# Re-instate as module-level reads when the harness lands; reading themCOMMENT
MEDIUMtests/test_audio_r8_a_bundle.py66# Helpers (copied from r7-C so this file stands alone — the harness patternCOMMENT
MEDIUMtests/test_audio_r8_a_bundle.py747 # The test harness may run on a workstation whose HF cacheCOMMENT
MEDIUMtests/test_audio_r8_a_bundle.py813 # snapshot in the test harness) so the cold-start fallbackCOMMENT
MEDIUMtests/test_bench_tier_submit_combo.py362 # tier=smoke / harness / all). The speed numbers carry throughCOMMENT
MEDIUMtests/test_prefix_cache_persistence.py1705# and the next save attempt (e.g. an embedded harness that does multipleCOMMENT
MEDIUMtests/test_routes_models_effective_parsers.py44# Test harnessCOMMENT
MEDIUMtests/test_completions_spec_parity.py1027 # representation is robust against future ``Annotated[int, ...]``COMMENT
MEDIUMtests/test_ui_tars_parser.py224 # pyautogui, the Anthropic computer-tool harness) — expectsCOMMENT
MEDIUMtests/test_dflash_integration.py1099# response. Mirrors the PoC bench harness but goes through our server.COMMENT
MEDIUMtests/test_hermes_harness_contract.py41 # on a real server. The point of this test is the harness invocationCOMMENT
MEDIUMtests/test_bench_tier_all.py157 # Speed failed → overall fail, but harness must still have run.COMMENT
MEDIUMtests/test_responses_bundle.py25# Lightweight engine harness — copy of routes/test_responses_route.py'sCOMMENT
MEDIUMtests/test_agent_query_context_skip.py116 # the harness wanted vs what the model offered.COMMENT
MEDIUMtests/test_agent_query_context_skip.py193 # genuine harness misconfiguration.COMMENT
MEDIUMtests/test_cache_routes.py2905 # the shared device default-stream context. This is test-harness plumbingCOMMENT
MEDIUMtests/test_probe_fastpath.py555 """Codex r3 BLOCKING #1: an ASGI server / harness that shipsSTRING
MEDIUMtests/test_release_check_m3_port_thread.py45# integration harness with a different env-var convention.COMMENT
MEDIUMtests/test_pflash_metrics.py152 assert dropped_expected > 0 # sanity — the harness must be compressingCODE
MEDIUMtests/test_tool_choice_enforcement.py73# Test harness — recording mock engine + client builderCOMMENT
MEDIUMtests/test_bench_tier_harness.py28 # tier=harness tests that incidentally hit the smoke probeCOMMENT
MEDIUMtests/test_bench_tier_harness.py101 # Each harness name should appear in the per-tier detail block.COMMENT
MEDIUMtests/test_bench_tier_harness.py197 # Crash → tier-level FAIL, but every harness was visited.COMMENT
MEDIUMtests/test_bench_tier_harness.py314 _ = _time.time() - t0 # touched for clarity; harness sweep is mockedCODE
MEDIUMtests/test_bench_tier_harness.py50 the post-#682 harness session would conclude the (mock) server isSTRING
MEDIUMtests/parsers/fake_tokenizer.py118# harness aligned with the existing OutputRouter test fixtures.COMMENT
MEDIUM…est_issue_468_tool_choice_required_harmony_compound.py78 # — we reuse get_weather as the recipient since the harnessCOMMENT
MEDIUMtests/integrations/test_agents_matrix.py453 # Pass the FULL parsed base_url to the harness — the harnessCOMMENT
MEDIUMtests/integrations/test_agents_matrix.py478 # +60 s over the harness's internal ``timeout(1)`` soCOMMENT
MEDIUMtests/integrations/test_agents_matrix.py498 # — the harness itself already prints BEFORE/AFTER add.py andCOMMENT
MEDIUMtests/integrations/test_agents_matrix.py589 # harness, not just the port. The old ``--port`` path silentlyCOMMENT
MEDIUMtests/integrations/test_agents_matrix.py594 # authoritative; the harness still accepts ``--port`` forCOMMENT
MEDIUMtests/integrations/test_agents_matrix.py599 # LiteLLM's ``openai/<model>`` prefix in the harness lines upCOMMENT
MEDIUMtests/integrations/test_agents_matrix.py606 # even if the harness accidentally strips them.COMMENT
121 more matches not shown…
Unused Imports699 hits · 568 pts
SeverityFileLineSnippetContext
LOWbench/bench_spec_decode_mtp.py39CODE
LOWbench/bench_radix_vs_hash.py44CODE
LOWcommunity-benchmarks/scripts/aggregate.py62CODE
LOWcommunity-benchmarks/scripts/validate.py37CODE
LOWtests/test_audio_boot_check.py15CODE
LOWtests/test_audio_extras_lockin.py24CODE
LOWtests/test_no_mllm_flag.py25CODE
LOWtests/test_cli_embeddings_extra.py30CODE
LOWtests/test_generation_config_loader.py4CODE
LOWtests/test_completions_log_redaction.py24CODE
LOWtests/test_seed_reproducibility.py36CODE
LOWtests/test_ddtree_integration.py4CODE
LOWtests/test_anthropic_stream_reasoning.py19CODE
LOWtests/test_r15_routes_stability_batch.py36CODE
LOWtests/test_mllm_penalty_passthrough.py24CODE
LOWtests/test_reasoning_content_null_rescue.py37CODE
LOWtests/test_llama_tool_parser_bare_json.py19CODE
LOWtests/test_harmony_stop_final_channel_only.py36CODE
LOWtests/test_audio_probe_consistency.py25CODE
LOWtests/test_telemetry_queue.py12CODE
LOWtests/test_deep_nest_dos.py40CODE
LOWtests/test_r12_reasoning_sanitizer_required.py50CODE
LOWtests/test_envelope_field_extraction.py43CODE
LOWtests/test_audio_upload_size_limit.py10CODE
LOWtests/test_mllm_executor_cancel.py41CODE
LOWtests/test_prefix_cache_radix_e2e.py21CODE
LOWtests/test_chat_route_vlm_image.py33CODE
LOWtests/test_stt_corrupted_file.py16CODE
LOWtests/test_no_out_of_band_routing.py29CODE
LOWtests/test_audio_r11_b_bundle.py40CODE
LOWtests/test_request_time_alias_resolution.py27CODE
LOWtests/test_mllm_usage_tracking.py26CODE
LOWtests/test_share_cli.py14CODE
LOWtests/test_orphan_tool_validation.py34CODE
LOWtests/test_ui_tars_fixes.py37CODE
LOWtests/test_serve_port_collision.py39CODE
LOWtests/test_pr_validate_runner.py17CODE
LOWtests/test_serve_listen_fd.py21CODE
LOWtests/test_r10_scrub_validation_bundle.py45CODE
LOWtests/test_tokenizer_gemma4_hybrid.py43CODE
LOWtests/test_447_stream_tool_choice_auto.py49CODE
LOWtests/test_anthropic_tool_param_validation.py18CODE
LOWtests/test_deepseek_v3_tool_parser.py32CODE
LOWtests/test_responses_chat_template_kwargs.py34CODE
LOWtests/test_mllm_hybrid_probe.py12CODE
LOWtests/test_mtp_cli_wiring.py30CODE
LOWtests/test_pr_validate_test_env.py19CODE
LOWtests/test_pr_validate_test_env.py153CODE
LOWtests/test_schema_v2_rejects_partial_harness.py16CODE
LOWtests/test_stress_test_stream_usage.py4CODE
LOWtests/test_embeddings_timeout_admission.py21CODE
LOWtests/test_cli_jlens.py13CODE
LOWtests/test_mllm_corrupt_image.py44CODE
LOWtests/test_ubc_evict.py25CODE
LOWtests/test_gemma4_unified_routing.py36CODE
LOWtests/test_community_bench_aggregate.py26CODE
LOWtests/test_aliases_contract.py24CODE
LOWtests/test_telemetry_transport.py13CODE
LOWtests/test_disconnect_counter_prod_shape.py53CODE
LOWtests/test_tool_parser_wire_formats.py29CODE
639 more matches not shown…
Modern AI Meta-Vocabulary121 hits · 378 pts
SeverityFileLineSnippetContext
MEDIUMevals/results/tier1b_benchmark.json333 "content": " about building a distributed system on Apple Silicon. They want it to cover architecture design, netwCODE
MEDIUMtests/test_reasoning_parsers.py1700 # supposed to emit its chain-of-thought followed by ``</think>`` andCOMMENT
MEDIUMtests/test_reasoning_parsers.py1706 # response — which is pure chain-of-thought — into ``content`` andCOMMENT
MEDIUMtests/test_reasoning_parsers.py2016 # reclassified as the model's own chain-of-thought.COMMENT
MEDIUMtests/test_reasoning_content_null_rescue.py827# in the same orchestration the chat route runs, against everyCOMMENT
MEDIUMtests/test_reasoning_content_null_rescue.py1071 # parser-specific reasoning trace's last RESCUE_TAIL_LENGTHCOMMENT
MEDIUMtests/test_no_out_of_band_routing.py290 # chars of the reasoning trace on length-cut mid-think. PowerCOMMENT
MEDIUMtests/test_no_out_of_band_routing.py356 # F-K-WHISPER-961 anti-hallucination VAD pre-trim opt-outCOMMENT
MEDIUMtests/test_no_out_of_band_routing.py360 # before Whisper for silence-hallucination suppression onCOMMENT
MEDIUMtests/test_model_auto_config.py1755 # V3Beta hallucination — V3 pattern needs the same boundary.COMMENT
MEDIUMtests/test_embeddings_timeout_admission.py175 # H-09 (route guard) requires the embedding model to be configured.COMMENT
MEDIUMtests/test_pflash_needle.py195# async-runtime scaffolding into this test module or (b) drift from theCOMMENT
MEDIUMtests/test_r12_h06_repair_context_guard.py45# tokenizer + a tunable max-context window so we can hit the H-06COMMENT
MEDIUMtests/test_embeddings.py187 # H-09: the route now requires the embedding model to beCOMMENT
MEDIUMtests/test_finalize_harmony_raw_text.py506# the byte-identical reasoning trace into BOTH ``content`` ANDCOMMENT
MEDIUMtests/test_finalize_harmony_raw_text.py861# started with the REMAINDER of the reasoning trace ("answer succinctly,COMMENT
MEDIUMtests/test_finalize_harmony_raw_text.py933 # Long no-tag reasoning trace (chat-template pre-injected <think>,COMMENT
MEDIUMtests/test_batching_deterministic.py158 "Bisected to PR #280 (event-driven idle wakeup). The test adds 4 "CODE
MEDIUMtests/test_prefix_cache_persistence.py1699# from a fs-event-driven antivirus touching cache_dir mid-rename, observedCOMMENT
MEDIUM…ts/test_r12_m3_responses_stream_leading_items_order.py333 # The reasoning summary must carry the model's chain-of-thought.COMMENT
MEDIUMtests/test_chat_route_tool_tag_leak.py241 # ``reasoning_content`` must contain the chain-of-thought.COMMENT
MEDIUMtests/test_anthropic_think_leak_r12_m1b.py497 f"(PR #802 design — agentic auto-retry pattern-matches the prefix); "CODE
MEDIUMtests/test_routes.py999 # context window — both ids share the loaded engine.COMMENT
MEDIUMtests/test_routes.py1318 # H-09 route guard requires an embedding model to beCOMMENT
MEDIUMtests/test_ui_tars_parser.py409 # parser owns the chain-of-thought channel, the tool parser ownsCOMMENT
MEDIUMtests/test_ui_tars_parser.py412 # mirror so the chain-of-thought doesn't double-render when theCOMMENT
MEDIUMtests/test_stt_vad_pretrim.py217 # anti-hallucination invariant.COMMENT
MEDIUMtests/test_pr_validate_codex.py1774 "### context window exceeded\nNo blocking issues found.",CODE
MEDIUMtests/test_mxfp4_moe_guardrail.py416 # passed to e.g. monkeypatch.setattr in test scaffolding, whichCOMMENT
MEDIUMtests/test_harmony_finalize.py588 # The reasoning trace must still flow on the reasoning channelCOMMENT
MEDIUMtests/test_routes_models.py102 # Both cards must be present — the chat model AND the embedding model.COMMENT
MEDIUMtests/test_streaming_newlines.py303 # The reasoning trace from inside ``<think>...</think>`` MUSTCOMMENT
MEDIUMtests/test_agent_query_context_skip.py81# ~100 cols so the phrase "context window" ends up split asCOMMENT
MEDIUMtests/test_agent_query_context_skip.py131 initial #659 fix used a literal ``"context window" in output``STRING
MEDIUMtests/test_silent_drop_rescue_569.py540 # The rescued content is the accumulated reasoning trace.COMMENT
MEDIUMtests/test_silent_drop_rescue_569.py943 # them should carry the reasoning trace. Per-delta reasoningCOMMENT
MEDIUMtests/test_doctor_runner.py220# The doctor CLI no longer owns server-boot orchestration; that moved toCOMMENT
MEDIUMtests/test_chat_template_tool_call_arguments.py292 env = jinja2.Environment( # noqa: S701 - test scaffoldingCODE
MEDIUMtests/test_chat_logprobs_channel_routing.py189 # #569: rescue fires — content carries the reasoning trace so theCOMMENT
MEDIUMtests/test_mtp_gemma4_assistant_inject.py337 # SIGNATURE contract, and unlike the PR #989 scaffold path, theCOMMENT
MEDIUMtests/test_mtp_gemma4_assistant_inject.py758 # make_mtp_cache returns a list from the inner scaffold — assertCOMMENT
MEDIUMtests/test_tool_choice_enforcement.py177 # No-fake-API clause names the most common hallucination shapes.COMMENT
MEDIUMtests/test_api_validation_bundle.py457# - C3: chat rejects image/video on text-only models (no silent hallucination)COMMENT
MEDIUMtests/test_api_validation_bundle.py260 # H-09 route guard rejects requests when no embedding model isCOMMENT
MEDIUMtests/integrations/test_agents_matrix.py10Existing wire cells (from #1030 scaffold):STRING
MEDIUMtests/integrations/test_hermes.py109 # context window is below what Hermes's full tool-rich promptCOMMENT
MEDIUMtests/integrations/test_hermes.py116 # literal ``"context window"`` substring would miss whenCOMMENT
MEDIUMtests/integrations/test_hermes.py509# Deep agentic tests (requires hermes binary, tests real workflows)COMMENT
MEDIUMtests/integrations/test_hermes.py656 # Deep agentic testsCOMMENT
MEDIUMdocs/getting-started/quickstart.md12rapid-mlx chat --think # surface chain-of-thought reasoningCODE
MEDIUMdocs/guides/embeddings.md17### Start the server with an embedding modelCOMMENT
MEDIUMdocs/guides/embeddings.md20# Pre-load a specific embedding model at startupCOMMENT
MEDIUMdocs/guides/audio.md264#### Silence-hallucination guard (Whisper only)COMMENT
MEDIUMscripts/bench_readme_refresh.py437 # chunks (= the chain-of-thought stream), but those chunks come outCOMMENT
MEDIUMscripts/bench_suffix_decoding.py99# An agentic ReAct trace — the model has just emitted Thought/Action/STRING
MEDIUMscripts/release_check_m3.sh137# expectations that small models hallucinate. Run for the contractCOMMENT
MEDIUMscripts/agent_promo_gen.py61[Rapid-MLX](https://github.com/raullenchai/Rapid-MLX) is an inference server for Apple Silicon that provides an OpenAI-cCODE
MEDIUMscripts/pr_validate/golden_models.yaml199# (or when our Gemma chat template ships better few-shot priming), addCOMMENT
MEDIUMvllm_mlx/memory_cache.py1573 # This handles the agentic pattern: same system+context prefixCOMMENT
MEDIUMvllm_mlx/memory_cache.py2515 # PermissionError from a fs-event-driven antivirus touchingCOMMENT
61 more matches not shown…
Deep Nesting415 hits · 300 pts
SeverityFileLineSnippetContext
LOWbench/bench_spec_decode_mtp.py413CODE
LOWevals/run_eval.py328CODE
LOWevals/run_eval.py490CODE
LOWevals/run_eval.py516CODE
LOWevals/run_eval.py555CODE
LOWevals/run_eval.py626CODE
LOWevals/run_eval.py1000CODE
LOWevals/run_eval.py1400CODE
LOWevals/run_eval.py1565CODE
LOWevals/generate_scorecard.py84CODE
LOWcommunity-benchmarks/scripts/aggregate.py193CODE
LOWtests/test_no_mllm_flag.py744CODE
LOWtests/test_no_mllm_flag.py862CODE
LOWtests/test_no_mllm_flag.py1133CODE
LOWtests/test_no_mllm_flag.py1363CODE
LOWtests/test_no_mllm_flag.py1657CODE
LOWtests/test_no_mllm_flag.py1901CODE
LOWtests/test_reasoning_content_null_rescue.py1406CODE
LOWtests/test_reasoning_content_null_rescue.py1889CODE
LOWtests/test_stt_corrupted_file.py184CODE
LOWtests/test_no_out_of_band_routing.py575CODE
LOWtests/test_no_out_of_band_routing.py731CODE
LOWtests/test_no_out_of_band_routing.py854CODE
LOWtests/test_no_out_of_band_routing.py987CODE
LOWtests/test_ui_tars_fixes.py718CODE
LOWtests/test_serve_listen_fd.py144CODE
LOWtests/test_responses_engine_failure_envelope.py272CODE
LOWtests/regression_suite.py44CODE
LOWtests/test_anthropic_stop_sequences.py245CODE
LOWtests/test_anthropic_stop_sequences.py296CODE
LOWtests/test_responses_sse_event_order.py170CODE
LOWtests/test_anthropic_streaming_reasoning.py77CODE
LOWtests/test_anthropic_streaming_reasoning.py111CODE
LOWtests/test_truncation_no_synthetic_text.py235CODE
LOWtests/test_truncation_no_synthetic_text.py352CODE
LOWtests/test_truncation_no_synthetic_text.py456CODE
LOWtests/test_response_format_json_schema_strict.py576CODE
LOWtests/test_community_bench.py1250CODE
LOWtests/test_community_bench.py1274CODE
LOWtests/test_r12_h06_repair_context_guard.py101CODE
LOWtests/test_prefix_cache_persistence.py1036CODE
LOWtests/test_prefix_cache_persistence.py1057CODE
LOWtests/test_responses_591_followups.py253CODE
LOWtests/test_pr_validate_stress_timeout.py108CODE
LOWtests/test_responses_budget_exhaust_streaming.py627CODE
LOWtests/test_responses_budget_exhaust_streaming.py926CODE
LOWtests/test_streaming_latency.py28CODE
LOW…ts/test_r12_m3_responses_stream_leading_items_order.py232CODE
LOWtests/test_mirror_pull.py2763CODE
LOWtests/test_anthropic_route_thinking_gate.py601CODE
LOWtests/test_responses_bundle.py254CODE
LOWtests/test_sampling_params_passthrough.py399CODE
LOWtests/test_context_overflow_400.py55CODE
LOWtests/test_paired_compat.py118CODE
LOWtests/test_paired_compat.py131CODE
LOWtests/test_paired_compat.py162CODE
LOWtests/test_paired_compat.py206CODE
LOWtests/test_responses_route.py753CODE
LOWtests/test_chat_streaming_no_reasoning_alias.py120CODE
LOWtests/test_silent_drop_rescue_569.py546CODE
355 more matches not shown…
Cross-Language Confusion43 hits · 206 pts
SeverityFileLineSnippetContext
HIGHtests/test_reasoning_content_null_rescue.py1023 strict-null, but the sentinel-absence assertion is whatSTRING
HIGHtests/test_envelope_field_extraction.py11 "param":null,"code":null}}STRING
HIGHtests/test_no_pydantic_error_leak.py15 "v/missing","type":"invalid_request_error","code":null,STRING
HIGHtests/test_no_pydantic_error_leak.py16 "param":null}}STRING
HIGHtests/test_r10_scrub_validation_bundle.py32 ``reasoning_effort`` accepted any value (int, list, null,STRING
HIGHtests/regression_suite.py486 # every leaf in the schema (qty must be int|null, no extra keys,COMMENT
HIGHtests/test_stream_include_usage_honored.py205 f"chunk (not just emit null); got {len(chunks_with_usage_key)} "CODE
HIGHtests/test_stream_include_usage_honored.py233 f"chunk (not just emit null); got {len(chunks_with_usage_key)} "CODE
HIGHtests/test_stream_include_usage_honored.py304 f"every chunk (not just emit null); got "CODE
HIGHtests/test_stream_include_usage_honored.py332 f"KEY from every chunk (not just emit null); got "CODE
HIGHtests/test_stream_include_usage_honored.py182 be absent from every chunk (not just present-but-null). CodexSTRING
HIGHtests/test_finalize_harmony_raw_text.py1009 spec — the tool call IS the visible response, ``content`` is null).STRING
HIGHtests/test_routes_models_effective_parsers.py470 f"entry's live ``tool_call_parser=None`` must surface as null; "CODE
HIGHtests/test_routes_models_effective_parsers.py474 f"entry's live ``reasoning_parser=None`` must surface as null; "CODE
HIGHtests/test_api_models.py897 # D-MISSING-CONTENT-KEY (r12-7): empty string, not null, so theCOMMENT
HIGHtests/test_api_models.py166 carrying ``{"role":"user","content":null}`` (or "system" /STRING
HIGHtests/test_openai_tool_choice_validation.py234 """``tool_choice=null`` (JSON null) — same semantics asSTRING
HIGHtests/test_mcp_security.py69 validator.validate_command("npx && rm -rf /", "test-server")CODE
HIGHtests/test_mcp_security.py65 """Test that command injection via && is blocked."""STRING
HIGHtests/test_audio_r11_b_pure.py161 """``{"format": null}`` is the JSON shape an SDK might emit whenSTRING
HIGHtests/test_casual_chat_auto_disable_thinking.py438 """Codex r1 MEDIUM #3: ``reasoning={"effort": null}`` isSTRING
HIGHtests/test_casual_chat_auto_disable_thinking.py443 round-trips ``reasoning={"effort": null}`` (e.g. an SDK thatSTRING
HIGHtests/test_tool_param_enforcement.py201 _validate_tool_call_params([_call("nick", '{"name": null}')], tools)CODE
HIGHtests/test_bench_vs_ollama.py142 'data: {"choices":[null,{"delta":null},{"delta":[]}]}',CODE
HIGHtests/test_bench_vs_ollama.py175 '{"message":null}',CODE
HIGHtests/test_vision_extra_install.py305 f"`pip install rapid-mlx && rapid-mlx serve gemma-4-12b-4bit` "CODE
HIGHtests/test_vision_extra_install.py472 "`pip install rapid-mlx && rapid-mlx serve gemma-4-12b-4bit` "CODE
HIGHtests/test_vision_extra_install.py13``pip install rapid-mlx==0.10.0 && rapid-mlx serve gemma-4-12b-4bit``STRING
HIGHscripts/agent_promo_gen.py154pip install rapid-mlx && rapid-mlx serve <model>CODE
HIGHvllm_mlx/tool_parsers/gemma4_tool_parser.py121 # Try to parse as JSON literal (int, float, bool, null)COMMENT
HIGHvllm_mlx/middleware/body_size.py568 "code": "request_too_large", "param": null}}STRING
HIGHvllm_mlx/models/gemma4_text.py591 # * ``None`` reaching here means the key was ABSENT (not explicit null,COMMENT
HIGHvllm_mlx/models/gemma4_text.py611 # ``TypeError`` on a ``None`` that reached it via an explicit config null).COMMENT
HIGHvllm_mlx/models/gemma4_vendored/__init__.py8lean; but a fresh `pip install rapid-mlx==0.10.0 && rapid-mlx serveSTRING
HIGHvllm_mlx/community_bench/hardware.py139 submission still ships without it (schema allows null).STRING
HIGHvllm_mlx/api/models.py464# null, garbage like ``"banana"``) with HTTP 200 — the field wasCOMMENT
HIGHvllm_mlx/api/models.py904 # the null, but many existing clients (and the response shapeCOMMENT
HIGHvllm_mlx/api/models.py1784 # bool, null) are rejected with a clear envelope BEFORE Pydantic'sCOMMENT
HIGHvllm_mlx/api/responses_adapter.py413 shape). Only a non-null string counts; ``{"effort": null}`` /STRING
HIGHvllm_mlx/service/helpers.py1871 # NON-NULL ``effort`` only: ``reasoning={"effort": null}`` andCOMMENT
HIGHvllm_mlx/routes/models.py324 three-way (text / image / null) shape instead of the documentedSTRING
HIGHvllm_mlx/routes/health.py301 # Always emit an object (never null) so dashboards with strictCOMMENT
HIGHvllm_mlx/routes/anthropic.py1244 # (explicit null) are accepted by the count_tokens contract —COMMENT
Modern Structural Boilerplate145 hits · 149 pts
SeverityFileLineSnippetContext
LOWtests/integrations/conftest.py664__all__ = [CODE
LOWexamples/video_benchmark.py31logger = logging.getLogger(__name__)CODE
LOWexamples/test_video.py24logger = logging.getLogger(__name__)CODE
LOWscripts/extract_hy3_mtp.py47logger = logging.getLogger(__name__)CODE
LOWscripts/extract_mtp_weights.py32logger = logging.getLogger(__name__)CODE
LOWscripts/pr_validate/steps/codex_review.py2541. [BLOCKING] vllm_mlx/routes/chat.py:918 — `assert isinstance(_msg, dict)` is stripped under `python -O`, leaving the gCODE
LOWvllm_mlx/model_runner.py28logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/_tempfile_safe.py365__all__ = ["managed_tempfile_path"]CODE
LOWvllm_mlx/mllm_cache.py31logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/worker.py20logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/_mlx_compat.py47logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/memory_cache.py39logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/attention.py16logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/server.py155logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/vision_embedding_cache.py26logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/output_router.py37logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/embedding.py15logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/request.py232 def set_finished(self, status: RequestStatus, reason: str | None = None) -> None:CODE
LOWvllm_mlx/turboquant.py52logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/multimodal_processor.py25logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/__init__.py117__all__ = [CODE
LOWvllm_mlx/kv_cache_dtype.py36logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/optimizations.py30logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/_parent_watchdog.py61logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/output_router_harmony.py58logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/engine_core.py32logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/mllm_scheduler.py53logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/paged_cache.py34logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/vllm_platform.py18logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/vllm_platform.py213 def set_device(cls, device: torch.device) -> None:CODE
LOWvllm_mlx/model_auto_config.py33logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/plugin.py14logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/_signal_observability.py56logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/cloud_router.py17logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/prefix_cache.py29logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/scheduler.py50logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/_mxfp4_moe_guardrail.py76logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/model_registry.py21logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/mllm_batch_generator.py42logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/lfm_tool_parser.py23logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/deepseek_v3_tool_parser.py74logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/qwen3coder_tool_parser.py41logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/__init__.py77__all__ = [CODE
LOWvllm_mlx/tool_parsers/seed_oss_tool_parser.py32logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/deepseekv31_tool_parser.py52logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/nemotron_tool_parser.py24logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/ui_tars_tool_parser.py63logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/middleware/auth.py20logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/middleware/probe_fastpath.py67logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/middleware/body_size.py51logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/middleware/body_depth.py56logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/kernels/turboquant_fused.py28logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/bench/_server.py242__all__ = ["serve", "find_free_port", "ServerStartFailed"]CODE
LOWvllm_mlx/cache/protocol.py32logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/cache/__init__.py24__all__ = [CODE
LOWvllm_mlx/config/__init__.py6__all__ = ["ServerConfig", "get_config", "reset_config"]CODE
LOWvllm_mlx/patches/qwen3_next_mtp.py25logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/patches/deepseek_v32_indexer_gate.py95logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/launch/__init__.py45__all__ = ["ADAPTERS", "claude_code", "cline", "continue_dev", "cursor"]CODE
LOWvllm_mlx/doctor/runner.py25logger = logging.getLogger(__name__)CODE
85 more matches not shown…
Redundant / Tautological Comments58 hits · 92 pts
SeverityFileLineSnippetContext
LOWevals/run_eval.py768 # Check if model called the recovery toolCOMMENT
LOWtests/test_paged_cache_benefits.py313 # Check if root is sharedCOMMENT
LOWtests/test_paged_cache.py176 # Increment refCOMMENT
LOWexamples/video_benchmark.py577 # Print resultsSTRING
LOWexamples/mcp_tool_use.py97 # Check if model wants to use toolsCOMMENT
LOWexamples/mic_realtime.py111 # Check if audio has content (not silence)COMMENT
LOWexamples/test_openai_compatibility.py805 # Check if server is reachableSTRING
LOWexamples/mllm_benchmark.py451 # Print resultsSTRING
LOWexamples/mic_live.py130 # Check if silence long enough to trigger transcriptionCOMMENT
LOWexamples/demo_openai_video.py109 # Check if there's a sample video in the examples directoryCOMMENT
LOWscripts/add_mtp_weights.py296 # Check if MTP weights already existCOMMENT
LOWscripts/benchmark_engines.py500 # Check if tool call was returned in structured formatCOMMENT
LOWscripts/benchmark_engines.py502 # Check if content contains text-format tool calls (degraded)COMMENT
LOWscripts/agent_discovery.py347 # Check if it's actually an agentCOMMENT
LOWscripts/agent_discovery.py385 # Check if title mentions AI agentsCOMMENT
LOWvllm_mlx/memory_cache.py1496 # Check if cached_key is a prefix of tokens_keyCOMMENT
LOWvllm_mlx/memory_cache.py1516 # Check if tokens_key is a prefix of cached_keyCOMMENT
LOWvllm_mlx/memory_cache.py1729 # Check if single entry exceeds limitCOMMENT
LOWvllm_mlx/memory_cache.py3045 # Check if it fits against the running (live+staged inCOMMENT
LOWvllm_mlx/gradio_app.py167 # Check if this message had media cachedCOMMENT
LOWvllm_mlx/cli.py3178 # Set SO_REUSEADDR to match uvicorn's bind behavior — without it, thisCOMMENT
LOWvllm_mlx/mllm_scheduler.py958 # Check if finishedCOMMENT
LOWvllm_mlx/vllm_platform.py157 # Check if bfloat16 is supportedCOMMENT
LOWvllm_mlx/plugin.py30 # Check if running on macOSCOMMENT
LOWvllm_mlx/plugin.py35 # Check if running on Apple Silicon (ARM)COMMENT
LOWvllm_mlx/plugin.py40 # Check if MLX is installed and workingCOMMENT
LOWvllm_mlx/plugin.py59 # Check if mlx-lm is availableCOMMENT
LOWvllm_mlx/prefix_cache.py143 # Check if we have a shorter prefix with cacheCOMMENT
LOWvllm_mlx/prefix_cache.py212 # Check if cache supports trimmingCOMMENT
LOWvllm_mlx/prefix_cache.py591 # Check if cache_data contains extracted tensor statesCOMMENT
LOWvllm_mlx/prefix_cache.py625 # Check if this block already exists (deduplication)COMMENT
LOWvllm_mlx/scheduler.py2799 # Check if it's a list of cache layersCOMMENT
LOWvllm_mlx/scheduler.py2807 # Check if layer has expected structureCOMMENT
LOWvllm_mlx/scheduler.py4514 # Check if finishedCOMMENT
LOWvllm_mlx/mllm_batch_generator.py412 # Check if this is actually a VLM with separate language modelCOMMENT
LOWvllm_mlx/tool_parsers/qwen3coder_tool_parser.py477 # Check if we need to advance to next tool. The tool boundary isCOMMENT
LOWvllm_mlx/tool_parsers/granite_tool_parser.py62 # Check if it starts with JSON arrayCOMMENT
LOWvllm_mlx/tool_parsers/seed_oss_tool_parser.py294 # Check if we need to advance to next toolCOMMENT
LOWvllm_mlx/tool_parsers/seed_oss_tool_parser.py309 # Check if thinking ended (or never started)COMMENT
LOWvllm_mlx/tool_parsers/gemma4_tool_parser.py460 # Check if we're inside a tool call. Either the pristine wireCOMMENT
LOWvllm_mlx/tool_parsers/gemma4_tool_parser.py511 # Check if we have a complete text tool callCOMMENT
LOWvllm_mlx/utils/tokenizer.py776 # Check if model needs fallback (e.g., Nemotron)COMMENT
LOWvllm_mlx/mcp/security.py154 # Check if command is in whitelistCOMMENT
LOWvllm_mlx/mcp/security.py156 # Check if it's an absolute path to an allowed commandCOMMENT
LOWvllm_mlx/mcp/executor.py459 # Check if tool existsCOMMENT
LOWvllm_mlx/models/mllm.py512 # Check if it's a local fileCOMMENT
LOWvllm_mlx/models/mllm.py516 # Check if it's a URLCOMMENT
LOWvllm_mlx/models/mllm.py520 # Check if it's base64COMMENT
LOWvllm_mlx/models/mllm.py599 # Check if it's base64 FIRST (before Path.exists() which fails on long strings)COMMENT
LOWvllm_mlx/models/mllm.py603 # Check if it's a URLCOMMENT
LOWvllm_mlx/models/mllm.py607 # Check if it's a local file (only for short strings that could be paths)COMMENT
LOWvllm_mlx/reasoning/deepseek_r1_parser.py120 # Check if any tags are in the current textCOMMENT
LOWvllm_mlx/reasoning/minimax_parser.py173 # Check if output starts with reasoning patternsCOMMENT
LOWvllm_mlx/reasoning/gemma4_parser.py321 # Check if we just entered thought channelCOMMENT
LOWvllm_mlx/reasoning/gemma4_parser.py326 # Check if we just entered content channelCOMMENT
LOWvllm_mlx/reasoning/gemma4_parser.py331 # Check if thought ended (first <channel|> after thought start)COMMENT
LOWvllm_mlx/api/tool_logits.py353 # Check if we should start tracking a patternCOMMENT
LOWvllm_mlx/routes/chat.py3589 # Check if we should include usage in the final chunkCOMMENT
Self-Referential Comments25 hits · 75 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_tool_logits.py126 # Create a token ID that corresponds to the last char of '<invoke'COMMENT
MEDIUMtests/test_video.py193 # Create a temp file to act as a "video"COMMENT
MEDIUMtests/test_server.py373 # Create a real temp fileCOMMENT
MEDIUMtests/test_fix_reasoning_mtp_doctor.py97 # Create a small QuantizedSwitchLinearCOMMENT
MEDIUMtests/test_memory_stability.py40 # Create a mock BatchGenerator with close()COMMENT
MEDIUMtests/test_memory_stability.py171 # Create a mock request with extracted cache (dict-state format)COMMENT
MEDIUMtests/test_memory_stability.py218 # Create a mock response with prompt_cacheCOMMENT
MEDIUMtests/test_turboquant.py544 # Create a mix: KVCache + non-KVCacheCOMMENT
MEDIUMtests/test_mtp_gemma4_assistant_inject.py1238 # Create the well-known name AND an "extra" shard.COMMENT
MEDIUMtests/test_mllm_continuous_batching.py723 # Create a request with stop sequencesCOMMENT
MEDIUMtests/test_mllm_cache.py77 # Create a temp file with some contentCOMMENT
MEDIUMtests/integrations/test_hermes.py597 # Create a test file firstCOMMENT
MEDIUMexamples/test_openai_compatibility.py63 # Create a simple 100x100 red square imageCOMMENT
MEDIUMexamples/test_openai_compatibility.py490 # Create a simple video with 3 colored frames (red, green, blue)COMMENT
MEDIUMexamples/test_video.py68 # Create a simple video with colored framesCOMMENT
MEDIUMexamples/demo_openai_image.py80# Create a simple red square image for testingCOMMENT
MEDIUMexamples/demo_openai_image.py86 # Create a simple 100x100 red imageCOMMENT
MEDIUMexamples/benchmark_audio.py42 # Create a simple sine wave toneCOMMENT
MEDIUMexamples/demo_curl_image.sh77# Create a simple red PNG using Python (smallest valid PNG)COMMENT
MEDIUMscripts/pr_validate/steps/targeted_tests.py253 # Create a worktree pointing at base_ref (sha-pinned when given).COMMENT
MEDIUMvllm_mlx/gradio_app.py274 # Create a public share linkCOMMENT
MEDIUMvllm_mlx/mllm_batch_generator.py941 # Create a fresh KVCache for this request's language model prefillCOMMENT
MEDIUMvllm_mlx/_integration_tests/test_hermes.py597 # Create a test file firstCOMMENT
MEDIUMvllm_mlx/api/guided.py103 # Create the model dynamicallyCOMMENT
MEDIUMvllm_mlx/speculative/dflash/server.py400 # Create the generator on the same worker that will drive it,COMMENT
Docstring Block Structure14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHvllm_mlx/paged_cache.py276 Pop n non-pinned blocks from the front. Pinned blocks are skipped to prevent eviction of important STRING
HIGHvllm_mlx/paged_cache.py653 Allocate multiple blocks at once (vLLM style). Args: num_blocks: Number of blocks to allocSTRING
HIGHvllm_mlx/model_registry.py58 Attempt to acquire ownership of a model. Args: model: The MLX model engine: ThSTRING
HIGHvllm_mlx/tool_parsers/abstract_tool_parser.py381 Retrieve a registered ToolParser class by name. Args: name: Parser name (e.g., 'mistral', STRING
HIGHvllm_mlx/runtime/model_registry.py101Get the engine for a model name. Falls back to default. Args: model_name: Model name from request. STRING
HIGHvllm_mlx/mcp/config.py39 Load MCP configuration from file. Search order: 1. Explicit path argument 2. RAPID_MLX_MCP_CONFIG enviSTRING
HIGHvllm_mlx/mcp/config.py123 Validate and parse configuration dictionary. Args: data: Raw configuration dictionary Returns: STRING
HIGHvllm_mlx/mcp/tools.py50 Parse OpenAI tool call back to MCP format. Args: tool_call: OpenAI tool call from model response STRING
HIGHvllm_mlx/models/mllm.py225 Decode base64 image to bytes. Args: base64_string: Base64 encoded image (optionally with data URL prefSTRING
HIGHvllm_mlx/models/mllm.py253 Download image from URL and return local path. Args: url: Image URL timeout: Download timeout STRING
HIGHvllm_mlx/models/mllm.py341 Download video from URL and return local path. Args: url: Video URL (http/https) timeout: DownSTRING
HIGHvllm_mlx/models/mllm.py440 Decode base64 video to temp file and return path. Supports format: data:video/mp4;base64,AAAA... Args: STRING
HIGHvllm_mlx/reasoning/__init__.py51 Get a reasoning parser class by name. Args: name: Name of the parser (e.g., "qwen3", "deepseek_r1"). STRING
HIGHvllm_mlx/spec_decode/mtp/qwen3_5_inject.py217Inject MTP support into a loaded Qwen3.5 / Qwen3.6 model. Args: model: A model loaded via ``mlx_lm.load()``STRING
Structural Annotation Overuse20 hits · 35 pts
SeverityFileLineSnippetContext
LOWtests/test_llama_tool_parser_bare_json.py351 # Step 1: prose preface — passes through.COMMENT
LOWtests/test_llama_tool_parser_bare_json.py358 # Step 2: opening brace + name/params arrive in one go.COMMENT
LOWtests/test_llama_tool_parser_bare_json.py375 # Step 1: closed prose JSON — flushed as content on close.COMMENT
LOWtests/test_llama_tool_parser_bare_json.py384 # Step 2: trailing prose — must pass through.COMMENT
LOWtests/test_ui_tars_fixes.py740 # Step 1: walk imports to learn what local names refer toCOMMENT
LOWtests/test_ui_tars_fixes.py758 # Step 2: walk the tree looking for Call nodes whose callableCOMMENT
LOWtests/test_metrics_route.py432 # Step 1: hits=10 → exposed 10COMMENT
LOWtests/test_metrics_route.py436 # Step 2: hits=15 → exposed 15COMMENT
LOWtests/test_metrics_route.py441 # Step 3: simulate cache.clear() — raw drops to 0; exposed must stay ≥ 15COMMENT
LOWtests/test_metrics_route.py450 # Step 4: hits=3 — fresh activity after clear; exposed should be 15+3=18COMMENT
LOWdocs/guides/server.md204# Step 1: Send request with toolsCOMMENT
LOWdocs/guides/server.md220# Step 2: Check if model wants to use toolsCOMMENT
LOWdocs/guides/server.md226# Step 3: Send tool result backCOMMENT
LOWvllm_mlx/tool_parsers/gemma4_tool_parser.py99 # Step 1: stash quoted string values so they can't confuse the bare parserCOMMENT
LOWvllm_mlx/tool_parsers/gemma4_tool_parser.py108 # Step 2: bare KV parseCOMMENT
LOWvllm_mlx/utils/chat_template.py1013 # Step 1: retry without enable_thinking (many templates don't support it).COMMENT
LOWvllm_mlx/utils/chat_template.py1057 # Step 2: template also rejects tools — fall back to prompt injection.COMMENT
LOWvllm_mlx/service/postprocessor.py2482 # Step 1: Separate content from reasoningCOMMENT
LOWvllm_mlx/share/cli.py341 # Step 1: a deliberately-wrong key must NOT return 200. If theCOMMENT
LOWvllm_mlx/share/cli.py352 # Step 2: the real key must return 200.COMMENT
Verbosity Indicators17 hits · 30 pts
SeverityFileLineSnippetContext
LOWtests/test_llama_tool_parser_bare_json.py351 # Step 1: prose preface — passes through.COMMENT
LOWtests/test_llama_tool_parser_bare_json.py358 # Step 2: opening brace + name/params arrive in one go.COMMENT
LOWtests/test_llama_tool_parser_bare_json.py375 # Step 1: closed prose JSON — flushed as content on close.COMMENT
LOWtests/test_llama_tool_parser_bare_json.py384 # Step 2: trailing prose — must pass through.COMMENT
LOWtests/test_ui_tars_fixes.py740 # Step 1: walk imports to learn what local names refer toCOMMENT
LOWtests/test_ui_tars_fixes.py758 # Step 2: walk the tree looking for Call nodes whose callableCOMMENT
LOWtests/test_metrics_route.py432 # Step 1: hits=10 → exposed 10COMMENT
LOWtests/test_metrics_route.py436 # Step 2: hits=15 → exposed 15COMMENT
LOWtests/test_metrics_route.py441 # Step 3: simulate cache.clear() — raw drops to 0; exposed must stay ≥ 15COMMENT
LOWtests/test_metrics_route.py450 # Step 4: hits=3 — fresh activity after clear; exposed should be 15+3=18COMMENT
LOWvllm_mlx/tool_parsers/gemma4_tool_parser.py99 # Step 1: stash quoted string values so they can't confuse the bare parserCOMMENT
LOWvllm_mlx/tool_parsers/gemma4_tool_parser.py108 # Step 2: bare KV parseCOMMENT
LOWvllm_mlx/utils/chat_template.py1013 # Step 1: retry without enable_thinking (many templates don't support it).COMMENT
LOWvllm_mlx/utils/chat_template.py1057 # Step 2: template also rejects tools — fall back to prompt injection.COMMENT
LOWvllm_mlx/service/postprocessor.py2482 # Step 1: Separate content from reasoningCOMMENT
LOWvllm_mlx/share/cli.py341 # Step 1: a deliberately-wrong key must NOT return 200. If theCOMMENT
LOWvllm_mlx/share/cli.py352 # Step 2: the real key must return 200.COMMENT
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtests/integrations/test_hermes.py0streaming mode: tool calls arrive as structured deltas.STRING
HIGHvllm_mlx/_integration_tests/test_hermes.py0streaming mode: tool calls arrive as structured deltas.STRING
HIGHvllm_mlx/agents/testing.py0streaming mode: tool calls arrive as structured deltas.STRING
HIGHvllm_mlx/_mxfp4_moe_guardrail.py0test-only hook: zero the counters between cases. production code must not call this — prometheus counters are contractuaSTRING
HIGHvllm_mlx/runtime/ubc_evict.py0test-only hook: zero the counters between cases. production code must not call this — prometheus counters are contractuaSTRING
HIGHvllm_mlx/api/response_format_metrics.py0test-only hook: zero the counters between cases. production code must not call this — prometheus counters are contractuaSTRING
Example Usage Blocks9 hits · 13 pts
SeverityFileLineSnippetContext
LOWtests/integrations/test_aider.sh18# Usage:COMMENT
LOWtests/integrations/test_openhands.sh34# Usage:COMMENT
LOWexamples/demo_curl_text.sh6# Usage:COMMENT
LOWexamples/demo_curl_video.sh6# Usage:COMMENT
LOWexamples/demo_curl_image.sh6# Usage:COMMENT
LOWscripts/run_dogfood_mvp.sh8# Usage:COMMENT
LOWscripts/gemma4_mtp_mvp_smoke.sh30# Usage:COMMENT
LOWscripts/build-sidecar.sh9# Usage:COMMENT
LOWvllm_mlx/_integration_tests/test_aider.sh18# Usage:COMMENT
Slop Phrases5 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMevals/results/tier1b_benchmark.json333 "content": " about building a distributed system on Apple Silicon. They want it to cover architecture design, netwCODE
MEDIUM…0260617-apple-m3-ultra-qwen3-8b-4bit-e912922f4600.json139 "response_excerpt": "\n\nHello! 2 + 2 equals 4. Let me know if you need help with anything else! 😊"CODE
MEDIUMtests/test_pr_validate_codex.py863 monkeypatch, tmp_path, "I'm unable to review this content."CODE
MEDIUMtests/integrations/conftest.py319# "I cannot provide the current weather in Tokyo as I cannot accessCOMMENT
MEDIUMscripts/agent_promo_gen.py185Let me know if you need help setting it up!CODE
AI Structural Patterns16 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/test_community_bench_aggregate.py62CODE
LOWtests/test_cache_routes.py84CODE
LOWexamples/mcp_chat.py47CODE
LOWscripts/agent_soak_test.py272CODE
LOWscripts/bench_decode_tps.py122CODE
LOWvllm_mlx/server.py1143CODE
LOWvllm_mlx/mllm_scheduler.py439CODE
LOWvllm_mlx/mllm_scheduler.py1602CODE
LOWvllm_mlx/mllm_batch_generator.py375CODE
LOWvllm_mlx/tool_parsers/harmony_tool_parser.py334CODE
LOWvllm_mlx/models/mllm.py1239CODE
LOWvllm_mlx/models/deepseek_v4.py1662CODE
LOWvllm_mlx/models/gemma4_vendored/language.py601CODE
LOWvllm_mlx/spec_decode/mtp/cache_patch.py344CODE
LOWvllm_mlx/spec_decode/mtp/generator.py167CODE
LOWvllm_mlx/engine/batched.py756CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtests/test_prompt_cache_snapshot.py272 scheduler.memory_aware_cache.store.call_args.kwargs.get("evict_prefixes")CODE
Fake / Example Data9 hits · 8 pts
SeverityFileLineSnippetContext
LOWevals/run_eval.py890 fake_key = f"{prefix}fake_result"CODE
LOWevals/run_eval.py892 fake_key,CODE
LOWtests/test_tokenizer_gemma4_hybrid.py265 "Lorem ipsum dolor sit amet",CODE
LOWtests/test_tokenizer_gemma4_hybrid.py265 "Lorem ipsum dolor sit amet",CODE
LOWtests/test_tool_param_enforcement_f141a.py135 ("email", "notanemail", "user@example.com"),CODE
LOWtests/test_qwen3coder_tool_parser_streaming.py30 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do "CODE
LOWtests/test_qwen3coder_tool_parser_streaming.py30 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do "CODE
LOWtests/test_upstream_regression.py390 '[TOOL_CALLS] [{"arguments":{"name": "John Doe"}, "name": "get_age"}]',CODE
LOWtests/test_upstream_regression.py392 {"name": "John Doe"},CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_r15_routes_stability_batch.py501CODE
MEDIUMtests/test_r15_routes_stability_batch.py533CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/benchmark_realworld.py94def run_task(name, messages, max_tokens=1000, tools=None, temperature=0.0):CODE