Repository Analysis

lsdefine/GenericAgent

Self-evolving agent: grows skill tree from 3.3K-line seed, achieving full system control with 6x less token consumption

27.4 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of lsdefine/GenericAgent, a Python project with 13,625 GitHub stars. SynthScan v2.0 examined 61,746 lines of code across 162 source files, recording 1236 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 27.4 places this repository in the Moderate AI signal band.

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

27.4
Adjusted Score
27.4
Raw Score
100%
Time Factor
2026-07-31
Last Push
13.6K
Stars
Python
Language
61.7K
Lines of Code
162
Files
1.2K
Pattern Hits
2026-08-02
Scan Date
0.45
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 0HIGH 73MEDIUM 233LOW 930

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 1236 distinct pattern matches across 15 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.

Excessive Try-Catch Wrapping634 hits · 544 pts
SeverityFileLineSnippetContext
LOWTMWebDriver.py77 except Exception: traceback.print_exc()CODE
LOWTMWebDriver.py103 except Exception as e: return json.dumps({'r': {'error': str(e)}}, ensure_ascii=False)CODE
LOWTMWebDriver.py105 except Exception: passCODE
LOWTMWebDriver.py155 except Exception as e:CODE
MEDIUMTMWebDriver.py156 safe_print(f"Error handling message: {e}")CODE
MEDIUMTMWebDriver.py128def handle(self) -> None: CODE
LOWagentmain.py13except Exception: passCODE
LOWagentmain.py81 except Exception as e: print(f'\n\n\n[ERROR] Failed to init MixinSession with cfg {s["mixin_cfg"]}: {e}!CODE
LOWagentmain.py115 except Exception: passCODE
LOWagentmain.py187 except Exception as e:CODE
LOWagentmain.py279 except Exception as e: print(f'[Reflect] reload error: {e}')CODE
LOWagentmain.py281 except Exception as e:CODE
LOWagentmain.py291 except Exception as e:CODE
LOWagentmain.py299 except Exception as e: print(f'[Reflect] on_done error: {e}')CODE
LOWagentmain.py304 except Exception: passCODE
LOWagentmain.py308 except Exception: model = '?'CODE
LOWagentmain.py313 except Exception: passCODE
LOWllmcore.py156 except Exception as e:CODE
LOWllmcore.py462 except Exception as e:CODE
MEDIUMsimphtml.py837 print(f"Error: {error_msg}")CODE
LOWsimphtml.py833 except Exception as e:CODE
LOWsimphtml.py658 except Exception as e:STRING
LOWsimphtml.py720 except Exception: print(f'[cutlist] skip invalid selector: {sel}'); continueSTRING
LOWga.py94 except Exception as e:CODE
LOWga.py146 except Exception as e:CODE
LOWga.py177 except Exception as e: return {"status": "error", "msg": format_error(e)}CODE
LOWga.py220 except Exception as e: return {"status": "error", "msg": str(e)}CODE
LOWga.py265 except Exception: passCODE
LOWga.py267 except Exception as e: return f"Error: {str(e)}"CODE
LOWga.py324 except Exception as e: result = f'Error: {e}'CODE
LOWga.py423 except Exception as e:CODE
MEDIUMga.py48def stream_reader(proc, logs):CODE
LOWmemory/checklist_helper.py93 except Exception: return FalseCODE
LOWmemory/adb_ui.py19 except Exception as e:CODE
LOWmemory/ui_detect.py50 except Exception: return FalseCODE
LOWmemory/ui_detect.py64 except Exception: return _yolo_local(image_path, conf)CODE
LOWmemory/ui_detect.py197 except Exception as e:CODE
MEDIUMmemory/ui_detect.py192def do_POST(self):CODE
LOWmemory/vision_api.template.py28 except Exception as e:CODE
MEDIUMmemory/vision_api.template.py25def ask_vision(image_input, prompt="详细描述这张图片的内容", timeout=60, max_pixels=1440000CODE
LOWmemory/keychain.py34 except Exception as e:CODE
LOWmemory/macljqCtrl.py38except Exception:CODE
LOWmemory/macljqCtrl.py64 except Exception:CODE
LOWmemory/macljqCtrl.py68 except Exception:CODE
LOWmemory/macljqCtrl.py230 except Exception: passCODE
LOWmemory/macljqCtrl.py257 except Exception: passCODE
LOWmemory/macljqCtrl.py332 except Exception:CODE
LOWmemory/macljqCtrl.py386 except Exception: before = NoneCODE
LOWmemory/macljqCtrl.py393 except Exception:CODE
LOWmemory/ljqCtrlBg.py13except Exception: passCODE
LOWmemory/ljqCtrlBg.py102 except Exception: passCODE
LOWmemory/ljqCtrlBg.py109 except Exception: passCODE
LOWmemory/procmem_scanner.py143 except Exception as e:CODE
MEDIUMmemory/procmem_scanner.py144 print(f"Error: {e}")CODE
LOWmemory/ljqCtrl.py95 except Exception:CODE
LOWmemory/autonomous_operation_sop/helper.py95 except Exception as e:CODE
LOWmemory/autonomous_operation_sop/helper.py113 except Exception as e:CODE
LOWmemory/L4_raw_sessions/compress_session.py18 except Exception: return NoneCODE
LOWmemory/L4_raw_sessions/compress_session.py185 except Exception as e:CODE
LOWmemory/L4_raw_sessions/compress_session.py230 except Exception: passCODE
574 more matches not shown…
Decorative Section Separators161 hits · 485 pts
SeverityFileLineSnippetContext
MEDIUMmykey_template_en.py1# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template_en.py3# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template_en.py24# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template_en.py27# ── 1. NativeClaudeSession — Anthropic direct ────────────────────────────────COMMENT
MEDIUMmykey_template_en.py43# ── 2. NativeOAISession — OpenAI direct ──────────────────────────────────────COMMENT
MEDIUMmykey_template_en.py58# ── 3. Mixin failover (optional) ─────────────────────────────────────────────COMMENT
MEDIUMmykey_template_en.py69# ── 4. Global HTTP proxy (optional) ──────────────────────────────────────────COMMENT
MEDIUMmykey_template_en.py74# ── 5. Chat platform integrations (optional) ─────────────────────────────────COMMENT
MEDIUMmykey_template.py1# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py3# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py5# ┌─────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUMmykey_template.py10# └─────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUMmykey_template.py12# ────────── Session 类型速查 ──────────COMMENT
MEDIUMmykey_template.py18# ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py29# ────────── Prompt Cache 说明 ──────────COMMENT
MEDIUMmykey_template.py37# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py44# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py55# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py57# ─── 鉴权 / 路由 ─────────────────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py67# ─── 容量 / 超时 ─────────────────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py74# ─── 推理 / 思考 ─────────────────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py83# ─── 采样 ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py87# ─── 传输 ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py93# ─── NativeClaudeSession 专属 ───────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py101# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py105# ╔═══════════════════════════════════════════════════════════════════════════╗COMMENT
MEDIUMmykey_template.py107# ╚═══════════════════════════════════════════════════════════════════════════╝COMMENT
MEDIUMmykey_template.py114# ── Mixin 故障转移(最推荐的方式)──────────────────────────────────────────COMMENT
MEDIUMmykey_template.py128# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py130# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py136# ── 1a. CC switch 适配渠道(最常用)────────────────────────────────────────COMMENT
MEDIUMmykey_template.py272# ── 其他 OAI 兼容渠道 ──────────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py276# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py283# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py285# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py289# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py291# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py160# ── 1b. Anthropic 官方直连 ──────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py192# ── 1c. CRS 反代 Claude Max ─────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py208# ── 1d. 其他 Anthropic 兼容渠道(GLM / Kimi / MiniMax 等)───────────────────COMMENT
MEDIUMmykey_template.py213# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMmykey_template.py228# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py230# ══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmykey_template.py256# ── 也可以走 Responses API ──────────────────────────────────────────────────COMMENT
MEDIUMmemory/vision_api.template.py16# =================================================================COMMENT
MEDIUMplugins/langfuse_tracing.py24 # ── Agent trace ──────────────────────────────────────────────COMMENT
MEDIUMplugins/langfuse_tracing.py47 # ── LLM generation span (replaces _write_llm_log patch) ─────COMMENT
MEDIUMplugins/langfuse_tracing.py96 # ── Usage tracking: tee SSE data for token counts ───────────COMMENT
MEDIUMfrontends/tuiapp_v2.py249# ---------------------------------------------------------------------------COMMENT
MEDIUMfrontends/tuiapp_v2.py271# ---------------------------------------------------------------------------COMMENT
MEDIUMfrontends/tuiapp_v2.py1408# ---------------------------------------------------------------------------COMMENT
MEDIUMfrontends/tuiapp_v2.py7877#============================================================================COMMENT
MEDIUMfrontends/tuiapp_v2.py7879#============================================================================COMMENT
MEDIUMfrontends/tuiapp_v2.py3518# ===========================================================================STRING
MEDIUMfrontends/tuiapp_v2.py3526# ===========================================================================STRING
MEDIUMfrontends/qtapp.py282# ══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMfrontends/qtapp.py284# ══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMfrontends/qtapp.py286# ── constants ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontends/qtapp.py2309 # ── settings actions ───────────────────────────────────────────────────────COMMENT
MEDIUMfrontends/qtapp.py2393 # ── helpers ────────────────────────────────────────────────────────────────COMMENT
101 more matches not shown…
Cross-Language Confusion73 hits · 364 pts
SeverityFileLineSnippetContext
HIGHsimphtml.py13 (sourceNode.id && ignoreIds.includes(sourceNode.id))CODE
HIGHsimphtml.py15 return null;CODE
HIGHsimphtml.py22 try { if (sourceNode.matches && sourceNode.matches(':-webkit-autofill')) { clone.setAttribute('data-autofilled', 'trCODE
HIGHsimphtml.py27 const isSmallDropdown = _ddItems > 0 && _ddItems <= 7 && sourceNode.textContent.length < 500;CODE
HIGHsimphtml.py31 const childClone = cloneNode(child, keep || isSmallDropdown);CODE
HIGHsimphtml.py32 if (childClone) childNodes.push(childClone);CODE
HIGHsimphtml.py36 const iDoc = sourceNode.contentDocument || sourceNode.contentWindow?.document;CODE
HIGHsimphtml.py37 if (iDoc && iDoc.body && iDoc.body.children.length > 0) {CODE
HIGHsimphtml.py44 if (wrapper.childNodes.length) childNodes.push(wrapper);CODE
HIGHsimphtml.py51 if (shadowClone) childNodes.push(shadowClone);CODE
HIGHsimphtml.py58 const isVisible = (rect.width > 1 && rect.height > 1 &&CODE
HIGHsimphtml.py61 Math.abs(rect.left) < 5000 && Math.abs(rect.top) < 5000)CODE
HIGHsimphtml.py76 const childrenInfos = nonTextChildren.map(c => nodeInfo.get(c)).filter(i => i && i.rect && i.rect.width > 0 && i.rCODE
HIGHsimphtml.py79 if (!c || c === 'transparent') return 0;CODE
HIGHsimphtml.py83 const hasVisualBg = bgAlpha > 0.1 || style.backgroundImage !== 'none' || (style.backdropFilter && style.backdropFiCODE
HIGHsimphtml.py83 const hasVisualBg = bgAlpha > 0.1 || style.backgroundImage !== 'none' || (style.backdropFilter && style.backdropFiCODE
HIGHsimphtml.py85 if (!hasVisualBg && childrenInfos.length > 0) {CODE
HIGHsimphtml.py87 const flowChildren = childrenInfos.filter(cInfo => cInfo.style && cInfo.style.position !== 'fixed' && cInfo.stylCODE
HIGHsimphtml.py100 if (maxC && maxC.area > 10000 && (!isVisible || maxC.area > info.area * 5)) info = maxC;CODE
HIGHsimphtml.py100 if (maxC && maxC.area > 10000 && (!isVisible || maxC.area > info.area * 5)) info = maxC;CODE
HIGHsimphtml.py105 if (sourceNode.nodeType === 1 && sourceNode.tagName === 'DIV') {CODE
HIGHsimphtml.py106 if (!hasValidChildren && !sourceNode.textContent.trim()) return null;CODE
HIGHsimphtml.py109 if (sourceNode.getAttribute && sourceNode.getAttribute('aria-hidden') === 'true' && !info.isVisible) {CODE
HIGHsimphtml.py110 return null;CODE
HIGHsimphtml.py112 if (info.isVisible || hasValidChildren || keep) {CODE
HIGHsimphtml.py116 return null;CODE
HIGHsimphtml.py124 return info && info.isVisible;CODE
HIGHsimphtml.py214 if (pathType !== 'main' && highClassNameVariety && childrenInfo.length > 5) {CODE
HIGHsimphtml.py223 const hasStandardButton = container.querySelector('button, input[type="button"], input[type="submit"], [role="buttonCODE
HIGHsimphtml.py225 const hasClassButton = container.querySelector('[class*="-btn"], [class*="-button"], .button, .btn, [class*="btn-"]'CODE
HIGHsimphtml.py232 if (_efp) { let _el = _efp; while (_el) { const _h = childrenInfo.find(c => c.node.id && c.node.id === _el.id); if (CODE
HIGHsimphtml.py253 if (isComplex && centerDiff < 0.2 &&CODE
HIGHsimphtml.py254 ((minDimensionRatio > 0.2 && rect.width/window.innerWidth < 0.98) || minDimensionRatio > 0.95)) {CODE
HIGHsimphtml.py264 if (isComplex && isNearTop && maxDimensionRatio > 0.4 && top.isVisible) {CODE
HIGHsimphtml.py266 } else if (isMostlyText || isComplex || isDialog) {CODE
HIGHsimphtml.py286 return !(x1 + r1.width <= x2 + epsilon || x1 >= x2 + r2.width - epsilon ||CODE
HIGHsimphtml.py287 y1 + r1.height <= y2 + epsilon || y1 >= y2 + r2.height - epsilonCODE
HIGHsimphtml.py297 if (!info?.rect || info.style.position !== 'fixed') return false;CODE
HIGHsimphtml.py300 return cover > 0.15 && cover < 1.0 && cd < 0.3 && el.querySelector('button, input, a, [role="button"], iframe');CODE
HIGHsimphtml.py301}).filter((el, _, arr) => !arr.some(o => o !== el && o.contains(el)))CODE
HIGHsimphtml.py378 if (!dominated) kept.push(cand);CODE
HIGHsimphtml.py383 const cTag = container ? container.tagName : null;CODE
HIGHsimphtml.py393 if (score !== undefined) result.score = score;CODE
HIGHsimphtml.py479 el.className && el.className.split(/\s+/).includes(cls)CODE
HIGHsimphtml.py484 groups.push({selector, elements, score: scoreGroup(selector, elements)});CODE
HIGHsimphtml.py493 el.className && el.className.split(/\s+/).includes(topClasses[i]) && elCODE
HIGHsimphtml.py497 groups.push({selector, elements,score: scoreGroup(selector, elements)});CODE
HIGHsimphtml.py153 if (rectn.width < window.innerWidth * 0.8 && rectn.height < window.innerHeight * 0.8) return node;CODE
HIGHsimphtml.py166 area: info.area, zIndex: (info.zIndex || 0), isVisible: info.isVisible };CODE
HIGHsimphtml.py184 if (!child.dataset.mark || child.dataset.mark[0] !== 'R') analyzeNode(child, pathType);CODE
HIGHsimphtml.py194 (childrenInfo.length === 1 || childrenInfo[0].area > childrenInfo[1].area * 2);CODE
HIGHsimphtml.py329js_findMainList = r'''function findMainList(startElement = null) {CODE
HIGHsimphtml.py330 const root = startElement || document.body;CODE
HIGHsimphtml.py344 if (score >= MIN_CHILDREN) candidates.push({node, score});CODE
HIGHsimphtml.py358 allCandidates.push({ container, selector: groupInfo.selector, items, score });CODE
HIGHsimphtml.py451 groups.push({CODE
HIGHsimphtml.py463 groups.push({CODE
HIGHsimphtml.py516 if (!container || items.length < 3) return 0;CODE
HIGHsimphtml.py532 itemAreas.push(area);CODE
HIGHsimphtml.py571 if (uniqueRows === 1 || uniqueCols === 1) { layoutScore = 20;CODE
13 more matches not shown…
Deep Nesting147 hits · 104 pts
SeverityFileLineSnippetContext
LOWTMWebDriver.py125CODE
LOWTMWebDriver.py188CODE
LOWTMWebDriver.py128CODE
LOWagentmain.py63CODE
LOWagentmain.py139CODE
LOWagent_loop.py42CODE
LOWllmcore.py43CODE
LOWllmcore.py145CODE
LOWllmcore.py232CODE
LOWllmcore.py369CODE
LOWllmcore.py425CODE
LOWllmcore.py508CODE
LOWllmcore.py544CODE
LOWllmcore.py702CODE
LOWllmcore.py929CODE
LOWllmcore.py1081CODE
LOWsimphtml.py596CODE
LOWga.py16CODE
LOWga.py223CODE
LOWga.py229CODE
LOWga.py303CODE
LOWga.py571CODE
LOWmemory/ui_detect.py117CODE
LOWmemory/vision_api.template.py25CODE
LOWmemory/procmem_scanner.py86CODE
LOWmemory/L4_raw_sessions/compress_session.py70CODE
LOWmemory/L4_raw_sessions/compress_session.py103CODE
LOWmemory/L4_raw_sessions/compress_session.py154CODE
LOWplugins/langfuse_tracing.py98CODE
LOWfrontends/chatapp_common.py319CODE
LOWfrontends/cost_tracker.py74CODE
LOWfrontends/cost_tracker.py124CODE
LOWfrontends/cost_tracker.py131CODE
LOWfrontends/qqapp.py31CODE
LOWfrontends/dcapp.py216CODE
LOWfrontends/dcapp.py283CODE
LOWfrontends/model_cmd.py33CODE
LOWfrontends/tuiapp_v2.py506CODE
LOWfrontends/tuiapp_v2.py536CODE
LOWfrontends/tuiapp_v2.py675CODE
LOWfrontends/tuiapp_v2.py1242CODE
LOWfrontends/tuiapp_v2.py3299CODE
LOWfrontends/tuiapp_v2.py2499CODE
LOWfrontends/tuiapp_v2.py3740CODE
LOWfrontends/tuiapp_v2.py3903CODE
LOWfrontends/tuiapp_v2.py4774CODE
LOWfrontends/tuiapp_v2.py4810CODE
LOWfrontends/tuiapp_v2.py5610CODE
LOWfrontends/tuiapp_v2.py5915CODE
LOWfrontends/tuiapp_v2.py6566CODE
LOWfrontends/tuiapp_v2.py6679CODE
LOWfrontends/tuiapp_v2.py6806CODE
LOWfrontends/tuiapp_v2.py7212CODE
LOWfrontends/tuiapp_v2.py7545CODE
LOWfrontends/tuiapp_v2.py7608CODE
LOWfrontends/tuiapp_v2.py7723CODE
LOWfrontends/tuiapp_v2.py8183CODE
LOWfrontends/tuiapp_v2.py8389CODE
LOWfrontends/tuiapp_v2.py8563CODE
LOWfrontends/tuiapp_v2.py3750CODE
87 more matches not shown…
Hyper-Verbose Identifiers74 hits · 59 pts
SeverityFileLineSnippetContext
LOWllmcore.py77def _sanitize_leading_user_msg(msg):CODE
LOWllmcore.py884 def _prepare_tool_instruction(self, tools):CODE
LOWga.py461 def do_update_working_checkpoint(self, args, response):CODE
LOWga.py527 def do_start_long_term_update(self, args, response):CODE
LOWfrontends/stapp2.py684 function ensureSidebarSettingsTitle() {CODE
LOWfrontends/stapp2.py831def build_dynamic_font_update_script(scale_percent: float) -> str:STRING
LOWfrontends/stapp2.py853def build_header_agent_badge_script() -> str:STRING
LOWfrontends/qqapp.py56 async def on_group_at_message_create(self, message: GroupMessage):CODE
LOWfrontends/dcapp.py39def _extract_discord_progress(text):CODE
LOWfrontends/dcapp.py48def _strip_discord_transcript(text):CODE
LOWfrontends/tuiapp_v2.py2629 def has_valid_selection_parent(self) -> bool:CODE
LOWfrontends/tuiapp_v2.py2862 def _paste_file_from_clipboard(self) -> bool:CODE
LOWfrontends/tuiapp_v2.py6713 def _return_to_free_text_edit(self, confirm_msg: ChatMessage) -> None:CODE
LOWfrontends/tuiapp_v2.py6730 def _maybe_intercept_free_text(self, sess: AgentSession, text: str) -> bool:CODE
LOWfrontends/tuiapp_v2.py7150 def _scroll_active_session_into_view(self) -> None:CODE
LOWfrontends/tuiapp_v2.py7823 def _remount_assistant_message(self, m: ChatMessage) -> None:CODE
LOWfrontends/tuiapp_v2.py8577 def on_clickable_tree_node_clicked(self, msg) -> None:CODE
LOWfrontends/tuiapp_v2.py8580 def on_option_list_option_selected(self, ev) -> None:CODE
LOWfrontends/tuiapp_v2.py76def _hint_terminal_capabilities() -> None:CODE
LOWfrontends/tuiapp_v2.py944def _patch_markdown_table_overflow():CODE
LOWfrontends/tuiapp_v2.py1048def _cjk_compute_wrap_offsets(text, width, tab_size, fold=True,CODE
LOWfrontends/tuiapp_v2.py1207def _build_passthrough_source(narrow_plain: str):CODE
LOWfrontends/tuiapp_v2.py1684def _palette_from_resolved_vars(v: dict[str, str], dark: bool) -> dict[str, str]:CODE
LOWfrontends/tuiapp_v2.py3008 def _suppress_palette_next_change(self) -> None:CODE
LOWfrontends/tuiapp_v2.py3057 def _shift_is_physically_down(self) -> bool:CODE
LOWfrontends/tuiapp_v2.py4774 def on_option_list_option_selected(self, event: OptionList.OptionSelected) -> None:CODE
LOWfrontends/tuiapp_v2.py6455 def _install_intervene_replay_hook(self, sess: AgentSession) -> None:CODE
LOWfrontends/tuiapp_v2.py6880 def _render_planbar_placeholder(self, bar: Static, sess: AgentSession) -> None:CODE
LOWfrontends/tuiapp_v2.py7697 def _mount_assistant_segments(self, container, m: ChatMessage, segs: list[tuple],CODE
LOWfrontends/tuiapp_v2.py3652 def _is_stale_selectable_mouse_event(self, event) -> bool:STRING
LOWfrontends/tuiapp_v2.py3500 def on_option_list_option_highlighted(self, ev) -> None:STRING
LOWfrontends/tuiapp_v2.py3505 def on_option_list_option_selected(self, ev) -> None:STRING
LOWfrontends/tuiapp_v2.py3740 def _patch_auto_scroll_for_selection(self) -> None:STRING
LOWfrontends/tuiapp_v2.py3903 def _install_write_snapshot_hook(self) -> None:STRING
LOWfrontends/qtapp.py460def _build_prompt_with_uploads(prompt: str, files: list) -> tuple:STRING
LOWfrontends/qtapp.py1313 def _reset_history_items_style(self):STRING
LOWfrontends/qtapp.py1814 def _refresh_model_rows_style(self):STRING
LOWfrontends/desktop_bridge.py1983async def conductor_model_get_handler(request):CODE
LOWfrontends/desktop_bridge.py1987async def conductor_model_save_handler(request):CODE
LOWfrontends/desktop_bridge.py2101async def get_token_history_handler(request):CODE
LOWfrontends/desktop_bridge.py2111async def post_token_history_handler(request):CODE
LOWfrontends/desktop_bridge.py2119async def subscription_portal_handler(request):CODE
LOWfrontends/desktop_bridge.py95def normalize_final_turn_segs(full: str, outputs: Any) -> Optional[List[str]]:CODE
LOWfrontends/desktop_bridge.py156def _sanitize_desktop_plan_path(session_id: str, plan_path: str) -> str:CODE
LOWfrontends/desktop_bridge.py1352def _bridge_shutdown_services() -> None:CODE
LOWfrontends/desktop_bridge.py1839def _reveal_path_in_file_manager(target: Path) -> None:CODE
LOWfrontends/tgapp.py129def _maybe_partial_turn_marker(line):CODE
LOWfrontends/tgapp.py136def _maybe_partial_code_fence(line):CODE
LOWfrontends/tgapp.py292def _drain_latest_ask_user_event():CODE
LOWfrontends/tgapp.py332def _parse_menu_callback_data(data, prefix):CODE
LOWfrontends/tgapp.py347def _normalize_ask_menu_event(stored):CODE
LOWfrontends/fsapp.py170def _extract_share_card_content(content_json, msg_type):CODE
LOWfrontends/fsapp.py187def _extract_interactive_content(content):CODE
LOWfrontends/continue_cmd.py1048def _clear_conversation_state(agent):CODE
LOWfrontends/continue_cmd.py315def _count_complete_rounds_from_file(path):CODE
LOWfrontends/continue_cmd.py629def _tool_results_from_prompt(prompt_body):CODE
LOWfrontends/tui_v3.py2091def _is_mouse_or_scroll_keypress(kp) -> bool:CODE
LOWfrontends/tui_v3.py3476 def _sync_pending_from_bridge(self) -> None:CODE
LOWfrontends/tuiapp.py308 def on_prompt_input_submitted(self, event: PromptInput.Submitted) -> None:CODE
LOWfrontends/plan_state.py208def plan_path_mention_in_messages(messages, start_idx: int = 0) -> Optional[str]:CODE
14 more matches not shown…
Unused Imports69 hits · 59 pts
SeverityFileLineSnippetContext
LOWagentmain.py303CODE
LOWllmcore.py1CODE
LOWllmcore.py1CODE
LOWllmcore.py1CODE
LOWsimphtml.py662CODE
LOWmemory/ui_detect.py126CODE
LOWmemory/macljqCtrl.py31CODE
LOWmemory/macljqCtrl.py31CODE
LOWmemory/macljqCtrl.py42CODE
LOWmemory/macljqCtrl.py35CODE
LOWmemory/macljqCtrl.py35CODE
LOWmemory/macljqCtrl.py35CODE
LOWmemory/macljqCtrl.py35CODE
LOWmemory/ljqCtrlBg.py6CODE
LOWmemory/procmem_scanner.py5CODE
LOWmemory/procmem_scanner.py6CODE
LOWmemory/ljqCtrl.py13CODE
LOWmemory/ljqCtrl.py13CODE
LOWmemory/ljqCtrl.py13CODE
LOWmemory/ljqCtrl.py20CODE
LOWmemory/ljqCtrl.py20CODE
LOWmemory/ljqCtrl.py20CODE
LOWmemory/autonomous_operation_sop/helper.py13CODE
LOWmemory/L4_raw_sessions/compress_session.py4CODE
LOWmemory/L4_raw_sessions/compress_session.py4CODE
LOWplugins/langfuse_tracing.py10CODE
LOWfrontends/cost_tracker.py11CODE
LOWfrontends/dcapp.py11CODE
LOWfrontends/tuiapp_v2.py13CODE
LOWfrontends/tuiapp_v2.py1415CODE
LOWfrontends/tuiapp_v2.py1449CODE
LOWfrontends/genericagent_acp_bridge.py43CODE
LOWfrontends/qtapp.py7CODE
LOWfrontends/qtapp.py21CODE
LOWfrontends/qtapp.py21CODE
LOWfrontends/qtapp.py21CODE
LOWfrontends/qtapp.py21CODE
LOWfrontends/qtapp.py32CODE
LOWfrontends/qtapp.py32CODE
LOWfrontends/desktop_bridge.py37CODE
LOWfrontends/slash_cmds.py22CODE
LOWfrontends/stapp.py15CODE
LOWfrontends/stapp.py20CODE
LOWfrontends/fsapp.py10CODE
LOWfrontends/workspace_cmd.py22CODE
LOWfrontends/btw_cmd.py9CODE
LOWfrontends/keysym.py11CODE
LOWfrontends/tui_v3.py7CODE
LOWfrontends/tui_v3.py9CODE
LOWfrontends/tui_v3.py9CODE
LOWfrontends/tui_v3.py27CODE
LOWfrontends/tui_v3.py34CODE
LOWfrontends/tui_v3.py6024CODE
LOWfrontends/tui_v3.py6025CODE
LOWfrontends/tuiapp.py17CODE
LOWfrontends/tuiapp.py25CODE
LOWfrontends/wecomapp.py4CODE
LOWfrontends/worldline.py17CODE
LOWfrontends/review_cmd.py8CODE
LOWfrontends/wechatapp.py1CODE
9 more matches not shown…
Structural Annotation Overuse17 hits · 28 pts
SeverityFileLineSnippetContext
LOWmemory/github_contribution_sop.md30### Step 1: 确认目标COMMENT
LOWmemory/github_contribution_sop.md35### Step 2: 创建分支COMMENT
LOWmemory/github_contribution_sop.md41### Step 3: 实现变更COMMENT
LOWmemory/github_contribution_sop.md52### Step 4: 测试(不可跳过)COMMENT
LOWmemory/github_contribution_sop.md63### Step 5: 推送 + 提 PRCOMMENT
LOWmemory/github_contribution_sop.md75### Step 6: CI 检查COMMENT
LOWmemory/github_contribution_sop.md84### Step 7: 回应 ReviewCOMMENT
LOWmemory/review_sop/review_inline_prompt.en.txt21## Step 1: mandatory readingCOMMENT
LOWmemory/review_sop/review_inline_prompt.en.txt28## Step 2: lock the review scopeCOMMENT
LOWmemory/review_sop/review_inline_prompt.en.txt43## Step 3: file_read each reviewed fileCOMMENT
LOWmemory/review_sop/review_inline_prompt.en.txt48## Step 4: Q1-Q4 adversarial framing (at least 1 concrete evidence per Q)COMMENT
LOWmemory/review_sop/review_inline_prompt.en.txt60## Step 5: list P0-P3 findingsCOMMENT
LOWdocs/installation.md218### Step 0: Inspect before actingCOMMENT
LOWdocs/installation.md228### Step 1: Choose the install pathCOMMENT
LOWdocs/installation.md254### Step 2: Configure keys safelyCOMMENT
LOWdocs/installation.md265### Step 3: Verify setupCOMMENT
LOWdocs/installation.md283### Step 4: Verification and Next StepsCOMMENT
Over-Commented Block36 hits · 22 pts
SeverityFileLineSnippetContext
LOWmykey_template_en.py1# ══════════════════════════════════════════════════════════════════════════════COMMENT
LOWmykey_template_en.py21# /session.thinking_type=adaptiveCOMMENT
LOWmykey_template_en.py61# and Native OAI is fine; mixing Native with non-Native is not).COMMENT
LOWmykey_template.py1# ══════════════════════════════════════════════════════════════════════════════COMMENT
LOWmykey_template.py21# 含 'mixin' → MixinSession → 多 session 故障转移COMMENT
LOWmykey_template.py41# 'http://host:2001/v1/chat/completions' → 原样使用COMMENT
LOWmykey_template.py61# model 必填。后缀 '[1m]' 触发 context-1m-2025-08-07 beta(发出前会COMMENT
LOWmykey_template.py81# thinking_budget_tokens 仅当 thinking_type='enabled' 时生效。参考:COMMENT
LOWmykey_template.py101# ══════════════════════════════════════════════════════════════════════════════COMMENT
LOWmykey_template.py121 'max_retries': 10, # int;整个 rotation 的总重试次数上限COMMENT
LOWmykey_template.py141# 'apikey': 'sk-user-<your-relay-key>', # 非 sk-ant- 前缀 → Bearer 鉴权COMMENT
LOWmykey_template.py161# 官方端点,apikey 以 sk-ant- 开头 → 自动切到 x-api-key 鉴权。COMMENT
LOWmykey_template.py181# # 'reasoning_effort': 'high',COMMENT
LOWmykey_template.py201# # 'reasoning_effort': 'high', # 可选;写进 output_config.effortCOMMENT
LOWmykey_template.py221# 'apibase': 'https://open.bigmodel.cn/api/anthropic',COMMENT
LOWmykey_template.py241# 'apibase': 'https://api.openai.com/v1', # 补齐到 /v1/chat/completionsCOMMENT
LOWmykey_template.py261# 'apikey': 'sk-<your-openai-key>', # Bearer 鉴权COMMENT
LOWmykey_template.py281COMMENT
LOWmykey_template.py301# wecom_secret = 'your_bot_secret'COMMENT
LOWfrontends/tuiapp_v2.py101 r"|\x1b[=>]"COMMENT
LOWfrontends/tuiapp_v2.py121COMMENT
LOWfrontends/tuiapp_v2.py241 if name == "ask_user":COMMENT
LOWfrontends/tuiapp_v2.py261# the invariant `_align_md_renders` relies on (K==W branch).COMMENT
LOWfrontends/tuiapp_v2.py281# stream but NOT the plain (wide) copy source, so mouse-copy stays margin-free.COMMENT
LOWfrontends/tuiapp_v2.py1941 # Indices into `choices` that should render pre-ticked when the card firstCOMMENT
LOWfrontends/tuiapp_v2.py2401 # it the inner ChoiceList falls back to OptionList's defaultCOMMENT
LOWfrontends/continue_cmd.py881COMMENT
LOWfrontends/tui_v3.py1381 self.agent._ga_project_mode_workspace_path = ''COMMENT
LOWfrontends/tui_v3.py2461 # text getter see the same content within a single render pass.COMMENT
LOWfrontends/tui_v3.py2501 # buf starts with `/`. ↑↓ steer the highlight, Tab completes theCOMMENT
LOWfrontends/tui_v3.py3561COMMENT
LOWfrontends/tui_v3.py5221 if ev is None:COMMENT
LOW…tends/desktop/packaging/scripts/macos/install_macos.sh1#!/usr/bin/env bashCOMMENT
LOWfrontends/desktop/packaging/scripts/linux/uninstall.sh1#!/usr/bin/env bashCOMMENT
LOW…tends/desktop/packaging/scripts/linux/install_linux.sh1#!/usr/bin/env bashCOMMENT
LOWfrontends/desktop/src-tauri/.cargo/config.toml1# Statically link the MSVC CRT (UCRT + vcruntime) into the Windows exe so the thinCOMMENT
Modern Structural Boilerplate11 hits · 8 pts
SeverityFileLineSnippetContext
LOWfrontends/tuiapp_v2.py6913 def _set_planbar_visible(self, bar: Static, visible: bool) -> None:CODE
LOWfrontends/tuiapp_v2.py7098 def _update_terminal_title(self) -> None:CODE
LOWfrontends/tuiapp_v2.py6806 def _update_plan_state(self, sess: AgentSession, _stream_text: str = "") -> None:CODE
LOWfrontends/tuiapp_v2.py7963 def set_rows(self, rows: List[RenderRow]) -> None:CODE
LOWfrontends/tuiapp_v2.py8219 def _set_left_selection(self, key: int, keep_focus: bool = False) -> None:CODE
LOWfrontends/tuiapp_v2.py8486 def _set_focus(self, right: bool) -> None:CODE
LOWfrontends/session_names.py49def set_name(log_path: str, name: str) -> None:CODE
LOWfrontends/tui_v3.py2031def _set_term_title(text: str) -> None:CODE
LOWfrontends/tui_v3.py4335 def _set_session_name(self, ag, name: str) -> None:CODE
LOWfrontends/tuiapp.py394 def _set_assistant_message(self, agent_id: int, task_id: int, text: str, *, done: bool) -> None:CODE
LOWassets/ga_ultraplan.py7__all__ = ["plan", "phase", "parallel", "mapchain"]CODE
Fake / Example Data7 hits · 6 pts
SeverityFileLineSnippetContext
LOWllmcore.py676 if not has_thinking: m["content"] = [{"type": "thinking", "thinking": "...", "signature": "placeholder"}, *c]CODE
LOWsimphtml.py135 const p=[el.tagName,el.id&&'#'+el.id,el.getAttribute('name')&&'name='+el.getAttribute('name'),el.tagName==='INPUT'&&CODE
LOWsimphtml.py611 if attr not in ['id', 'class', 'name', 'src', 'href', 'alt', 'value', 'type', 'placeholder',CODE
LOWfrontends/plan_state.py369 return {"active": True, "placeholder": True, "done": 0, "total": 0, "complete": False, "step": step, "pathHint":CODE
LOWfrontends/plan_state.py372 return {"active": True, "placeholder": False, "done": n_done, "total": n_total, "complete": is_complete(pairs), "steCODE
LOWfrontends/desktop/static/i18n.js490 el.setAttribute('placeholder', tFor(lang, el.dataset.i18nPlaceholder));CODE
LOWfrontends/desktop/static/app.js426 else el.setAttribute('placeholder', val);CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMmemory/ultraplan_sop.md37### Why orchestrateCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…tends/desktop/packaging/scripts/macos/install_macos.sh11# Usage:COMMENT
LOW…tends/desktop/packaging/scripts/linux/install_linux.sh13# Usage:COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/desktop-release-package.yml236 # Create the shared release if it does not exist yet (another OS job may win the race).COMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWmemory/ljqCtrlBg.py148CODE
LOWfrontends/tui_v3.py2788CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWassets/ga_httpapp.py17def run_task(prompt):CODE