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.

32.1 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,562 GitHub stars. SynthScan v2.0 examined 909,238 lines of code across 2135 source files, recording 22110 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 32.1 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).

32.1
Adjusted Score
32.1
Raw Score
100%
Time Factor
2026-08-29
Last Push
3.6K
Stars
Python
Language
909.2K
Lines of Code
2.1K
Files
22.1K
Pattern Hits
2026-08-29
Scan Date
0.05
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 109MEDIUM 3707LOW 18293

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 22110 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 Separators3194 hits · 11404 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh16# ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMinstall.sh45# ── Interpreter + venv helpers (also sourced by tests/install) ────────────────COMMENT
MEDIUMinstall.sh245# ── Banner ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMinstall.sh254# ── 1. Check platform ───────────────────────────────────────────────────────COMMENT
MEDIUMinstall.sh276# ── 2. Detect RAM → recommend model ──────────────────────────────────────────COMMENT
MEDIUMinstall.sh290# ── 3. Find or install Python 3.10+ ─────────────────────────────────────────COMMENT
MEDIUMinstall.sh371# ── 4. Migrate from old install location ─────────────────────────────────────COMMENT
MEDIUMinstall.sh379# ── 5. Create or update venv + install ───────────────────────────────────────COMMENT
MEDIUMinstall.sh421# ── 6. Create symlinks ──────────────────────────────────────────────────────COMMENT
MEDIUMinstall.sh437# ── 7. Ensure ~/.local/bin is in PATH ────────────────────────────────────────COMMENT
MEDIUMinstall.sh458# ── 8. Verify + done ────────────────────────────────────────────────────────COMMENT
MEDIUMevals/run_eval.py399# =============================================================================COMMENT
MEDIUMevals/run_eval.py401# =============================================================================COMMENT
MEDIUMevals/run_eval.py631# =============================================================================COMMENT
MEDIUMevals/run_eval.py633# =============================================================================COMMENT
MEDIUMevals/run_eval.py552# =============================================================================COMMENT
MEDIUMevals/run_eval.py554# =============================================================================COMMENT
MEDIUMevals/run_eval.py1279# =============================================================================COMMENT
MEDIUMevals/run_eval.py1281# =============================================================================COMMENT
MEDIUMevals/run_eval.py1402# =============================================================================COMMENT
MEDIUMevals/run_eval.py1404# =============================================================================COMMENT
MEDIUMevals/run_eval.py1555# =============================================================================COMMENT
MEDIUMevals/run_eval.py1557# =============================================================================COMMENT
MEDIUMevals/run_eval.py1865# =============================================================================COMMENT
MEDIUMevals/run_eval.py1867# =============================================================================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_tool_call_value_fidelity.py699# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_call_value_fidelity.py707# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_call_value_fidelity.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_call_value_fidelity.py46# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_call_value_fidelity.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_call_value_fidelity.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_call_value_fidelity.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_tool_call_value_fidelity.py203# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py87# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py89# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1404# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1406# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1614# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1616# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1839 # -----------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py1856 # -----------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2221# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2223# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2374# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py2376# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py54# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_reasoning_parsers.py56# ---------------------------------------------------------------------------COMMENT
3134 more matches not shown…
Hyper-Verbose Identifiers11725 hits · 10241 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_tool_call_value_fidelity.py715def test_scan_rejects_parameter_with_no_closing_marker():CODE
LOWtests/test_tool_call_value_fidelity.py313def _recovered_value_parser_only(parser_name: str, text: str) -> str | None:CODE
LOWtests/test_tool_call_value_fidelity.py318def test_renderer_is_valid_for_parser(parser_name, wire_format):CODE
LOWtests/test_tool_call_value_fidelity.py347def test_parser_and_scanner_agree_on_covered_pairs(parser_name, wire_format):CODE
LOWtests/test_tool_call_value_fidelity.py378def test_repeated_calls_to_the_same_tool_are_all_kept():CODE
LOWtests/test_tool_call_value_fidelity.py403def test_argument_value_survives_round_trip(parser_name, wire_format, case, value):CODE
LOWtests/test_tool_call_value_fidelity.py440def test_known_broken_are_still_broken(parser_name, wire_format, case):CODE
LOWtests/test_tool_call_value_fidelity.py466def test_scanner_path_preserves_values(case, value):CODE
LOWtests/test_tool_call_value_fidelity.py513def test_malformed_emissions_produce_no_tool_call(case, text):CODE
LOWtests/test_tool_call_value_fidelity.py552def test_parser_itself_does_not_invent_parameters(parser_name, case, value):CODE
LOWtests/test_tool_call_value_fidelity.py570def test_ambiguous_marker_ordering_does_not_invent_parameters(case, value):CODE
LOWtests/test_tool_call_value_fidelity.py600def test_undeclared_sibling_after_close_refuses_parser_call(parser_name, case, value):CODE
LOWtests/test_tool_call_value_fidelity.py614def test_undeclared_sibling_after_close_refuses_fallback_call(case, value):CODE
LOWtests/test_tool_call_value_fidelity.py625def test_undeclared_sibling_never_splices_into_previous_value():CODE
LOWtests/test_tool_call_value_fidelity.py640def test_repeated_parameter_name_is_last_value_wins(parser_name):CODE
LOWtests/test_tool_call_value_fidelity.py681def test_every_parser_is_covered_or_exempt():CODE
LOWtests/test_tool_call_value_fidelity.py730def test_scan_requires_outer_marker_when_one_is_requested():CODE
LOWtests/test_tool_call_value_fidelity.py753def test_marker_text_in_a_value_cannot_fabricate_a_second_call():CODE
LOWtests/test_tool_call_value_fidelity.py779def test_a_genuinely_repeated_call_is_still_two_calls():CODE
LOWtests/test_tool_call_value_fidelity.py800def test_no_declared_tools_keeps_the_position_only_rules():CODE
LOWtests/test_tool_call_value_fidelity.py821def test_a_standalone_undeclared_call_is_not_emitted():CODE
LOWtests/test_tool_call_value_fidelity.py838def test_the_nemotron_parser_gates_calls_too():CODE
LOWtests/test_tool_call_value_fidelity.py859def test_the_nemotron_gate_survives_streaming():CODE
LOWtests/test_tool_call_value_fidelity.py890def test_a_streamed_refusal_still_reaches_the_user_as_text():CODE
LOWtests/test_tool_call_value_fidelity.py922def test_every_refused_block_reaches_the_user_and_none_twice():CODE
LOWtests/test_tool_call_value_fidelity.py949def test_reset_clears_the_content_watermark():CODE
LOWtests/test_tool_call_value_fidelity.py987def test_refused_block_before_valid_call_in_one_delta_is_not_swallowed():CODE
LOWtests/test_tool_call_value_fidelity.py1008def test_plain_less_than_after_call_is_not_mistaken_for_partial_markup():CODE
LOWtests/test_tool_call_value_fidelity.py1021def test_disambiguated_partial_opener_releases_every_withheld_byte():CODE
LOWtests/test_tool_call_value_fidelity.py1040def test_wrapper_close_is_accounted_before_following_prose():CODE
LOWtests/test_tool_call_value_fidelity.py1064def test_gating_is_off_when_the_request_declares_no_tools():CODE
LOWtests/test_reasoning_parsers.py69 def extract_reasoning_streaming(self, prev, curr, delta):CODE
LOWtests/test_reasoning_parsers.py75 def test_finalize_streaming_default_none(self):CODE
LOWtests/test_reasoning_parsers.py80 def extract_reasoning_streaming(self, prev, curr, delta):CODE
LOWtests/test_reasoning_parsers.py104 def test_both_tags_empty_reasoning(self):CODE
LOWtests/test_reasoning_parsers.py110 def test_both_tags_empty_content(self):CODE
LOWtests/test_reasoning_parsers.py116 def test_both_tags_whitespace_reasoning(self):CODE
LOWtests/test_reasoning_parsers.py122 def test_only_end_tag_implicit(self):CODE
LOWtests/test_reasoning_parsers.py275 def test_both_tags_in_single_delta(self):CODE
LOWtests/test_reasoning_parsers.py283 def test_start_tag_only_in_delta(self):CODE
LOWtests/test_reasoning_parsers.py290 def test_no_tags_early_defaults_to_reasoning(self):CODE
LOWtests/test_reasoning_parsers.py354 def test_streaming_no_tag_past_threshold(self):CODE
LOWtests/test_reasoning_parsers.py361 def test_streaming_no_tag_under_threshold(self):CODE
LOWtests/test_reasoning_parsers.py368 def test_finalize_short_no_tag_correction(self):CODE
LOWtests/test_reasoning_parsers.py392 def test_finalize_long_no_tag_no_correction(self):CODE
LOWtests/test_reasoning_parsers.py399 def test_finalize_with_tags_no_correction(self):CODE
LOWtests/test_reasoning_parsers.py406 def test_finalize_empty_no_correction(self):CODE
LOWtests/test_reasoning_parsers.py1410 def test_extract_channel_analysis(self):CODE
LOWtests/test_reasoning_parsers.py1415 def test_extract_channel_final(self):CODE
LOWtests/test_reasoning_parsers.py1420 def test_extract_channel_not_found(self):CODE
LOWtests/test_reasoning_parsers.py1425 def test_extract_channel_empty_content(self):CODE
LOWtests/test_reasoning_parsers.py1430 def test_extract_channel_with_constrain(self):CODE
LOWtests/test_reasoning_parsers.py1435 def test_channel_regex_matches_analysis(self):CODE
LOWtests/test_reasoning_parsers.py1441 def test_channel_regex_matches_final(self):CODE
LOWtests/test_reasoning_parsers.py1447 def test_channel_regex_matches_constrain(self):CODE
LOWtests/test_reasoning_parsers.py1453 def test_structural_tokens_regex(self):CODE
11665 more matches not shown…
Over-Commented Block3579 hits · 2830 pts
SeverityFileLineSnippetContext
LOWpyproject.toml41 # default_stream / new_stream / new_thread_local_stream) are materialisedCOMMENT
LOWpyproject.toml61 # tokenizer_utils.py:505) — so under 5.13 even a bare ``import mlx_lm``COMMENT
LOWpyproject.toml81 # introduces an HY3-specific regression, we tighten the floor with aCOMMENT
LOWpyproject.toml101 # existed, so every fresh-write test would still have passed.COMMENT
LOWpyproject.toml121 # >=3.6 is required: a recent Python 3.12 micro release added a 4thCOMMENT
LOWpyproject.toml141 # PR-5 made grammar-constrained tool-calling DEFAULT-ON in 0.10.14, but aCOMMENT
LOWpyproject.toml161 # Keep the optional runtime identical to the signed Desktop sidecar.COMMENT
LOWpyproject.toml181# MTP (Multi-Token Prediction) speculative decoding — Gemma 4 externalCOMMENT
LOWpyproject.toml261# in the linter/typer toolchain.COMMENT
LOWpyproject.toml281 # to catch format regressions. NOT used at runtime — the routeCOMMENT
LOWpyproject.toml301 # #1208-class quantized-KV round-trip bounds) that example tests can't.COMMENT
LOWpyproject.toml321# Install mode differs per lane because `ci-linux` must stay no-MLX:COMMENT
LOWpyproject.toml401 "mypy>=1.0.0",COMMENT
LOWpyproject.toml421# Audio dependencies for TTS/STT (mlx-audio)COMMENT
LOWpyproject.toml441 "soundfile>=0.12.0",COMMENT
LOWpyproject.toml461 # Vanilla ``phonemizer>=3.3.0`` removed it in favour of aCOMMENT
LOWpyproject.toml481# F5 cloning, Kokoro's language-specific G2P stack, or voice design. KeepingCOMMENT
LOWpyproject.toml621"vllm_mlx/models/deepseek_v4*.py" = ["UP", "B", "SIM", "N", "F", "I", "E"]COMMENT
LOWevals/run_eval.py1141 else: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
LOWconfig/requirements-ci-linux.txt1# Linux CI lane (`.github/workflows/ci.yml` → `test-matrix`) test dependency set.COMMENT
LOWtests/test_tool_call_value_fidelity.py201# XPASS, so it cannot serve as the reminder it looks like (seeCOMMENT
LOWtests/test_tool_call_value_fidelity.py401 "case,value", HOSTILE_VALUES, ids=[c for c, _ in HOSTILE_VALUES]COMMENT
LOWtests/test_reasoning_parsers.py1841 #COMMENT
LOWtests/test_reasoning_parsers.py1881 "Here's the scratchpad:",COMMENT
LOWtests/test_reasoning_parsers.py2121 )COMMENT
LOWtests/test_disk_stream_cli_wiring.py241 mock.patch.object(cli, "_ensure_model_downloaded", lambda *a, **k: None),COMMENT
LOWtests/test_disk_stream_cli_wiring.py421COMMENT
LOWtests/test_no_mllm_flag.py181 # `--no-think` is a hidden back-compat alias of `--no-thinking` onCOMMENT
LOWtests/test_no_mllm_flag.py941# Previously the SOP checks hardcoded ("cli.py", "server.py", "benchmark.py")COMMENT
LOWtests/test_no_mllm_flag.py1001 # relative: from .server import load_modelCOMMENT
LOWtests/test_no_mllm_flag.py1121 # call scan, so a new entrypoint using `from vllm_mlx importCOMMENT
LOWtests/test_no_mllm_flag.py1381 test_file = pathlib.Path(__file__).resolve()COMMENT
LOWtests/test_no_mllm_flag.py1821 except UnicodeDecodeError:COMMENT
LOWtests/test_no_mllm_flag.py1921 # Prong 2: routing-shaped string constants anywhere in theCOMMENT
LOWtests/test_no_mllm_flag.py2961 # only when there's something to restore — find_spec-basedCOMMENT
LOWtests/test_gemma4_grammar_558.py161 "%llguidance {}\n"COMMENT
LOWtests/test_gemma4_grammar_558.py221COMMENT
LOWtests/test_gemma4_grammar_558.py1381 }COMMENT
LOWtests/test_tool_grammar_558.py621 # Under ``required`` (non-reasoning) the FIRST call has NO prefix at all — itCOMMENT
LOWtests/test_tool_grammar_558.py681 f"required rejected two newline-separated calls ({accepted}/{total}, "COMMENT
LOWtests/test_tool_grammar_558.py821 "zero-or-one)"COMMENT
LOWtests/test_tool_grammar_558.py841# * FORCED + reasoning OPTS OUT of the #558 grammar — ``build_tool_grammar``COMMENT
LOWtests/test_tool_grammar_558.py1541 )COMMENT
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/conftest.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/conftest.py281COMMENT
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.py81 "_coerce", # model_aliases.py — builds AliasProfile.COMMENT
LOWtests/test_no_out_of_band_routing.py121 {COMMENT
LOWtests/test_no_out_of_band_routing.py141 # apply_top_p + apply_top_k + categorical_sampling chain when set;COMMENT
3519 more matches not shown…
Excessive Try-Catch Wrapping1037 hits · 928 pts
SeverityFileLineSnippetContext
LOWbench/bench_spec_decode_mtp.py679 except Exception as exc: # pragma: no cover — benchCODE
LOWevals/run_eval.py411 except Exception:CODE
LOWevals/run_eval.py621 except Exception:CODE
LOWevals/run_eval.py426 except Exception:CODE
LOWevals/run_eval.py436 except Exception:CODE
LOWevals/run_eval.py1254 except Exception as e:CODE
LOWevals/run_eval.py1379 except Exception as e:CODE
LOWevals/run_eval.py1533 except Exception as e:CODE
LOWevals/run_eval.py1844 except Exception as e:CODE
LOWevals/run_eval.py1986 except Exception:CODE
LOWevals/coherence_gate.py117 except Exception:CODE
LOWevals/coherence_gate.py172 except Exception as exc: # server/protocol error mid-run -> a gate failureCODE
LOWevals/perf_gate.py205 except Exception:CODE
LOWevals/perf_gate.py487 except Exception: # noqa: BLE001 — warm-up result is deliberately ignoredCODE
LOWtests/test_no_mllm_flag.py813 except Exception:CODE
LOWtests/test_mcp_client_mcp2_compat.py141 except Exception as e:STRING
LOWtests/test_gemma4_grammar_558.py599 except Exception: # pragma: no cover - very old hubCODE
LOWtests/test_gemma4_grammar_558.py605 except Exception: # pragma: no cover - defensiveCODE
LOWtests/test_continuous_batching.py68 except Exception:CODE
LOWtests/test_tool_grammar_558.py394 except Exception: # pragma: no cover - old hub without these namesCODE
LOWtests/test_tool_grammar_558.py400 except Exception: # pragma: no cover - requests not presentCODE
LOWtests/test_tool_grammar_558.py473 except Exception as exc: # noqa: BLE001 — re-raised unless offline cache-missCODE
LOWtests/test_tool_grammar_558.py508 except Exception as exc: # noqa: BLE001 - re-raised below if all failCODE
LOWtests/test_tool_grammar_558.py1486 except Exception as exc: # noqa: BLE001 — re-raised unless offline cache-missCODE
LOWtests/test_mllm_executor_cancel.py199 except Exception:CODE
LOWtests/test_mllm.py48 except Exception:CODE
LOWtests/test_mllm.py76 except Exception:CODE
LOWtests/test_tool_grammar_matcher_cache_558.py140 except Exception as exc: # noqa: BLE001 - record, never swallow silentlyCODE
MEDIUMtests/test_tool_grammar_matcher_cache_558.py134def worker():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_structure_info_hermes_qwen_558.py400 except Exception: # pragma: no cover - old hub without these namesCODE
LOWtests/test_structure_info_hermes_qwen_558.py407 except Exception: # pragma: no cover - requests not presentCODE
LOWtests/test_structure_info_hermes_qwen_558.py415 except Exception: # pragma: no cover - httpx not presentCODE
LOWtests/test_structure_info_hermes_qwen_558.py577 except Exception as exc: # noqa: BLE001 - re-raised below if all failCODE
LOWtests/test_telemetry_cli.py198 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.py262 except Exception as e:CODE
LOWtests/test_batching.py455 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.py49 except Exception as e:CODE
LOWtests/test_mtp_real_weights.py170 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_telemetry_error_wiring.py93 except Exception:CODE
LOWtests/test_model_sizes.py110 except Exception:CODE
MEDIUMtests/test_model_sizes.py105def test_every_audio_alias_has_a_manifest_entry():CODE
LOWtests/test_cache_routes.py1674 except Exception:CODE
LOWtests/test_anthropic_stream_finalize.py332 except Exception:CODE
977 more matches not shown…
Unused Imports1064 hits · 890 pts
SeverityFileLineSnippetContext
LOWbench/bench_spec_decode_mtp.py39CODE
LOWbench/bench_radix_vs_hash.py44CODE
LOWevals/coherence_gate.py34CODE
LOWevals/perf_gate.py51CODE
LOWcommunity-benchmarks/scripts/aggregate.py62CODE
LOWcommunity-benchmarks/scripts/validate.py37CODE
LOWtests/test_tool_call_value_fidelity.py35CODE
LOWtests/test_audio_boot_check.py15CODE
LOWtests/test_audio_extras_lockin.py24CODE
LOWtests/test_disk_stream_cli_wiring.py49CODE
LOWtests/test_no_mllm_flag.py25CODE
LOWtests/test_cli_embeddings_extra.py30CODE
LOWtests/test_mcp_client_mcp2_compat.py19CODE
LOWtests/test_sidecar_vision_smoke.py1CODE
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_version_sync.py13CODE
LOWtests/test_reasoning_content_null_rescue.py37CODE
LOWtests/test_video_capabilities.py1CODE
LOWtests/test_alias_subfolder.py17CODE
LOWtests/test_step_coalescing.py11CODE
LOWtests/test_llama_tool_parser_bare_json.py19CODE
LOWtests/test_harmony_stop_final_channel_only.py36CODE
LOWtests/test_audio_probe_consistency.py25CODE
LOWtests/test_mllm_stats.py4CODE
LOWtests/test_telemetry_queue.py12CODE
LOWtests/test_deep_nest_dos.py40CODE
LOWtests/test_telemetry_request_wiring.py14CODE
LOWtests/test_r12_reasoning_sanitizer_required.py50CODE
LOWtests/test_envelope_field_extraction.py43CODE
LOWtests/test_minicpm_tool_parser.py4CODE
LOWtests/test_sidecar_distribution_constraints.py1CODE
LOWtests/test_model_file_guard.py4CODE
LOWtests/test_gdn_in_proj_fusion.py13CODE
LOWtests/test_audio_upload_size_limit.py10CODE
LOWtests/test_mllm_executor_cancel.py41CODE
LOWtests/test_cli_response_cache_flag.py20CODE
LOWtests/test_cli_response_cache_flag.py31CODE
LOWtests/test_agent_query_stdin_and_trust.py33CODE
LOWtests/test_prefix_cache_radix_e2e.py21CODE
LOWtests/conftest.py360CODE
LOWtests/test_deferred_prefix_cache_load.py16CODE
LOWtests/test_forced_alignment_route_hardening.py28CODE
LOWtests/test_kokoro_espeak_repair.py21CODE
LOWtests/test_pflash_server_module_wiring.py26CODE
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_response_cache_metrics.py10CODE
LOWtests/test_mllm_usage_tracking.py26CODE
LOWtests/test_share_cli.py14CODE
LOWtests/test_orphan_tool_validation.py34CODE
LOWtests/test_ui_tars_fixes.py37CODE
1004 more matches not shown…
AI Slop Vocabulary238 hits · 766 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh229# When sourced by the test harness we only want the definitions above, not theCOMMENT
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_disk_stream_cli_wiring.py187# 3 & 4. Subprocess harness — real bench_command load path, no modelCOMMENT
MEDIUMtests/test_disk_stream_cli_wiring.py369# dead on the benchmark harness. Named analogously to both the benchSTRING
MEDIUMtests/test_no_mllm_flag.py1775# serving entrypoints (test helpers, internal probes, doctor harnessCOMMENT
MEDIUMtests/test_no_mllm_flag.py1781 # 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.py221 # Port for doctor harness probe checks, not engine routing.COMMENT
MEDIUMtests/test_no_out_of_band_routing.py346 # harness name (or comma-separated subset) when running a scopedCOMMENT
MEDIUMtests/test_no_out_of_band_routing.py348 # 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.py667 """Codex round-D BLOCKING #1 regression guard (bench-harness path).STRING
MEDIUMtests/test_mtp_cli_wiring.py937 """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.py198# Engine-level harness — deferred.COMMENT
MEDIUMtests/test_pflash_needle.py215# When someone re-introduces an engine-level harness here, the rightCOMMENT
MEDIUMtests/test_pflash_needle.py228# Env contract for that future harness: ``PFLASH_NEEDLE_MODEL`` selectsCOMMENT
MEDIUMtests/test_pflash_needle.py230# 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.py2138# 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.py1021 # 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.py3274# 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.py26# Lightweight engine harness — copy of routes/test_responses_route.py'sCOMMENT
MEDIUMtests/test_community_bench_upload.py282 Codex round 2 on #1403: the smoke/harness presence rules were gated onSTRING
MEDIUMtests/test_responses_route.py157 # first request, so isolate that unrelated boundary in this harness.COMMENT
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.py46# 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.py74# Test harness — recording mock engine + client builderCOMMENT
MEDIUMtests/test_kv_quant_gate.py307# Baseline KV-cache dtype detection (harness helper, hermetic — no mlx load)COMMENT
MEDIUMtests/test_kv_quant_gate.py357# Decode strips special tokens (harness helper) — codex round 4 blocking #1COMMENT
MEDIUMtests/test_kv_quant_gate.py737# Gated end-to-end smoke — real harness, cached small model only.COMMENT
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
178 more matches not shown…
Modern AI Meta-Vocabulary182 hits · 568 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml436 # F5-TTS (pure-MLX, no torch): EN+ZH multilingual + zero-shot voice cloning.COMMENT
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.py1844 # supposed to emit its chain-of-thought followed by ``</think>`` andCOMMENT
MEDIUMtests/test_reasoning_parsers.py1850 # response — which is pure chain-of-thought — into ``content`` andCOMMENT
MEDIUMtests/test_reasoning_parsers.py2160 # 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.py391 # chars of the reasoning trace on length-cut mid-think. PowerCOMMENT
MEDIUMtests/test_no_out_of_band_routing.py457 # F-K-WHISPER-961 anti-hallucination VAD pre-trim opt-outCOMMENT
MEDIUMtests/test_no_out_of_band_routing.py461 # before Whisper for silence-hallucination suppression onCOMMENT
MEDIUMtests/test_model_auto_config.py1799 # 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_chatterbox_expressiveness.py377# D) Route — Chatterbox zero-shot cloning IS reachable via /v1/audio/speechCOMMENT
MEDIUMtests/test_pflash_needle.py206# 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.py2132# from a fs-event-driven antivirus touching cache_dir mid-rename, observedCOMMENT
MEDIUM…ts/test_r12_m3_responses_stream_leading_items_order.py376 # 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.py1206 # context window — both ids share the loaded engine.COMMENT
MEDIUMtests/test_routes.py1528 # 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.py1776 "### 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_reasoning_budget_generation.py939 # tied-embedding model (qwen3): logits come from embed_tokens.as_linear, soCOMMENT
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_release_check_random.py48 # Excluded: the 4 B tier cannot hold an agentic loop. It does notCOMMENT
MEDIUMtests/test_chat_template_tool_call_arguments.py296 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_hermes_malformed_tool_feedback.py48 # The orchestration layer must reject this before dispatch and return itsCOMMENT
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.py184 # No-fake-API clause names the most common hallucination shapes.COMMENT
MEDIUMtests/test_api_validation_bundle.py472# - C3: chat rejects image/video on text-only models (no silent hallucination)COMMENT
MEDIUMtests/test_api_validation_bundle.py270 # 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/agent_smoke.sh38# reasoning: cold (agentic tool/long-context kernels still compiling) it runsCOMMENT
MEDIUMtests/integrations/agent_smoke.sh208# model — with thinking on it emits a chain-of-thought whose length is highlyCOMMENT
MEDIUMtests/integrations/agent_smoke.sh214# verify the end-to-end agentic tool-calling path (serve → tool schema → agentCOMMENT
MEDIUMtests/integrations/agent_smoke.sh538# agentic run above (SERVE_PID still listening), so there is NO second model load.COMMENT
MEDIUMtests/integrations/agent_smoke.sh540# This closes the L2 gap where the release gate proved the agentic path but neverCOMMENT
MEDIUMtests/integrations/test_hermes.py160 # context window is below what Hermes's full tool-rich promptCOMMENT
MEDIUMtests/integrations/test_hermes.py167 # literal ``"context window"`` substring would miss whenCOMMENT
MEDIUMtests/integrations/test_hermes.py575# Deep agentic tests (requires hermes binary, tests real workflows)COMMENT
MEDIUMdocs/getting-started/quickstart.md12rapid-mlx chat --think # surface chain-of-thought reasoningCODE
MEDIUMdocs/guides/embeddings.md17### Start the server with an embedding modelCOMMENT
122 more matches not shown…
Deep Nesting561 hits · 404 pts
SeverityFileLineSnippetContext
LOWbench/bench_spec_decode_mtp.py612CODE
LOWevals/run_eval.py331CODE
LOWevals/run_eval.py474CODE
LOWevals/run_eval.py636CODE
LOWevals/run_eval.py683CODE
LOWevals/run_eval.py722CODE
LOWevals/run_eval.py793CODE
LOWevals/run_eval.py1307CODE
LOWevals/run_eval.py1707CODE
LOWevals/run_eval.py1872CODE
LOWevals/generate_scorecard.py84CODE
LOWevals/perf_gate.py213CODE
LOWcommunity-benchmarks/scripts/aggregate.py193CODE
LOWtests/test_no_mllm_flag.py969CODE
LOWtests/test_no_mllm_flag.py1087CODE
LOWtests/test_no_mllm_flag.py1358CODE
LOWtests/test_no_mllm_flag.py1588CODE
LOWtests/test_no_mllm_flag.py1882CODE
LOWtests/test_no_mllm_flag.py2126CODE
LOWtests/test_docs_cli_defaults.py37CODE
LOWtests/test_docs_cli_defaults.py51CODE
LOWtests/test_reasoning_content_null_rescue.py1435CODE
LOWtests/test_reasoning_content_null_rescue.py1918CODE
LOWtests/test_pflash_server_module_wiring.py81CODE
LOWtests/test_stt_corrupted_file.py184CODE
LOWtests/test_no_out_of_band_routing.py719CODE
LOWtests/test_no_out_of_band_routing.py875CODE
LOWtests/test_no_out_of_band_routing.py1002CODE
LOWtests/test_no_out_of_band_routing.py1157CODE
LOWtests/test_ui_tars_fixes.py718CODE
LOWtests/test_serve_listen_fd.py145CODE
LOWtests/test_responses_engine_failure_envelope.py986CODE
LOWtests/test_responses_engine_failure_envelope.py1407CODE
LOWtests/test_ci_lane_promotion.py61CODE
LOWtests/regression_suite.py44CODE
LOWtests/test_anthropic_stop_sequences.py245CODE
LOWtests/test_anthropic_stop_sequences.py296CODE
LOWtests/test_ubc_evict.py83CODE
LOWtests/test_responses_sse_event_order.py170CODE
LOWtests/test_fake_sidecar_image_catalog.py273CODE
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.py608CODE
LOWtests/test_community_bench.py1311CODE
LOWtests/test_community_bench.py1335CODE
LOWtests/test_r12_h06_repair_context_guard.py101CODE
LOWtests/test_cohere_command_reasoning_parser.py407CODE
LOWtests/test_gdn_prefill_kernel.py168CODE
LOWtests/test_fp8_repack.py125CODE
LOWtests/test_prefix_cache_persistence.py1249CODE
LOWtests/test_prefix_cache_persistence.py1270CODE
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
501 more matches not shown…
Cross-Language Confusion71 hits · 351 pts
SeverityFileLineSnippetContext
HIGHevals/coherence_gate.py108 f"assistant content must be a string or null, got {type(content).__name__}"CODE
HIGHtests/test_gemma4_grammar_558.py1009 "code", ["a < b && c > d", "vector<int> v", "obj = {x:1}", "print('ok')"]CODE
HIGHtests/test_gemma4_grammar_558.py796 "a < b && c > d",CODE
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_residency_load_field_names.py9 dtype and TurboQuant are mutually exclusive","param":null}}STRING
HIGHtests/test_check_desktop_publish.py250 echo ' {{"id": 11, "event": "workflow_dispatch", "head_sha": "{ACCEPTED}", "head_branch": "rapid-mac-v0.13.0-CODE
HIGHtests/test_finalize_harmony_raw_text.py1009 spec — the tool call IS the visible response, ``content`` is null).STRING
HIGHtests/test_streaming_tool_filter.py305 '<|DSML|parameter name="cmd" string="true">pwd && ls',CODE
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_gui_walk_completeness.py16 assert "elementWalkComplete && windowListComplete" in sourceCODE
HIGHtests/test_api_models.py1516 # D-MISSING-CONTENT-KEY (r12-7): empty string, not null, so theCOMMENT
HIGHtests/test_api_models.py169 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_chat_template_registry.py468 "arguments": '{"command":"ls /tmp","limit":null}',CODE
HIGHtests/test_responses_bundle.py397 '<|DSML|parameter name="cmd" string="true">pwd && ls',CODE
HIGHtests/test_responses_bundle.py452 assert json.loads(argument_deltas) == {"cmd": "pwd && ls"}CODE
HIGHtests/test_responses_bundle.py463 assert json.loads(completed_calls[0]["arguments"]) == {"cmd": "pwd && ls"}CODE
HIGHtests/test_kv_estimation.py429 "sliding_attention", # 1 — window UNKNOWN (null)CODE
HIGHtests/test_version_check.py972 naive ``curl A || curl B | bash`` that returns bash's status and wouldSTRING
HIGHtests/test_lfm_tool_parser.py549 '"cursor": null, "n": 3})]',CODE
HIGHtests/test_lfm_tool_parser.py550 '[browse({"refresh": true, "cached": false, "cursor": null, "n": 3})]',CODE
HIGHtests/test_model_sizes.py125 '{"sizes": null}', # sizes present but not a dictCODE
HIGHtests/test_qwen3coder_xml_grammar_558.py671@pytest.mark.parametrize("code", ["a < b && c > d", "vector<int> v", "print('ok')"])CODE
HIGHtests/test_mcp_security.py70 validator.validate_command("npx && rm -rf /", "test-server")CODE
HIGHtests/test_mcp_security.py66 """Test that command injection via && is blocked."""STRING
HIGHtests/test_ram_tier_recommendations_agree.py508 "!quickstart.done && QuickstartCoordinator.retiredStarters.contains" in callerCODE
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_guided.py815 for t in inner.encode('a","tag":null}'):CODE
HIGHtests/test_guided.py826 produced = json.loads('{"inner":{"x":1},"kind":"a","tag":null}')CODE
HIGHtests/test_tool_param_enforcement.py203 _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.py322 f"`pip install rapid-mlx && rapid-mlx serve gemma-4-12b-4bit` "CODE
HIGHtests/test_vision_extra_install.py489 "`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/_download_gate.py1262 # A non-string value (list, number, null) is enough to makeCOMMENT
HIGHvllm_mlx/kv_quant_gate.py166 mean_kl: Mean forward KL ``D(P_baseline || P_candidate)`` in nats overSTRING
HIGHvllm_mlx/kv_quant_gate.py323 null). Used to require the candidate to preserve the baseline's structure.STRING
HIGHvllm_mlx/tool_parsers/muse_tool_parser.py325 * ``null`` -> None only when the schema explicitly permits null;STRING
HIGHvllm_mlx/tool_parsers/gemma4_tool_parser.py441 # Try to parse as JSON literal (int, float, bool, null). CatchCOMMENT
HIGHvllm_mlx/middleware/body_size.py579 "code": "request_too_large", "param": null}}STRING
HIGHvllm_mlx/mcp/types.py25 ``{"mcpServers": null}``) raises rather than silently falling back.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/spec_decode/mtp/quantized_argmax.py179 if (simd_gid == 0 && simd_lid == 0) {CODE
11 more matches not shown…
Modern Structural Boilerplate176 hits · 176 pts
SeverityFileLineSnippetContext
LOWtests/integrations/conftest.py809__all__ = [CODE
LOWvideox_fun_mlx/pipeline/scheduler.py83 def set_timesteps(self, num_inference_steps: int) -> None: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/_tempfile_safe.py365__all__ = ["managed_tempfile_path"]CODE
LOWvllm_mlx/mllm_cache.py31logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/_mlx_compat.py47logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/memory_cache.py39logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/server.py167logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/server.py2563def _set_resident_primary(entry: ModelEntry | None) -> None:CODE
LOWvllm_mlx/vision_embedding_cache.py26logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/output_router.py37logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/gdn_prefill.py43logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/embedding.py15logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/coherence.py38__all__ = [CODE
LOWvllm_mlx/singleton_cache_fastpath.py76logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/request.py253 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__.py99__all__ = [CODE
LOWvllm_mlx/kv_cache_dtype.py46logger = 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.py34logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/fp8_repack.py56logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/pflash.py33logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/mllm_scheduler.py58logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/mllm_scheduler.py679 def set_generation_paused(self, paused: bool, *, add_allowance: int = 0) -> None:CODE
LOWvllm_mlx/paged_cache.py34logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/model_auto_config.py34logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/_signal_observability.py56logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/prefix_cache.py29logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/scheduler.py136logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/scheduler.py6114 def set_generation_paused(self, paused: bool, *, add_allowance: int = 0) -> None:CODE
LOWvllm_mlx/tool_call_scan.py39__all__ = [CODE
LOWvllm_mlx/gdn_in_proj_fusion.py51logger = 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.py49logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/moe_fusion.py37logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/lfm_tool_parser.py33logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/deepseek_v3_tool_parser.py74logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/qwen3coder_tool_parser.py42logger = logging.getLogger(__name__)CODE
LOWvllm_mlx/tool_parsers/__init__.py82__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.py32logger = 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/middleware/request_logging.py30logger = 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/video/__init__.py6__all__ = ["VideoGenerationEngine", "WanVideoEngine"]CODE
116 more matches not shown…
Cross-File Repetition21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHtests/test_forced_alignment_route_hardening.py0mount the audio router on a bare fastapi app, bypassing auth.STRING
HIGHtests/test_audio_routes_bundle.py0mount the audio router on a bare fastapi app, bypassing auth.STRING
HIGHtests/test_stt_response_format.py0mount the audio router on a bare fastapi app, bypassing auth.STRING
HIGHtests/test_audio_music_route.py0mount the audio router on a bare fastapi app, bypassing auth.STRING
HIGHtests/test_chatterbox_expressiveness.py0minimal fake so the tts-lane probe passes without the real extra.STRING
HIGHtests/test_speech_inline_clone_route.py0minimal fake so the tts-lane probe passes without the real extra.STRING
HIGHtests/test_qwen3_tts_audio.py0minimal fake so the tts-lane probe passes without the real extra.STRING
HIGHtests/test_qwen3_tts_voicedesign.py0minimal fake so the tts-lane probe passes without the real extra.STRING
HIGHtests/test_stop_and_timeout_request_schema.py0patch the global config singleton and restore on teardown.STRING
HIGHtests/test_sampling_param_finite_range.py0patch the global config singleton and restore on teardown.STRING
HIGHtests/test_sampling_validation.py0patch the global config singleton and restore on teardown.STRING
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
HIGH…s/RapidTests/DeferredTelemetryConsentWiringTests.swift0data: {"choices":[{"delta":{"content":"ok"},"finish_reason":"stop"}]}\n data: [done]\nSTRING
HIGH…-mac/Tests/RapidTests/ChatStreamRequestBodyTests.swift0data: {"choices":[{"delta":{"content":"ok"},"finish_reason":"stop"}]}\n data: [done]\nSTRING
HIGH…pid-mac/Tests/RapidTests/CustomInstructionsTests.swift0data: {"choices":[{"delta":{"content":"ok"},"finish_reason":"stop"}]}\n data: [done]\nSTRING
HIGH…mac/Tests/RapidTests/CurrentDateTimeContextTests.swift0data: {"choices":[{"delta":{"content":"ok"},"finish_reason":"stop"}]}\n data: [done]\nSTRING
Docstring Block Structure17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHvllm_mlx/embedding.py287 Generate embeddings for one or more texts. Args: texts: A single string or list of stringsSTRING
HIGHvllm_mlx/embedding.py352Embed pre-tokenized inputs (OpenAI spec input formats 3 and 4). Skips the tokenizer entirely — the caller has aSTRING
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.py512 Retrieve a registered ToolParser class by name. Args: name: Parser name (e.g., 'mistral', STRING
HIGHvllm_mlx/runtime/model_registry.py109Get the engine for a model name. Falls back to default. Args: model_name: Model name from request. STRING
HIGHvllm_mlx/mcp/config.py41 Load MCP configuration from file. Search order: 1. Explicit path argument 2. RAPID_MLX_MCP_CONFIG enviSTRING
HIGHvllm_mlx/mcp/config.py127 Validate and parse configuration dictionary. Args: data: Raw configuration dictionary tolerantSTRING
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.py502 Decode base64 image to bytes. Args: base64_string: Base64 encoded image (optionally with data URL prefSTRING
HIGHvllm_mlx/models/mllm.py858 Download image from URL and return local path. Args: url: Image URL timeout: Download timeout STRING
HIGHvllm_mlx/models/mllm.py950 Download video from URL and return local path. Args: url: Video URL (http/https) timeout: DownSTRING
HIGHvllm_mlx/models/mllm.py1053 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.py403Inject MTP support into a loaded Qwen3.5 / Qwen3.6 model. Args: model: A model loaded via ``mlx_lm.load()``STRING
HIGHvllm_mlx/audio/music.py142Generate ``seconds`` of audio for ``prompt`` → ``out_path`` (wav). Args: prompt: Natural-language dSTRING
Self-Referential Comments28 hits · 80 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_tool_logits.py126 # Create a token ID that corresponds to the last char of '<invoke'COMMENT
MEDIUMtests/test_tool_parsers.py8# This file is the Linux parser-matrix entry point. Import the focusedCOMMENT
MEDIUMtests/test_server.py373 # Create a real temp fileCOMMENT
MEDIUMtests/test_fix_reasoning_mtp_doctor.py97 # Create a small QuantizedSwitchLinearCOMMENT
MEDIUMtests/test_memory_stability.py41 # Create a mock BatchGenerator with close()COMMENT
MEDIUMtests/test_memory_stability.py172 # Create a mock request with extracted cache (dict-state format)COMMENT
MEDIUMtests/test_memory_stability.py219 # 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.py818 # Create a request with stop sequencesCOMMENT
MEDIUMtests/test_mllm_cache.py77 # Create a temp file with some contentCOMMENT
MEDIUMtests/integrations/test_hermes.py670 # 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/create_release.sh3# Create a GitHub Release whose tag we atomically claim at $RELEASE_SHA.COMMENT
MEDIUMscripts/pr_validate/steps/targeted_tests.py253 # Create a worktree pointing at base_ref (sha-pinned when given).COMMENT
MEDIUMvllm_mlx/gdn_prefill.py202 # This function is the single validation authority for the kernel'sSTRING
MEDIUMvllm_mlx/gradio_app.py298 # Create a public share linkCOMMENT
MEDIUMvllm_mlx/cli.py5449 # Create the single mlx-step worker BEFORE loading weights and reuse itCOMMENT
MEDIUMvllm_mlx/mllm_batch_generator.py1389 # Create a fresh KVCache for this request's language model prefillCOMMENT
MEDIUMvllm_mlx/_integration_tests/test_hermes.py670 # Create a test file firstCOMMENT
MEDIUMvllm_mlx/api/guided.py202 # Create the model dynamicallyCOMMENT
MEDIUMvllm_mlx/speculative/dflash/server.py1525 # Create the generator on the same worker that will drive it,COMMENT
Redundant / Tautological Comments53 hits · 78 pts
SeverityFileLineSnippetContext
LOWevals/run_eval.py950 # 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.py110 # 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.py1994 # Check if cached_key is a prefix of tokens_keyCOMMENT
LOWvllm_mlx/memory_cache.py2016 # Check if tokens_key is a prefix of cached_keyCOMMENT
LOWvllm_mlx/memory_cache.py2266 # Check if single entry exceeds limitCOMMENT
LOWvllm_mlx/memory_cache.py3736 # Check if it fits against the running (live+staged inCOMMENT
LOWvllm_mlx/gradio_app.py160 # Check if this message had media cachedCOMMENT
LOWvllm_mlx/cli.py4382 # Set SO_REUSEADDR to match uvicorn's bind behavior — without it, thisCOMMENT
LOWvllm_mlx/mllm_scheduler.py1131 # Check if finishedCOMMENT
LOWvllm_mlx/prefix_cache.py154 # Check if we have a shorter prefix with cacheCOMMENT
LOWvllm_mlx/prefix_cache.py223 # Check if cache supports trimmingCOMMENT
LOWvllm_mlx/prefix_cache.py615 # Check if cache_data contains extracted tensor statesCOMMENT
LOWvllm_mlx/prefix_cache.py649 # Check if this block already exists (deduplication)COMMENT
LOWvllm_mlx/scheduler.py4239 # Check if it's a list of cache layersCOMMENT
LOWvllm_mlx/scheduler.py4247 # Check if layer has expected structureCOMMENT
LOWvllm_mlx/scheduler.py7286 # Check if finishedCOMMENT
LOWvllm_mlx/mllm_batch_generator.py632 # Check if this is actually a VLM with separate language modelCOMMENT
LOWvllm_mlx/tool_parsers/qwen3coder_tool_parser.py935 # 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.py892 # Check if we're inside a tool call. Either the pristine wireCOMMENT
LOWvllm_mlx/tool_parsers/gemma4_tool_parser.py943 # Check if we have a complete text tool callCOMMENT
LOWvllm_mlx/utils/tokenizer.py1534 # 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.py1125 # Check if it's a local file (confined to regular media files; seeCOMMENT
LOWvllm_mlx/models/mllm.py1131 # Check if it's a URLCOMMENT
LOWvllm_mlx/models/mllm.py1135 # Check if it's base64COMMENT
LOWvllm_mlx/models/mllm.py1214 # Check if it's base64 FIRST (before Path.exists() which fails on long strings)COMMENT
LOWvllm_mlx/models/mllm.py1218 # Check if it's a URLCOMMENT
LOWvllm_mlx/models/deepseek_v4_cache.py801 # Check if all caches are emptyCOMMENT
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.py6312 # Check if we should include usage in the final chunkCOMMENT
Structural Annotation Overuse34 hits · 63 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.py531 # Step 1: hits=10 → exposed 10COMMENT
LOWtests/test_metrics_route.py535 # Step 2: hits=15 → exposed 15COMMENT
LOWtests/test_metrics_route.py540 # Step 3: simulate cache.clear() — raw drops to 0; exposed must stay ≥ 15COMMENT
LOWtests/test_metrics_route.py549 # Step 4: hits=3 — fresh activity after clear; exposed should be 15+3=18COMMENT
LOWtests/test_reasoning_budget_generation.py191 # Step 2: one generated think token → 1/1 spent → force on THIS call.COMMENT
LOWtests/test_grammar_processor_558.py2395 # Step 1: baseline the prompt (1 token), then feed the first generatedCOMMENT
LOWtests/test_grammar_processor_558.py2405 # Step 2: feed the second generated token — the matcher rejects it, soCOMMENT
LOWtests/test_grammar_processor_558.py2418 # Step 3: any subsequent call also stays dropped (logits unchanged).COMMENT
LOWdocs/guides/server.md285# Step 1: Send request with toolsCOMMENT
LOWdocs/guides/server.md301# Step 2: Check if model wants to use toolsCOMMENT
LOWdocs/guides/server.md307# Step 3: Send tool result backCOMMENT
LOWvllm_mlx/tool_parsers/gemma4_tool_parser.py428 # Step 2: bare KV parseCOMMENT
LOWvllm_mlx/utils/chat_template.py1546 # Step 1: retry without enable_thinking (many templates don't support it).COMMENT
LOWvllm_mlx/utils/chat_template.py1590 # Step 2: template also rejects tools — fall back to prompt injection.COMMENT
LOWvllm_mlx/service/postprocessor.py2654 # 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
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift377 // Step 1: cached + safe (only over the known-params subset).COMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift382 // Step 2: smallest known-params alias that fits.COMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift390 // Step 3: smallest known-params alias overall (.tooBig butCOMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift395 // Step 4: catalog has zero parseable aliases. Last resort —COMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift509 // Step 1: bucketed default is on disk AND runnable. NoCOMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift515 // Step 2: any cached + fits alternative — prefer it over aCOMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift528 // Step 3: nothing cached fits, but the canonical pick stillCOMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift534 // Step 4: bucketed is .tooBig OR missing — hand off to theCOMMENT
LOW…rapid-mac/Sources/Rapid/Server/ToolUseCapability.swift493 // Step 1: denylist match (broken takes priority).COMMENT
LOW…rapid-mac/Sources/Rapid/Server/ToolUseCapability.swift498 // Step 2: deliberate-unknown overrides shadow the family matchCOMMENT
LOW…rapid-mac/Sources/Rapid/Server/ToolUseCapability.swift512 // Step 3: family + size guard. An alias is .known when itsCOMMENT
Verbosity Indicators32 hits · 61 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.py531 # Step 1: hits=10 → exposed 10COMMENT
LOWtests/test_metrics_route.py535 # Step 2: hits=15 → exposed 15COMMENT
LOWtests/test_metrics_route.py540 # Step 3: simulate cache.clear() — raw drops to 0; exposed must stay ≥ 15COMMENT
LOWtests/test_metrics_route.py549 # Step 4: hits=3 — fresh activity after clear; exposed should be 15+3=18COMMENT
LOWtests/test_reasoning_budget_generation.py189 # Step 1: [1] is baselined as prompt; 0/1 spent → "free", logits untouched.COMMENT
LOWtests/test_reasoning_budget_generation.py191 # Step 2: one generated think token → 1/1 spent → force on THIS call.COMMENT
LOWtests/test_grammar_processor_558.py2395 # Step 1: baseline the prompt (1 token), then feed the first generatedCOMMENT
LOWtests/test_grammar_processor_558.py2405 # Step 2: feed the second generated token — the matcher rejects it, soCOMMENT
LOWtests/test_grammar_processor_558.py2418 # Step 3: any subsequent call also stays dropped (logits unchanged).COMMENT
LOWvllm_mlx/tool_parsers/gemma4_tool_parser.py428 # Step 2: bare KV parseCOMMENT
LOWvllm_mlx/utils/chat_template.py1546 # Step 1: retry without enable_thinking (many templates don't support it).COMMENT
LOWvllm_mlx/utils/chat_template.py1590 # Step 2: template also rejects tools — fall back to prompt injection.COMMENT
LOWvllm_mlx/service/postprocessor.py2654 # 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
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift377 // Step 1: cached + safe (only over the known-params subset).COMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift382 // Step 2: smallest known-params alias that fits.COMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift390 // Step 3: smallest known-params alias overall (.tooBig butCOMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift395 // Step 4: catalog has zero parseable aliases. Last resort —COMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift509 // Step 1: bucketed default is on disk AND runnable. NoCOMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift515 // Step 2: any cached + fits alternative — prefer it over aCOMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift528 // Step 3: nothing cached fits, but the canonical pick stillCOMMENT
LOW…apid-mac/Sources/Rapid/Server/RAMBucketedDefault.swift534 // Step 4: bucketed is .tooBig OR missing — hand off to theCOMMENT
LOW…rapid-mac/Sources/Rapid/Server/ToolUseCapability.swift493 // Step 1: denylist match (broken takes priority).COMMENT
LOW…rapid-mac/Sources/Rapid/Server/ToolUseCapability.swift498 // Step 2: deliberate-unknown overrides shadow the family matchCOMMENT
LOW…rapid-mac/Sources/Rapid/Server/ToolUseCapability.swift512 // Step 3: family + size guard. An alias is .known when itsCOMMENT
AI Structural Patterns42 hits · 34 pts
SeverityFileLineSnippetContext
LOWtests/test_community_bench_aggregate.py62CODE
LOWtests/test_cache_routes.py84CODE
LOW…eox_fun_mlx/pipeline/pipeline_cogvideox_fun_inpaint.py229CODE
LOWvideox_fun_mlx/pipeline/scheduler.py25CODE
LOWvideox_fun_mlx/models/cogvideox_vae.py307CODE
LOWvideox_fun_mlx/models/cogvideox_vae.py537CODE
LOWvideox_fun_mlx/models/cogvideox_vae.py717CODE
LOWvideox_fun_mlx/models/cogvideox_vae.py819CODE
LOWvideox_fun_mlx/models/cogvideox_vae.py950CODE
LOWvideox_fun_mlx/models/cogvideox_vae.py1075CODE
LOWvideox_fun_mlx/models/cogvideox_transformer3d.py235CODE
LOWvideox_fun_mlx/models/cogvideox_transformer3d.py382CODE
LOWvideox_fun_mlx/models/cogvideox_transformer3d.py496CODE
LOWexamples/mcp_chat.py47CODE
LOWscripts/agent_soak_test.py272CODE
LOWscripts/mirror_to_r2.py476CODE
LOWscripts/bench_decode_tps.py127CODE
LOWvllm_mlx/server.py1778CODE
LOWvllm_mlx/engine_core.py1080CODE
LOWvllm_mlx/mllm_scheduler.py529CODE
LOWvllm_mlx/mllm_scheduler.py1909CODE
LOWvllm_mlx/gdn_in_proj_fusion.py230CODE
LOWvllm_mlx/mllm_batch_generator.py584CODE
LOWvllm_mlx/tool_parsers/muse_tool_parser.py381CODE
LOWvllm_mlx/tool_parsers/harmony_tool_parser.py430CODE
LOWvllm_mlx/video/engine.py123CODE
LOWvllm_mlx/runtime/diffusion_lane.py955CODE
LOWvllm_mlx/runtime/resident_models.py582CODE
LOWvllm_mlx/models/mllm.py1891CODE
LOWvllm_mlx/models/nemotron_labs_diffusion.py209CODE
LOWvllm_mlx/models/gemma4_vendored/language.py601CODE
LOWvllm_mlx/spec_decode/mtp/cache_patch.py385CODE
LOWvllm_mlx/spec_decode/mtp/generator.py199CODE
LOWvllm_mlx/audio/tts.py649CODE
LOWvllm_mlx/speculative/dflash/server.py610CODE
LOWvllm_mlx/speculative/dflash/server.py2057CODE
LOWvllm_mlx/engine/batched.py793CODE
LOWvllm_mlx/engine/batched.py2324CODE
LOWvllm_mlx/routes/responses.py2637CODE
LOWvllm_mlx/routes/images.py442CODE
LOWvllm_mlx/routes/audio.py1888CODE
LOWvllm_mlx/routes/video.py594CODE
Slop Phrases13 hits · 26 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.py865 monkeypatch, tmp_path, "I'm unable to review this content."CODE
MEDIUMtests/integrations/conftest.py455# "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
MEDIUM…ests/RapidTests/GroundingConfabulationRetryTests.swift159 "I cannot provide current data, my knowledge is only up to 2024.",CODE
MEDIUM…ests/RapidTests/GroundingConfabulationRetryTests.swift239 "According to my knowledge cutoff, I cannot provide current data.",CODE
MEDIUMapps/rapid-mac/Sources/Rapid/Chat/ChatViewModel.swift2566 "i can't provide real-time", "i cannot provide real-time",STRING
MEDIUMapps/rapid-mac/Sources/Rapid/Chat/ChatViewModel.swift2567 "i can't provide current", "i cannot provide current",STRING
MEDIUMapps/rapid-mac/Sources/Rapid/Chat/ChatViewModel.swift2574 "i'm unable to access real-time", "i am unable to access real-time",STRING
MEDIUMapps/rapid-mac/Sources/Rapid/Chat/ChatViewModel.swift2575 "i'm unable to access current", "i am unable to access current",STRING
MEDIUMapps/rapid-mac/Sources/Rapid/Chat/ChatViewModel.swift2576 "i'm unable to provide real-time", "i am unable to provide real-time",STRING
MEDIUMapps/rapid-mac/Sources/Rapid/Chat/ChatViewModel.swift2605 /// ("According to my knowledge cutoff, I cannot provide current data") andSTRING
Example Usage Blocks15 hits · 24 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/coherence_sweep.sh26# Usage:COMMENT
LOWvllm_mlx/_integration_tests/test_aider.sh18# Usage:COMMENT
LOWapps/rapid-mac/scripts/dogfood-isolate.sh27# Usage:COMMENT
LOWapps/rapid-mac/scripts/build-bootstrapper-dmg.sh84# Usage:COMMENT
LOWapps/rapid-mac/scripts/validate-dmg.sh24# Usage:COMMENT
LOWapps/rapid-mac/scripts/stage-licenses.sh15# Usage:COMMENT
LOWapps/rapid-mac/scripts/build-sidecar.sh24# Usage:COMMENT
LOWapps/rapid-mac/scripts/walkthrough.sh14# Usage:COMMENT
Fake / Example Data21 hits · 18 pts
SeverityFileLineSnippetContext
LOWevals/run_eval.py1116 fake_key = f"{prefix}fake_result"CODE
LOWevals/run_eval.py1118 fake_key,CODE
LOWtests/test_gemma4_tool_parser.py262 "endpointId": "jane@example.org",CODE
LOWtests/test_gemma4_tool_parser.py76 "endpointId": "jane@example.org",CODE
LOWtests/test_gemma4_tool_parser.py145 "endpointId": "jane@example.org",CODE
LOWtests/test_gemma4_tool_parser.py163 "endpointId": "jane@example.org",CODE
LOWtests/test_tokenizer_gemma4_hybrid.py272 "Lorem ipsum dolor sit amet",CODE
LOWtests/test_tokenizer_gemma4_hybrid.py272 "Lorem ipsum dolor sit amet",CODE
LOWtests/test_release_artifact_matrix.py29 wheel.write_bytes(b"placeholder")CODE
LOWtests/test_tool_param_enforcement_f141a.py135 ("email", "notanemail", "user@example.com"),CODE
LOWtests/test_prefix_boundary_path_parity.py390 """Third-party template drift keeps the conservative dummy-user LCP."""STRING
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_download_gate.py2437 (snap / "vae.safetensors" / "placeholder").write_bytes(b"x" * 16)CODE
LOWtests/test_download_gate.py2449 (snap / "vae.safetensors" / "placeholder").unlink()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
LOWapps/rapid-mac/CHANGELOG.md3291 "placeholder"; pill HStacks collapsed so VoiceOver doesn'tCODE
LOW…-mac/Sources/Rapid/UI/Markdown/SyntaxHighlighter.swift1235 "width", "height", "alt", "title", "rel", "target", "placeholder",CODE
LOW…wiftMath/Sources/SwiftMath/MathRender/MTMathList.swift358 string += "{\(self.numerator?.description ?? "placeholder")}{\(self.denominator?.description ?? "placeholder")}"CODE
LOW…wiftMath/Sources/SwiftMath/MathRender/MTMathList.swift407 string += "{\(self.radicand?.description ?? "placeholder")}"CODE
Dead Code5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_r15_routes_stability_batch.py501CODE
MEDIUMtests/test_r15_routes_stability_batch.py533CODE
MEDIUMtests/test_engine_lifecycle.py1007CODE
MEDIUMtests/test_engine_lifecycle.py1471CODE
MEDIUMtests/test_engine_lifecycle.py1487CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtests/test_prompt_cache_snapshot.py336 scheduler.memory_aware_cache.store.call_args.kwargs.get("evict_prefixes")CODE
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