Repository Analysis

unslothai/unsloth

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, Kimi K3, MiniMax-H3, Gemma 4, FLUX and more.

28.1 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of unslothai/unsloth, a Python project with 75,045 GitHub stars. SynthScan v2.0 examined 1,903,292 lines of code across 4403 source files, recording 48776 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 28.1 places this repository in the Moderate 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).

28.1
Adjusted Score
28.1
Raw Score
100%
Time Factor
2026-08-28
Last Push
75.0K
Stars
Python
Language
1.9M
Lines of Code
4.4K
Files
48.8K
Pattern Hits
2026-08-29
Scan Date
0.24
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 4HIGH 1063MEDIUM 3329LOW 44380

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 48776 distinct pattern matches across 24 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.

Hyper-Verbose Identifiers34711 hits · 29011 pts
SeverityFileLineSnippetContext
LOWunsloth-cli.py62def _tokenizer_for_raw_text_loader(tokenizer, is_mlx):CODE
LOWunsloth-cli.py68def _raw_text_loader_for_backend(CODE
LOWunsloth-cli.py83def _train_with_legacy_save_control(trainer, is_mlx):CODE
LOWunsloth-cli.py101def _iter_quantization_methods(quantization):CODE
LOWstudio/install_whisper_prebuilt.py376def published_llama_ggml_tree(tag: Any, repo: Any = None) -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py408def installed_llama_tree_repo() -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py465def _ships_windows_gpu_ggml_module(llama_bin_dir: Path) -> bool:CODE
LOWstudio/install_whisper_prebuilt.py477def slim_pairing_for_artifact(CODE
LOWstudio/install_whisper_prebuilt.py581def select_artifact_with_cpu_fallback(CODE
LOWstudio/install_whisper_prebuilt.py593def _slim_release_incompatibility(manifest: dict[str, Any], host: HostInfo) -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py655def select_artifact_with_fallback(CODE
LOWstudio/install_whisper_prebuilt.py702def _download_host_latest_release_tag(repo: str) -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py726def _resolve_release_via_download_host(CODE
LOWstudio/install_whisper_prebuilt.py1048def load_whisper_prebuilt_metadata(install_dir: Path) -> dict[str, Any] | None:CODE
LOWstudio/install_whisper_prebuilt.py1126def resolve_newest_release_tag(repo: str) -> str:CODE
LOWstudio/install_whisper_prebuilt.py1136def fetch_release_for_install(CODE
LOWstudio/install_whisper_prebuilt.py1156def _bundle_matches_whisper_tag(bundle: ReleaseBundle, whisper_tag: str) -> bool:CODE
LOWstudio/install_manifest.py80def installed_requirements_root(root: Optional[Path] = None) -> Optional[Path]:CODE
LOWstudio/install_manifest.py153def _installed_metadata_records(dist_name: str) -> List[Tuple[str, Optional[Path]]]:CODE
LOWstudio/install_manifest.py204def pip_backup_metadata_paths(dist_name: str) -> List[Path]:CODE
LOWstudio/install_manifest.py224def _metadata_is_inconsistent(dist_name: str, versions: Optional[List[str]] = None) -> bool:CODE
LOWstudio/install_llama_prebuilt.py584def source_archive_logical_name(upstream_tag: str) -> str:CODE
LOWstudio/install_llama_prebuilt.py588def exact_source_archive_logical_name(source_commit: str) -> str:CODE
LOWstudio/install_llama_prebuilt.py597def normalize_source_ref_kind(value: str | None) -> str | None:CODE
LOWstudio/install_llama_prebuilt.py855def upstream_source_archive_urls(tag: str) -> list[str]:CODE
LOWstudio/install_llama_prebuilt.py863def commit_source_archive_urls(repo: str, source_commit: str) -> list[str]:CODE
LOWstudio/install_llama_prebuilt.py871def release_asset_download_url(CODE
LOWstudio/install_llama_prebuilt.py1949def validated_checksums_for_bundle(CODE
LOWstudio/install_llama_prebuilt.py1956def _download_host_resolve_enabled() -> bool:CODE
LOWstudio/install_llama_prebuilt.py1964def _release_asset_download_url(repo: str, tag: str, asset_name: str) -> str:CODE
LOWstudio/install_llama_prebuilt.py1968def _download_host_latest_release_tag(repo: str) -> str | None:CODE
LOWstudio/install_llama_prebuilt.py1972def _fetch_download_host_json(url: str) -> Any:CODE
LOWstudio/install_llama_prebuilt.py1978def _download_host_resolved_release(repo: str) -> ResolvedPublishedRelease | None:CODE
LOWstudio/install_llama_prebuilt.py4051def overlay_directory_for_choice(install_dir: Path, choice: AssetChoice, host: HostInfo) -> Path:CODE
LOWstudio/install_llama_prebuilt.py4060def paired_runtime_dll_patterns(choice: AssetChoice) -> list[str]:CODE
LOWstudio/install_llama_prebuilt.py4853def download_validation_model(path: Path, cache_path: Path | None = None) -> None:CODE
LOWstudio/install_llama_prebuilt.py5881def _validation_server_leads_group() -> bool:CODE
LOWstudio/install_llama_prebuilt.py5890def _validation_server_kwargs() -> "dict[str, Any]":CODE
LOWstudio/install_llama_prebuilt.py178def _external_hipinfo_on_path() -> bool:CODE
LOWstudio/install_llama_prebuilt.py279def staged_validation_enabled() -> bool:CODE
LOWstudio/install_llama_prebuilt.py351def _cuda_runtime_lines_for_major(major: int) -> list[str]:CODE
LOWstudio/install_llama_prebuilt.py643def source_url_from_repo_slug(repo_slug: str | None) -> str | None:CODE
LOWstudio/install_llama_prebuilt.py732def windows_cuda_upstream_asset_names(llama_tag: str, runtime: str) -> list[str]:CODE
LOWstudio/install_llama_prebuilt.py739def windows_cuda_asset_aliases(CODE
LOWstudio/install_llama_prebuilt.py764def _published_windows_cuda_runtime(CODE
LOWstudio/install_llama_prebuilt.py917def latest_upstream_release_tag() -> str:CODE
LOWstudio/install_llama_prebuilt.py947def iter_release_payloads_by_time(CODE
LOWstudio/install_llama_prebuilt.py978def direct_release_matches_request(*, release_tag: str, llama_tag: str, requested_tag: str) -> bool:CODE
LOWstudio/install_llama_prebuilt.py987def synthetic_checksums_for_release(CODE
LOWstudio/install_llama_prebuilt.py998def direct_upstream_release_plan(CODE
LOWstudio/install_llama_prebuilt.py1210def resolve_simple_install_release_plans(CODE
LOWstudio/install_llama_prebuilt.py1271def normalized_requested_llama_tag(requested_tag: str | None) -> str:CODE
LOWstudio/install_llama_prebuilt.py1287def linux_runtime_dirs_for_required_libraries(required_libraries: Iterable[str]) -> list[str]:CODE
LOWstudio/install_llama_prebuilt.py1291def detected_linux_runtime_lines() -> tuple[list[str], dict[str, list[str]]]:CODE
LOWstudio/install_llama_prebuilt.py1367def parse_published_release_bundle(CODE
LOWstudio/install_llama_prebuilt.py1472def parse_approved_release_checksums(CODE
LOWstudio/install_llama_prebuilt.py1558def load_approved_release_checksums(repo: str, release_tag: str) -> ApprovedReleaseChecksums:CODE
LOWstudio/install_llama_prebuilt.py1583def iter_published_release_bundles(CODE
LOWstudio/install_llama_prebuilt.py1613def _warn_uncovered_cuda_host(CODE
LOWstudio/install_llama_prebuilt.py1663def linux_cuda_choice_from_release(CODE
34651 more matches not shown…
Decorative Section Separators2758 hits · 9466 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh4205# ── Radeon repo wheel selection helpers ──────────────────────────────────────COMMENT
MEDIUMinstall.sh4291# ── ROCm-on-WSL bootstrap for AMD Strix Halo (gfx1151) ───────────────────────COMMENT
MEDIUMinstall.sh4645# ── Strix Halo / Strix Point: route to the AMD arch-specific index ───────────COMMENT
MEDIUMstudio/setup.sh26# ── Maintainer-editable defaults ──────────────────────────────────────────COMMENT
MEDIUMstudio/setup.sh44# ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMstudio/prebuilt_core.py1505# ════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMstudio/prebuilt_core.py1508# ════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMstudio/install_python_stack.py89# ── ROCm / AMD GPU support ─────────────────────────────────────────────────────COMMENT
MEDIUMstudio/install_python_stack.py3549# ── Color support ──────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/smoke-heavy-thread-main.tsx129// ── content generators ──────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/smoke-heavy-thread-main.tsx366// ── the cycle ───────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/smoke-code-block-flicker-main.tsx68// ── CSS variants ────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/smoke-code-block-flicker-main.tsx142// ── content ─────────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/smoke-code-block-flicker-main.tsx212// ── sampling ────────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/code-tool-placement.test.ts34// ── the rule itself ────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/code-tool-placement.test.ts103// ── the adapter has to actually use it ─────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/code-tool-placement.test.ts149// ── Whether the pill is offered at all ─────────────────────────────COMMENT
MEDIUM…rontend/tests/recommended-curated-row-metadata.test.ts35// ── search: a downloaded curated row stays findable ───────────────────────────COMMENT
MEDIUM…rontend/tests/recommended-curated-row-metadata.test.ts71// ── row metadata: size chip + capability glyphs ───────────────────────────────COMMENT
MEDIUM…rontend/tests/recommended-curated-row-metadata.test.ts164// ── wiring: the picker actually reads the fallbacks ───────────────────────────COMMENT
MEDIUM…io/frontend/tests/code-plugin-engine-and-cache.test.ts56// ── 1. the engine the desktop CSP allows ───────────────────────────────COMMENT
MEDIUM…io/frontend/tests/code-plugin-engine-and-cache.test.ts77// ── 2. the character budget ────────────────────────────────────────────COMMENT
MEDIUM…io/frontend/tests/code-plugin-engine-and-cache.test.ts259// ── 3. the compact cache key is a hint, not the answer ─────────────────COMMENT
MEDIUM…udio/frontend/tests/loaded-models-drag-restore.test.ts97// ── The wiring the geometry depends on ──────────────────────────────────COMMENT
MEDIUM…o/frontend/tests/loaded-models-platform-matrix.test.ts77// ── Chat runtime: the accelerator axis ──────────────────────────────────COMMENT
MEDIUM…o/frontend/tests/loaded-models-platform-matrix.test.ts136// ── Chat runtime: every audio_type the backend can emit ─────────────────COMMENT
MEDIUM…o/frontend/tests/loaded-models-platform-matrix.test.ts179// ── Diffusion: the device vocabulary, and the two engines ───────────────COMMENT
MEDIUM…o/frontend/tests/loaded-models-platform-matrix.test.ts297// ── Dictation: three engines, and a "device" that is not a device ────────COMMENT
MEDIUM…o/frontend/tests/loaded-models-platform-matrix.test.ts336// ── The merge, across a fully loaded host ───────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/prompt-queue-input-edges.test.ts46// ── the chord ────────────────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/prompt-queue-input-edges.test.ts104// ── the drag type ────────────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/prompt-queue-input-edges.test.ts137// ── pending starts ───────────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/prompt-queue-input-edges.test.ts167// ── the pasted-text key ──────────────────────────────────────────────────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts62// ── The pinned cached row, the shape #8893 was reported on ───────────────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts62// ── The pinned cached row, the shape #8893 was reported on ───────────────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts120// ── Windows spells one directory several ways, and means one directory ───────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts154// ── POSIX is case-SENSITIVE, and two files can differ by case alone ──────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts174// ── The unpinned cached row: the repo id IS the load identifier ──────────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts192// ── A standalone .gguf: one file, no quant to choose between ─────────────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts217// ── Safetensors and MLX: no quant at all on either side ──────────────────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts256// ── Nothing is loaded ────────────────────────────────────────────────────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts271// ── Older Unsloth backends, i.e. an install that predates these fields ────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts301// ── A native-lease load withholds the raw path on every version ──────────────COMMENT
MEDIUM…dio/frontend/tests/resident-model-match-matrix.test.ts336// ── The documented false negative, pinned so it cannot drift into a true ─────COMMENT
MEDIUM…o/frontend/tests/code-plugin-embedded-grammars.test.ts148// ── HTML: the grammar pushes into javascript and css and back ──────────COMMENT
MEDIUM…o/frontend/tests/code-plugin-embedded-grammars.test.ts185// ── TSX: JSX children and an expression container ──────────────────────COMMENT
MEDIUM…o/frontend/tests/code-plugin-embedded-grammars.test.ts217// ── Markdown containing a fence: the grammar nests into itself ─────────COMMENT
MEDIUM…o/frontend/tests/code-plugin-embedded-grammars.test.ts255// ── Markdown whose nested fences open and close again ──────────────────COMMENT
MEDIUM…o/frontend/tests/code-plugin-embedded-grammars.test.ts320// ── Shell heredoc: the terminator is chosen by the document ────────────COMMENT
MEDIUM…o/frontend/tests/code-plugin-embedded-grammars.test.ts349// ── Nested template literals: interpolation inside interpolation ───────COMMENT
MEDIUM…rc/features/studio/sections/dataset-preview-dialog.tsx226 // ── AI Assist ──────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/src/features/video/video-page.tsx1172 // ── keyframes ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…features/chat/prompt-storage/prompt-storage-dialog.tsx729// ── Fine-tuning export ─────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/src/features/chat/api/chat-adapter.ts5014 // ── Audio model path (non-streaming) ─────────────────────COMMENT
MEDIUMstudio/frontend/src/features/images/api.ts453// ── Diffusion LoRA training ───────────────────────────────────────────────────COMMENT
MEDIUM…icker/components/model-selector/model-catalog.check.ts34// ── canonicalKeyFor: suffix stripping, owner preserved ─────────────────────────COMMENT
MEDIUM…icker/components/model-selector/model-catalog.check.ts94// ── groupForRepoId: artifacts, aliases, canonical keys, unknowns ───────────────COMMENT
MEDIUM…icker/components/model-selector/model-catalog.check.ts141// ── catalog integrity: unique ids, artifacts resolve to exactly one group ──────COMMENT
MEDIUM…icker/components/model-selector/model-catalog.check.ts169// ── loadSpecFor reproduces the old page lookup tables exactly ──────────────────COMMENT
MEDIUM…icker/components/model-selector/model-catalog.check.ts246// ── curatedRowLabelFor ─────────────────────────────────────────────────────────COMMENT
2698 more matches not shown…
Cross-Language Confusion1009 hits · 5341 pts
SeverityFileLineSnippetContext
HIGHstudio/backend/core/inference/tool_call_parser.py1973 """One ``.call`` value (string/number/true/false/null) at ``body[p:]``.STRING
HIGHstudio/backend/core/inference/media_locality.py299 # [null, null] marks a component this pipeline deliberately ships without.COMMENT
HIGHstudio/backend/core/inference/tools.py5119 ran on past the end of the word: `sed "$(printf '(' >/dev/null; printf 'eSTRING
HIGHstudio/backend/core/inference/tools.py5401 scan (`ls -T && echo curl`)."""STRING
HIGHstudio/backend/core/inference/gallery_flags.py63 The container being a dict is not enough. ``{"archived": null}`` is a dict, and every readerSTRING
HIGHstudio/backend/tests/test_diffusion_routes.py2048 # Same for the precision fields added later: absent keys read back as null, and the PNG stillCOMMENT
HIGHstudio/backend/tests/test_export_imatrix_compressed.py209 assert "hf_token: params.token ?? params.loadToken ?? null," in ggufCODE
HIGH…dio/backend/tests/test_training_progress_stream_nan.py5non-finite-loss stretches (loss reported as null) instead of replaying theSTRING
HIGHstudio/backend/tests/test_local_model_dir_discovery.py126 (b'{"downloadsFolder": null}', "null_value"),CODE
HIGH…o/backend/tests/test_resume_blocked_reason_surfaces.py150 guard = source.split("if (!(detail.run.can_resume && outputDir))", 1)[1][:400]CODE
HIGHstudio/backend/tests/test_safetensors_tool_loop.py744 '<|python_tag|>{"name":"foo","arguments":null}',CODE
HIGHstudio/backend/tests/test_safetensors_tool_loop.py1000 "enabled:true,attempts:5,threshold:1.5,nickname:null}<tool_call|>"CODE
HIGHstudio/backend/tests/test_anthropic_fast_mode_edge.py38 b'"role":"assistant","stop_reason":null,"usage":'CODE
HIGHstudio/backend/tests/test_anthropic_fast_mode_edge.py50 b'"role":"assistant","stop_reason":null,"usage":'CODE
HIGHstudio/backend/tests/test_anthropic_fast_mode_edge.py409 b'"role":"assistant","stop_reason":null,"usage":'CODE
HIGHstudio/backend/tests/test_anthropic_fast_mode_edge.py346 finish_reason=null); the frontend latches onSTRING
HIGHstudio/backend/tests/test_media_auto_switch.py1808 ' "safety_checker": [null, null]}'CODE
HIGHstudio/backend/tests/test_openai_codex_subscription.py1353 yield 'data: {"choices":[{"delta":{"tool_calls":[{"index":0,"id":"call_1","type":"function","function":{CODE
HIGHstudio/backend/tests/test_openai_codex_subscription.py1356 yield 'data: {"choices":[{"delta":{"content":"The result is 42."},"finish_reason":null}]}'CODE
HIGHstudio/backend/tests/test_openai_codex_subscription.py1432 yield 'data: {"choices":[{"delta":{"tool_calls":[{"index":0,"id":"call_1","type":"function","function":{CODE
HIGHstudio/backend/tests/test_openai_codex_subscription.py1435 yield 'data: {"choices":[{"delta":{"content":"done"},"finish_reason":null}]}'CODE
HIGHstudio/backend/tests/test_chat_settings_payload.py242 """A cleared seed is an explicit null, not an omission: the merge overwrites perSTRING
HIGHstudio/backend/tests/test_credential_routes.py348 """A blank Max Tokens limit field serialises as null, not as an omission.STRING
HIGHstudio/backend/tests/test_credential_routes.py350 So every provider type has to accept the null, ChatGPT subscriptions included: anSTRING
HIGH…/backend/tests/test_anthropic_fast_mode_and_refusal.py38 b'"stop_reason":null,"usage":{"input_tokens":1,"output_tokens":1}}}\n\n'CODE
HIGH…/backend/tests/test_anthropic_fast_mode_and_refusal.py49 b'"stop_reason":null,"usage":{"input_tokens":1,"output_tokens":1}}}\n\n'CODE
HIGHstudio/backend/tests/test_tool_call_parser_strict.py388 calls = parse_tool_calls_from_text('[TOOL_CALLS][{"name":"get_time","arguments":null}]')CODE
HIGHstudio/backend/tests/test_tool_call_parser_strict.py485 text = '<|python_tag|>do.call(s="hi 😀", n=42, f=1.5, b=true, z=null)'CODE
HIGHstudio/backend/tests/test_image_gallery.py371 # `{"archived": null}` is still a dict, so a container-only check trusted it, and every readerCOMMENT
HIGHstudio/backend/tests/test_openai_tool_passthrough.py2435 line = 'data: {"choices":[{"index":0,"delta":{"content":"hello"},"finish_reason":null}]}'CODE
HIGHstudio/backend/tests/test_openai_tool_passthrough.py2444 '"mentions \\"reasoning_content\\" in text"},"finish_reason":null}]}'CODE
HIGHstudio/backend/tests/test_openai_tool_passthrough.py2452 '"finish_reason":null}]}'CODE
HIGHstudio/backend/tests/test_openai_tool_passthrough.py6048 '"finish_reason":null}]}',CODE
HIGHstudio/backend/tests/test_openai_tool_passthrough.py8140 'data: {"id":"chatcmpl-test","object":"chat.completion.chunk","created":1,"model":"m","choices":[{"iCODE
HIGHstudio/backend/tests/test_openai_tool_passthrough.py8161 'data: {"id":"chatcmpl-test","choices":[{"index":0,"delta":{"content":"ok"},"finish_reason":null}]}'CODE
HIGHstudio/backend/tests/test_openai_tool_passthrough.py8960 yield 'data: {"choices":[{"index":0,"delta":{"content":"hi"},"finish_reason":null}]}'CODE
HIGHstudio/backend/tests/test_openai_tool_passthrough.py9034 yield 'data: {"choices":[{"index":0,"delta":{"content":"hi"},"finish_reason":null}]}'CODE
HIGHstudio/backend/tests/test_consent_gate.py1586 '{"auto_map": {"AutoTokenizer": ["tokenization_evil.EvilTokenizer", null]}}'CODE
HIGHstudio/backend/tests/test_consent_gate.py1538 '{"auto_map": {"AutoTokenizer": ["other/repo--tokenization_x.Slow", null]}}'CODE
HIGHstudio/backend/tests/test_llama_cpp_stall_timeout.py104 'data: {"choices":[{"delta":{"role":"assistant","content":null}}],'CODE
HIGH…/backend/tests/test_memory_estimate_contract_freeze.py69 planner fields are present-and-null, so swapping ``weights_bytes`` for theSTRING
HIGHstudio/backend/tests/test_hf_cache_dangling_refs.py3302# Wan-AI/Wan2.2-TI2V-5B-Diffusers declares transformer_2 as [null, null] and ships no such dir.COMMENT
HIGHstudio/backend/tests/test_hf_cache_dangling_refs.py3633 """Wan 2.2's 5B sibling declares ``transformer_2`` as [null, null] and ships no such directory:STRING
HIGH…o/backend/tests/test_llama_cpp_wait_for_vram_settle.py669 """On Windows signal.SIGKILL is undefined; the reaper must fall back to SIGTERMSTRING
HIGHstudio/backend/tests/test_chat_thread_settings.py724 """The default dump spells every unset field as null, and the client drops those, soSTRING
HIGH…backend/tests/test_video_resolution_preset_contract.py176 assert "presets && presets.length > 0" in memoCODE
HIGHstudio/backend/tests/test_gpu_arch_gate_7624.py86 ("targets_null", '{"mapped_targets": null}'),CODE
HIGHstudio/backend/tests/test_gpu_arch_gate_7624.py90 ("targets_list_of_null", '{"mapped_targets": [null]}'),CODE
HIGHstudio/backend/tests/test_orphaned_children.py418 where the BOOL result is then undefined) would leave Unsloth unstoppable."""STRING
HIGHstudio/backend/tests/test_warm_window_review_fixes.py1865 chat_only with reason null, stopping the sidebar's mlx_unavailable poll."""STRING
HIGHstudio/backend/tests/test_mmproj_placement_policy.py954 forces falsey on getenv returning non-null, so an empty value still pins. ReadSTRING
HIGHstudio/backend/tests/test_sandbox_tools.py843 assert self._find()("cat README.md && echo source") == set()CODE
HIGHstudio/backend/tests/test_sandbox_tools.py844 assert "source" not in self._find()("cat README.md && echo source")CODE
HIGHstudio/backend/tests/test_sandbox_tools.py845 assert "echo" not in self._find()("cat README.md && echo source")CODE
HIGHstudio/backend/tests/test_sandbox_tools.py869 assert "wget" in self._find()("cd /tmp && wget https://bad")CODE
HIGHstudio/backend/tests/test_permission_mode.py998 ("sed \"$(printf '(' >/dev/null; printf 'e rm -f victim')\" input", True),CODE
HIGHstudio/backend/tests/test_permission_mode.py999 ("sed \"$(printf ')' >/dev/null; printf 'e rm -f victim')\" input", True),CODE
HIGHstudio/backend/tests/test_permission_mode.py1000 ("sed \"$(printf '()' >/dev/null; printf 'e rm -f victim')\" input", True),CODE
HIGHstudio/backend/tests/test_permission_mode.py492 ("ls -T && echo curl", False),CODE
HIGHstudio/backend/tests/test_permission_mode.py493 ("grep curl notes.txt && tar -T list.txt -cf a.tar", False),CODE
949 more matches not shown…
Excessive Try-Catch Wrapping3922 hits · 3466 pts
SeverityFileLineSnippetContext
LOWinstall.sh5606except Exception:CODE
LOWstudio/setup.sh783except Exception:CODE
LOWstudio/setup.sh1847except Exception:CODE
LOWstudio/setup.sh3500except Exception:CODE
LOWstudio/install_whisper_prebuilt.py402 except Exception as exc:CODE
LOWstudio/install_whisper_prebuilt.py1190 except Exception as exc:CODE
LOWstudio/install_whisper_prebuilt.py1550 except Exception as exc: # noqa: BLE001 - probe must never crash the callerCODE
LOWstudio/install_whisper_prebuilt.py1583 except Exception as exc: # noqa: BLE001CODE
LOWstudio/install_manifest.py136 except Exception:CODE
LOWstudio/install_manifest.py173 except Exception:CODE
LOWstudio/install_manifest.py394 except Exception:CODE
LOWstudio/install_manifest.py415 except Exception:CODE
LOWstudio/install_manifest.py420 except Exception:CODE
LOWstudio/install_manifest.py430 except Exception:CODE
LOWstudio/install_manifest.py470 except Exception:CODE
LOWstudio/install_llama_prebuilt.py4047 except Exception:CODE
LOWstudio/install_llama_prebuilt.py4860 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py4869 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py5871 except Exception:CODE
LOWstudio/install_llama_prebuilt.py965 except Exception:CODE
LOWstudio/install_llama_prebuilt.py1261 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py1561 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py1576 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py1596 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py2141 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py2218 except Exception:CODE
LOWstudio/install_llama_prebuilt.py2317 except Exception:CODE
LOWstudio/install_llama_prebuilt.py2336 except Exception:CODE
LOWstudio/install_llama_prebuilt.py2484 except Exception:CODE
LOWstudio/install_llama_prebuilt.py2522 except Exception:CODE
LOWstudio/install_llama_prebuilt.py2540 except Exception:CODE
LOWstudio/install_llama_prebuilt.py2585 except Exception:CODE
LOWstudio/install_llama_prebuilt.py2651 except Exception:CODE
LOWstudio/install_llama_prebuilt.py2696 except Exception:CODE
LOWstudio/install_llama_prebuilt.py2745 except Exception:CODE
LOWstudio/install_llama_prebuilt.py3341 except Exception:CODE
LOWstudio/install_llama_prebuilt.py3353 except Exception:CODE
LOWstudio/install_llama_prebuilt.py3370 except Exception:CODE
LOWstudio/install_llama_prebuilt.py3393 except Exception:CODE
LOWstudio/install_llama_prebuilt.py3864 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py3970 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py3999 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py4265 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py4289 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py4357 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py4394 except Exception:CODE
LOWstudio/install_llama_prebuilt.py4477 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py4503 except Exception as failed_move_exc:CODE
LOWstudio/install_llama_prebuilt.py4548 except Exception as copy_exc:CODE
LOWstudio/install_llama_prebuilt.py4557 except Exception as duplicate_exc:CODE
LOWstudio/install_llama_prebuilt.py4575 except Exception as rollback_exc:CODE
LOWstudio/install_llama_prebuilt.py4633 except Exception as cleanup_exc:CODE
LOWstudio/install_llama_prebuilt.py4666 except Exception as cleanup_exc:CODE
LOWstudio/install_llama_prebuilt.py4818 except Exception:CODE
LOWstudio/install_llama_prebuilt.py4840 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py4982 except Exception:CODE
LOWstudio/install_llama_prebuilt.py5001 except Exception:CODE
LOWstudio/install_llama_prebuilt.py5007 except Exception:CODE
LOWstudio/install_llama_prebuilt.py5051 except Exception:CODE
LOWstudio/install_llama_prebuilt.py5145 except Exception:CODE
3862 more matches not shown…
Unused Imports2373 hits · 1976 pts
SeverityFileLineSnippetContext
LOWstudio/install_whisper_prebuilt.py53CODE
LOWstudio/install_manifest.py18CODE
LOWstudio/install_llama_prebuilt.py7CODE
LOWstudio/install_llama_prebuilt.py18CODE
LOWstudio/install_llama_prebuilt.py29CODE
LOWstudio/install_llama_prebuilt.py36CODE
LOWstudio/install_sd_cpp_prebuilt.py25CODE
LOWstudio/install_node_prebuilt.py20CODE
LOWstudio/prebuilt_core.py28CODE
LOWstudio/install_python_stack.py12CODE
LOWstudio/backend/cloudflare_tunnel.py14CODE
LOWstudio/backend/run.py13CODE
LOWstudio/backend/run.py13CODE
LOWstudio/backend/run.py151CODE
LOWstudio/backend/startup_banner.py9CODE
LOWstudio/backend/lan_access.py23CODE
LOWstudio/backend/colab.py14CODE
LOWstudio/backend/main.py198CODE
LOWstudio/backend/mcp_server.py11CODE
LOWstudio/backend/loggers/handlers.py11CODE
LOWstudio/backend/loggers/__init__.py4CODE
LOWstudio/backend/loggers/__init__.py4CODE
LOWstudio/backend/core/import_guards.py6CODE
LOWstudio/backend/core/youtube_transcript.py16CODE
LOWstudio/backend/core/_torchao_stub.py17CODE
LOWstudio/backend/core/tool_healing.py26CODE
LOWstudio/backend/core/research_runs.py6CODE
LOWstudio/backend/core/research_runs.py29CODE
LOWstudio/backend/core/research/citations.py11CODE
LOWstudio/backend/core/research/redaction.py12CODE
LOWstudio/backend/core/research/parsing.py11CODE
LOWstudio/backend/core/research/prompts.py6CODE
LOWstudio/backend/core/data_recipe/service.py4CODE
LOWstudio/backend/core/data_recipe/__init__.py6CODE
LOWstudio/backend/core/data_recipe/__init__.py6CODE
LOWstudio/backend/core/data_recipe/jsonable.py4CODE
LOW…/backend/core/data_recipe/local_callable_validators.py4CODE
LOW…/backend/core/data_recipe/local_callable_validators.py8CODE
LOWstudio/backend/core/data_recipe/huggingface.py4CODE
LOWstudio/backend/core/data_recipe/jobs/worker.py4CODE
LOWstudio/backend/core/data_recipe/jobs/worker.py7CODE
LOWstudio/backend/core/data_recipe/jobs/worker.py8CODE
LOWstudio/backend/core/data_recipe/jobs/constants.py4CODE
LOWstudio/backend/core/data_recipe/jobs/__init__.py4CODE
LOWstudio/backend/core/data_recipe/jobs/__init__.py4CODE
LOWstudio/backend/core/data_recipe/jobs/types.py4CODE
LOWstudio/backend/core/data_recipe/jobs/parse.py4CODE
LOWstudio/backend/core/data_recipe/jobs/manager.py4CODE
LOWstudio/backend/core/training/worker.py12CODE
LOWstudio/backend/core/training/worker.py1568CODE
LOWstudio/backend/core/training/worker.py1569CODE
LOWstudio/backend/core/training/worker.py1807CODE
LOWstudio/backend/core/training/worker.py1808CODE
LOWstudio/backend/core/training/worker.py5155CODE
LOWstudio/backend/core/training/worker.py3893CODE
LOWstudio/backend/core/training/diffusion_checkpoint.py41CODE
LOWstudio/backend/core/training/diffusion_checkpoint.py55CODE
LOWstudio/backend/core/training/diffusion_checkpoint.py55CODE
LOWstudio/backend/core/training/diffusion_train_extras.py33CODE
LOWstudio/backend/core/training/diffusion_clip_formats.py18CODE
2313 more matches not shown…
Over-Commented Block1692 hits · 1363 pts
SeverityFileLineSnippetContext
LOWinstall.sh1#!/bin/shCOMMENT
LOWinstall.sh21# ── Why the installer lives in a function ──COMMENT
LOWinstall.sh341}COMMENT
LOWinstall.sh1061 # install. A real id is 64 bytes and never reaches this.COMMENT
LOWinstall.sh1101 _css_exe="$_css_exe_dir/$(basename "$_css_exe")"COMMENT
LOWinstall.sh1141 if ! _css_install_id_is_valid "${_css_new_id:-}"; thenCOMMENT
LOWinstall.sh2281# ── Check system dependencies ──COMMENT
LOWinstall.sh2581COMMENT
LOWinstall.sh2741 # `mv f d` moves f INTO d and reports success, and a searchable directory passes -xCOMMENT
LOWinstall.sh2861 # Accept the in-VENV ownership marker so partial-install retries areCOMMENT
LOWinstall.sh3021# Apple Silicon venv. The arch-explicit arm64 CPython stops uv reusing a cachedCOMMENT
LOWinstall.sh3101fiCOMMENT
LOWinstall.sh3281 awk '/vendor_id/ && $2 == 4098 { found = 1 } END { exit !found }' \COMMENT
LOWinstall.sh3481 }' "$_kfd_node" 2>/dev/null || trueCOMMENT
LOWinstall.sh3541 # mixed host into one apparent arch). Decline.COMMENT
LOWinstall.sh3681 # Require the status word "installed". dpkg-query -W lists every package in theCOMMENT
LOWinstall.sh3721 best_maj = maj; best_min = min; seen = 1COMMENT
LOWinstall.sh3801 fiCOMMENT
LOWinstall.sh4381 #COMMENT
LOWinstall.sh4541COMMENT
LOWinstall.sh4641 if [ "$_maj" -lt "$2" ]; then return 0; fiCOMMENT
LOWinstall.sh4761 # Routing the wheels is only half of unslothai#7331: ROCr rebuilds the agentCOMMENT
LOWinstall.sh4781 # dropped gfx906 (rocBLAS "TensileLibrary.dat ... not read for gfx906",COMMENT
LOWinstall.sh5341 # Require torch, torchvision, torchaudio wheels to all resolveCOMMENT
LOWinstall.sh5681# UNSLOTH_CI_SOURCE_OVERLAY names a directory holding a pyproject.toml.COMMENT
LOWpyproject.toml161 # 0.39 is the floor the diffusion stack already assumes: Krea2Pipeline (the Krea 2COMMENT
LOWpyproject.toml201# "xFormers can't load C++/CUDA extensions", losing memory-efficient attention,COMMENT
LOWpyproject.toml221# install.ps1 needs none of this: it picks the wheel from the index it installedCOMMENT
LOWpyproject.toml1481[tool.ruff.format]COMMENT
LOWbuild.sh1#!/usr/bin/env bashCOMMENT
LOWstudio/setup.sh21 ;;COMMENT
LOWstudio/setup.sh121# deliberate opt-in: when set we thread it as `--registry <url>` into every npm/bunCOMMENT
LOWstudio/setup.sh541}COMMENT
LOWstudio/setup.sh621}COMMENT
LOWstudio/setup.sh1281}COMMENT
LOWstudio/setup.sh2341 fiCOMMENT
LOWstudio/install_whisper_prebuilt.py141# bundle can pair via the llama cpu modules, or -- on a pinned pre-slim release --COMMENT
LOWstudio/__init__.py1# SPDX-License-Identifier: AGPL-3.0-onlyCOMMENT
LOWstudio/install_llama_prebuilt.py2801 rocm_gfx_targets = [],COMMENT
LOWstudio/install_llama_prebuilt.py4301def _install_side_path_candidates(install_dir: Path, label: str) -> list[Path]:COMMENT
LOWstudio/install_llama_prebuilt.py4521 replace_with_busy_retry(rollback_dir, install_dir)COMMENT
LOWstudio/install_llama_prebuilt.py5021 candidates.extend(root.glob("nvidia/*/lib"))COMMENT
LOWstudio/install_llama_prebuilt.py7541 # same. Persist it as automatic so pre-#8050 installs (and the --llama-backendCOMMENT
LOWstudio/install_llama_prebuilt.py7901 # dropped connection escapes as EXIT_ERROR, which the setup scriptsCOMMENT
LOWstudio/install_sd_cpp_prebuilt.py41COMMENT
LOWstudio/install_sd_cpp_prebuilt.py961 # two bundles and every later failure has to be reported as an incomplete replacement, not asCOMMENT
LOWstudio/install_sd_cpp_prebuilt.py981 # process. A first install has nothing to compete with, so it stays ordinary and theCOMMENT
LOWstudio/install_python_stack.py261 "torchaudio>=2.4,<2.12.0",COMMENT
LOWstudio/install_python_stack.py1021 # Intel adapter would shift the mask index and warn at a non-AMD user.COMMENT
LOWstudio/install_python_stack.py1101 return NoneCOMMENT
LOWstudio/install_python_stack.py3121 # Strix Halo / Point (gfx1151 / gfx1150) need torch from AMD's per-gfx indexCOMMENT
LOWstudio/install_python_stack.py3721# torch: upstream ``llvmlite`` dropped its macOS x86_64 wheel (0.46.0+ ships onlyCOMMENT
LOWstudio/install_python_stack.py4761 # NOT the environment-variable spelling of it, so that half is translated by hand.COMMENT
LOWstudio/frontend/smoke-tool-activity-main.tsx1// SPDX-License-Identifier: AGPL-3.0-onlyCOMMENT
LOWstudio/frontend/smoke-stream-pacing-main.tsx1// SPDX-License-Identifier: AGPL-3.0-onlyCOMMENT
LOWstudio/frontend/smoke-heavy-thread-main.tsx1// SPDX-License-Identifier: AGPL-3.0-onlyCOMMENT
LOWstudio/frontend/smoke-heavy-thread-main.tsx21// bash tool call code_execution card, the other result-pane shapeCOMMENT
LOWstudio/frontend/smoke-heavy-thread-main.tsx61import { type ReactElement, useEffect, useRef, useState } from "react";COMMENT
LOWstudio/frontend/smoke-heavy-thread-main.tsx81 //COMMENT
LOWstudio/frontend/smoke-collapse-layout-main.tsx1// SPDX-License-Identifier: AGPL-3.0-onlyCOMMENT
1632 more matches not shown…
Deep Nesting1365 hits · 952 pts
SeverityFileLineSnippetContext
LOWstudio/install_whisper_prebuilt.py853CODE
LOWstudio/install_manifest.py153CODE
LOWstudio/install_manifest.py478CODE
LOWstudio/install_llama_prebuilt.py998CODE
LOWstudio/install_llama_prebuilt.py1210CODE
LOWstudio/install_llama_prebuilt.py2441CODE
LOWstudio/install_llama_prebuilt.py2492CODE
LOWstudio/install_llama_prebuilt.py3281CODE
LOWstudio/install_llama_prebuilt.py3320CODE
LOWstudio/install_llama_prebuilt.py3452CODE
LOWstudio/install_llama_prebuilt.py3645CODE
LOWstudio/install_llama_prebuilt.py3725CODE
LOWstudio/install_llama_prebuilt.py3931CODE
LOWstudio/install_llama_prebuilt.py4329CODE
LOWstudio/install_llama_prebuilt.py4457CODE
LOWstudio/install_llama_prebuilt.py5136CODE
LOWstudio/install_llama_prebuilt.py5469CODE
LOWstudio/install_llama_prebuilt.py5724CODE
LOWstudio/install_llama_prebuilt.py6006CODE
LOWstudio/install_llama_prebuilt.py6251CODE
LOWstudio/install_llama_prebuilt.py6299CODE
LOWstudio/install_llama_prebuilt.py7137CODE
LOWstudio/install_llama_prebuilt.py7845CODE
LOWstudio/install_llama_prebuilt.py8371CODE
LOWstudio/install_sd_cpp_prebuilt.py616CODE
LOWstudio/install_sd_cpp_prebuilt.py836CODE
LOWstudio/install_node_prebuilt.py267CODE
LOWstudio/install_node_prebuilt.py525CODE
LOWstudio/install_node_prebuilt.py775CODE
LOWstudio/prebuilt_core.py633CODE
LOWstudio/prebuilt_core.py675CODE
LOWstudio/prebuilt_core.py716CODE
LOWstudio/prebuilt_core.py1075CODE
LOWstudio/prebuilt_core.py1318CODE
LOWstudio/install_python_stack.py651CODE
LOWstudio/install_python_stack.py818CODE
LOWstudio/install_python_stack.py1249CODE
LOWstudio/install_python_stack.py1490CODE
LOWstudio/install_python_stack.py2106CODE
LOWstudio/install_python_stack.py2328CODE
LOWstudio/install_python_stack.py2919CODE
LOWstudio/install_python_stack.py3838CODE
LOWstudio/install_python_stack.py4306CODE
LOWstudio/install_python_stack.py4661CODE
LOWstudio/install_python_stack.py5011CODE
LOWstudio/install_python_stack.py5183CODE
LOWstudio/backend/cloudflare_tunnel.py122CODE
LOWstudio/backend/cloudflare_tunnel.py197CODE
LOWstudio/backend/cloudflare_tunnel.py726CODE
LOWstudio/backend/cloudflare_tunnel.py768CODE
LOWstudio/backend/cloudflare_tunnel.py486CODE
LOWstudio/backend/cloudflare_tunnel.py531CODE
LOWstudio/backend/run.py48CODE
LOWstudio/backend/run.py179CODE
LOWstudio/backend/run.py295CODE
LOWstudio/backend/run.py366CODE
LOWstudio/backend/run.py638CODE
LOWstudio/backend/run.py741CODE
LOWstudio/backend/run.py793CODE
LOWstudio/backend/run.py1135CODE
1305 more matches not shown…
AI Slop Vocabulary238 hits · 669 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh941 # Optional callers never elevate, in any mode: nothing on the consumer pathCOMMENT
MEDIUMinstall.sh2266 # elevate for the target distro; the child already printed the NEED_SUDO line, soCOMMENT
LOWinstall.sh4342 # just set, which dies with the installer. Persist the drop-in so loginCOMMENT
MEDIUMstudio/frontend/package-lock.json14096 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMstudio/frontend/tests/stream-pacing-stall.test.ts5// catches the freeze class #7892 and #8845 fixed. A stall the harness fails to record is aCOMMENT
MEDIUMstudio/frontend/src/components/app-sidebar.tsx530 // Absolutely-positioned extras over the row, e.g. a disclosure chevron.COMMENT
MEDIUM…d/src/components/assistant-ui/progressive-messages.tsx56 * imperative DOM readers (screenshot capture, the #9016 harness census) not necessarily in the ReactCOMMENT
MEDIUMstudio/backend/core/training/trainer.py3622 # configured and the A/B harness reads it back. A second call is a no-op.COMMENT
MEDIUMstudio/backend/core/inference/diffusion_families.py401 # Hosted checkpoints, verified bit-identical to on-the-fly quantize (the guider pipeline is not run-to-run deterCOMMENT
MEDIUMstudio/backend/core/inference/diffusion_precision.py338 # torchao dynamic fp8 COMPUTE, per-row (torch._scaled_mm on the fp8 cores). Unlike layerwise `fp8` the matmul stays COMMENT
MEDIUMstudio/backend/core/inference/diffusion_speed.py265 # A compiled U-Net family also compiles the VAE decode (4.98 to 4.25 s over 4 images, LPIPS unchanged). DiTs skip itCOMMENT
MEDIUMstudio/backend/core/inference/diffusion_speed.py438# Families the overflow harness found to produce non-finite activations under fp16 accumulation. Empty by measurement: nCOMMENT
MEDIUM…udio/backend/tests/test_export_multi_gpu_device_map.py23# Reuse the absolute-paths stub harness: loads core/export/export.py without torch/unsloth.COMMENT
MEDIUMstudio/backend/tests/test_memory_estimate_platforms.py240 # sys.platform + the WSL markers, through the harness that already owns them.COMMENT
MEDIUM…dio/backend/tests/test_parallel_slots_never_clamped.py21# Reuses the only harness in the suite that yields a real launched argv.COMMENT
MEDIUMstudio/backend/tests/test_diffusion_speed.py258 # default compiles with dynamic=True and no autotune mode: fast cold start, resolution-robust, sidesteps the CUDA-grCOMMENT
MEDIUMstudio/backend/tests/test_metal_paravirtual_guard.py583 # This harness is about the paravirtual gate, so vision is on; the toggle'sCOMMENT
MEDIUM…dio/backend/tests/test_metal_explicit_context_guard.py743 # harness: ~3850 to ~4050 MiB (3300 leaves room for 768 tokens, 4100 tips over).COMMENT
MEDIUM…dio/backend/tests/test_metal_explicit_context_guard.py165 # This harness does not model host RAM, and None is the documented way to say so: bothCOMMENT
MEDIUM…dio/backend/tests/test_mtp_partial_offload_evidence.py39# Reuse the module's dependency stubs, fixtures and launch harness.COMMENT
MEDIUMstudio/backend/tests/test_anthropic_citations_edge.py23# ── shared SSE harness ───────────────────────────────────────COMMENT
MEDIUMstudio/backend/tests/test_rag_nudge_roster_compat.py644 # sibling module's count-endpoint harness the same way pytest itself found it.COMMENT
MEDIUMstudio/backend/tests/test_trained_model_scan.py147 # Assert on the logger directly: robust to the logging backend (structlog vs stub).COMMENT
MEDIUM…/backend/tests/test_memory_estimate_contract_freeze.py49# and brings the route harness with it. Same import-for-side-effects pattern asCOMMENT
LOW…/backend/tests/test_tensor_quant_kv_platform_matrix.py143 # gone entirely, not just set to layer, so an extras --tensor-split cannotCOMMENT
MEDIUMstudio/backend/tests/test_external_tool_stream_abuse.py899 # finish. ``release`` is only the harness's escape hatch if it never does.COMMENT
MEDIUMstudio/backend/tests/test_external_tool_stream_abuse.py909 # Tasks already running belong to this harness, not the tool loop, so the census is takenCOMMENT
MEDIUMstudio/backend/tests/test_external_tool_stream_abuse.py935 # Census BEFORE the escape hatch, so a worker that only the harness could free stillCOMMENT
MEDIUM…dio/backend/tests/test_gpu_arch_gate_os_matrix_7624.py2572 # harness builds a fresh backend per drive, so without this the assertCOMMENT
MEDIUMstudio/backend/tests/test_mtp_vram_budget.py604 # robust to that and to any formatter line-wrapping.COMMENT
MEDIUM…/tests/test_length_truncated_reasoning_continuation.py773 # A tokenizer this harness can actually run: llama-server is not here to render aCOMMENT
MEDIUMstudio/backend/tests/test_research_runs_hardening.py742 """Serve ``responses`` in order to the completion path and record the sends. An entry thatSTRING
MEDIUMstudio/backend/tests/test_setup_llama_cpp_backend.py347 # errors out and the harness returns a bare "ARGS:".COMMENT
MEDIUMstudio/backend/tests/test_llama_extra_args_platforms.py26# The placement harness (module stubs, a fake GGUF, a fake GPU probe, the capturedCOMMENT
MEDIUMstudio/backend/tests/test_local_llama_cpp_link.py158 # stubs this at every one of its call sites for the same reason; this harnessCOMMENT
MEDIUM…kend/tests/test_auto_offload_ctx_fit_floor_coupling.py64# 4560 tokens at the 0.5 MiB/token rate the matrix harness prices: over the floor,COMMENT
MEDIUMstudio/backend/tests/test_diffusion_backend.py3154 # low_vram offloads every component; whole-module offload is the robust path and engages directly.COMMENT
MEDIUM…udio/backend/tests/test_llama_extra_args_end_to_end.py19# The harness (module stubs, a fake GGUF, a fake GPU probe, the captured Popen)COMMENT
MEDIUMstudio/backend/tests/log_budget/replay.py79 # took a minute" is a case the harness could not express at all, and therefore couldCOMMENT
MEDIUMstudio/backend/assets/docs_ui/redoc.standalone.js2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("null")):"function"==typeof deCODE
MEDIUMstudio/backend/assets/docs_ui/redoc.standalone.js2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("null")):"function"==typeof deCODE
MEDIUMstudio/backend/assets/docs_ui/redoc.standalone.js2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("null")):"function"==typeof deCODE
MEDIUMtests/conftest.py208# (they run at import time in unsloth/import_fixes.py). The harness above letsCOMMENT
MEDIUMtests/test_model_registry.py128 " import conftest # noqa: F401 GPU-free harness on no-accelerator runners\n"CODE
MEDIUMtests/_zoo_rocm_spoof.py36 """Load the sibling CUDA spoof by path (robust to sys.path), so we reuse itsSTRING
MEDIUMtests/_zoo_aggressive_cuda_spoof.py3# tests/conftest.py's harness with deeper patches that unblock more patch_* /COMMENT
MEDIUMtests/test_installer_system32_guard.py186 # install.ps1 prints through its UTF-8 stdout sink; the harness only needs the text.COMMENT
MEDIUMtests/test_installer_system32_guard.py1256 # The limit is lowered rather than the value grown: the harness sets theCOMMENT
MEDIUMtests/studio/playwright_collapse_layout.py113# Under logs/ like every sibling harness; logs/ is gitignored, so the tree stays clean.COMMENT
MEDIUMtests/studio/playwright_collapse_layout.py463 # say anything. The page now publishes from a post-commit effect, but this harness alsoSTRING
MEDIUMtests/studio/test_heavy_thread_harness_contract.py150 # The DOM value is what the harness itself wrote. A keystroke that reached nothing stillCOMMENT
MEDIUMtests/studio/test_heavy_thread_harness_contract.py176 # A harness where the largest thread costs what the smallest does is not reporting a flatCOMMENT
MEDIUMtests/studio/test_heavy_thread_harness_contract.py255 # harness really does produce.COMMENT
MEDIUMtests/studio/test_heavy_thread_harness_contract.py266 # the API fan-out this harness claims to detect cannot reach it.COMMENT
MEDIUMtests/studio/test_heavy_thread_harness_contract.py279 # emits it, so `stray_api_requests` stays at zero and the fan-out this harness exists to detectCOMMENT
MEDIUMtests/studio/test_heavy_thread_harness_contract.py25# Recorded by the harness, produced only by Chromium. None of these may decide anything.COMMENT
MEDIUMtests/studio/test_heavy_thread_harness_contract.py240 # in #8992 and this allowlist was not moved with it; the harness's own stray-request check didCOMMENT
MEDIUMtests/studio/playwright_heavy_thread.py186# time-to-paint number this file exists to read. The harness's own waits use the unwrappedCOMMENT
MEDIUMtests/studio/playwright_heavy_thread.py996 # A request that escapes to the server, or a warning storm, is work this harness would beCOMMENT
MEDIUMtests/studio/playwright_heavy_thread.py1093 # harness already knew and threw away. Deduplicated and capped: the point isCOMMENT
178 more matches not shown…
Modern AI Meta-Vocabulary132 hits · 406 pts
SeverityFileLineSnippetContext
MEDIUMstudio/frontend/tests/context-window-visible.test.ts4// #8867: the bar rendered only once a token count existed, so a local model's context window wasCOMMENT
MEDIUMstudio/backend/main.py935 # In Colab the kernel scaffolding injects scripts and fetch/WS from *.prod.colab.dev andCOMMENT
MEDIUMstudio/backend/core/youtube_transcript.py45# would swallow the model's context window on its own.COMMENT
MEDIUMstudio/backend/core/research_runs.py74# against what the untrimmable scaffolding leaves. Unknown context keeps the full cap.COMMENT
MEDIUMstudio/backend/core/research_runs.py81# Below this loaded context the prompt scaffolding alone fills the window and the groundedCOMMENT
MEDIUMstudio/backend/core/research_runs.py84# Optionally ground synthesis in page text: the top results are ingested into an ephemeral RAGCOMMENT
MEDIUMstudio/backend/core/research_runs.py1046 # Reuse Unsloth's knowledge-base RAG pipeline (ingest -> hybrid retrieve -> <chunk>COMMENT
MEDIUMstudio/backend/core/research_runs.py2360 # tool_failed as well as step_failed: a tool error RAG rescued still records why.COMMENT
MEDIUMstudio/backend/core/research_runs.py2405 # and conversation history receives only the space left after the fixed prompt scaffold.COMMENT
MEDIUMstudio/backend/core/rag/config.py27# Conversation archive: turns evicted by the rolling context window go to a per-threadCOMMENT
MEDIUMstudio/backend/core/rag/conversation_archive.py40# Tool call ids this feature and the RAG auto-inject generate. Their results are retrievedCOMMENT
MEDIUMstudio/backend/core/rag/embeddings.py316 # An adapter-backed embedding model reports through the PEFT integration's ownCOMMENT
MEDIUMstudio/backend/core/inference/api_monitor.py40# Far above any real context window; larger means a broken upstream payload.COMMENT
MEDIUMstudio/backend/core/inference/chat_template_helpers.py1199 # The agentic loop re-sanitizes the catalog on every iteration, because a one-shotCOMMENT
MEDIUMstudio/backend/core/inference/tool_call_parser.py414# that block is chain-of-thought, not a real call.COMMENT
MEDIUMstudio/backend/core/inference/stream_errors.py49# matches "context window" (among others) and shows "Context limit reached: the conversationCOMMENT
MEDIUMstudio/backend/core/inference/stream_errors.py50# has filled the model's context window ... or start a new chat" -- the advice this messageCOMMENT
MEDIUMstudio/backend/core/inference/tools.py10086# the RAG stack; dispatch imports it lazily.COMMENT
MEDIUMstudio/backend/core/inference/tools.py10855# Forced first-pass RAG retrieval: a high cosine floor keeps it precise (fires onCOMMENT
MEDIUMstudio/backend/core/inference/tools.py11280 # unbudgeted search, so a small context cannot silently switch RAG off.COMMENT
MEDIUMstudio/backend/core/inference/tools.py14685 # frontend-only envelope -- an MCP image array, web_search thumbnails, RAG sources --COMMENT
MEDIUMstudio/backend/core/inference/external_provider.py3049 # https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/handle-strCOMMENT
MEDIUMstudio/backend/core/inference/external_provider.py3049 # https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/handle-strCOMMENT
MEDIUMstudio/backend/core/inference/external_provider.py4934 # Dropping them loses the model's chain of thought across everyCOMMENT
MEDIUMstudio/backend/core/inference/diffusion_ideogram4.py266 # Construct normally (so __init__ computes the non-persistent rotary inv_freq the checkpoint omits), then copy the dCOMMENT
MEDIUMstudio/backend/core/inference/repetition_guard.py37# Ceiling on distinct windows held while scanning. Every fragment a context window canCOMMENT
MEDIUMstudio/backend/core/inference/safetensors_agentic.py540 # Forced first-pass RAG (mirrors the GGUF loop) so doc Qs don't lose toCOMMENT
MEDIUMstudio/backend/core/inference/safetensors_agentic.py587 # RAG: cap knowledge-base searches per assistant turn (controller-agnostic).COMMENT
MEDIUMstudio/backend/core/inference/safetensors_agentic.py1300 # RAG: cap paraphrased KB re-searches that slip past the dup guard.COMMENT
MEDIUMstudio/backend/core/inference/local_model_resolver.py472 # Skip what Unsloth hides from its pickers (validation probe, RAG embedCOMMENT
MEDIUMstudio/backend/tests/test_openai_auto_switch.py1310 # The llama.cpp validation probe and RAG embedding weights are hidden fromCOMMENT
MEDIUMstudio/backend/tests/test_openai_auto_switch.py4639# from these exact messages, and the tool loop opens it by splicing in what RAG retrieves.COMMENT
MEDIUMstudio/backend/tests/conftest.py57# Avoid a cold torch subprocess in unrelated RAG tests. The probe tests re-enable it.COMMENT
MEDIUMstudio/backend/tests/conftest.py743# ── RAG fixtures ─────────────────────────────────────────────────────COMMENT
MEDIUM…o/backend/tests/test_external_hosted_tool_selection.py188 # The route drops the RAG tool without a scope, and no scope means noCOMMENT
MEDIUM…o/backend/tests/test_external_hosted_tool_selection.py189 # loop at all, so the automatic-RAG turn has to carry one to be the caseCOMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py951 # inside the reasoning is chain-of-thought, not a real call; only theCOMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py4636 # the agentic loop is gated off and the real call is dropped.COMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py675 # strip must drop it so the raw chain-of-thought does not leak into theCOMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py1068 # agentic loop can collapse a looping model's repeated calls.COMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py2343 # The agentic loop must recognise Llama-3's <|python_tag|>COMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py2427 # DeepSeek V3.1 emission inside the agentic loop -- the buffer state machine must wake onCOMMENT
MEDIUMstudio/backend/tests/test_rag_unavailable_quiet.py104 # "Is RAG switched off here" is not the question a locked database answers.COMMENT
MEDIUMstudio/backend/tests/test_rag_unavailable_quiet.py262 # RAG off until restart, and it must not leave the listings and the mutationsCOMMENT
MEDIUMstudio/backend/tests/test_rag_unavailable_quiet.py263 # disagreeing about whether RAG works.COMMENT
MEDIUMstudio/backend/tests/test_rag_unavailable_quiet.py305 # It already claims to be a no-op without RAG; raising out of startup so main.pyCOMMENT
MEDIUMstudio/backend/tests/test_rag_unavailable_quiet.py352 # "RAG is switched off on this machine".COMMENT
MEDIUMstudio/backend/tests/test_rag_unavailable_quiet.py390 # The 503 gate must not stand in the way of a machine where RAG does run.COMMENT
MEDIUM…/backend/tests/test_anthropic_fast_mode_and_refusal.py10https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusalsSTRING
MEDIUMstudio/backend/tests/test_lan_access_settings.py1135# ── settings orchestration ──COMMENT
MEDIUMstudio/backend/tests/test_openai_tool_passthrough.py275 # Empty tool output (mkdir, git add, ...) is routine in agentic loops;COMMENT
MEDIUMstudio/backend/tests/test_api_monitor.py1560 # A direct llama call (RAG caption/OCR) opens no row, logging may be off, and anotherCOMMENT
MEDIUMstudio/backend/tests/test_bypass_permissions.py244# ── agentic loop forwards disable_sandbox, never gates under bypass ──COMMENT
MEDIUMstudio/backend/tests/test_stt_sidecar.py66 # orchestration tests run without PyTorch/Transformers/PyAV installed.COMMENT
MEDIUMstudio/backend/tests/test_offline_embedding_minimal.py231 # The RAG loader passes cache_folder=active_hf_hub_cache(), which overridesCOMMENT
MEDIUMstudio/backend/tests/test_model_picker_regression.py67 "unsloth/bge-small-en-v1.5", # the RAG embedder repoCODE
MEDIUMstudio/backend/tests/test_permission_mode.py2971 # only select always-safe tools (web_search / RAG) needs no stream and must notCOMMENT
MEDIUMstudio/backend/tests/test_parallel_slots_per_load.py362 # --parallel N shrinks every context window.COMMENT
MEDIUMstudio/backend/tests/test_gguf_tool_non_streaming.py28 # The agentic loop runs one tool, then the model answers. Event shapesCOMMENT
MEDIUMstudio/backend/tests/test_stt_ggml_sidecar.py564# Sidecar orchestrationCOMMENT
72 more matches not shown…
Cross-File Repetition50 hits · 250 pts
SeverityFileLineSnippetContext
HIGHunsloth-cli.py0below is an instruction that describes a task, paired with an input that provides further context. write a response thatSTRING
HIGHstudio/backend/utils/datasets/chat_templates.py0below is an instruction that describes a task, paired with an input that provides further context. write a response thatSTRING
HIGH…language_models/test_merge_model_perplexity_mistral.py0below is an instruction that describes a task, paired with an input that provides further context. write a response thatSTRING
HIGH…nguage_models/test_merged_model_perplexity_qwen_2_5.py0below is an instruction that describes a task, paired with an input that provides further context. write a response thatSTRING
HIGHstudio/install_llama_prebuilt.py0true if a hipinfo outside the venv is on path. shutil.which returns only the first hit, so the venv hipinfo could shadowSTRING
HIGHstudio/install_python_stack.py0true if a hipinfo outside the venv is on path. shutil.which returns only the first hit, so the venv hipinfo could shadowSTRING
HIGHstudio/backend/utils/hardware/amd.py0true if a hipinfo outside the venv is on path. shutil.which returns only the first hit, so the venv hipinfo could shadowSTRING
HIGHstudio/backend/core/training/worker.py0activate the correct transformers version before any ml imports.STRING
HIGHstudio/backend/core/inference/worker.py0activate the correct transformers version before any ml imports.STRING
HIGHstudio/backend/core/export/worker.py0activate the correct transformers version before any ml imports.STRING
HIGHstudio/backend/core/inference/stt_ggml_sidecar.py0cancel startup only when it belongs to this transcription.STRING
HIGHstudio/backend/core/inference/stt_mtmd_sidecar.py0cancel startup only when it belongs to this transcription.STRING
HIGHstudio/backend/core/inference/stt_sidecar.py0cancel startup only when it belongs to this transcription.STRING
HIGHstudio/backend/auth/storage.py0insert into auth_user ( username, password_salt, password_hash, jwt_secret, must_change_password ) values (?, ?, ?, ?, ?STRING
HIGHstudio/backend/tests/test_desktop_auth.py0insert into auth_user ( username, password_salt, password_hash, jwt_secret, must_change_password ) values (?, ?, ?, ?, ?STRING
HIGHunsloth_cli/commands/studio.py0insert into auth_user ( username, password_salt, password_hash, jwt_secret, must_change_password ) values (?, ?, ?, ?, ?STRING
HIGH…io/backend/tests/test_amd_smi_inventory_matches_hip.py0amd-smi ``metric`` output for (amd-smi gpu id, used mib, total mib) triples.STRING
HIGH…end/tests/test_rocm_hip_unreachable_defers_to_torch.py0amd-smi ``metric`` output for (amd-smi gpu id, used mib, total mib) triples.STRING
HIGH…o/backend/tests/test_amd_smi_hip_index_and_coverage.py0amd-smi ``metric`` output for (amd-smi gpu id, used mib, total mib) triples.STRING
HIGH…io/backend/tests/test_rocm_stacked_visibility_masks.py0amd-smi ``metric`` output for (amd-smi gpu id, used mib, total mib) triples.STRING
HIGH…io/backend/tests/test_amd_smi_inventory_matches_hip.py0declare hip's own inventory: how many devices it opens, and the total memory it reports per physical id. empty totals meSTRING
HIGH…o/backend/tests/test_amd_smi_hip_index_and_coverage.py0declare hip's own inventory: how many devices it opens, and the total memory it reports per physical id. empty totals meSTRING
HIGH…o/backend/tests/test_rocm_vram_probe_no_hip_context.py0declare hip's own inventory: how many devices it opens, and the total memory it reports per physical id. empty totals meSTRING
HIGHstudio/backend/tests/test_studio_tool_loop.py0record every execute_tool call and return a canned result.STRING
HIGHstudio/backend/tests/test_external_tool_stream_abuse.py0record every execute_tool call and return a canned result.STRING
HIGHstudio/backend/tests/test_external_tool_edge_cases.py0record every execute_tool call and return a canned result.STRING
HIGH…kend/tests/test_provider_max_output_tokens_contract.py0create table if not exists llm_providers ( id text not null primary key, provider_type text not null, display_name text STRING
HIGHstudio/backend/tests/test_providers_db_models.py0create table if not exists llm_providers ( id text not null primary key, provider_type text not null, display_name text STRING
HIGHstudio/backend/storage/providers_db.py0create table if not exists llm_providers ( id text not null primary key, provider_type text not null, display_name text STRING
HIGHstudio/backend/tests/test_external_tool_stream_abuse.py0replays scripted turns; records what the loop asked for each time.STRING
HIGH…ckend/tests/test_external_tool_truncated_and_budget.py0replays scripted turns; records what the loop asked for each time.STRING
HIGHstudio/backend/tests/test_external_tool_edge_cases.py0replays scripted turns; records what the loop asked for each time.STRING
HIGHstudio/backend/utils/xet_notice_settings.py0insert into chat_settings (key, value_json, updated_at) values (?, ?, ?) on conflict(key) do update set value_json = excSTRING
HIGHstudio/backend/utils/chat_preferences_settings.py0insert into chat_settings (key, value_json, updated_at) values (?, ?, ?) on conflict(key) do update set value_json = excSTRING
HIGHstudio/backend/storage/studio_db.py0insert into chat_settings (key, value_json, updated_at) values (?, ?, ?) on conflict(key) do update set value_json = excSTRING
HIGHstudio/backend/utils/whisper_cpp_freshness.py0asset name -> size (bytes) for the newest published release of `repo`, selected exactly like fetch_latest_release_tag. nSTRING
HIGHstudio/backend/utils/llama_cpp_freshness.py0asset name -> size (bytes) for the newest published release of `repo`, selected exactly like fetch_latest_release_tag. nSTRING
HIGHstudio/backend/utils/prebuilt/freshness_flow.py0asset name -> size (bytes) for the newest published release of `repo`, selected exactly like fetch_latest_release_tag. nSTRING
HIGHstudio/backend/utils/whisper_cpp_freshness.py0newest-release asset sizes for `repo`, memoized (24h ttl). none when offline and never fetched. in-memory only -- a restSTRING
HIGHstudio/backend/utils/llama_cpp_freshness.py0newest-release asset sizes for `repo`, memoized (24h ttl). none when offline and never fetched. in-memory only -- a restSTRING
HIGHstudio/backend/utils/prebuilt/freshness_flow.py0newest-release asset sizes for `repo`, memoized (24h ttl). none when offline and never fetched. in-memory only -- a restSTRING
HIGHstudio/backend/utils/llama_cpp_update.py0status payload for a local-link install: unmanaged, no update offered.STRING
HIGHstudio/backend/utils/whisper_cpp_update.py0status payload for a local-link install: unmanaged, no update offered.STRING
HIGHstudio/backend/utils/prebuilt/update_flow.py0status payload for a local-link install: unmanaged, no update offered.STRING
HIGHstudio/backend/storage/studio_db.py0insert into chat_messages (id, thread_id, parent_id, role, content_json, metadata_json, created_at) values (?, ?, ?, 'asSTRING
HIGHstudio/backend/storage/chat_generation_runs_db.py0insert into chat_messages (id, thread_id, parent_id, role, content_json, metadata_json, created_at) values (?, ?, ?, 'asSTRING
HIGHstudio/backend/storage/research_runs_db.py0insert into chat_messages (id, thread_id, parent_id, role, content_json, metadata_json, created_at) values (?, ?, ?, 'asSTRING
HIGHtests/studio/playwright_heavy_thread.py0async (samples) => { const values = []; for (let i = 0; i < samples; i += 1) { await window.__sbnextpaint(); const startSTRING
HIGHtests/studio/playwright_thread_weight.py0async (samples) => { const values = []; for (let i = 0; i < samples; i += 1) { await window.__sbnextpaint(); const startSTRING
HIGHtests/studio/studiobench/scene/actions.py0async (samples) => { const values = []; for (let i = 0; i < samples; i += 1) { await window.__sbnextpaint(); const startSTRING
Modern Structural Boilerplate148 hits · 145 pts
SeverityFileLineSnippetContext
LOWstudio/install_manifest.py335def set_no_torch_marker(no_torch: bool, root: Optional[Path] = None) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py652def set_studio_tunnel_runtime_callback(callback: Optional[Callable[[bool], None]]) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py685def _set_tunnel_url_locked(url: Optional[str]) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py695def set_studio_tunnel_url_callback(callback: Optional[Callable[[Optional[str]], None]]) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py576 def set_on_exit(self, callback: Callable[["CloudflareTunnel"], None]) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py620def _set_studio_tunnel_runtime_active(tunnel: CloudflareTunnel, active: bool) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py714def _set_failed(generation: int, owner: str, port: int, error: str) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py761def _set_online_locked(url: str) -> None:CODE
LOWstudio/backend/loggers/__init__.py6__all__ = ["get_logger", "install_uvicorn_duplicate_exception_filter"]CODE
LOWstudio/backend/core/__init__.py21__all__ = [CODE
LOWstudio/backend/core/data_recipe/__init__.py8__all__ = ["JobManager", "get_job_manager"]CODE
LOWstudio/backend/core/data_recipe/jobs/__init__.py6__all__ = ["JobManager", "get_job_manager"]CODE
LOWstudio/backend/core/training/diffusion_clip_formats.py24__all__ = ["CLIP_EXTS"]CODE
LOWstudio/backend/core/training/__init__.py8__all__ = [CODE
LOWstudio/backend/core/training/s3_dataset.py27logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/store.py436def set_archive_ordinal(conn: sqlite3.Connection, document_id: str, ordinal: int) -> None:CODE
LOWstudio/backend/core/rag/ingestion.py21logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/captioner.py19logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/embed_llama_server.py40logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/__init__.py7__all__ = [CODE
LOWstudio/backend/core/rag/parsers.py21logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/conversation_archive.py34logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/embeddings.py38logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/retrieval.py15logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/job_leases.py15logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/folder_sync.py28logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/folder_sync.py1144def _set_job(job_id: str, **values) -> None:CODE
LOWstudio/backend/core/rag/folder_sync.py1219def _update_mapping_metadata(folder_id: str, rel: str, metadata: dict, content_hash: str) -> None:CODE
LOWstudio/backend/core/inference/memory_contract.py36__all__ = [CODE
LOWstudio/backend/core/inference/diffusion_attention.py729def _set_hunyuan_null_mask(module: Any, enabled: bool) -> None:CODE
LOWstudio/backend/core/inference/api_monitor.py29logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/api_monitor.py324 def set_terminal_callback(self, callback: Optional[TerminalCallback]) -> None:CODE
LOWstudio/backend/core/inference/api_monitor.py452 def set_progress(self, entry_id: Optional[str], progress: Optional[float]) -> None:CODE
LOWstudio/backend/core/inference/api_monitor.py672 def set_reply(self, entry_id: Optional[str], text: str) -> None:CODE
LOWstudio/backend/core/inference/api_monitor.py735 def _settle_stop_reason_locked(entry: ApiMonitorEntry, completed: bool) -> None:CODE
LOWstudio/backend/core/inference/chat_template_helpers.py20logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/llama_server_args.py21logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/llama_keepwarm.py390def set_current_response_scope(scope) -> None:CODE
LOWstudio/backend/core/inference/llama_keepwarm.py515def _set_last_unloaded(value) -> None:CODE
LOWstudio/backend/core/inference/llama_keepwarm.py536def _set_kv_resume(value) -> None:CODE
LOWstudio/backend/core/inference/media_locality.py535__all__ = [CODE
LOWstudio/backend/core/inference/sd_cpp_server.py58logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/__init__.py21__all__ = [CODE
LOWstudio/backend/core/inference/media_switch_locks.py106__all__ = [CODE
LOWstudio/backend/core/inference/media_model_index.py511__all__ = [CODE
LOW…udio/backend/core/inference/diffusion_eager_patches.py40logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/diffusion_arch_patches.py34logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/media_switch_errors.py153__all__ = [CODE
LOWstudio/backend/core/inference/media_switch_backends.py180__all__ = [CODE
LOWstudio/backend/core/inference/offload_layout.py18logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/media_auto_switch.py514__all__ = [CODE
LOWstudio/backend/core/inference/tensor_fallback.py20logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/context_refusal.py18__all__ = [CODE
LOWstudio/backend/core/inference/key_exchange.py23logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/_html_to_md.py23__all__ = ["html_to_markdown"]CODE
LOWstudio/backend/core/inference/sd_cpp_engine.py44logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/export/worker.py45def _setup_log_capture(resp_queue: Any) -> None:CODE
LOWstudio/backend/core/export/__init__.py16__all__ = [CODE
LOWstudio/backend/picker/service.py38logger = logging.getLogger(__name__)CODE
LOWstudio/backend/picker/routes/__init__.py6__all__ = ["templates_router"]CODE
88 more matches not shown…
AI Structural Patterns199 hits · 132 pts
SeverityFileLineSnippetContext
LOWstudio/install_whisper_prebuilt.py1360CODE
LOWstudio/backend/run.py2320CODE
LOWstudio/backend/core/training/diffusion_checkpoint.py791CODE
LOWstudio/backend/core/training/trainer.py325CODE
LOWstudio/backend/core/training/trainer.py835CODE
LOWstudio/backend/core/training/trainer.py1264CODE
LOWstudio/backend/core/training/trainer.py2547CODE
LOWstudio/backend/core/training/trainer.py3322CODE
LOWstudio/backend/core/training/trainer.py1534CODE
LOWstudio/backend/core/training/training.py688CODE
LOWstudio/backend/core/training/training.py746CODE
LOWstudio/backend/core/training/training.py780CODE
LOWstudio/backend/core/rag/store.py267CODE
LOWstudio/backend/core/rag/ingestion.py345CODE
LOWstudio/backend/core/rag/tool.py217CODE
LOWstudio/backend/core/inference/diffusion_prequant.py590CODE
LOWstudio/backend/core/inference/memory_contract.py83CODE
LOWstudio/backend/core/inference/diffusion.py2001CODE
LOWstudio/backend/core/inference/diffusion.py2488CODE
LOWstudio/backend/core/inference/diffusion.py2687CODE
LOWstudio/backend/core/inference/diffusion.py3426CODE
LOWstudio/backend/core/inference/diffusion.py4749CODE
LOWstudio/backend/core/inference/diffusion.py5817CODE
LOWstudio/backend/core/inference/llama_server_args.py1107CODE
LOWstudio/backend/core/inference/mlx_inference.py1439CODE
LOWstudio/backend/core/inference/mlx_inference.py1742CODE
LOWstudio/backend/core/inference/mlx_inference.py1846CODE
LOWstudio/backend/core/inference/mlx_inference.py2096CODE
LOWstudio/backend/core/inference/tools.py10384CODE
LOWstudio/backend/core/inference/external_provider.py974CODE
LOWstudio/backend/core/inference/external_provider.py1867CODE
LOWstudio/backend/core/inference/external_provider.py3200CODE
LOWstudio/backend/core/inference/sd_cpp_backend.py1179CODE
LOWstudio/backend/core/inference/sd_cpp_backend.py2138CODE
LOWstudio/backend/core/inference/orchestrator.py805CODE
LOWstudio/backend/core/inference/orchestrator.py1050CODE
LOWstudio/backend/core/inference/orchestrator.py1354CODE
LOWstudio/backend/core/inference/orchestrator.py1825CODE
LOWstudio/backend/core/inference/orchestrator.py1886CODE
LOWstudio/backend/core/inference/orchestrator.py2077CODE
LOWstudio/backend/core/inference/orchestrator.py2263CODE
LOWstudio/backend/core/inference/orchestrator.py2452CODE
LOWstudio/backend/core/inference/orchestrator.py2486CODE
LOWstudio/backend/core/inference/sd_cpp_args.py583CODE
LOWstudio/backend/core/inference/inference.py937CODE
LOWstudio/backend/core/inference/inference.py1047CODE
LOWstudio/backend/core/inference/inference.py1092CODE
LOWstudio/backend/core/inference/inference.py1768CODE
LOWstudio/backend/core/inference/inference.py1851CODE
LOWstudio/backend/core/inference/inference.py2054CODE
LOWstudio/backend/core/inference/safetensors_agentic.py473CODE
LOWstudio/backend/core/inference/sd_cpp_engine.py607CODE
LOWstudio/backend/core/inference/video.py1305CODE
LOWstudio/backend/core/inference/video.py2747CODE
LOWstudio/backend/core/inference/video.py3370CODE
LOWstudio/backend/core/inference/video.py4199CODE
LOWstudio/backend/core/inference/video.py4960CODE
LOWstudio/backend/core/inference/video.py5256CODE
LOWstudio/backend/tests/test_openai_auto_switch.py3412CODE
LOWstudio/backend/tests/test_openai_auto_switch.py8488CODE
139 more matches not shown…
Redundant / Tautological Comments52 hits · 68 pts
SeverityFileLineSnippetContext
LOWstudio/backend/utils/datasets/format_conversion.py54 # Check if vision tokenizer is usedCOMMENT
LOWscripts/scan_packages.py2827 # Check if any are git depsCOMMENT
LOWunsloth/save.py1026 # Check if PEFT Model or not - if yes, 3 levels. If not 2 levels.COMMENT
LOWunsloth/save.py1201 # Check if Kaggle or Colab, since only 20GB of Disk space allowed.COMMENT
LOWunsloth/save.py1367 # Check if pushing to an organizationCOMMENT
LOWunsloth/save.py1413 # Check if pushing to an organizationCOMMENT
LOWunsloth/save.py1748 # Check if the llama.cpp existsCOMMENT
LOWunsloth/save.py1792 # Check if successfulCOMMENT
LOWunsloth/save.py1852 # Check if the executable exists and is executableCOMMENT
LOWunsloth/save.py1935 # Check if bfloat16 is supportedCOMMENT
LOWunsloth/save.py6268 # Check if wrong methodCOMMENT
LOWunsloth/save.py4646 # Check if push_to_hub is requestedSTRING
LOWunsloth/save.py2822 # Check if BOS added already, then warnSTRING
LOWunsloth/save.py7920 # Check if push_to_hub exists before accessing its __name__STRING
LOWunsloth/tokenizer_utils.py121 # Check if token is the actual same one - if not, edit itCOMMENT
LOWunsloth/tokenizer_utils.py184 # Check if they're similar!COMMENT
LOWunsloth/tokenizer_utils.py289 # Check if chat template is enabled!COMMENT
LOWunsloth/tokenizer_utils.py1400 # Check if sep_token or other generic typesCOMMENT
LOWunsloth/chat_templates.py2573 # Check if the user provided a correct promptCOMMENT
LOWunsloth/chat_templates.py2764 # Check if system part is the same!COMMENT
LOWunsloth/kernels/moe/grouped_gemm/interface.py55# Check if triton.set_allocator is available (Triton 3.0+)COMMENT
LOWunsloth/kernels/moe/grouped_gemm/kernels/forward.py114 # Check if L2 cache reuse for this order is optimalCOMMENT
LOWunsloth/models/loader_utils.py1106 # Check if this is Hopper or aboveCOMMENT
LOWunsloth/models/loader_utils.py1116 # Check if torch >= 2.9.0COMMENT
LOWunsloth/models/loader_utils.py1122 # Check if torchao has this PR: https://github.com/pytorch/ao/pull/3158,COMMENT
LOWunsloth/models/sentence_transformer.py2077 # Check if this is a fast encoder model (uses torch.compile instead of Unsloth patching)COMMENT
LOWunsloth/models/sentence_transformer.py2085 # Check if model is quantized (4-bit/8-bit)COMMENT
LOWunsloth/models/sentence_transformer.py2291 # Check if model has pending compileCOMMENT
LOWunsloth/models/vision.py1180 # Check if using forced float32 - we load it in bfloat16, then cast to float16!COMMENT
LOWunsloth/models/vision.py1206 # Check if model already has a non-bitsandbytes quantization config (e.g. compressed-tensors/NVFP4)COMMENT
LOWunsloth/models/rl.py2439 # Check if per_device_eval_batch_size (default 8) bigger than bszSTRING
LOWunsloth/models/rl.py2452 # Check if gradient accumulation bug fix is appliedSTRING
LOWunsloth/models/rl.py3371 # Check if max_seq_length is NOT defined (max_length is now default)STRING
LOWunsloth/models/rl.py3558 # Check if SamplingParams is in thereSTRING
LOWunsloth/models/llama.py2505 # Check if RoPE Scaling is even allowedCOMMENT
LOWunsloth/models/llama.py3246 # Check if exactly the same and then pass through!COMMENT
LOWunsloth/models/llama.py3490 # Check if we added new tokens!COMMENT
LOWunsloth/models/llama.py3492 # Check if embed_tokens/lm_head are already being trainedCOMMENT
LOWunsloth/models/loader.py646 # Check if pre-quantized models are allowedCOMMENT
LOWunsloth/models/loader.py819 # Check if folder exists locallyCOMMENT
LOWunsloth/models/loader.py844 # Check if pre-quantized models are allowedCOMMENT
LOWunsloth/models/loader.py1463 # Check if pre-quantized models are allowedCOMMENT
LOWunsloth/models/loader.py1730 # Set norms to float32 since anyways they get upcasted to float32COMMENT
LOWunsloth/models/loader.py1739 # Set norms to float32 since anyways they get upcasted to float32COMMENT
LOWunsloth/models/loader.py1801 # Set norms to float32 since anyways they get upcasted to float32COMMENT
LOWunsloth/models/loader.py1816 # Set norms to float32 since anyways they get upcasted to float32COMMENT
LOWunsloth/models/loader.py1827 # Set norms to float32 since anyways they get upcasted to float32COMMENT
LOWunsloth/models/loader.py1847 # Check if folder exists locallyCOMMENT
LOWunsloth/models/loader.py1866 # Check if pre-quantized models are allowedCOMMENT
LOWunsloth/models/loader.py1999 # Check if VLMCOMMENT
LOWunsloth/models/loader.py2040 # Check if the model's auto_map supports the VLM auto class.COMMENT
LOWunsloth/models/_utils.py2369 _register_extensions() # Check if C++ modules are loaded correctlyCODE
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALstudio/frontend/tests/settings-search.test.ts50 en.settings.resources.modelMemory.modelMemoryKeywords.includes(term),CODE
CRITICALstudio/backend/assets/docs_ui/redoc.standalone.js41`;class Aa extends n.PureComponent{render(){return n.createElement("div",{style:{textAlign:"center"}},n.createElement(_aCODE
CRITICALunsloth/save.py1223 state_dict["model.embed_tokens.weight"] = internal_model.model.embed_tokens.weight.data.to(CODE
CRITICALunsloth/kernels/moe/grouped_gemm/kernels/tuning.py40 properties = triton.runtime.driver.active.utils.get_device_properties(CODE
Verbosity Indicators27 hits · 32 pts
SeverityFileLineSnippetContext
LOWinstall.sh924 # Step 1: Try installing without sudo (works when already root)COMMENT
LOWinstall.sh928 # Step 2: Check which packages are still missingCOMMENT
LOWinstall.sh956 # Step 3: Escalate -- need elevated permissions for remaining packagesCOMMENT
LOWstudio/backend/core/training/worker.py2089 # Step 1: --no-deps keeps --force-reinstall off torch/CUDA via the dep graph.COMMENT
LOWstudio/backend/core/training/worker.py2111 # Step 2: regular install pulls transitive deps (z3-solver, ml-dtypes) without touching torch.COMMENT
LOWstudio/backend/core/inference/inference.py1203 # Step 2: format with tokenizer.apply_chat_template().COMMENT
LOWstudio/backend/core/inference/inference.py1264 # Step 3: generateCOMMENT
LOWstudio/backend/core/inference/inference.py1162 # Step 1: apply get_chat_template if model is in mapper.COMMENT
LOWstudio/backend/utils/datasets/dataset_utils.py1135 # Step 1: Format the datasetCOMMENT
LOWstudio/backend/utils/datasets/dataset_utils.py1167 # Step 2: Apply chat templateCOMMENT
LOWstudio/backend/utils/datasets/dataset_utils.py1194 # Step 3: Generate summaryCOMMENT
LOWunsloth/save.py2038 # Step 2: Download and patch converter scriptCOMMENT
LOWunsloth/save.py2045 # Step 3: Initial GGUF conversionCOMMENT
LOWunsloth/save.py5520 # Step 3: Upload to HuggingFace HubCOMMENT
LOWunsloth/save.py2021 # Step 1: Ensure llama.cpp is installedCOMMENT
LOWunsloth/save.py2100 # Step 4: Additional quantizations using llama-quantizeCOMMENT
LOWunsloth/save.py5469 # Step 1: Determine save directoryCOMMENT
LOWunsloth/save.py5482 # Step 2: Call save_pretrained_gguf to do the conversionCOMMENT
LOWunsloth/save.py4652 # Step 1: Check if this is a VLM (Vision-Language Model) and check if gpt-ossSTRING
LOWunsloth/save.py4807 # Step 6: Clean up memorySTRING
LOWunsloth/save.py4814 # Step 7: Get model dtype and typeSTRING
LOWunsloth/save.py4831 # Step 8: Convert to GGUF formatSTRING
LOWunsloth/save.py4928 # Step 10: Show BOS token warning if applicableSTRING
LOWunsloth/save.py4682 # Step 2: Prepare arguments for model savingSTRING
LOWunsloth/save.py4723 # Step 3: Fix tokenizer BOS token if neededSTRING
LOWunsloth/save.py4751 # Step 4: Save/merge model to 16-bit formatSTRING
LOWunsloth/save.py4907 # Step 9: Create Ollama modelfileSTRING
Structural Annotation Overuse26 hits · 31 pts
SeverityFileLineSnippetContext
LOWinstall.sh924 # Step 1: Try installing without sudo (works when already root)COMMENT
LOWinstall.sh928 # Step 2: Check which packages are still missingCOMMENT
LOWinstall.sh956 # Step 3: Escalate -- need elevated permissions for remaining packagesCOMMENT
LOWstudio/backend/core/training/worker.py2111 # Step 2: regular install pulls transitive deps (z3-solver, ml-dtypes) without touching torch.COMMENT
LOWstudio/backend/core/inference/inference.py1203 # Step 2: format with tokenizer.apply_chat_template().COMMENT
LOWstudio/backend/core/inference/inference.py1264 # Step 3: generateCOMMENT
LOWstudio/backend/core/inference/inference.py1162 # Step 1: apply get_chat_template if model is in mapper.COMMENT
LOWstudio/backend/utils/datasets/dataset_utils.py1135 # Step 1: Format the datasetCOMMENT
LOWstudio/backend/utils/datasets/dataset_utils.py1167 # Step 2: Apply chat templateCOMMENT
LOWstudio/backend/utils/datasets/dataset_utils.py1194 # Step 3: Generate summaryCOMMENT
LOWunsloth/save.py2038 # Step 2: Download and patch converter scriptCOMMENT
LOWunsloth/save.py2045 # Step 3: Initial GGUF conversionCOMMENT
LOWunsloth/save.py5520 # Step 3: Upload to HuggingFace HubCOMMENT
LOWunsloth/save.py2021 # Step 1: Ensure llama.cpp is installedCOMMENT
LOWunsloth/save.py2100 # Step 4: Additional quantizations using llama-quantizeCOMMENT
LOWunsloth/save.py5469 # Step 1: Determine save directoryCOMMENT
LOWunsloth/save.py5482 # Step 2: Call save_pretrained_gguf to do the conversionCOMMENT
LOWunsloth/save.py4652 # Step 1: Check if this is a VLM (Vision-Language Model) and check if gpt-ossSTRING
LOWunsloth/save.py4807 # Step 6: Clean up memorySTRING
LOWunsloth/save.py4814 # Step 7: Get model dtype and typeSTRING
LOWunsloth/save.py4831 # Step 8: Convert to GGUF formatSTRING
LOWunsloth/save.py4928 # Step 10: Show BOS token warning if applicableSTRING
LOWunsloth/save.py4682 # Step 2: Prepare arguments for model savingSTRING
LOWunsloth/save.py4723 # Step 3: Fix tokenizer BOS token if neededSTRING
LOWunsloth/save.py4751 # Step 4: Save/merge model to 16-bit formatSTRING
LOWunsloth/save.py4907 # Step 9: Create Ollama modelfileSTRING
Self-Referential Comments11 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMstudio/backend/core/training/training.py1827 # Create the DB run row before the pump consumes events, so it appears in history duringCOMMENT
MEDIUMstudio/backend/core/training/training.py2137 # Create the row if a start-time create failed (no-op otherwise; skips when the pumpCOMMENT
MEDIUMstudio/backend/core/inference/orchestrator.py1143 # Create the mailbox BEFORE sending, rechecking _unload_pending underCOMMENT
MEDIUMtests/security/test_lint_workflow_triggers.py221 # Defining a function is not calling it.COMMENT
MEDIUMtests/sh/test_setup_desktop_backend_version_fastpath.sh100# Create a mock venv that runs Python without site-packages, exercising setup's fallback parser.COMMENT
MEDIUMtests/sh/test_mac_intel_compat.sh179# Create a mock uname that returns DarwinCOMMENT
MEDIUMtests/sh/test_mac_intel_compat.sh294# Create a mock uv that logs all calls instead of running themCOMMENT
MEDIUMtests/saving/vision_models/test_push_to_hub_merged.py14## Import required librariesCOMMENT
MEDIUMunsloth/save.py5711 # Create the custom directory if it doesn't existSTRING
MEDIUMunsloth/models/loader.py789 # Create a combined error message showing both failuresCOMMENT
MEDIUMunsloth/models/loader.py1637 # Create a combined error message showing both failuresCOMMENT
Dead Code10 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMstudio/backend/tests/test_cached_gguf_routes.py2406CODE
MEDIUMstudio/backend/tests/test_openai_codex_subscription.py3032CODE
MEDIUMstudio/backend/tests/test_credential_routes.py492CODE
MEDIUMstudio/backend/tests/test_active_generations.py1996CODE
MEDIUM…/studio/install/test_install_whisper_prebuilt_logic.py377CODE
MEDIUMunsloth/kernels/fast_lora.py666CODE
MEDIUMunsloth/kernels/fast_lora.py667CODE
MEDIUMunsloth/kernels/fast_lora.py669CODE
MEDIUMunsloth/kernels/fast_lora.py732CODE
MEDIUMunsloth/kernels/moe/autotune_cache.py365CODE
Fake / Example Data19 hits · 20 pts
SeverityFileLineSnippetContext
LOWstudio/frontend/public/reload-snapshot.js383 var sensitiveAttributes = ["title", "aria-label", "alt", "placeholder"];CODE
LOW…d/src/features/settings/stores/voice-settings-store.ts498 * matching case-insensitively on word boundaries ("jane doe" -> "Jane Doe").COMMENT
LOWstudio/frontend/src/i18n/locales/en.ts551 entryPlaceholder: "Jane Doe",CODE
LOWstudio/backend/tests/test_cached_gguf_routes.py2631 gguf.write_bytes(b"placeholder")CODE
LOWstudio/backend/tests/test_safetensors_tool_loop.py1439 assert args == {"name": "John Doe", "age": 30, "active": True, "score": 95.5}CODE
LOWstudio/backend/tests/test_diffusion_training.py2014 assert "placeholder" in msgCODE
LOWstudio/backend/tests/test_openai_auto_download.py1209 assert "placeholder" in detailCODE
LOWstudio/backend/tests/test_web_fetch_extraction.py2085 assert "Jane Doe" in outSTRING
LOWstudio/backend/assets/docs_ui/redoc.standalone.js41`;class Aa extends n.PureComponent{render(){return n.createElement("div",{style:{textAlign:"center"}},n.createElement(_aCODE
LOWstudio/backend/assets/docs_ui/redoc.standalone.js752`;var Md=Object.defineProperty,zd=Object.defineProperties,Fd=Object.getOwnPropertyDescriptors,Ud=Object.getOwnPropertySyCODE
LOWstudio/backend/hub/services/datasets/local_options.py280 "dummy_data.zip",CODE
LOWtests/test_torchao_torch_symbol_skew.py84 assert "placeholder" in repr(ph)CODE
LOWtests/test_torchao_aten_grouped_mm.py157 with pytest.raises(RuntimeError, match = "placeholder"):CODE
LOWtests/test_installer_system32_guard.py530@pytest.mark.parametrize("profile_name", ["me", "Jane Doe", "O'Brien"])CODE
LOWtests/test_installer_system32_guard.py504 "Jane Doe", # space: `cd C:\Users\Jane Doe` binds 'Doe' as a second argumentCODE
LOWtests/studio/playwright_code_block_flicker.py327 f"{'engine':10} {'variant':12} {'collapses':>10} {'placeholder':>12} {'dips':>6} "CODE
LOWtests/python/test_virustotal_scan.py79 "fake-key",CODE
LOWtests/python/test_virustotal_scan.py214 assert headers["x-apikey"] == "fake-key"CODE
LOWtests/python/test_virustotal_scan.py215 assert "fake-key" not in urlCODE
Example Usage Blocks12 hits · 20 pts
SeverityFileLineSnippetContext
LOWscripts/build_whisper_cpp.sh9# Usage:COMMENT
LOWscripts/install_gemma4_mlx.sh15# Usage:COMMENT
LOWscripts/install_qwen3_6_mlx.sh14# Usage:COMMENT
LOW.github/scripts/assert-prompt-cache.sh38# Usage:COMMENT
LOW.github/scripts/agent-guides-drive.sh20# Usage:COMMENT
LOW.github/scripts/serve-unsloth-run.sh11# Usage:COMMENT
LOW.github/scripts/parity-install-side.sh8# Usage:COMMENT
LOW.github/scripts/clean-machine-env.sh23# Usage:COMMENT
LOW.github/scripts/boot-studio-api-only.sh8# Usage:COMMENT
LOW.github/scripts/wait-for-health.sh8# Usage:COMMENT
LOW.github/scripts/parity-find-unsloth.sh7# Usage:COMMENT
LOW.github/scripts/retry-with-apt-lock.sh67# Usage:COMMENT
Cross-Language Confusion (JS/TS)3 hits · 18 pts
SeverityFileLineSnippetContext
HIGH…nd/src/features/settings/components/usage-examples.tsx257 print(chunk.choices[0].delta.content or "", end="")`CODE
HIGH…nd/src/features/settings/components/usage-examples.tsx259 print(chunk.choices[0].delta.content or "", end="")`;CODE
HIGH…rontend/src/features/chat/lib/resident-config-match.ts161 * `LlamaCppBackend._runtime_matches_intent` that return False to force the repair: a drafterCOMMENT
Slop Phrases9 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMstudio/frontend/tests/streaming-render-schedule.test.ts345 const line = "I cannot provide that information.\n\n";CODE
MEDIUM…icker/components/model-selector/model-catalog.check.ts385// diffusion pipeline as a language model it can quantize: 5B params says 5.9 GB where the Wan 2.2COMMENT
MEDIUM…res/model-picker/components/model-selector/pickers.tsx2090// Video picker never finds such a model and chat tries to load it as a language model.COMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py3799 "The summary is ready, please let me know if you need anything else",CODE
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py3800 "The summary is ready. Please let me know if you need anything else!",CODE
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py4711 "</function>\n\nLet me know if you need anything else."CODE
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py3690 "Let me know if you need anything else.",CODE
LOWunsloth/kernels/cross_entropy_loss.py370 losses.masked_fill_(labels == -100, 0) # Don't forget to mask padding out!CODE
LOWunsloth/kernels/fast_lora.py64 Don't forget to see our blog post for more details!STRING
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/kaggle/test_t4_payload_assertions.py509 # The same file, saved as requested: no difference and no failure.COMMENT
Overly Generic Function Names5 hits · 6 pts
SeverityFileLineSnippetContext
LOW…io/backend/tests/test_gguf_xet_fallback_integration.py144 def helper(CODE
LOWtests/test_dataclass_default_backfill.py65 def helper(self):CODE
LOWtests/kaggle/test_t4_payload_assertions.py130 failures = canary_failures({"run_index": 1, "generated": "def my_function():"}, require = True)CODE
LOWtests/kaggle/t4_smoke/run_t4_smoke.py1291 # '#1\ndef my_function():...'.COMMENT
LOWscripts/lint_duplicate_definitions.py598 "import types as t\n\n\ndef helper():\n import typing as t\n return t\n\n\n"CODE