Repository Analysis

Hmbown/DeepSeek-TUI

Open-source, community-driven agent harness

3.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Hmbown/DeepSeek-TUI, a Rust project with 39,767 GitHub stars. SynthScan v2.0 examined 604,183 lines of code across 966 source files, recording 1388 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 3.8 places this repository in the Likely human-written band.

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

3.8
Adjusted Score
3.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
39.8K
Stars
Rust
Language
604.2K
Lines of Code
966
Files
1.4K
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 13HIGH 7MEDIUM 388LOW 980

Directory Score Breakdown

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

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators355 hits · 1043 pts
SeverityFileLineSnippetContext
MEDIUMconfig.example.toml1# ╔══════════════════════════════════════════════════════════════════════════════╗COMMENT
MEDIUMconfig.example.toml5# ╚══════════════════════════════════════════════════════════════════════════════╝COMMENT
MEDIUMconfig.example.toml9# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml11# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml71# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml73# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml84# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml86# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml90# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml92# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml100# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml102# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml240# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml242# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml709# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml711# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml720# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml722# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml768# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml770# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml780# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml782# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml796# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml798# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml806# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml808# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml847# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml849# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml1140# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml1142# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml33# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml35# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml127# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml129# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml152# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml158# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml174# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml176# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml267# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml269# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml312# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml314# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml551# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml595# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml603# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml614# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml626# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml646# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml648# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml685# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml687# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml740# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml742# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml827# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml829# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml867# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml869# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml887# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml889# ─────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMconfig.example.toml905# ─────────────────────────────────────────────────────────────────────────────────COMMENT
295 more matches not shown…
Over-Commented Block898 hits · 830 pts
SeverityFileLineSnippetContext
LOWconfig.example.toml1# ╔══════════════════════════════════════════════════════════════════════════════╗COMMENT
LOWconfig.example.toml21# `api_key` / `base_url` areCOMMENT
LOWconfig.example.toml41# deepseek/deepseek-v4-pro — default OpenRouter DeepSeek model IDCOMMENT
LOWconfig.example.toml61# mimo-v2.5-tts-voiceclone — Xiaomi MiMo voice-clone TTS model IDCOMMENT
LOWconfig.example.toml81# current tier as a ⚡ chip.COMMENT
LOWconfig.example.toml101# Hotbar slots (#2061 / #2064)COMMENT
LOWconfig.example.toml121#COMMENT
LOWconfig.example.toml141# Optional list of additional instruction files concatenated into theCOMMENT
LOWconfig.example.toml161# Override the env-var equivalent: `DEEPSEEK_MEMORY=on`COMMENT
LOWconfig.example.toml181COMMENT
LOWconfig.example.toml201# command = "cargo test"COMMENT
LOWconfig.example.toml221# # Path-based denyCOMMENT
LOWconfig.example.toml241# External Sandbox Backend (pluggable remote execution)COMMENT
LOWconfig.example.toml261# sandbox_url = "http://localhost:8080"COMMENT
LOWconfig.example.toml281# Env override: DEEPSEEK_PREFER_BWRAP=trueCOMMENT
LOWconfig.example.toml301# max_depth = 1 # the agent may spawn sub-agents, but those may not spawn moreCOMMENT
LOWconfig.example.toml321# DeepSeek Anthropic-compatible: DEEPSEEK_API_KEY, DEEPSEEK_ANTHROPIC_BASE_URLCOMMENT
LOWconfig.example.toml341# (or MODEL_API_BASE_URL), META_MODEL_API_MODEL (or MODEL_API_MODEL)COMMENT
LOWconfig.example.toml361# model = "deepseek-v4-pro"COMMENT
LOWconfig.example.toml381[providers.nvidia_nim]COMMENT
LOWconfig.example.toml401# insecure_skip_tls_verify = true # last resort for private gateways; prefer SSL_CERT_FILECOMMENT
LOWconfig.example.toml421# OpenRouter — multi-provider gateway (https://openrouter.ai)COMMENT
LOWconfig.example.toml441# # base_url = "https://token-plan-ams.xiaomimimo.com/v1" # Token Plan Europe / AmsterdamCOMMENT
LOWconfig.example.toml461# api_key = "YOUR_FIREWORKS_API_KEY"COMMENT
LOWconfig.example.toml481# base_url = "https://api.arcee.ai/api/v1"COMMENT
LOWconfig.example.toml501COMMENT
LOWconfig.example.toml521# base_url = "http://localhost:30000/v1"COMMENT
LOWconfig.example.toml541# api_key = "YOUR_HF_TOKEN"COMMENT
LOWconfig.example.toml561# OpenAI-compatible curated gateway for Meituan's LongCat models.COMMENT
LOWconfig.example.toml581# OpenAI-compatible Chat Completions route.COMMENT
LOWconfig.example.toml601# model = "deepseek-ai/DeepSeek-V4-Pro" # or deepseek-ai/DeepSeek-V4-FlashCOMMENT
LOWconfig.example.toml621# OPENAI_CODEX_ACCOUNT_ID / CODEX_ACCOUNT_ID, OPENAI_CODEX_AUTH_FILE, CODEX_HOMECOMMENT
LOWconfig.example.toml641[providers.openmodel]COMMENT
LOWconfig.example.toml661# # 设置 METASO_API_KEY 或 [search] api_key 可提升额度COMMENT
LOWconfig.example.toml681# METASO_API_KEY → metaso key fallbackCOMMENT
LOWconfig.example.toml701# policy is enforced (mirrors pre-v0.7.0 behavior). To opt in:COMMENT
LOWconfig.example.toml721# Skills (#140)COMMENT
LOWconfig.example.toml741# TUICOMMENT
LOWconfig.example.toml761# locale = "auto" # UI chrome language: auto | en | ja | zh-Hans | pt-BRCOMMENT
LOWconfig.example.toml781# Vision Model Configuration (optional)COMMENT
LOWconfig.example.toml801max_retries = 3COMMENT
LOWconfig.example.toml821# summed API usage.COMMENT
LOWconfig.example.toml861deepseek_v3_2_chat_prior = 3.9COMMENT
LOWconfig.example.toml901api_key = "YOUR_NVIDIA_API_KEY"COMMENT
LOWconfig.example.toml921# include_summary = false # include elapsed time + cost in the notification bodyCOMMENT
LOWconfig.example.toml941#COMMENT
LOWconfig.example.toml961# # `git add -A` would hang the TUI for hours. SetCOMMENT
LOWconfig.example.toml981# python → pyright-langserver --stdioCOMMENT
LOWconfig.example.toml1001# [lsp.custom.cs]COMMENT
LOWconfig.example.toml1021# ─────────────────────────────────────────────────────────────────────────────────COMMENT
LOWconfig.example.toml1041# enabled = trueCOMMENT
LOWconfig.example.toml1061# [[hooks.hooks]]COMMENT
LOWconfig.example.toml1081# CLI flag `--cors-origin URL` (repeatable) and env varCOMMENT
LOWconfig.example.toml1101# # Custom plugin directory (defaults to `~/.codewhale/tools/`)COMMENT
LOWconfig.example.toml1121# "exec_shell" = { type = "script", path = "audit-exec-shell.sh" }COMMENT
LOWconfig.example.toml1141# Workflow automatic launch, approval, isolation, and activity (#4128)COMMENT
LOWconfig.example.toml1161# max_depth = 2COMMENT
LOWconfig.example.toml1181# max_trust_level = "operator"COMMENT
LOWconfig.example.toml1201# # Fleet profiles define named agent configurations the roster can dispatch.COMMENT
LOWconfig.example.toml1221# [fleet.profiles.pr-reviewer]COMMENT
838 more matches not shown…
Hallucination Indicators13 hits · 145 pts
SeverityFileLineSnippetContext
CRITICALcrates/cli/src/lib.rs4893 assert!(store.config.providers.deepseek.api_key.is_none());CODE
CRITICALcrates/cli/src/lib.rs4894 assert!(store.config.providers.openrouter.api_key.is_none());CODE
CRITICALcrates/cli/src/lib.rs4895 assert!(store.config.providers.novita.api_key.is_none());CODE
CRITICALcrates/cli/src/lib.rs4166 store.config.providers.deepseek.api_key.as_deref(),CODE
CRITICALcrates/cli/src/lib.rs4430 store.config.providers.deepseek.api_key.as_deref(),CODE
CRITICALcrates/cli/src/lib.rs4467 store.config.providers.arcee.api_key.as_deref(),CODE
CRITICALcrates/cli/src/lib.rs4474 reloaded.config.providers.arcee.api_key.as_deref(),CODE
CRITICALcrates/cli/src/lib.rs4505 store.config.providers.ollama.base_url.as_deref(),CODE
CRITICALcrates/cli/src/lib.rs4542 assert!(store.config.providers.deepseek.api_key.is_none());CODE
CRITICALcrates/cli/src/lib.rs4815 store.config.providers.deepseek.api_key.as_deref(),CODE
CRITICALcrates/cli/src/lib.rs4854 assert!(store.config.providers.deepseek.api_key.is_none());CODE
CRITICALcrates/cli/src/lib.rs4855 assert!(store.config.providers.fireworks.api_key.is_none());CODE
CRITICALcrates/cli/src/lib.rs4927 store.config.providers.openrouter.api_key.as_deref(),CODE
Modern AI Meta-Vocabulary22 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUMconfig.example.toml74# "off" — disables chain-of-thought (thinking.type = disabled)COMMENT
MEDIUMconfig.example.toml813# from the active model/context window.COMMENT
MEDIUMconfig.example.toml848# Capacity Controller (runtime pressure guardrails)COMMENT
MEDIUMconfig.example.toml1143# First-class knobs for automatic Workflow orchestration. When the table isCOMMENT
MEDIUMconfig.example.toml1147# # Allow the parent agent to auto-launch Workflow for multi-agent work.COMMENT
MEDIUMconfig.example.toml400# context_window = 1000000 # set the gateway/model's real total context windowCOMMENT
MEDIUMconfig.example.toml1160# # Maximum nested Workflow / child-orchestration depth.COMMENT
MEDIUMCHANGELOG.md860 (#2574); and context window and memory-pressure come from the resolved routeCODE
MEDIUMHANDOFF_v0.8.68_completion.md107### 7. Remove `todo_*` alias scaffolding (v0.9.0 gate)COMMENT
MEDIUM…rk_results/deepseek-anthropic-comparison-2026-06-24.md118### 1.7 Operational guardrails added with the routeCOMMENT
MEDIUMcrates/tui/CHANGELOG.md860 (#2574); and context window and memory-pressure come from the resolved routeCODE
MEDIUMcrates/tui/src/core/engine/streaming.rs1//! Streaming response state and guardrails.COMMENT
MEDIUMcrates/tui/src/tui/setup/model_draft.rs37/// tests can pin the guardrails.COMMENT
MEDIUMcrates/tui/src/tui/setup/mod.rs3276/// or amend. Only the scaffold differs between guided and model drafts — theCOMMENT
MEDIUMcrates/tui/src/tui/setup/fleet_draft.rs157/// pin the guardrails.COMMENT
MEDIUMcrates/tui/src/commands/groups/debug/balance.rs4//! this command explicit about being a scaffold so users do not mistake it forCOMMENT
MEDIUMweb/AGENT.md48## Cost guardrailsCOMMENT
MEDIUMdocs/LOCALIZATION.md36| Russian | `ru` | **planned** | **Next-priority locale.** No README yet; explicitly scoped for #3092. Latin+Cyrillic laCODE
MEDIUMdocs/TUI_DOGFOOD_INTEGRATION_CHECK_2026-07-12.md67### Transient red — sibling `runtime_contract` scaffold (recovered)COMMENT
MEDIUMdocs/CONTRIBUTORS.md241 **[nasus9527](https://github.com/nasus9527)** — VS Code extension scaffoldCODE
MEDIUMdocs/CHANGELOG_ARCHIVE.md2916(#645–#681, 28 PRs spanning features, fixes, and VS Code extension scaffolding).CODE
MEDIUMdocs/CHANGELOG_ARCHIVE.md3851- **Reasoning-content replay telemetry, end-to-end (#30).** The chat-completions sanitizer now estimates replayed `reasoCODE
Magic Placeholder Names4 hits · 32 pts
SeverityFileLineSnippetContext
HIGHconfig.example.toml251# sandbox_api_key = "YOUR_API_KEY" # Optional Bearer token sent with requestsCOMMENT
HIGHconfig.example.toml788# api_key = "YOUR_API_KEY" # Optional: defaults to main api_keyCOMMENT
HIGHdocs/PROVIDERS.md163api_key = "YOUR_API_KEY"CODE
HIGHdocs/SANDBOX.md205sandbox_api_key = "YOUR_API_KEY"CODE
AI Slop Vocabulary10 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMcrates/tui/tests/epic_acceptance_harness.rs18#[given("the acceptance harness is available")]COMMENT
MEDIUMcrates/tui/tests/core_session_command_extraction.rs32#[when("the evaluation harness runs a shell command")]COMMENT
MEDIUMcrates/tui/tests/core_session_command_extraction.rs67#[then("the harness completes successfully")]COMMENT
MEDIUMcrates/tui/tests/eval_smoke_acceptance.rs39#[when("the evaluation harness runs a shell command")]COMMENT
MEDIUMcrates/tui/src/main.rs839 #[arg(long, default_value = "printf eval-harness")]COMMENT
MEDIUMcrates/tui/src/main.rs842 #[arg(long, default_value = "eval-harness")]COMMENT
MEDIUMcrates/tui/src/llm_client/mod.rs3//! This module provides a unified interface for LLM providers with robust retry logic,COMMENT
MEDIUMweb/package-lock.json11278 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMweb/components/ticker.tsx6 const doubled = [...items, ...items]; // seamless loopCODE
MEDIUM.github/workflows/ci.yml304 # The eval harness is OS-independent prompt/composition checking;COMMENT
Hyper-Verbose Identifiers26 hits · 28 pts
SeverityFileLineSnippetContext
LOWcrates/tui/src/tui/translation.rs164 "function calculateTotalRevenueForQuarterlyReport() { return; }"CODE
LOWcrates/tui/src/repl/runtime.rs593def _normalize_dependency_mode(mode):CODE
LOWweb/lib/facts-drift.ts70function deriveProvidersFromConfig(cfg: string): ProviderFact[] {CODE
LOWscripts/catalog_models_dev.py161def public_models_dev_document(data: dict[str, Any]) -> dict[str, Any]:CODE
LOWscripts/check-coauthor-trailers.py71def github_login_from_noreply(email: str) -> str | None:CODE
LOWscripts/test_check_coauthor_trailers.py41 def test_rejects_cursor_trailer_on_non_harvested_commit(self) -> None:CODE
LOWscripts/test_check_coauthor_trailers.py47 def test_rejects_cursor_trailer_on_harvested_commit(self) -> None:CODE
LOWscripts/test_check_coauthor_trailers.py52 def test_allows_human_canonical_trailer(self) -> None:CODE
LOWscripts/test_check_coauthor_trailers.py57 def test_allows_merge_commit_with_bot_trailer(self) -> None:CODE
LOWscripts/check-provider-registry.py104def parse_aliases_for_variant(source: str, enum_name: str, variant: str, context: str) -> set[str]:CODE
LOWscripts/check-provider-registry.py201def static_registry_provider_rows(providers_md: str) -> set[str]:CODE
LOWscripts/check-provider-registry.py250def report_provider_enum_drift(CODE
LOWscripts/check-provider-registry.py278def report_huggingface_coverage(CODE
LOWscripts/catalog_models_dev_test.py20 def test_snapshot_check_validates_offline_seed(self) -> None:CODE
LOWscripts/catalog_models_dev_test.py32 def test_scrub_drops_api_key_fields(self) -> None:CODE
LOWscripts/catalog_models_dev_test.py52 def test_ensure_shape_rejects_empty_object(self) -> None:CODE
LOWscripts/catalog_models_dev_test.py59 def test_public_document_drops_api_key(self) -> None:CODE
LOWscripts/catalog_models_dev_test.py72 def test_refresh_write_cache_is_rejected_without_writing(self) -> None:CODE
LOWnpm/codewhale/scripts/preflight-glibc.js52function detectBinaryRequiredGlibc(filePath) {CODE
LOWnpm/codewhale/scripts/preflight-glibc.js94function glibcCompatibilityMessage(required, host) {CODE
LOWnpm/codewhale/scripts/install.js116function shouldSkipOptionalPostinstall(CODE
LOWnpm/codewhale/scripts/install.js1032async function adoptExistingBinaryIfValid(targetPath, assetName, version, getChecksums, marker) {CODE
LOWnpm/codewhale/scripts/install.js1099function shouldIgnoreInstallFailure(CODE
LOWnpm/codewhale/scripts/verify-release-assets.js34function packageVersionMatchesBinaryVersion(version) {CODE
LOWnpm/codewhale/scripts/verify-release-assets.js38function assertPackageVersionMatchesBinaryVersion(version) {CODE
LOWnpm/codewhale/scripts/verify-release-assets.js260async function verifyGitHubReleaseFreshness(repo, version, expectedAssets) {CODE
Verbosity Indicators14 hits · 26 pts
SeverityFileLineSnippetContext
LOWcrates/tui/src/runtime_api.rs1718 // Step 1: Try snapshot-based file rollback (patch_undo).COMMENT
LOWcrates/tui/src/runtime_api.rs1726 // Step 2: Remove the last conversation turn (undo_conversation).COMMENT
LOWcrates/tui/src/tools/web_run.rs981 // Step 1: fetch the HTML page to obtain the `vqd` token used by the images API.COMMENT
LOWcrates/tui/src/tools/web_run.rs1013 // Step 2: query the DuckDuckGo images JSON endpoint.COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4137 // Step 1: Record initial model value (should be the default, sinceCOMMENT
LOWcrates/tui/src/runtime_api/tests.rs4156 // Step 2: Persist a new model value to the config file.COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4169 // Step 3: Verify in-memory state is NOT mutated by set_config alone.COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4177 // Step 4: Also persist subagents_max_depth = 5 (below ceiling of 8).COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4181 // Step 5: Reload — this must read from config_file (not default discovery).COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4188 // Step 6: Verify in-memory state IS now updated after reload.COMMENT
LOWcrates/cli/src/update.rs78 // Step 1: Fetch latest release metadataCOMMENT
LOWcrates/cli/src/update.rs96 // Step 2: Download the aggregated SHA256 checksum manifest if availableCOMMENT
LOWcrates/cli/src/update.rs118 // Step 3: Download and verify every colocated binary in the install.COMMENT
LOWcrates/cli/src/update.rs166 // Step 4: Replace binaries only after all downloads and the primaryCOMMENT
Structural Annotation Overuse14 hits · 26 pts
SeverityFileLineSnippetContext
LOWcrates/tui/src/runtime_api.rs1718 // Step 1: Try snapshot-based file rollback (patch_undo).COMMENT
LOWcrates/tui/src/runtime_api.rs1726 // Step 2: Remove the last conversation turn (undo_conversation).COMMENT
LOWcrates/tui/src/tools/web_run.rs981 // Step 1: fetch the HTML page to obtain the `vqd` token used by the images API.COMMENT
LOWcrates/tui/src/tools/web_run.rs1013 // Step 2: query the DuckDuckGo images JSON endpoint.COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4137 // Step 1: Record initial model value (should be the default, sinceCOMMENT
LOWcrates/tui/src/runtime_api/tests.rs4156 // Step 2: Persist a new model value to the config file.COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4169 // Step 3: Verify in-memory state is NOT mutated by set_config alone.COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4177 // Step 4: Also persist subagents_max_depth = 5 (below ceiling of 8).COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4181 // Step 5: Reload — this must read from config_file (not default discovery).COMMENT
LOWcrates/tui/src/runtime_api/tests.rs4188 // Step 6: Verify in-memory state IS now updated after reload.COMMENT
LOWcrates/cli/src/update.rs78 // Step 1: Fetch latest release metadataCOMMENT
LOWcrates/cli/src/update.rs96 // Step 2: Download the aggregated SHA256 checksum manifest if availableCOMMENT
LOWcrates/cli/src/update.rs118 // Step 3: Download and verify every colocated binary in the install.COMMENT
LOWcrates/cli/src/update.rs166 // Step 4: Replace binaries only after all downloads and the primaryCOMMENT
Synthetic Comment Markers3 hits · 20 pts
SeverityFileLineSnippetContext
HIGHcrates/tui/src/tui/notifications.rs464/// AI-generated notification text. Passing via `ARGV` avoids thisCOMMENT
HIGHcrates/tui/src/tui/widgets/footer.rs148/// when width is 0. The result is the same visual width as requested (oneCOMMENT
HIGHdocs/PROVIDERS.md259| `atlascloud` | `[providers.atlascloud]` | `ATLASCLOUD_API_KEY` | `ATLASCLOUD_BASE_URL`; default `https://api.atlasclouCODE
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWdocs/examples/compose.toolbox.yml3# Usage:COMMENT
LOWscripts/v0867-setup-qa.sh11# Usage:COMMENT
LOWscripts/remote-smoke/aws-lightsail/provision.sh8# Usage:COMMENT
LOWscripts/remote-smoke/digitalocean/provision.sh12# Usage:COMMENT
LOWscripts/release/branch-hygiene.sh27# Usage:COMMENT
LOWscripts/release/app-server-smoke.sh17# Usage:COMMENT
Excessive Try-Catch Wrapping7 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/tui/src/tools/verifier.rs957 except Exception as exc:CODE
LOWcrates/tui/src/repl/runtime.rs579 except Exception as e:CODE
LOWcrates/tui/src/repl/runtime.rs756 except Exception:CODE
LOWcrates/tui/src/repl/runtime.rs879 except Exception:CODE
LOWcrates/tui/src/repl/runtime.rs931 except Exception as e:CODE
MEDIUMcrates/tui/src/repl/runtime.rs752def _json_safe(value):CODE
LOWscripts/check-coauthor-trailers.py239 except Exception as exc:CODE
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWscripts/catalog_models_dev.py27CODE
LOWscripts/measure-tool-catalog.py9CODE
LOWscripts/check-coauthor-trailers.py10CODE
LOWscripts/test_check_coauthor_trailers.py4CODE
LOWscripts/check-provider-registry.py15CODE
LOWscripts/catalog_models_dev_test.py4CODE
LOWscripts/check-readme-translations.py16CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWcrates/tui/tests/cache_guard.rs157 let long_context = "Lorem ipsum dolor sit amet. ".repeat(20);CODE
LOWcrates/tui/tests/cache_guard.rs157 let long_context = "Lorem ipsum dolor sit amet. ".repeat(20);CODE
LOWcrates/tui/src/commands/groups/project/init.rs1094 .args(["config", "user.email", "test@test.com"])CODE
LOWcrates/tui/src/commands/groups/project/init.rs1142 .args(["config", "user.email", "test@test.com"])CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/catalog_models_dev.py173CODE
LOWscripts/check-coauthor-trailers.py153CODE
LOWscripts/check-provider-registry.py86CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWconfig.example.toml1148# # Set false to require an explicit `/workflow` opt-in.COMMENT
LOWscripts/release/install.sh113# Check if BIN_DIR is on PATHCOMMENT