AI Slop Code RIsk Monitor

unslothai/unsloth

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

29.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for unslothai/unsloth, a Python project with 77,708 GitHub stars. SynthScan examined 3,167,233 lines of code across 7353 source files, recording 83114 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 29.4 (Elevated pattern signal); it is not an authorship estimate.

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

29.4
Adjusted Signal
29.4
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
77.7K
Stars
Python
Language
3.2M
Lines of Code
7.4K
Files
83.1K
Pattern Hits
2026-10-12
Scan Date
0.51
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 58.7/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 17.3/100 · LOW

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

Agent Over-Engineering Ratio 70.3/100 · HIGH

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

PR Review Velocity Impact 82.1/100 · CRITICAL

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

What These Metrics Mean

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

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

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

CRITICAL 5HIGH 3762MEDIUM 3553LOW 75794

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers61388 hits · 51792 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
LOWunsloth-cli.py149def _save_or_push_model_with_mlx_ddp(model, tokenizer, args, is_mlx, trainer):CODE
LOWstudio/install_whisper_prebuilt.py370def published_llama_ggml_tree(tag: Any, repo: Any = None) -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py402def installed_llama_tree_repo() -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py470def _ships_windows_gpu_ggml_module(llama_bin_dir: Path) -> bool:CODE
LOWstudio/install_whisper_prebuilt.py482def _ggml_stack_imports_libomp(llama_bin_dir: Path, backend: str) -> bool | None:CODE
LOWstudio/install_whisper_prebuilt.py512def slim_pairing_for_artifact(CODE
LOWstudio/install_whisper_prebuilt.py627def select_artifact_with_cpu_fallback(CODE
LOWstudio/install_whisper_prebuilt.py639def _slim_release_incompatibility(manifest: dict[str, Any], host: HostInfo) -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py701def select_artifact_with_fallback(CODE
LOWstudio/install_whisper_prebuilt.py748def _download_host_latest_release_tag(repo: str) -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py772def _resolve_release_via_download_host(CODE
LOWstudio/install_whisper_prebuilt.py1259def load_whisper_prebuilt_metadata(install_dir: Path) -> dict[str, Any] | None:CODE
LOWstudio/install_whisper_prebuilt.py1280def kept_install_needs_settling(install_dir: Path) -> bool:CODE
LOWstudio/install_whisper_prebuilt.py1309def _backfill_runtime_file_records(install_dir: Path) -> None:CODE
LOWstudio/install_whisper_prebuilt.py1349def _wiring_matches_live_llama(install_dir: Path, marker: dict) -> bool:CODE
LOWstudio/install_whisper_prebuilt.py1392def _backfill_slim_pairing_record(install_dir: Path) -> None:CODE
LOWstudio/install_whisper_prebuilt.py1533def resolve_newest_release_tag(repo: str) -> str:CODE
LOWstudio/install_whisper_prebuilt.py1543def fetch_release_for_install(CODE
LOWstudio/install_whisper_prebuilt.py1576def _bundle_matches_whisper_tag(bundle: ReleaseBundle, whisper_tag: str) -> bool:CODE
LOWstudio/install_whisper_prebuilt.py1799def installed_paired_runtime_tree() -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py1809def installed_paired_runtime_id(install_dir: "Path | None" = None) -> str | None:CODE
LOWstudio/install_whisper_prebuilt.py1825def _existing_install_is_intact(CODE
LOWstudio/install_whisper_prebuilt.py1905def _api_newest_release_tag_for_upstream(CODE
LOWstudio/install_whisper_prebuilt.py1940def existing_install_current_without_plan(CODE
LOW⚡studio/install_manifest.py1033def unsatisfied_closure_requirement(CODE
LOW⚡studio/install_manifest.py1043def closure_unmet_requirements(CODE
LOWstudio/install_manifest.py117def installed_requirements_root(root: Optional[Path] = None) -> Optional[Path]:CODE
LOWstudio/install_manifest.py213def _installed_metadata_records(dist_name: str) -> List[Tuple[str, Optional[Path]]]:CODE
LOWstudio/install_manifest.py272def pip_backup_metadata_paths(dist_name: str) -> List[Path]:CODE
LOWstudio/install_manifest.py292def _metadata_is_inconsistent(dist_name: str, versions: Optional[List[str]] = None) -> bool:CODE
LOWstudio/install_manifest.py590def consume_previous_manifest(root: Optional[Path] = None) -> None:CODE
LOWstudio/install_manifest.py857def recorded_torch_flavor_was_pinned(root: Optional[Path] = None) -> bool:CODE
LOWstudio/install_manifest.py990def installed_dependency_index() -> Optional[Dict[str, Tuple[str, List[str]]]]:CODE
LOWstudio/install_manifest.py1743def _sidecar_file_check_disabled() -> bool:CODE
LOWstudio/install_q4nx_converter.py61def converter_for_architecture(architecture: str, path: Path = PINS_PATH) -> str:CODE
LOW⚡studio/install_llama_prebuilt.py644def source_archive_logical_name(upstream_tag: str) -> str:CODE
LOW⚡studio/install_llama_prebuilt.py648def exact_source_archive_logical_name(source_commit: str) -> str:CODE
LOW⚡studio/install_llama_prebuilt.py657def normalize_source_ref_kind(value: str | None) -> str | None:CODE
LOW⚡studio/install_llama_prebuilt.py813def windows_cuda_arch_for_host(host: HostInfo) -> str:CODE
LOW⚡studio/install_llama_prebuilt.py823def windows_cuda_install_kind_for_arch(arch: str) -> str:CODE
LOW⚡studio/install_llama_prebuilt.py830def windows_cuda_upstream_asset_names(CODE
LOW⚡studio/install_llama_prebuilt.py963def upstream_source_archive_urls(tag: str) -> list[str]:CODE
LOW⚡studio/install_llama_prebuilt.py971def commit_source_archive_urls(repo: str, source_commit: str) -> list[str]:CODE
LOW⚡studio/install_llama_prebuilt.py979def release_asset_download_url(CODE
LOW⚡studio/install_llama_prebuilt.py1610def linux_runtime_dirs_for_required_libraries(required_libraries: Iterable[str]) -> list[str]:CODE
LOW⚡studio/install_llama_prebuilt.py1614def detected_linux_runtime_lines() -> tuple[list[str], dict[str, list[str]]]:CODE
LOW⚡studio/install_llama_prebuilt.py1622def github_release_asset_digests(repo: str, tag: str) -> dict[str, str]:CODE
LOW⚡studio/install_llama_prebuilt.py2287def validated_checksums_for_bundle(CODE
LOW⚡studio/install_llama_prebuilt.py2294def _download_host_resolve_enabled() -> bool:CODE
LOW⚡studio/install_llama_prebuilt.py2302def _release_asset_download_url(repo: str, tag: str, asset_name: str) -> str:CODE
LOW⚡studio/install_llama_prebuilt.py2306def _download_host_latest_release_tag(repo: str) -> str | None:CODE
LOW⚡studio/install_llama_prebuilt.py2310def _fetch_download_host_json(url: str) -> Any:CODE
LOW⚡studio/install_llama_prebuilt.py2316def _download_host_resolved_release(CODE
LOW⚡studio/install_llama_prebuilt.py4687def overlay_directory_for_choice(install_dir: Path, choice: AssetChoice, host: HostInfo) -> Path:CODE
LOW⚡studio/install_llama_prebuilt.py4696def paired_runtime_dll_patterns(choice: AssetChoice) -> list[str]:CODE
LOW⚡studio/install_llama_prebuilt.py5648def download_validation_model(path: Path, cache_path: Path | None = None) -> None:CODE
61328 more matches not shown…
Decorative Section Separators2726 hits · 9332 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh6386# ── Radeon repo wheel selection helpers ──────────────────────────────────────COMMENT
MEDIUMinstall.sh6494# ── ROCm-on-WSL bootstrap for AMD Strix Halo (gfx1151) ───────────────────────COMMENT
MEDIUMinstall.sh6959# ── Strix Halo / Strix Point: route to the AMD arch-specific index ───────────COMMENT
MEDIUMstudio/setup.sh32# ── Maintainer-editable defaults ──────────────────────────────────────────COMMENT
MEDIUMstudio/setup.sh48# ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡studio/prebuilt_core.py1847# ════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡studio/prebuilt_core.py1850# ════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMstudio/install_python_stack.py164# ── ROCm / AMD GPU support ─────────────────────────────────────────────────────COMMENT
MEDIUMstudio/install_python_stack.py7211# ── Color support ──────────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/smoke-code-block-flicker-main.tsx64// ── CSS variants ──────────────────────────────────────────────────── Each variant is a stylesheetCOMMENT
MEDIUM…ntend/tests/generation-tool-recovery-approvals.test.ts341// ── The check and the replay now run concurrently ───────────────────────────COMMENT
MEDIUMstudio/frontend/tests/code-tool-placement.test.ts38// ── the rule itself ────────────────────────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/code-tool-placement.test.ts120// ── the adapter has to actually use it ─────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/code-tool-placement.test.ts178// ── Whether the pill is offered at all ─────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/tool-approval-gone.test.ts115// ── The card's own wiring, pinned at the source ──────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/credential-persistence.test.ts731// ── API key transport envelope ──────────────────────────────────────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/seeded-approval-terminal-run.test.ts103// ── Arming must not hold the event stream closed ────────────────────────────COMMENT
MEDIUM…io/frontend/tests/seeded-approval-terminal-run.test.ts152// ── The disarm has to cover every exit, not just the terminal one ───────────COMMENT
MEDIUM…io/frontend/tests/code-plugin-engine-and-cache.test.ts54// ── 1. the engine the desktop CSP allows ───────────────────────────────COMMENT
MEDIUM…io/frontend/tests/code-plugin-engine-and-cache.test.ts75// ── 2. the character budget ────────────────────────────────────────────COMMENT
MEDIUM…io/frontend/tests/code-plugin-engine-and-cache.test.ts257// ── 3. the compact cache key is a hint, not the answer ─────────────────COMMENT
MEDIUM…udio/frontend/tests/loaded-models-drag-restore.test.ts91// ── The wiring the geometry depends on ──────────────────────────────────COMMENT
MEDIUMstudio/frontend/tests/durable-gate.test.ts51// ── The gate itself: every term of the conjunction, as a truth table ─────────────────────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…/features/export/hooks/use-export-runtime-lifecycle.ts59 // ── JSON log polling (tunnel-safe fallback) ────────────────────────── Runs for the wholeCOMMENT
MEDIUMstudio/frontend/src/features/export/api/export-api.ts318// ───────────────────────────────────────────────────────────────────── Live export log streamCOMMENT
MEDIUMstudio/frontend/src/features/export/api/export-api.ts319// (Server-Sent Events) ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡…io/backend/core/training/diffusion_training_service.py821 # ── event pump ───────────────────────────────────────────────────────────COMMENT
MEDIUM…io/backend/core/training/diffusion_training_service.py520 # ── lifecycle ────────────────────────────────────────────────────────────COMMENT
MEDIUMstudio/backend/core/inference/sd_cpp_backend.py4464 # ── Unload / status ──────────────────────────────────────────────────────COMMENT
MEDIUMstudio/backend/core/inference/video.py1254# ── MiniMax-H3 modular precision tri-state ──────────────────────────────────── The modular workflow builds eachCOMMENT
MEDIUMstudio/backend/core/inference/video.py1262# ── MiniMax-H3 modular precision tri-state ────────────────────────────────────COMMENT
2666 more matches not shown…
Empty Error Handlers1935 hits · 9192 pts
SeverityFileLineSnippetContext
HIGHstudio/install_manifest.py459except OSError:CODE
HIGHstudio/install_manifest.py600except OSError:CODE
HIGHstudio/install_manifest.py727except OSError:CODE
HIGHstudio/install_manifest.py805except OSError:CODE
HIGHstudio/install_manifest.py829except OSError:CODE
HIGHstudio/install_manifest.py894except Exception:CODE
HIGHstudio/install_manifest.py241except Exception:CODE
HIGHstudio/install_manifest.py355except OSError:CODE
HIGHstudio/install_manifest.py369except OSError:CODE
HIGHstudio/install_manifest.py455except (OSError, ValueError):CODE
HIGHstudio/install_manifest.py508except (OSError, ValueError):CODE
HIGHstudio/install_manifest.py363except OSError:CODE
HIGHstudio/install_manifest.py579except OSError:CODE
HIGHstudio/install_manifest.py504except ImportError:CODE
HIGHstudio/nvidia_probe.py190except Exception:CODE
HIGHstudio/install_llama_prebuilt.py4796except OSError:CODE
HIGHstudio/install_llama_prebuilt.py5472except OSError:CODE
HIGHstudio/install_llama_prebuilt.py5796except Exception:CODE
HIGHstudio/install_llama_prebuilt.py5802except Exception:CODE
HIGHstudio/install_llama_prebuilt.py6822except subprocess.TimeoutExpired:CODE
HIGHstudio/install_llama_prebuilt.py6837except subprocess.TimeoutExpired:CODE
HIGHstudio/install_llama_prebuilt.py8541except Exception: # noqa: BLE001CODE
HIGHstudio/install_llama_prebuilt.py2588except Exception:CODE
HIGHstudio/install_llama_prebuilt.py2687except Exception:CODE
HIGHstudio/install_llama_prebuilt.py2706except Exception:CODE
HIGHstudio/install_llama_prebuilt.py2816except ValueError:CODE
HIGHstudio/install_llama_prebuilt.py2939except Exception:CODE
HIGHstudio/install_llama_prebuilt.py3006except Exception:CODE
HIGHstudio/install_llama_prebuilt.py3021except OSError:CODE
HIGHstudio/install_llama_prebuilt.py3868except Exception:CODE
HIGHstudio/install_llama_prebuilt.py3880except Exception:CODE
HIGHstudio/install_llama_prebuilt.py3899except Exception:CODE
HIGHstudio/install_llama_prebuilt.py5120except OSError:CODE
HIGHstudio/install_llama_prebuilt.py6756except Exception:CODE
HIGHstudio/install_llama_prebuilt.py6830except OSError:CODE
HIGHstudio/install_llama_prebuilt.py4456except OSError:CODE
HIGHstudio/install_llama_prebuilt.py6707except Exception:CODE
HIGHstudio/install_llama_prebuilt.py7679except OSError:CODE
HIGHstudio/install_llama_prebuilt.py7671except (OSError, AttributeError):CODE
HIGHstudio/install_llama_prebuilt.py3237except Exception:CODE
HIGHstudio/install_sd_cpp_prebuilt.py810except OSError:CODE
HIGHstudio/install_sd_cpp_prebuilt.py619except OSError:CODE
HIGHstudio/install_node_prebuilt.py900except Exception: # noqa: BLE001CODE
HIGHstudio/install_node_prebuilt.py968except Exception: # noqa: BLE001CODE
HIGHstudio/install_node_prebuilt.py785except Exception: # noqa: BLE001CODE
HIGHstudio/install_node_prebuilt.py1225except OSError:CODE
HIGHstudio/install_node_prebuilt.py352except Exception: # noqa: BLE001CODE
HIGHstudio/install_node_prebuilt.py777except (OSError, AttributeError):CODE
HIGHstudio/install_node_prebuilt.py614except (OSError, ValueError):CODE
HIGHstudio/prebuilt_core.py98except Exception:CODE
HIGHstudio/prebuilt_core.py2819except OSError:CODE
HIGHstudio/prebuilt_core.py583except OSError:CODE
HIGHstudio/prebuilt_core.py576except (OSError, AttributeError):CODE
HIGHstudio/prebuilt_core.py881except Exception:CODE
HIGHstudio/prebuilt_core.py1429except PermissionError:CODE
HIGHstudio/install_python_stack.py148except Exception:CODE
HIGHstudio/install_python_stack.py2277except Exception:CODE
HIGHstudio/install_python_stack.py2439except OSError:CODE
HIGHstudio/install_python_stack.py2666except Exception:CODE
HIGHstudio/install_python_stack.py2705except Exception:CODE
1875 more matches not shown…
Cross-Language Confusion1732 hits · 8836 pts
SeverityFileLineSnippetContext
HIGHstudio/install_llama_prebuilt.py7779 # None is what expected_install_fingerprint hashed: null, not absent.COMMENT
HIGHstudio/backend/core/rag/conversation_archive.py959# One predicate per frontend predicate of the same name. `sessionId` and `subject` are tested for ABSENCE, not null,COMMENT
HIGHstudio/backend/core/inference/tool_loop_controller.py509 """The subschema to read against, its one declared type, and whether it admits null;STRING
HIGH…udio/backend/core/inference/diffusion_compile_cache.py788 # A manifest that decoded but is not an object. json.loads happily returns [] or null, andCOMMENT
HIGHstudio/backend/core/inference/llama_server_args.py1947 (``--mlock``) runs its handler only for a truthy one (``opt.handler_void && is_truthy(value)``),STRING
HIGHstudio/backend/core/inference/tool_call_parser.py2716 """One ``.call`` value (string/number/true/false/null) at ``body[p:]``. Returns ``(value,STRING
HIGHstudio/backend/core/inference/media_locality.py302 # [null, null] marks a component this pipeline deliberately ships without.COMMENT
HIGH⚡studio/backend/core/inference/wsl_host.py58(cat <&3 >/dev/null; kill -TERM -$child 2>/dev/null; sleep 10; kill -KILL -$child 2>/dev/null) &CODE
HIGH⚡studio/backend/core/inference/wsl_host.py65if kill -0 -$child 2>/dev/null; thenCODE
HIGH⚡studio/backend/core/inference/wsl_host.py66 kill -TERM -$child 2>/dev/null; sleep 5; kill -KILL -$child 2>/dev/nullCODE
HIGHstudio/backend/core/inference/wsl_host.py411 "if command -v cc >/dev/null && command -v c++ >/dev/null "CODE
HIGHstudio/backend/core/inference/wsl_host.py412 "&& command -v make >/dev/null && test -f /usr/include/stdio.h; "CODE
HIGHstudio/backend/core/inference/mxc_read_grants.py682 stack.push(transaction)CODE
HIGH⚡studio/backend/core/inference/mxc_probe.py132 f"cat {shlex.quote(str(canary))} > {shlex.quote(str(read_capture))} 2>/dev/null; "CODE
HIGH⚡studio/backend/core/inference/mxc_probe.py133 f"printf bad > {shlex.quote(str(outside_write))} 2>/dev/null; "CODE
HIGH⚡studio/backend/core/inference/mxc_probe.py135 "cat inside.txt >/dev/null && printf 'UNSLOTH_MXC_TERMINAL_PROBE_OK\\n'"CODE
HIGHstudio/backend/core/inference/gallery_flags.py66 The container being a dict is not enough. ``{"archived": null}`` is a dict, and every readerSTRING
HIGHstudio/backend/core/inference/diffusion_nvfp4_linear.py165 "this NVFP4 weight carries no per_tensor_scale, so the GEMM alpha is undefined; the "CODE
HIGHstudio/backend/core/inference/tool_path_approval.py1898 `cd /models && python -c "open('weights.gguf', 'w')"` writes through a RELATIVE path, which theSTRING
HIGH⚡studio/backend/core/inference/diffusion_probe_cache.py203 tmp.unlink() # type: ignore[possibly-undefined]CODE
HIGHstudio/backend/core/inference/os_sandbox.py766 "sudo apt-get install -y apparmor-profiles && sudo install -m 644 "CODE
HIGHstudio/backend/core/systemone/gguf_export_contract.py11 "files": {"Q8_0": {"model": "model-Q8_0.gguf", "mmproj": "mmproj-Q8_0.gguf" | null}},STRING
HIGH⚡studio/backend/tests/test_diffusion_routes.py2159 # Same for the precision fields added later: absent keys read back as null, and the PNG stillCOMMENT
HIGH⚡studio/backend/tests/test_export_imatrix_compressed.py210 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⚡studio/backend/tests/test_sandbox_setup_plan.py218 assert fields["manual_command"].startswith("sudo apt-get update && sudo apt-get")CODE
HIGH⚡studio/backend/tests/test_sandbox_setup_plan.py229 assert fields["manual_command"].startswith("apt-get update && apt-get")CODE
HIGH…o/backend/tests/test_resume_blocked_reason_surfaces.py148 guard = source.split("if (!(detail.run.can_resume && outputDir))", 1)[1][:400]CODE
HIGHstudio/backend/tests/test_anthropic_compaction.py441 b'"content_block":{"type":"compaction","content":null,'CODE
HIGHstudio/backend/tests/test_anthropic_compaction.py701 b'"content_block":{"type":"compaction","content":null}}\n\n'CODE
HIGH⚡…dio/backend/tests/test_chat_template_tool_call_rows.py331 assert '"parameters": {"city": "Paris", "unit": null}' in result["dataset"][0]["text"]STRING
HIGH…dio/backend/tests/test_chat_template_tool_call_rows.py127 result = _format([_tool_call_row('{"city": "Paris", "unit": null}')], _QWEN35_TEMPLATE)STRING
HIGHstudio/backend/tests/test_safetensors_tool_loop.py804 "<|tool_call>call:set_pref{enabled:true,attempts:5,threshold:1.5,nickname:null}<tool_call|>",CODE
HIGHstudio/backend/tests/test_safetensors_tool_loop.py972 '<|python_tag|>{"name":"foo","arguments":null}',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.py1776 ' "safety_checker": [null, null]}'CODE
HIGH⚡studio/backend/tests/test_browser_routes.py97 assert 'if (annotation || typeof code !== "string"' in shellCODE
HIGHstudio/backend/tests/test_browser_routes.py67 'if (data && data.type === "unsloth:browser-command") page.contentWindow.postMessage(data, "*");',CODE
HIGHstudio/backend/tests/test_openai_codex_subscription.py1384 yield 'data: {"choices":[{"delta":{"tool_calls":[{"index":0,"id":"call_1","type":"function","function":{CODE
HIGHstudio/backend/tests/test_openai_codex_subscription.py1387 yield 'data: {"choices":[{"delta":{"content":"The result is 42."},"finish_reason":null}]}'CODE
HIGHstudio/backend/tests/test_openai_codex_subscription.py1463 yield 'data: {"choices":[{"delta":{"tool_calls":[{"index":0,"id":"call_1","type":"function","function":{CODE
HIGHstudio/backend/tests/test_openai_codex_subscription.py1466 yield 'data: {"choices":[{"delta":{"content":"done"},"finish_reason":null}]}'CODE
HIGH⚡studio/backend/tests/test_chat_settings_payload.py268 """A cleared seed is an explicit null, not an omission: the merge overwrites perSTRING
HIGH⚡studio/backend/tests/test_credential_routes.py360 """A blank Max Tokens limit field serialises as null, not as an omission.STRING
HIGH⚡studio/backend/tests/test_credential_routes.py362 So every provider type has to accept the null, ChatGPT subscriptions included: anSTRING
HIGH…/backend/tests/test_anthropic_fast_mode_and_refusal.py42 b'"stop_reason":null,"usage":{"input_tokens":1,"output_tokens":1}}}\n\n'CODE
HIGH…/backend/tests/test_anthropic_fast_mode_and_refusal.py53 b'"stop_reason":null,"usage":{"input_tokens":1,"output_tokens":1}}}\n\n'CODE
HIGH…/backend/tests/test_anthropic_fast_mode_and_refusal.py187 b'"stop_reason":null,"usage":{"input_tokens":1,"output_tokens":1}}}\n\n'CODE
HIGHstudio/backend/tests/test_library_routes.py952 ("foo-merged", '{"base_model": null}'),CODE
HIGH⚡studio/backend/tests/test_tool_call_parser_strict.py404 calls = parse_tool_calls_from_text('[TOOL_CALLS][{"name":"get_time","arguments":null}]')CODE
HIGHstudio/backend/tests/test_tool_call_parser_strict.py497 text = '<|python_tag|>do.call(s="hi 😀", n=42, f=1.5, b=true, z=null)'CODE
HIGHstudio/backend/tests/test_image_gallery.py441 # `{"archived": null}` is still a dict, so a container-only check trusted it, and every readerCOMMENT
HIGHstudio/backend/tests/test_job_accounts.py265 assert json.dumps(exported, separators = (",", ":")) == '[true,"done",null]'CODE
HIGH⚡studio/backend/tests/test_openai_tool_passthrough.py3070 line = 'data: {"choices":[{"index":0,"delta":{"content":"hello"},"finish_reason":null}]}'CODE
HIGH⚡studio/backend/tests/test_openai_tool_passthrough.py3079 '"mentions \\"reasoning_content\\" in text"},"finish_reason":null}]}'CODE
HIGH⚡studio/backend/tests/test_openai_tool_passthrough.py3087 '"finish_reason":null}]}'CODE
1672 more matches not shown…
Excessive Try-Catch Wrapping6960 hits · 5859 pts
SeverityFileLineSnippetContext
LOW⚡install.sh8454 except Exception:CODE
LOW⚡install.sh8458 except Exception:CODE
LOW⚡install.sh8464except Exception:CODE
LOWinstall.sh2904 except Exception:CODE
LOWinstall.sh6164except Exception:CODE
LOWinstall.sh6944except Exception:CODE
LOWinstall.sh8361except Exception:CODE
LOWstudio/setup.sh1426except Exception:CODE
LOWstudio/setup.sh3256except Exception:CODE
LOWstudio/setup.sh4638except Exception:CODE
LOWstudio/setup.sh4658except Exception:CODE
LOWstudio/setup.sh4756except Exception:CODE
LOWstudio/setup.sh5833except Exception:CODE
LOWstudio/install_whisper_prebuilt.py396 except Exception as exc:CODE
LOWstudio/install_whisper_prebuilt.py1610 except Exception as exc:CODE
LOWstudio/install_whisper_prebuilt.py1918 except Exception as exc: # noqa: BLE001 - unreachable is a reason to do the workCODE
LOWstudio/install_whisper_prebuilt.py2002 except Exception as exc: # noqa: BLE001 - unreachable is a reason to do the workCODE
LOWstudio/install_whisper_prebuilt.py2273 except Exception as exc: # noqa: BLE001 - probe must never crash the callerCODE
LOWstudio/install_whisper_prebuilt.py2308 except Exception as exc: # noqa: BLE001CODE
LOW⚡studio/install_manifest.py915 except Exception:CODE
LOW⚡studio/install_manifest.py920 except Exception:CODE
LOW⚡studio/install_manifest.py930 except Exception:CODE
LOW⚡studio/install_manifest.py1023 except Exception:CODE
LOW⚡studio/install_manifest.py1029 except Exception:CODE
LOWstudio/install_manifest.py196 except Exception:CODE
LOWstudio/install_manifest.py241 except Exception:CODE
LOWstudio/install_manifest.py894 except Exception:CODE
LOWstudio/install_manifest.py970 except Exception:CODE
LOWstudio/install_manifest.py1010 except Exception:CODE
LOWstudio/install_manifest.py1068 except Exception:CODE
LOWstudio/install_manifest.py1103 except Exception:CODE
LOWstudio/install_manifest.py1109 except Exception:CODE
LOWstudio/install_manifest.py1347 except Exception:CODE
LOWstudio/install_manifest.py1360 except Exception:CODE
LOWstudio/install_manifest.py1410 except Exception:CODE
LOWstudio/install_manifest.py1558 except Exception:CODE
LOWstudio/install_manifest.py1598 except Exception:CODE
LOWstudio/install_manifest.py1607 except Exception:CODE
LOWstudio/nvidia_probe.py105 except Exception:CODE
LOWstudio/nvidia_probe.py190 except Exception:CODE
LOWstudio/nvidia_probe.py240 except Exception:CODE
LOWstudio/nvidia_probe.py292 except Exception:CODE
LOW⚡studio/install_llama_prebuilt.py1632 except Exception as exc:CODE
LOW⚡studio/install_llama_prebuilt.py4683 except Exception:CODE
LOW⚡studio/install_llama_prebuilt.py5655 except Exception as exc:CODE
LOW⚡studio/install_llama_prebuilt.py5664 except Exception as exc:CODE
LOW⚡studio/install_llama_prebuilt.py6707 except Exception:CODE
LOW⚡studio/install_llama_prebuilt.py7480 except Exception: # noqa: BLE001 - an unreadable runtime is "cannot tell", recorded as suchCODE
LOW⚡studio/install_llama_prebuilt.py7492 except Exception: # noqa: BLE001 - an unreadable scan is "cannot tell", which takes the full pathCODE
LOW⚡studio/install_llama_prebuilt.py10446 except Exception:CODE
LOW⚡studio/install_llama_prebuilt.py10450 except Exception:CODE
LOWstudio/install_llama_prebuilt.py54except Exception: # an older checkout beside a newer setup scriptCODE
LOWstudio/install_llama_prebuilt.py1074 except Exception as exc: # noqa: BLE001 - the REST cause is the one worth reportingCODE
LOWstudio/install_llama_prebuilt.py1142 except Exception as exc: # noqa: BLE001 - report both causes, neither alone explains itCODE
LOWstudio/install_llama_prebuilt.py1159 except Exception as exc: # noqa: BLE001 - report both causesCODE
LOWstudio/install_llama_prebuilt.py1172 except Exception as exc: # noqa: BLE001 - one unreadable release is not the end of the walkCODE
LOWstudio/install_llama_prebuilt.py1218 except Exception:CODE
LOWstudio/install_llama_prebuilt.py1584 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py1910 except Exception as exc:CODE
LOWstudio/install_llama_prebuilt.py1930 except Exception as exc:CODE
6900 more matches not shown…
Unused Imports3558 hits · 2984 pts
SeverityFileLineSnippetContext
LOWstudio/install_whisper_prebuilt.py56CODE
LOWstudio/install_manifest.py18CODE
LOWstudio/install_lemonade_prebuilt.py11CODE
LOWstudio/install_q4nx_converter.py16CODE
LOWstudio/nvidia_probe.py19CODE
LOWstudio/install_llama_prebuilt.py7CODE
LOWstudio/install_llama_prebuilt.py19CODE
LOWstudio/install_sd_cpp_prebuilt.py12CODE
LOWstudio/install_audio_cpp_prebuilt.py31CODE
LOWstudio/install_node_prebuilt.py23CODE
LOWstudio/install_mxc_prebuilt.py6CODE
LOWstudio/prebuilt_core.py28CODE
LOWstudio/install_python_stack.py12CODE
LOWstudio/backend/cloudflare_tunnel.py12CODE
LOWstudio/backend/run.py9CODE
LOWstudio/backend/run.py9CODE
LOWstudio/backend/run.py141CODE
LOWstudio/backend/startup_banner.py6CODE
LOWstudio/backend/lan_access.py20CODE
LOWstudio/backend/colab.py14CODE
LOWstudio/backend/main.py222CODE
LOWstudio/backend/mcp_server.py9CODE
LOWstudio/backend/loggers/handlers.py8CODE
LOWstudio/backend/loggers/__init__.py4CODE
LOWstudio/backend/loggers/__init__.py4CODE
LOWstudio/backend/loggers/media_progress.py6CODE
LOWstudio/backend/core/import_guards.py6CODE
LOWstudio/backend/core/youtube_transcript.py16CODE
LOWstudio/backend/core/library.py23CODE
LOWstudio/backend/core/chat_originals.py17CODE
LOWstudio/backend/core/_torchao_stub.py18CODE
LOWstudio/backend/core/tool_healing.py25CODE
LOWstudio/backend/core/agents_md.py6CODE
LOWstudio/backend/core/_msvc_env.py8CODE
LOWstudio/backend/core/_msvc_env.py204CODE
LOWstudio/backend/core/research_runs.py6CODE
LOWstudio/backend/core/research_runs.py40CODE
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
LOW…dio/backend/core/data_recipe/text_format_validators.py4CODE
LOWstudio/backend/core/data_recipe/__init__.py6CODE
LOWstudio/backend/core/data_recipe/__init__.py6CODE
LOWstudio/backend/core/data_recipe/export.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/external_import/codex.py11CODE
3498 more matches not shown…
Deep Nesting2247 hits · 1562 pts
SeverityFileLineSnippetContext
LOWstudio/install_whisper_prebuilt.py906CODE
LOWstudio/install_whisper_prebuilt.py1072CODE
LOWstudio/install_whisper_prebuilt.py1349CODE
LOWstudio/install_manifest.py213CODE
LOWstudio/install_manifest.py375CODE
LOWstudio/install_manifest.py1214CODE
LOWstudio/install_manifest.py1319CODE
LOWstudio/install_manifest.py1415CODE
LOWstudio/install_manifest.py1625CODE
LOWstudio/install_llama_prebuilt.py1183CODE
LOWstudio/install_llama_prebuilt.py1286CODE
LOWstudio/install_llama_prebuilt.py1533CODE
LOWstudio/install_llama_prebuilt.py2876CODE
LOWstudio/install_llama_prebuilt.py2908CODE
LOWstudio/install_llama_prebuilt.py3603CODE
LOWstudio/install_llama_prebuilt.py3808CODE
LOWstudio/install_llama_prebuilt.py3847CODE
LOWstudio/install_llama_prebuilt.py3980CODE
LOWstudio/install_llama_prebuilt.py4204CODE
LOWstudio/install_llama_prebuilt.py4364CODE
LOWstudio/install_llama_prebuilt.py4567CODE
LOWstudio/install_llama_prebuilt.py4875CODE
LOWstudio/install_llama_prebuilt.py5034CODE
LOWstudio/install_llama_prebuilt.py5236CODE
LOWstudio/install_llama_prebuilt.py5931CODE
LOWstudio/install_llama_prebuilt.py6300CODE
LOWstudio/install_llama_prebuilt.py6557CODE
LOWstudio/install_llama_prebuilt.py6842CODE
LOWstudio/install_llama_prebuilt.py7115CODE
LOWstudio/install_llama_prebuilt.py7262CODE
LOWstudio/install_llama_prebuilt.py7624CODE
LOWstudio/install_llama_prebuilt.py8393CODE
LOWstudio/install_llama_prebuilt.py8429CODE
LOWstudio/install_llama_prebuilt.py8505CODE
LOWstudio/install_llama_prebuilt.py9913CODE
LOWstudio/install_llama_prebuilt.py10421CODE
LOWstudio/install_llama_prebuilt.py10481CODE
LOWstudio/install_llama_prebuilt.py11066CODE
LOWstudio/install_llama_prebuilt.py11199CODE
LOWstudio/install_llama_prebuilt.py11825CODE
LOWstudio/install_llama_prebuilt.py7282CODE
LOWstudio/install_sd_cpp_prebuilt.py538CODE
LOWstudio/install_sd_cpp_prebuilt.py713CODE
LOWstudio/install_audio_cpp_prebuilt.py535CODE
LOWstudio/install_node_prebuilt.py310CODE
LOWstudio/install_node_prebuilt.py582CODE
LOWstudio/install_node_prebuilt.py717CODE
LOWstudio/install_node_prebuilt.py1046CODE
LOWstudio/install_node_prebuilt.py1135CODE
LOWstudio/install_mxc_prebuilt.py104CODE
LOWstudio/prebuilt_core.py538CODE
LOWstudio/prebuilt_core.py754CODE
LOWstudio/prebuilt_core.py796CODE
LOWstudio/prebuilt_core.py841CODE
LOWstudio/prebuilt_core.py1383CODE
LOWstudio/prebuilt_core.py1628CODE
LOWstudio/prebuilt_core.py2932CODE
LOWstudio/install_python_stack.py397CODE
LOWstudio/install_python_stack.py1757CODE
LOWstudio/install_python_stack.py2005CODE
2187 more matches not shown…
Over-Commented Block1447 hits · 1210 pts
SeverityFileLineSnippetContext
LOWinstall.sh901 *) _uv_recorded="" ;;COMMENT
LOWinstall.sh1061 UV_CACHE_DIR="$_uv_launch_cache"COMMENT
LOWinstall.sh2421 #COMMENT
LOWinstall.sh2441 # an unsigned one, so the shortcut would silently stop being created for exactly theCOMMENT
LOWinstall.sh2641 _css_ps1_win=$(wslpath -w "$_css_ps1_tmp" 2>/dev/null)COMMENT
LOWinstall.sh3001 NF { gsub(/^[[:space:]]+|[[:space:]]+$/,""); if (index($0, want) == 1) { hits++; idx = NR-1 } }COMMENT
LOWinstall.sh3061 *) _nv_idx="$_nv_tok" ;;COMMENT
LOWinstall.sh4521# Whether this run was TOLD to install ROCm torch, whatever else the host has: the automaticCOMMENT
LOWinstall.sh4721}COMMENT
LOWinstall.sh4901}COMMENT
LOWinstall.sh5001# utils/hardware/amd.py::_amd_nodes_the_runtime_lacks question for question; the two halvesCOMMENT
LOWinstall.sh5061# A value as a single shell word, for a command the user is going to paste. NSS names areCOMMENT
LOWinstall.sh5081# mode:PATH the mode denies the group too (a udev rule leaving one root:render 0600),COMMENT
LOWinstall.sh5101 # on would all be read out of the name. Everything before it comes from the kernelCOMMENT
LOWinstall.sh5121 if (gname !~ /^[A-Za-z_][A-Za-z0-9_.-]*[$]?$/) { gname = "" }COMMENT
LOWinstall.sh5141 # branched on. Unreachable while stat answers, and the direction that cannotCOMMENT
LOWinstall.sh5521 echo " [WARN] $_hsp_inferred reported with HSA_OVERRIDE_GFX_VERSION unset -- spoof confirmed." >&2COMMENT
LOWinstall.sh6661# Read before the branches below and reported after them: a closed node is invisibleCOMMENT
LOWinstall.sh7161 # rocm6.4 (2.8.0-2.9.1) same setCOMMENT
LOWinstall.sh7521esacCOMMENT
LOWinstall.sh7621}COMMENT
LOWinstall.sh7661fiCOMMENT
LOWinstall.sh8761 # the conda arm appends. All three flags are load-bearing:COMMENT
LOWinstall.sh8901 && [ "$_STUDIO_HOME_REDIRECT" != "env" ]; thenCOMMENT
LOWpyproject.toml121# into dist/ during `npm run build`. Pure duplication.COMMENT
LOWpyproject.toml201 # torch supported here, 2.6.0, requires `triton==3.2.0`, so any floor aboveCOMMENT
LOWpyproject.toml221 # and the compiled path is covered for the first time rather than resting on the eagerCOMMENT
LOWpyproject.toml241 "datasets>=3.4.1,!=4.0.*,!=4.1.0,!=4.4.*,!=4.5.0,<5.0.0",COMMENT
LOWpyproject.toml261 "transformers>=4.52.4,!=4.53.0,!=4.54.0,!=4.55.0,!=4.55.1,!=4.57.0,!=4.57.4,!=4.57.5,!=5.0.0,!=5.1.0,<=5.17.0",COMMENT
LOWpyproject.toml301 "torchvision",COMMENT
LOWpyproject.toml321# resolves to all do:COMMENT
LOWpyproject.toml1801# gets the whole walk, and a handful of files in it download and merge realCOMMENT
LOWbuild.sh1#!/usr/bin/env bashCOMMENT
LOWbuild.sh121# a packaging change that only shows up in the source tree. It is not uploaded.COMMENT
LOWstudio/setup.sh1121 fiCOMMENT
LOWstudio/setup.sh1241 *) _setup_nv_idx="$_setup_nv_tok" ;;COMMENT
LOWstudio/setup.sh1601COMMENT
LOWstudio/setup.sh1701 unset _uvk_lowerCOMMENT
LOWstudio/setup.sh1741 return 1COMMENT
LOWstudio/setup.sh2381COMMENT
LOWstudio/setup.sh2621COMMENT
LOWstudio/setup.sh2801 # Stage both, then publish both, as install.sh does: the renames sit next to eachCOMMENT
LOWstudio/setup.sh2961 _unsloth_conda_env_active || return 0COMMENT
LOWstudio/setup.sh3001 fiCOMMENT
LOWstudio/setup.sh3241fiCOMMENT
LOWstudio/setup.sh4421 UNSLOTH_HOME="$STUDIO_HOME"COMMENT
LOWstudio/setup.sh4941 _PREBUILT_CMD+=(--published-release-tag "$UNSLOTH_LLAMA_RELEASE_TAG")COMMENT
LOWstudio/setup.sh5501 # Detect AMD GPU architecture (gfx target)COMMENT
LOWstudio/setup.sh5941 printf " ${C_DIM}%-15s${C_OK}%s${C_RST}\n" "launch" "unsloth studio -p 8888"COMMENT
LOWstudio/install_manifest.py41# another's remove and its mutations and recreate a completion marker over a half-built venv.COMMENT
LOWstudio/__init__.py1# SPDX-License-Identifier: AGPL-3.0-onlyCOMMENT
LOWstudio/install_llama_prebuilt.py3181 # no HIP mask (it selects via GGML_VK_VISIBLE_DEVICES), so auto-routing would handCOMMENT
LOWstudio/install_llama_prebuilt.py3301 # setup.ps1 and _pick_rocm_gfx_target() both apply the shadowing-iGPU preferenceCOMMENT
LOWstudio/install_llama_prebuilt.py3981 upstream_assets = github_release_assets(UPSTREAM_REPO, llama_tag)COMMENT
LOWstudio/install_llama_prebuilt.py5001# The tail unique_install_side_path appends after "<name>.<label>-":COMMENT
LOWstudio/install_llama_prebuilt.py5161 # symlinks = True, like the aside-move and rollback-restore copies below. TheCOMMENT
LOWstudio/install_llama_prebuilt.py5301 restore_attempted = TrueCOMMENT
LOWstudio/install_llama_prebuilt.py5821 # CUDA 13 Windows wheel layout (the unsuffixedCOMMENT
LOWstudio/install_llama_prebuilt.py8121 # tree reported healthy while llama-server died in dyld. The names areCOMMENT
LOWstudio/install_llama_prebuilt.py8301 # Versionless. Whether that is the loadable name depends on the family aroundCOMMENT
1387 more matches not shown…
AI Slop Vocabulary269 hits · 789 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh1529 # Optional callers never elevate, in any mode: nothing on the consumer path builds anything, so neither the terminalCOMMENT
MEDIUMinstall.sh3211 # Tauri child exit 2 ([TAURI:NEED_SUDO]) asks the desktop app to elevate.COMMENT
MEDIUMinstall.sh4538# The veto is inside this function rather than in a wrapper, because every tests/sh harnessCOMMENT
MEDIUMinstall.sh4888# the paths are absolute, so a harness cannot otherwise reach this rule at all.COMMENT
MEDIUMstudio/frontend/package-lock.json14153 "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.tsx630 // Absolutely-positioned extras over the row, e.g. a disclosure chevron.COMMENT
MEDIUM…d/src/components/assistant-ui/progressive-messages.tsx53 * DOM readers (screenshot capture, the #9016 harness census) not necessarily in the React tree, and a thread canCOMMENT
MEDIUMstudio/frontend/src/lib/use-diffusion-pick-toast.tsx15// Match the load toast's styling for a seamless handoff.COMMENT
MEDIUMstudio/backend/core/external_import/claude.py47 # Slash-command echoes are the harness talking; captured command output is cut, it can follow a prompt.COMMENT
MEDIUMstudio/backend/core/training/trainer.py3893 # _online_prewarm_batches records how the run was configured and the A/B harness reads it back; a second callCOMMENT
MEDIUMstudio/backend/core/inference/diffusion_families.py714 # deterministic, so same-seed LPIPS mixes trajectory divergence with harness noise)COMMENT
MEDIUMstudio/backend/core/inference/diffusion_precision.py458 # in fp8, and it is robust across encoder sizes, so only the vision tower / lm_head / T5 wo are excluded.COMMENT
MEDIUMstudio/backend/core/inference/diffusion_speed.py1747# Families the overflow harness found to produce non-finite activations under fp16 accumulation. Empty by measurement:COMMENT
MEDIUMstudio/backend/core/inference/video_wan_fused.py38# fused block calls since install (engagement evidence for tests and the A/B harness)COMMENT
MEDIUM…udio/backend/tests/test_export_multi_gpu_device_map.py24# 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
MEDIUMstudio/backend/tests/test_unmeasured_context_ceiling.py35# The no-GPU probe in this harness IS the Metal condition.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
MEDIUM⚡studio/backend/tests/test_diffusion_speed.py470 # 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.py582 # This harness is about the paravirtual gate, so vision is on; the toggle'sCOMMENT
MEDIUM⚡…dio/backend/tests/test_metal_explicit_context_guard.py761 # harness: ~3850 to ~4050 MiB (3300 leaves room for 768 tokens, 4100 tips over).COMMENT
MEDIUM…dio/backend/tests/test_metal_explicit_context_guard.py189 # 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_sd_cpp_cudnn.py19# Sibling imports (the H3 load harness) need the tests dir on the path: pytest inserts rootdir, not this package.COMMENT
MEDIUM…o/backend/tests/test_keyless_api_access_adversarial.py414 # What a harness that always sends the header emits with no key: the missing header.COMMENT
MEDIUM⚡studio/backend/tests/test_rag_nudge_roster_compat.py646 # 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.py906 # finish. ``release`` is only the harness's escape hatch if it never does.COMMENT
MEDIUMstudio/backend/tests/test_external_tool_stream_abuse.py916 # Tasks already running belong to this harness, not the tool loop, so the census is takenCOMMENT
MEDIUMstudio/backend/tests/test_external_tool_stream_abuse.py942 # 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.py2809 # harness builds a fresh backend per drive, so without this the assertCOMMENT
MEDIUM⚡studio/backend/tests/test_mtp_vram_budget.py607 # robust to that and to any formatter line-wrapping.COMMENT
MEDIUM⚡…udio/backend/tests/test_rocm_torch_explicit_request.py1071 # single-quoted string arrives as a literal backslash-t, so a harness that inlined theCOMMENT
MEDIUM…udio/backend/tests/test_rocm_torch_explicit_request.py187# would depend on the machine running the suite. Each harness names its own inventory.COMMENT
MEDIUM…udio/backend/tests/test_rocm_torch_explicit_request.py268# harness produced and read as "the flag did nothing".COMMENT
MEDIUMstudio/backend/tests/test_provider_registry_filters.py132 # Computer-use is an agentic harness, not a chat id.COMMENT
MEDIUM…/tests/test_length_truncated_reasoning_continuation.py773 # A tokenizer this harness can actually run: llama-server is not here to render aCOMMENT
MEDIUM⚡studio/backend/tests/test_mmproj_placement_policy.py1747 # The harness resolver re-supplies the drafter whatever the load decided.COMMENT
MEDIUMstudio/backend/tests/test_resolved_flash_attn_plan.py116 # The harness turns KV estimation off; seed a real shape (Qwen3-0.6B) for arithmetic.COMMENT
MEDIUMstudio/backend/tests/test_export_converter_pin.py27# Reuse the absolute-paths stub harness: loads core/export/export.py without torch/unsloth.COMMENT
MEDIUMstudio/backend/tests/test_research_runs_hardening.py1408 """Serve ``responses`` in order to the completion path and record the sends. An entry thatSTRING
MEDIUMstudio/backend/tests/test_setup_llama_cpp_backend.py353 # 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
MEDIUM⚡…udio/backend/tests/test_amd_device_node_permissions.py4429# The helpers every tests/sh ROCm harness lifts alongside _has_amd_rocm_gpu. Adding a nameCOMMENT
MEDIUM⚡…udio/backend/tests/test_amd_device_node_permissions.py4431# invariant checks: each name must appear in every harness that lifts the probe.COMMENT
MEDIUM⚡…udio/backend/tests/test_amd_device_node_permissions.py4438 # non-zero, which reads as "not requested" -- the default answer, so a harness wouldCOMMENT
MEDIUM…udio/backend/tests/test_amd_device_node_permissions.py768 # The route gate, true by default: this harness asks about the closed-nodeCOMMENT
MEDIUM…udio/backend/tests/test_amd_device_node_permissions.py1140 # so a harness that omits either measures a missing function rather than a rule.COMMENT
MEDIUM…udio/backend/tests/test_amd_device_node_permissions.py3683 # _install_sh_hint gives: a harness that omits one measures a missing functionCOMMENT
MEDIUM…udio/backend/tests/test_amd_device_node_permissions.py4485 # A harness that only stubs the probe (bad_arch_gate does this for some cases) stillCOMMENT
MEDIUMstudio/backend/tests/test_local_llama_cpp_link.py213 # 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
MEDIUM⚡studio/backend/tests/test_diffusion_backend.py4499 # 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
MEDIUM⚡studio/backend/assets/docs_ui/redoc.standalone.js2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("null")):"function"==typeof deCODE
209 more matches not shown…
Modern AI Meta-Vocabulary131 hits · 420 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml189 # than pinned: the RAG store already treats a missing sqlite_vec as "RAG unavailable".COMMENT
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
MEDIUM…end/src/components/assistant-ui/tool-ui-web-search.tsx108 // gpt-5.x agentic search: `open_page` carries a url, `find_in_page` a url and a pattern. OlderCOMMENT
MEDIUMstudio/backend/main.py1213 # In Colab the kernel scaffolding injects scripts and fetch/WS from *.prod.colab.dev andCOMMENT
MEDIUMstudio/backend/main.py1432# RAG document uploads (knowledge base, thread, project): multipart, capped by RAG_MAX_UPLOAD_BYTES in the route andCOMMENT
MEDIUMstudio/backend/main.py1564 # Uploads whose path carries an id (RAG documents), matched by a compiled pattern.COMMENT
MEDIUMstudio/backend/core/youtube_transcript.py44# Roughly 25k tokens: a three hour video's captions would swallow the model's context window on their own.COMMENT
MEDIUMstudio/backend/core/research_runs.py124# Below this loaded context the prompt scaffolding alone fills the window, so grounding is skipped.COMMENT
MEDIUMstudio/backend/core/research_runs.py2875 # tool_failed as well as step_failed: a tool error RAG rescued still records why.COMMENT
MEDIUMstudio/backend/core/research_runs.py2922 # fixed scaffold leaves.COMMENT
MEDIUMstudio/backend/core/rag/conversation_archive.py38# Tool call ids this feature and the RAG auto-inject generate. Their results are retrieved passages, so archiving themCOMMENT
MEDIUMstudio/backend/core/rag/embeddings.py336 # An adapter-backed embedding model reports through the PEFT integration's own logger, not aCOMMENT
MEDIUMstudio/backend/core/rag/folder_sync.py700 # timestamp, and retiring it disables RAG for a project recreated with the same id, for good.COMMENT
MEDIUMstudio/backend/core/inference/api_monitor.py42# Far above any real context window; larger means a broken upstream payload.COMMENT
MEDIUMstudio/backend/core/inference/chat_template_helpers.py1184 # The agentic loop re-sanitizes the catalog on every iteration, because a one-shot tool can retire between turns,COMMENT
MEDIUMstudio/backend/core/inference/mcp_images.py730 # This is opt-in: local loops use a context window instead of a provider cap.COMMENT
MEDIUMstudio/backend/core/inference/mcp_images.py1236 # what THIS cap protects, and llama-server is bounded by its context windowCOMMENT
MEDIUMstudio/backend/core/inference/tool_call_parser.py392# Magistral wraps reasoning in ``[THINK]...[/THINK]``; a ``[TOOL_CALLS]`` inside that block is chain-of-thought, not aCOMMENT
MEDIUMstudio/backend/core/inference/stream_errors.py46# Worded around the chat client's own substring test. `chat-adapter.ts::isContextLimitError` matches "context window"COMMENT
MEDIUMstudio/backend/core/inference/stream_errors.py47# (among others) and shows "Context limit reached: the conversation has filled the model's context window... or start aCOMMENT
MEDIUMstudio/backend/core/inference/external_provider.py5806 # chain of thought across every local tool hop and misses the prompt cache on the turn after.COMMENT
MEDIUMstudio/backend/core/inference/external_provider.py7547 # vLLM and SGLang LoRA adapters use their base model's context window.COMMENT
MEDIUMstudio/backend/core/inference/diffusion_ideogram4.py307 # build at the target dtype: this ~8B scaffold loads FIRST, so the fp32 default can OOM a 64 GB hostCOMMENT
MEDIUM…/backend/core/inference/provider_model_capabilities.py117 # Total context window. The frontend merges this payload over its bundled snapshot per model,COMMENT
MEDIUMstudio/backend/core/inference/repetition_guard.py37# Ceiling on distinct windows held while scanning. Every fragment a context window can actually produce stays wellCOMMENT
MEDIUMstudio/backend/core/inference/safetensors_agentic.py733 # Forced first-pass RAG (mirrors the GGUF loop) so doc Qs don't lose toCOMMENT
MEDIUMstudio/backend/core/inference/safetensors_agentic.py783 # RAG: cap knowledge-base searches per assistant turn (controller-agnostic).COMMENT
MEDIUMstudio/backend/core/inference/safetensors_agentic.py1633 # RAG: cap paraphrased KB re-searches that slip past the dup guard.COMMENT
MEDIUM⚡studio/backend/core/inference/local_model_resolver.py916 # Skip what Unsloth hides from its pickers (validation probe, RAG embed weights): not chat models, so never anCOMMENT
MEDIUMstudio/backend/tests/test_openai_auto_switch.py1721 # The llama.cpp validation probe and RAG embedding weights are hidden fromCOMMENT
MEDIUMstudio/backend/tests/test_openai_auto_switch.py5680# from these exact messages, and the tool loop opens it by splicing in what RAG retrieves.COMMENT
MEDIUMstudio/backend/tests/conftest.py85# Avoid a cold torch subprocess in unrelated RAG tests. The probe tests re-enable it.COMMENT
MEDIUMstudio/backend/tests/conftest.py1010# ── RAG fixtures ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡…o/backend/tests/test_external_hosted_tool_selection.py210 # The route drops the RAG tool without a scope, and no scope means noCOMMENT
MEDIUM⚡…o/backend/tests/test_external_hosted_tool_selection.py211 # loop at all, so the automatic-RAG turn has to carry one to be the caseCOMMENT
MEDIUM⚡studio/backend/tests/test_safetensors_tool_loop.py4643 # the agentic loop is gated off and the real call is dropped.COMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py697 # strip must drop it so the raw chain-of-thought does not leak into theCOMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py782 # chain-of-thought (llama.cpp test-chat.cpp:2285).COMMENT
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py1029 # agentic loop can collapse a looping model's repeated calls.COMMENT
MEDIUM⚡studio/backend/tests/test_rag_unavailable_quiet.py104 # "Is RAG switched off here" is not the question a locked database answers.COMMENT
MEDIUM⚡studio/backend/tests/test_rag_unavailable_quiet.py262 # RAG off until restart, and it must not leave the listings and the mutationsCOMMENT
MEDIUM⚡studio/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.py12https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusalsSTRING
MEDIUMstudio/backend/tests/test_lan_access_settings.py1179# ── settings orchestration ──COMMENT
MEDIUM⚡studio/backend/tests/test_openai_tool_passthrough.py504 # Empty tool output (mkdir, git add, ...) is routine in agentic loops;COMMENT
MEDIUMstudio/backend/tests/test_api_monitor.py1337 # A direct llama call (RAG caption/OCR) opens no row, logging may be off, and anotherCOMMENT
MEDIUM⚡…dio/backend/tests/test_openai_tool_result_fallbacks.py375# ── agentic search action variants ─────────────────────────────────────COMMENT
MEDIUMstudio/backend/tests/test_bypass_permissions.py265# ── agentic loop forwards disable_sandbox, never gates under bypass ──COMMENT
MEDIUMstudio/backend/tests/test_stt_sidecar.py125 # 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_provider_registry_filters.py132 # Computer-use is an agentic harness, not a chat id.COMMENT
MEDIUMstudio/backend/tests/test_model_picker_regression.py67 "unsloth/bge-small-en-v1.5", # the RAG embedder repoCODE
MEDIUMstudio/backend/tests/test_mcp_images.py1469 # context window rather than to a provider's per-request image count.COMMENT
MEDIUM⚡studio/backend/tests/test_ui_stream_events_gate.py312 # build_synthetic_search_exchange brackets a RAG autoinjection with {"type": "status"}COMMENT
MEDIUMstudio/backend/tests/test_permission_mode.py3175 # only select always-safe tools (web_search / RAG) needs no stream and must notCOMMENT
MEDIUMstudio/backend/tests/test_parallel_slots_per_load.py384 # --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
71 more matches not shown…
Cross-File Repetition78 hits · 390 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/core/inference/stt_sidecar.py0open ``source`` for reading with undecodable metadata ignored. pyav 19 removed ``metadata_errors`` from ``av.open``, so STRING
HIGHstudio/backend/utils/datasets/audio_decode.py0open ``source`` for reading with undecodable metadata ignored. pyav 19 removed ``metadata_errors`` from ``av.open``, so STRING
HIGHunsloth/import_fixes.py0open ``source`` for reading with undecodable metadata ignored. pyav 19 removed ``metadata_errors`` from ``av.open``, so STRING
HIGHstudio/backend/tests/test_install_resolve_prebuilt.py0stand-in for the digest github publishes; a fixture without one selects nothing.STRING
HIGHtests/studio/install/test_selection_logic.py0stand-in for the digest github publishes; a fixture without one selects nothing.STRING
HIGH…tudio/install/test_llama_kind_gate_matches_selector.py0stand-in for the digest github publishes; a fixture without one selects nothing.STRING
HIGHtests/studio/install/test_macos_version_compat.py0stand-in for the digest github publishes; a fixture without one selects nothing.STRING
HIGHstudio/backend/tests/test_conversation_archive.py0an assistant turn whose only content is one function tool call.STRING
HIGHstudio/backend/tests/test_gemini_provider.py0an assistant turn whose only content is one function tool call.STRING
HIGH…o/backend/tests/test_control_markup_neutralize_7066.py0an assistant turn whose only content is one function tool call.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
HIGHstudio/backend/tests/test_mcp_stdio_sessions.py0wait out an asynchronous close. a discarded session is closed by the cleanup worker rather than on the request thread, sSTRING
HIGHstudio/backend/tests/test_mcp_http_sessions.py0wait out an asynchronous close. a discarded session is closed by the cleanup worker rather than on the request thread, sSTRING
HIGHstudio/backend/tests/test_mcp_session_resources.py0wait out an asynchronous close. a discarded session is closed by the cleanup worker rather than on the request thread, sSTRING
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/tests/test_stt_sidecar.py0a server-wide default must not decide the outcome of these tests. placement here is asserted against no opinion, so a hoSTRING
HIGHstudio/backend/tests/test_audio_device_preference.py0a server-wide default must not decide the outcome of these tests. placement here is asserted against no opinion, so a hoSTRING
HIGHstudio/backend/tests/test_audio_device_guards.py0a server-wide default must not decide the outcome of these tests. placement here is asserted against no opinion, so a hoSTRING
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, so a resSTRING
HIGHstudio/backend/utils/llama_cpp_freshness.py0newest-release asset sizes for `repo`, memoized (24h ttl). none when offline and never fetched. in-memory only, so a resSTRING
HIGHstudio/backend/utils/prebuilt/freshness_flow.py0newest-release asset sizes for `repo`, memoized (24h ttl). none when offline and never fetched. in-memory only, so a resSTRING
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
18 more matches not shown…
Modern Structural Boilerplate223 hits · 210 pts
SeverityFileLineSnippetContext
LOWstudio/install_manifest.py792def set_no_torch_marker(no_torch: bool, root: Optional[Path] = None) -> None:CODE
LOW⚡studio/backend/cloudflare_tunnel.py709def set_studio_tunnel_runtime_callback(callback: Optional[Callable[[bool], None]]) -> None:CODE
LOW⚡studio/backend/cloudflare_tunnel.py742def _set_tunnel_url_locked(url: Optional[str]) -> None:CODE
LOW⚡studio/backend/cloudflare_tunnel.py752def set_studio_tunnel_url_callback(callback: Optional[Callable[[Optional[str]], None]]) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py632 def set_on_exit(self, callback: Callable[["CloudflareTunnel"], None]) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py677def _set_studio_tunnel_runtime_active(tunnel: CloudflareTunnel, active: bool) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py771def _set_failed(generation: int, owner: str, port: int, error: str) -> None:CODE
LOWstudio/backend/cloudflare_tunnel.py818def _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__.py20__all__ = [CODE
LOWstudio/backend/core/_msvc_env.py14logger = logging.getLogger(__name__)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.py23__all__ = ["CLIP_EXTS"]CODE
LOWstudio/backend/core/training/__init__.py8__all__ = [CODE
LOWstudio/backend/core/training/s3_dataset.py40logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/store.py459def set_archive_ordinal(conn: sqlite3.Connection, document_id: str, ordinal: int) -> None:CODE
LOWstudio/backend/core/rag/ingestion.py27logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/captioner.py20logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/embed_llama_server.py48logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/pdf_ocr.py13logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/__init__.py7__all__ = [CODE
LOWstudio/backend/core/rag/parsers.py23logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/conversation_archive.py32logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/embeddings.py37logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/retrieval.py15logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/job_leases.py17logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/folder_sync.py37logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/rag/folder_sync.py1284def _set_job(job_id: str, **values) -> None:CODE
LOWstudio/backend/core/rag/folder_sync.py1359def _update_mapping_metadata(folder_id: str, rel: str, metadata: dict, content_hash: str) -> None:CODE
LOWstudio/backend/core/rag/folder_sync.py1631 def update_progress() -> None:CODE
LOWstudio/backend/core/inference/diffusion_memory.py373def _set_buffer(module: Any, name: str, tensor: Any) -> None:CODE
LOWstudio/backend/core/inference/mxc_host_prep_job.py17logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/memory_contract.py36__all__ = [CODE
LOWstudio/backend/core/inference/diffusion_attention.py2160def _set_hunyuan_null_mask(module: Any, enabled: bool) -> None:CODE
LOW⚡studio/backend/core/inference/diffusion_cuda_graph.py1954def set_bypass(handles: Any, on: bool) -> None:CODE
LOWstudio/backend/core/inference/diffusion_cuda_graph.py2289def _set_reason(pipe: Any, reason: str) -> None:CODE
LOWstudio/backend/core/inference/api_monitor.py31logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/api_monitor.py364 def set_terminal_callback(self, callback: Optional[TerminalCallback]) -> None:CODE
LOWstudio/backend/core/inference/api_monitor.py501 def set_progress(self, entry_id: Optional[str], progress: Optional[float]) -> None:CODE
LOWstudio/backend/core/inference/api_monitor.py553 def set_running_phase(self, entry_id: Optional[str], phase: Optional[str]) -> None:CODE
LOWstudio/backend/core/inference/api_monitor.py775 def set_reply(self, entry_id: Optional[str], text: str) -> None:CODE
LOWstudio/backend/core/inference/api_monitor.py838 def _settle_stop_reason_locked(entry: ApiMonitorEntry, completed: bool) -> None:CODE
LOWstudio/backend/core/inference/chat_template_helpers.py19logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/llama_video_input.py21logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/skills.py37logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/llama_server_args.py22logger = logging.getLogger(__name__)CODE
LOW⚡studio/backend/core/inference/llama_keepwarm.py395def set_current_response_scope(scope) -> None:CODE
LOWstudio/backend/core/inference/llama_keepwarm.py538def _set_last_unloaded(value) -> None:CODE
LOWstudio/backend/core/inference/llama_keepwarm.py559def _set_kv_resume(value) -> None:CODE
LOWstudio/backend/core/inference/media_locality.py535__all__ = [CODE
LOWstudio/backend/core/inference/sd_cpp_server.py70logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/diffusion_preview.py30logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/sandbox_setup_job.py25logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/mxc_read_grants.py24logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/lemonade_server.py37logger = logging.getLogger(__name__)CODE
LOWstudio/backend/core/inference/__init__.py26__all__ = [CODE
LOWstudio/backend/core/inference/media_switch_locks.py106__all__ = [CODE
LOWstudio/backend/core/inference/media_model_index.py523__all__ = [CODE
LOW…io/backend/core/inference/diffusion_torchao_patches.py26logger = logging.getLogger(__name__)CODE
163 more matches not shown…
AI Structural Patterns289 hits · 189 pts
SeverityFileLineSnippetContext
LOWstudio/install_whisper_prebuilt.py2019CODE
LOWstudio/install_manifest.py645CODE
LOWstudio/install_manifest.py1415CODE
LOWstudio/backend/run.py2428CODE
LOWstudio/backend/core/library.py87CODE
LOWstudio/backend/core/research_runs.py1700CODE
LOWstudio/backend/core/training/diffusion_checkpoint.py751CODE
LOWstudio/backend/core/training/trainer.py393CODE
LOWstudio/backend/core/training/trainer.py984CODE
LOWstudio/backend/core/training/trainer.py1458CODE
LOWstudio/backend/core/training/trainer.py2796CODE
LOWstudio/backend/core/training/trainer.py3618CODE
LOWstudio/backend/core/training/trainer.py1716CODE
LOWstudio/backend/core/training/training.py768CODE
LOWstudio/backend/core/training/training.py828CODE
LOWstudio/backend/core/training/training.py865CODE
LOWstudio/backend/core/rag/store.py250CODE
LOWstudio/backend/core/rag/ingestion.py481CODE
LOWstudio/backend/core/rag/tool.py224CODE
LOWstudio/backend/core/inference/audio_cpp_backend.py463CODE
LOWstudio/backend/core/inference/diffusion_prequant.py1719CODE
LOWstudio/backend/core/inference/diffusion_memory.py4521CODE
LOWstudio/backend/core/inference/diffusion_memory.py4662CODE
LOWstudio/backend/core/inference/diffusion_memory.py4697CODE
LOWstudio/backend/core/inference/diffusion_te_prequant.py504CODE
LOWstudio/backend/core/inference/memory_contract.py83CODE
LOWstudio/backend/core/inference/diffusion.py2475CODE
LOWstudio/backend/core/inference/diffusion.py3406CODE
LOWstudio/backend/core/inference/diffusion.py4032CODE
LOWstudio/backend/core/inference/diffusion.py4461CODE
LOWstudio/backend/core/inference/diffusion.py4662CODE
LOWstudio/backend/core/inference/diffusion.py5812CODE
LOWstudio/backend/core/inference/diffusion.py8458CODE
LOWstudio/backend/core/inference/diffusion.py9340CODE
LOWstudio/backend/core/inference/diffusion.py10219CODE
LOW…/backend/core/inference/diffusion_denoiser_prequant.py78CODE
LOWstudio/backend/core/inference/checkpoint.py474CODE
LOWstudio/backend/core/inference/llama_server_args.py926CODE
LOWstudio/backend/core/inference/llama_server_args.py1389CODE
LOWstudio/backend/core/inference/mlx_inference.py4624CODE
LOWstudio/backend/core/inference/mlx_inference.py5277CODE
LOWstudio/backend/core/inference/mlx_inference.py5430CODE
LOWstudio/backend/core/inference/mlx_inference.py5743CODE
LOWstudio/backend/core/inference/mlx_inference.py6010CODE
LOWstudio/backend/core/inference/mlx_inference.py6116CODE
LOWstudio/backend/core/inference/skill_mentions.py134CODE
LOWstudio/backend/core/inference/external_provider.py1574CODE
LOWstudio/backend/core/inference/external_provider.py2477CODE
LOWstudio/backend/core/inference/external_provider.py4015CODE
LOWstudio/backend/core/inference/external_provider.py5612CODE
LOWstudio/backend/core/inference/diffusion_step_skip.py316CODE
LOWstudio/backend/core/inference/sd_cpp_backend.py2737CODE
LOWstudio/backend/core/inference/sd_cpp_backend.py2881CODE
LOWstudio/backend/core/inference/sd_cpp_backend.py3792CODE
LOWstudio/backend/core/inference/diffusion_comfy_quant.py271CODE
LOWstudio/backend/core/inference/diffusion_comfy_quant.py896CODE
LOWstudio/backend/core/inference/orchestrator.py1399CODE
LOWstudio/backend/core/inference/orchestrator.py1685CODE
LOWstudio/backend/core/inference/orchestrator.py1999CODE
LOWstudio/backend/core/inference/orchestrator.py2759CODE
229 more matches not shown…
Magic Placeholder Names13 hits · 88 pts
SeverityFileLineSnippetContext
HIGH⚡studio/frontend/tests/markdown-literal-tags.test.ts48 "Replace <your-api-key> with the key from your dashboard.",CODE
HIGH⚡studio/frontend/tests/markdown-literal-tags.test.ts56 "<your-api-key>",CODE
HIGH⚡studio/frontend/tests/markdown-literal-tags.test.ts58 " <your-api-key>",CODE
HIGH⚡studio/frontend/tests/markdown-literal-tags.test.ts65 render("Set the key:\n\n<your-api-key>\n\nThen restart."),CODE
HIGH⚡studio/frontend/tests/markdown-literal-tags.test.ts66 /<p>&lt;your-api-key&gt;<\/p>/,CODE
HIGH⚡studio/frontend/tests/markdown-literal-tags.test.ts69 ["<div>Use <your-api-key> here</div>", "Use <your-api-key> here"],CODE
HIGH⚡studio/frontend/tests/markdown-literal-tags.test.ts76 "<details>\n<summary>Setup</summary>\nReplace <your-api-key> in /home/<user>/.env\n</details>",CODE
HIGH⚡studio/frontend/tests/markdown-literal-tags.test.ts77 "Replace <your-api-key> in /home/<user>/.env",CODE
HIGH⚡studio/frontend/tests/markdown-literal-tags.test.ts82 assert.doesNotMatch(html, /<(your-api-key|code_snippet)/);CODE
HIGHstudio/frontend/tests/markdown-literal-tags.test.ts112 ["<center>Use <your-api-key> here</center>", "Use <your-api-key> here"],CODE
HIGHstudio/frontend/tests/markdown-literal-tags.test.ts231 value: "<your-api-key>\nwhere the key comes from",CODE
HIGH…o/frontend/tests/markdown-preview-literal-tags.test.ts84 "Replace <placeholder> with your key.\n\nVec<T> holds values of type T. Option<Box<T>> too.\n\n<your-api-key>",CODE
HIGH…o/frontend/tests/markdown-preview-literal-tags.test.ts92 assert.match(html, /<p>&lt;your-api-key&gt;<\/p>/, name);CODE
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALstudio/frontend/tests/settings-search.test.ts66 en.settings.resources.modelMemory.modelMemoryKeywords.includes(term),CODE
CRITICALstudio/frontend/tests/cache-rows-model-folder.test.ts61 en.settings.resources.storage.caches.safety.includes("Downloaded models"),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.py1272 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
Dead Code20 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMstudio/backend/tests/test_cached_gguf_routes.py2297CODE
MEDIUM…dio/backend/tests/test_truststore_concurrent_policy.py192CODE
MEDIUMstudio/backend/tests/test_openai_codex_subscription.py2983CODE
MEDIUMstudio/backend/tests/test_credential_routes.py504CODE
MEDIUMstudio/backend/tests/test_active_generations.py2029CODE
MEDIUMstudio/backend/tests/test_stream_errors.py187CODE
MEDIUMstudio/backend/tests/test_mlx_inference_backend.py150CODE
MEDIUMstudio/backend/tests/test_mlx_inference_backend.py178CODE
MEDIUMstudio/backend/tests/test_mlx_inference_backend.py197CODE
MEDIUMstudio/backend/tests/test_mlx_inference_backend.py216CODE
MEDIUMstudio/backend/tests/test_mlx_inference_backend.py237CODE
MEDIUMstudio/backend/tests/test_mlx_inference_backend.py262CODE
MEDIUMstudio/backend/tests/test_mlx_inference_backend.py289CODE
MEDIUM…/studio/install/test_install_whisper_prebuilt_logic.py380CODE
MEDIUMtests/studio/install/test_prebuilt_core.py1085CODE
MEDIUMunsloth/kernels/fast_lora.py677CODE
MEDIUMunsloth/kernels/fast_lora.py678CODE
MEDIUMunsloth/kernels/fast_lora.py680CODE
MEDIUMunsloth/kernels/fast_lora.py742CODE
MEDIUMunsloth/kernels/moe/autotune_cache.py358CODE
Self-Referential Comments10 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMstudio/backend/core/training/training.py1990 # Create the DB run row before the pump consumes events, so it appears in history during modelCOMMENT
MEDIUMstudio/backend/core/training/training.py2302 # Create the row if a start-time create failed; skipped while the pump is mid-create, whose create-COMMENT
MEDIUMstudio/backend/tests/test_permission_mode.py4370 # Creating an archive writes it; only extracting reads it.COMMENT
MEDIUMstudio/backend/tests/test_studio_auth_guard.py1730 # Defining a function does not run it, so `helper() { cd ../..; }; cat auth/config.json` readsCOMMENT
MEDIUMstudio/backend/utils/hardware/amd.py1793 # Creating the group only gives the numeric owner a name; the account isCOMMENT
MEDIUMtests/security/test_lint_workflow_triggers.py221 # Defining a function is not calling it.COMMENT
MEDIUMtests/sh/test_setup_desktop_backend_version_fastpath.sh144# Create a mock venv that runs Python without site-packages, exercising setup's fallback parser.COMMENT
MEDIUMtests/sh/test_mac_intel_compat.sh144# Create a mock uname that returns DarwinCOMMENT
MEDIUMtests/sh/test_mac_intel_compat.sh259# Create a mock uv that logs all calls instead of running themCOMMENT
MEDIUMunsloth/kernels/moe/grouped_gemm/kernels/backward.py115 # Define the descriptor inside the loop to predicate the store along M.COMMENT
Fake / Example Data24 hits · 25 pts
SeverityFileLineSnippetContext
LOW…dio/frontend/tests/profile-login-name-spelling.test.ts82 const placeholders = jsxAttributeTexts(file, "placeholder");CODE
LOWstudio/frontend/public/reload-snapshot.js404 var sensitiveAttributes = ["title", "aria-label", "alt", "placeholder"];CODE
LOW…d/src/features/settings/stores/voice-settings-store.ts535 * matching case-insensitively on word boundaries ("jane doe" -> "Jane Doe").COMMENT
LOWstudio/frontend/src/i18n/locales/en.ts1489 entryPlaceholder: "Jane Doe",CODE
LOWstudio/frontend/src/i18n/locales/sv.ts1579 entryPlaceholder: "Jane Doe",CODE
LOWstudio/backend/tests/test_cached_gguf_routes.py2513 gguf.write_bytes(b"placeholder")CODE
LOW⚡studio/backend/tests/test_rag_parsing.py487 f"<w:p>{_r('Client: ')}<w:sdt><w:sdtPr/><w:sdtContent>{_r('Acme Corp')}</w:sdtContent></w:sdt></w:p>",CODE
LOWstudio/backend/tests/test_safetensors_tool_loop.py1465 assert args == {"name": "John Doe", "age": 30, "active": True, "score": 95.5}CODE
LOWstudio/backend/tests/test_diffusion_training.py2108 assert "placeholder" in msgCODE
LOWstudio/backend/tests/test_openai_tool_passthrough.py2477 {"role": "user", "content": [{"type": "text", "text": "placeholder"}]},CODE
LOW⚡studio/backend/tests/test_openai_auto_download.py1208 assert "placeholder" in detailCODE
LOW⚡studio/backend/tests/test_web_fetch_extraction.py3008 assert "Jane Doe" in outCODE
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
LOW⚡studio/backend/routes/browser.py836 return value || node.getAttribute("placeholder") || node.getAttribute("aria-label") || "";CODE
LOWstudio/backend/hub/services/datasets/local_options.py274 "dummy_data.zip",CODE
LOW⚡tests/test_torchao_torch_symbol_skew.py84 assert "placeholder" in repr(ph)CODE
LOW⚡tests/test_torchao_aten_grouped_mm.py154 with pytest.raises(RuntimeError, match = "placeholder"):CODE
LOW⚡tests/test_installer_system32_guard.py529@pytest.mark.parametrize("profile_name", ["me", "Jane Doe", "O'Brien"])CODE
LOWtests/test_installer_system32_guard.py503 "Jane Doe", # space: `cd C:\Users\Jane Doe` binds 'Doe' as a second argumentCODE
LOWtests/studio/playwright_code_block_flicker.py326 f"{'engine':10} {'variant':12} {'collapses':>10} {'placeholder':>12} {'dips':>6} "CODE
LOW⚡tests/python/test_virustotal_scan.py79 "fake-key",CODE
LOW⚡tests/python/test_virustotal_scan.py214 assert headers["x-apikey"] == "fake-key"CODE
LOW⚡tests/python/test_virustotal_scan.py215 assert "fake-key" not in urlCODE
Example Usage Blocks15 hits · 22 pts
SeverityFileLineSnippetContext
LOWdocker/unsloth_nb_view.py10# Usage:COMMENT
LOWdocker/test_locally-rocm.sh11# Usage:COMMENT
LOWdocker/build.sh5# Usage:COMMENT
LOWscripts/build_whisper_cpp.sh8# Usage:COMMENT
LOWscripts/install_gemma4_mlx.sh11# Usage:COMMENT
LOWscripts/install_qwen3_6_mlx.sh10# Usage:COMMENT
LOW.github/scripts/assert-prompt-cache.sh32# Usage:COMMENT
LOW.github/scripts/agent-guides-drive.sh16# Usage:COMMENT
LOW.github/scripts/serve-unsloth-run.sh9# Usage:COMMENT
LOW.github/scripts/parity-install-side.sh6# Usage:COMMENT
LOW.github/scripts/clean-machine-env.sh19# Usage:COMMENT
LOW.github/scripts/boot-studio-api-only.sh6# Usage:COMMENT
LOW.github/scripts/wait-for-health.sh6# Usage:COMMENT
LOW.github/scripts/parity-find-unsloth.sh5# Usage:COMMENT
LOW.github/scripts/retry-with-apt-lock.sh53# Usage:COMMENT
Slop Phrases9 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMstudio/frontend/tests/streaming-render-schedule.test.ts889 const line = "I cannot provide that information.\n\n";CODE
MEDIUM…icker/components/model-selector/model-catalog.check.ts611// to the QLoRA estimator, which reads a pipeline as a language model (5B says 5.9 GB where Wan 2.2COMMENT
MEDIUM…res/model-picker/components/model-selector/pickers.tsx2643// a model and chat loads it as a language model.COMMENT
MEDIUM⚡studio/backend/tests/test_safetensors_tool_loop.py3748 "The summary is ready, please let me know if you need anything else",CODE
MEDIUM⚡studio/backend/tests/test_safetensors_tool_loop.py3749 "The summary is ready. Please let me know if you need anything else!",CODE
MEDIUM⚡studio/backend/tests/test_safetensors_tool_loop.py4630 "</function>\n\nLet me know if you need anything else.",CODE
MEDIUMstudio/backend/tests/test_safetensors_tool_loop.py3633 "Let me know if you need anything else.",CODE
LOWunsloth/kernels/cross_entropy_loss.py372 losses.masked_fill_(labels == -100, 0) # Don't forget to mask padding out!CODE
LOWunsloth/kernels/fast_lora.py85 Don't forget to see our blog post for more details!STRING
Cross-Language Confusion (JS/TS)3 hits · 18 pts
SeverityFileLineSnippetContext
HIGH…nd/src/features/settings/components/usage-examples.tsx292 print(chunk.choices[0].delta.content or "", end="")`CODE
HIGH…nd/src/features/settings/components/usage-examples.tsx294 print(chunk.choices[0].delta.content or "", end="")`;CODE
HIGH…rontend/src/features/chat/lib/resident-config-match.ts148 * `LlamaCppBackend._runtime_matches_intent` that return False to force a repair. The rest areCOMMENT
Overly Generic Function Names16 hits · 18 pts
SeverityFileLineSnippetContext
LOW…io/backend/tests/test_gguf_xet_fallback_integration.py144 def helper(CODE
LOWstudio/backend/tests/test_export_offline_window.py29 def handle_request(self, request):CODE
LOW⚡studio/backend/tests/test_studio_auth_guard.py1624 "def helper():\n"CODE
LOW⚡studio/backend/tests/test_studio_auth_guard.py1633 'import os\ndef helper():\n os.chdir("../..")\nhelper()\n'CODE
LOWtests/test_dataclass_default_backfill.py65 def helper(self):CODE
LOWtests/test_nvidia_smi_torch_mismatch_hint.py25def helper():CODE
LOW⚡tests/kaggle/test_t4_payload_assertions.py158 failures = canary_failures({"run_index": 1, "generated": "def my_function():"}, require = True)CODE
LOWtests/kaggle/t4_smoke/run_t4_smoke.py1879 # '#1\ndef my_function():...'.COMMENT
LOWtests/python/test_grpo_update_sampling_params.py75def helper():CODE
LOWtests/python/test_posix_only_marks_import_on_windows.py355 # are evaluated at the `def`, so `def helper(uid: os.geteuid()): ...` breaksCOMMENT
LOW⚡tests/python/test_posix_only_marks_import_on_windows.py565 tree = ast.parse("import os\ndef helper(uid = os.geteuid()):\n return uid\n")CODE
LOW⚡tests/python/test_posix_only_marks_import_on_windows.py621 body = "import os\ndef helper(uid: os.geteuid() = 1) -> os.geteuid():\n return uid\n"CODE
LOW⚡tests/python/test_posix_only_marks_import_on_windows.py626 annotation_only = "import os\ndef helper(uid: os.geteuid()):\n return uid\n"CODE
LOW…sts/security/test_security_suite_stays_import_light.py720 "def helper():\n"CODE
LOWtests/security/test_scan_packages.py2709 "def helper():\n"CODE
LOWscripts/lint_duplicate_definitions.py453 "import types as t\n\n\ndef helper():\n import typing as t\n return t\n\n\n"CODE
Verbosity Indicators5 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡install.sh1512 # Step 1: Try installing without sudo (works when already root)COMMENT
LOW⚡install.sh1516 # Step 2: Check which packages are still missingCOMMENT
LOWinstall.sh1540 # Step 3: Escalate -- need elevated permissions for remaining packagesCOMMENT
LOW.github/workflows/docker-credential-probe.yml51 # Step 1: does the token authenticate at all?COMMENT
LOW.github/workflows/docker-credential-probe.yml62 # Step 2: authentication is not authorisation. Only a real push proves writeCOMMENT
Structural Annotation Overuse5 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡install.sh1512 # Step 1: Try installing without sudo (works when already root)COMMENT
LOW⚡install.sh1516 # Step 2: Check which packages are still missingCOMMENT
LOWinstall.sh1540 # Step 3: Escalate -- need elevated permissions for remaining packagesCOMMENT
LOW.github/workflows/docker-credential-probe.yml51 # Step 1: does the token authenticate at all?COMMENT
LOW.github/workflows/docker-credential-probe.yml62 # Step 2: authentication is not authorisation. Only a real push proves writeCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHstudio/backend/tests/test_mlx_inference_backend.py6350 # Nothing that runs to ask: priced as requested, as the load would try it.COMMENT
Redundant / Tautological Comments5 hits · 7 pts
SeverityFileLineSnippetContext
LOWunsloth/chat_templates.py2820 # Check if system part is the same!COMMENT
LOWunsloth/kernels/moe/grouped_gemm/kernels/forward.py105 # Check if L2 cache reuse for this order is optimalCOMMENT
LOWunsloth/models/loader_utils.py3485 # Check if torchao has pytorch/ao#3158, released in 0.15.0.COMMENT
LOWunsloth/models/llama.py2838 # Check if RoPE Scaling is even allowedCOMMENT
LOWunsloth/models/loader.py2327 # Set norms to float32 since they get upcasted anyway (gemma-3, gemma-3n); Granite-4 rms norms are stored asCOMMENT