AI Slop Code RIsk Monitor

HKUDS/DeepCode

"DeepCode: Open Agentic Coding (Agent Harness & Loop Engineering & Multi-Agent Orchestration)"

19.0 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for HKUDS/DeepCode, a Python project with 16,697 GitHub stars. SynthScan examined 266,501 lines of code across 919 source files, recording 4136 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 19.0 (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.

19.0
Adjusted Signal
19.0
Raw Pattern Score
100%
Time Factor
2026-09-28
Last Push
16.7K
Stars
Python
Language
266.5K
Lines of Code
919
Files
4.1K
Pattern Hits
2026-10-12
Scan Date
0.13
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 38.6/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 16.4/100 · LOW

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

Agent Over-Engineering Ratio 49.7/100 · MEDIUM

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

PR Review Velocity Impact 61.7/100 · HIGH

Which changes need focused human review? 4136 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 0HIGH 120MEDIUM 192LOW 3824

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 4136 distinct pattern matches across 20 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 Identifiers2078 hits · 2140 pts
SeverityFileLineSnippetContext
LOWtools/code_implementation_server.py1013def _extract_file_section_from_summary(CODE
LOWtools/code_implementation_server.py1133def _extract_file_section_alternative(CODE
LOWtools/command_executor.py416def generate_execution_summary(CODE
LOWtools/command_executor.py444def format_single_command_result(CODE
LOW⚡tools/pdf_downloader.py745 def process_markdown_with_images(CODE
LOWtools/pdf_downloader.py130async def _request_with_safe_redirects(CODE
LOWtools/pdf_downloader.py170async def perform_document_conversion(CODE
LOWtools/pdf_downloader.py256async def convert_document_to_markdown(CODE
LOWtools/pdf_downloader.py289def format_file_operation_result(CODE
LOW⚡tools/document_segmentation_server.py1110 def _identify_research_paper_sections(self, content: str) -> List[Dict]:CODE
LOW⚡tools/document_segmentation_server.py1115 def _enhance_section_with_context(self, section: Dict, content: str) -> Dict:CODE
LOW⚡tools/document_segmentation_server.py1119 def _identify_concept_implementation_pairs(self, content: str) -> List[Dict]:CODE
LOW⚡tools/document_segmentation_server.py1123 def _merge_concept_with_implementation(self, pair: Dict, content: str) -> Dict:CODE
LOW⚡tools/document_segmentation_server.py1127 def _detect_semantic_boundaries(self, content: str) -> List[Dict]:CODE
LOWtools/document_segmentation_server.py204 def _calculate_weighted_score(CODE
LOWtools/document_segmentation_server.py226 def detect_segmentation_strategy(self, content: str, doc_type: str) -> str:CODE
LOWtools/document_segmentation_server.py249 def _calculate_algorithm_density(self, content: str) -> float:CODE
LOWtools/document_segmentation_server.py273 def _calculate_concept_complexity(self, content: str) -> float:CODE
LOWtools/document_segmentation_server.py286 def _calculate_implementation_detail_level(self, content: str) -> float:CODE
LOWtools/document_segmentation_server.py397 def _segment_preserve_algorithm_integrity(CODE
LOWtools/document_segmentation_server.py431 def _segment_research_paper_semantically(CODE
LOWtools/document_segmentation_server.py456 def _segment_concept_implementation_hybrid(CODE
LOWtools/document_segmentation_server.py481 def _segment_by_enhanced_semantic_chunks(CODE
LOWtools/document_segmentation_server.py585 def _detect_academic_sections(self, content: str) -> List[Dict]:CODE
LOWtools/document_segmentation_server.py644 def _segment_by_semantic_chunks(self, content: str) -> List[DocumentSegment]:CODE
LOWtools/document_segmentation_server.py743 def _identify_algorithm_blocks(self, content: str) -> List[Dict]:CODE
LOWtools/document_segmentation_server.py883 def _merge_related_content_blocks(CODE
LOWtools/document_segmentation_server.py1008 def _extract_enhanced_keywords(self, content: str, content_type: str) -> List[str]:CODE
LOWtools/document_segmentation_server.py1063 def _calculate_enhanced_relevance_scores(CODE
LOWtools/document_segmentation_server.py1173 def _calculate_paragraph_importance(CODE
LOWtools/document_segmentation_server.py1198 def _calculate_optimal_chunk_size(self, content: str) -> int:CODE
LOWtools/document_segmentation_server.py1209 def _create_content_aware_chunks(self, content: str, chunk_size: int) -> List[Dict]:CODE
LOWtools/document_segmentation_server.py1354 def _calculate_relevance_scores(CODE
LOWtools/document_segmentation_server.py1431def ensure_segments_dir_exists(segments_dir: str):CODE
LOWtools/document_segmentation_server.py1467async def analyze_and_segment_document(CODE
LOWtools/document_segmentation_server.py1813def _calculate_adaptive_char_limit(CODE
LOWtools/document_segmentation_server.py1838def _calculate_enhanced_keyword_score(CODE
LOWtools/document_segmentation_server.py1869def _calculate_completeness_bonus(CODE
LOWtools/document_segmentation_server.py1892def _select_segments_with_integrity(CODE
LOWtools/code_reference_indexer.py69def load_index_files_from_directory(indexes_directory: str) -> Dict[str, Dict]:CODE
LOWtools/code_reference_indexer.py136def calculate_relevance_score(CODE
LOWtools/code_reference_indexer.py179def find_relevant_references_in_cache(CODE
LOWtools/code_reference_indexer.py202def find_direct_relationships_in_cache(CODE
LOWtools/code_indexer.py955 async def _process_files_sequentially(self, files_to_analyze: list) -> tuple:CODE
LOWtools/code_indexer.py975 async def _process_files_concurrently(self, files_to_analyze: list) -> tuple:CODE
LOWtools/code_indexer.py1177 def _extract_repository_statistics(self, repo_index: RepoIndex) -> Dict[str, Any]:CODE
LOWtools/code_indexer.py1229 def generate_statistics_report(self, statistics_data: List[Dict[str, Any]]) -> str:CODE
LOWtools/code_indexer.py856 async def _analyze_single_file_with_relationships(STRING
LOWcore/verification.py42def discover_verification_commands(root: Path) -> tuple[VerificationCommand, ...]:CODE
LOWcore/config.py1017def load_config_for_workspace(workspace: str | Path) -> DeepCodeConfig:CODE
LOWcore/agent_setup.py169def _legacy_execution_profile(CODE
LOWcore/private_storage.py246def open_existing_private_file(CODE
LOWcore/private_storage.py354def atomic_write_private_json(path: Path, value: object) -> None:CODE
LOWcore/schedule/monitor.py293def default_monitor_store_path() -> Path:CODE
LOWcore/compat/runtime.py189 def resolve_execution_profile(CODE
LOW⚡core/compat/agent.py95def _mcp_supervisor_close_timeout_s() -> float:CODE
LOWcore/plugins/host.py296 def _registry_and_component_token(self) -> object:CODE
LOWcore/providers/registry.py169 def _matches_declared_endpoint(self, api_base: str | None) -> bool:CODE
LOWcore/providers/timeouts.py27def resolve_request_timeout_s(explicit: float | None = None) -> float | None:CODE
LOWcore/providers/timeouts.py44def resolve_stream_max_runtime_s(explicit: float | None = None) -> float | None:CODE
2018 more matches not shown…
Unused Imports887 hits · 832 pts
SeverityFileLineSnippetContext
LOWtools/document_conversion.py13CODE
LOWtools/pdf_downloader_server.py9CODE
LOWtools/pdf_converter.py13CODE
LOWcore/verification.py3CODE
LOWcore/config.py29CODE
LOWcore/agent_setup.py17CODE
LOWcore/platform_file_lock.py8CODE
LOWcore/platform_compat.py9CODE
LOWcore/file_lock.py3CODE
LOWcore/reasoning.py9CODE
LOWcore/private_storage.py14CODE
LOWcore/llm_runtime.py9CODE
LOWcore/llm_runtime.py21CODE
LOWcore/llm_runtime.py21CODE
LOWcore/schedule/monitor.py46CODE
LOWcore/schedule/keepalive.py11CODE
LOWcore/schedule/__init__.py15CODE
LOWcore/schedule/__init__.py15CODE
LOWcore/schedule/__init__.py16CODE
LOWcore/schedule/scheduler.py10CODE
LOWcore/compat/mcp_app.py16CODE
LOWcore/compat/request_params.py16CODE
LOWcore/compat/__init__.py26CODE
LOWcore/compat/__init__.py26CODE
LOWcore/compat/__init__.py26CODE
LOWcore/compat/__init__.py26CODE
LOWcore/compat/__init__.py26CODE
LOWcore/compat/__init__.py33CODE
LOWcore/compat/__init__.py34CODE
LOWcore/compat/__init__.py35CODE
LOWcore/compat/__init__.py36CODE
LOWcore/compat/__init__.py36CODE
LOWcore/compat/__init__.py36CODE
LOWcore/compat/__init__.py36CODE
LOWcore/compat/runtime.py18CODE
LOWcore/compat/agent.py20CODE
LOWcore/compat/parallel.py8CODE
LOWcore/agent_presets/__init__.py36CODE
LOWcore/plugins/domain.py3CODE
LOWcore/plugins/registry.py3CODE
LOWcore/plugins/host.py3CODE
LOWcore/plugins/__init__.py3CODE
LOWcore/plugins/__init__.py3CODE
LOWcore/plugins/__init__.py3CODE
LOWcore/plugins/__init__.py3CODE
LOWcore/plugins/__init__.py3CODE
LOWcore/plugins/__init__.py3CODE
LOWcore/plugins/__init__.py3CODE
LOWcore/plugins/__init__.py3CODE
LOWcore/plugins/__init__.py3CODE
LOWcore/plugins/__init__.py14CODE
LOWcore/plugins/__init__.py15CODE
LOWcore/plugins/__init__.py16CODE
LOWcore/plugins/mcp.py3CODE
LOWcore/plugins/resolver.py3CODE
LOWcore/plugins/skill_provider.py3CODE
LOWcore/plugins/formats/agent_plugins_v1.py3CODE
LOWcore/plugins/formats/__init__.py3CODE
LOWcore/plugins/formats/__init__.py3CODE
LOWcore/providers/catalog.py31CODE
827 more matches not shown…
Decorative Section Separators157 hits · 546 pts
SeverityFileLineSnippetContext
MEDIUMcore/config.py70# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py88# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py146# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py337# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py339# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py361# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py363# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py377# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py379# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py550# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py552# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py751# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py753# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py1031# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/config.py1033# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/schedule/monitor.py65# ── Constants ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcore/schedule/monitor.py80# ── Outcome dataclass ────────────────────────────────────────────────────────COMMENT
MEDIUMcore/schedule/monitor.py100# ── Pure functions ───────────────────────────────────────────────────────────COMMENT
MEDIUMcore/schedule/monitor.py125# ── Source readers ───────────────────────────────────────────────────────────COMMENT
MEDIUMcore/schedule/monitor.py194# ── Core comparison ──────────────────────────────────────────────────────────COMMENT
MEDIUMcore/schedule/monitor.py290# ── Persistence ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcore/schedule/monitor.py387# ── Combined entry point ─────────────────────────────────────────────────────COMMENT
MEDIUMcore/schedule/monitor.py434# ── CLI ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcore/providers/catalog.py68# --------------------------------------------------------------------------COMMENT
MEDIUMcore/providers/catalog.py76# --------------------------------------------------------------------------COMMENT
MEDIUMcore/providers/catalog.py138# --------------------------------------------------------------------------COMMENT
MEDIUMcore/providers/catalog.py145# --------------------------------------------------------------------------COMMENT
MEDIUMcore/providers/openai_compat.py443 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/openai_compat.py445 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/openai_compat.py675 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/openai_compat.py677 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/openai_compat.py1218 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/openai_compat.py1220 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py206 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py208 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py385 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py387 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py431 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py433 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py474 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py476 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py571 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py573 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py657 # ------------------------------------------------------------------COMMENT
MEDIUMcore/providers/anthropic.py659 # ------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py120# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py122# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/observability/bus.py236# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/observability/bus.py238# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py266# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py268# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py358# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py360# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py474# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/observability/bus.py476# ---------------------------------------------------------------------------COMMENT
97 more matches not shown…
Empty Error Handlers94 hits · 470 pts
SeverityFileLineSnippetContext
HIGHtools/code_implementation_server.py1357except PermissionError:CODE
HIGHtools/document_conversion.py450except FileNotFoundError:CODE
HIGHtools/pdf_downloader.py964except FileNotFoundError:CODE
HIGHtools/document_segmentation_server.py1547except Exception as e:CODE
HIGHtools/pdf_converter.py664except Exception:CODE
HIGHtools/pdf_converter.py167except (CODE
HIGHtools/pdf_converter.py435except Exception:CODE
HIGHtools/pdf_converter.py658except (CODE
HIGHtools/code_indexer.py1509except NameError:CODE
HIGHtools/code_indexer.py1071except Exception:CODE
HIGHtools/code_indexer.py1047except Exception:CODE
HIGHtools/code_indexer.py510except (OSError, PermissionError):CODE
HIGHcore/verification.py177except subprocess.TimeoutExpired:CODE
HIGHcore/file_lock.py86except OSError:CODE
HIGHcore/file_lock.py42except OSError:CODE
HIGHcore/file_lock.py56except OSError:CODE
HIGHcore/private_storage.py336except (NotImplementedError, OSError):CODE
HIGHcore/compat/agent.py86except Exception: # noqa: BLE001CODE
HIGHcore/compat/agent.py468except BaseException: # noqa: BLE001CODE
HIGHcore/compat/agent.py81except Exception: # noqa: BLE001CODE
HIGHcore/compat/agent.py438except Exception: # noqa: BLE001CODE
HIGHcore/compat/agent.py433except Exception: # noqa: BLE001CODE
HIGHcore/plugins/registry.py166except OSError:CODE
HIGHcore/plugins/registry.py172except FileNotFoundError:CODE
HIGHcore/providers/catalog_service.py398except OSError:CODE
HIGHcore/providers/catalog_service.py403except FileNotFoundError:CODE
HIGHcore/providers/openai_compat.py1497except Exception: # pragma: no cover - logging must not raiseCODE
HIGHcore/providers/anthropic.py847except Exception: # pragma: no cover - logging must not raiseCODE
HIGHcore/providers/base.py804except (TypeError, ValueError):CODE
HIGHcore/network/safe_http.py321except ValueError:CODE
HIGHcore/mcp/oauth.py680except FileNotFoundError:CODE
HIGHcore/observability/bus.py232except ValueError:CODE
HIGHcore/observability/bus.py158except ValueError:CODE
HIGHcore/harness/memory.py116except ValueError:CODE
HIGHcore/harness/sandbox.py287except OSError:CODE
HIGHcore/harness/tools/replace.py186except re.error:CODE
HIGHcore/harness/agents/control.py528except OSError:CODE
HIGHcore/harness/hooks/execution.py94except Exception: # noqa: BLE001 - best-effort reap after killCODE
HIGHcore/sessions/store.py181except OSError:CODE
HIGHcore/sessions/store.py807except OSError:CODE
HIGHcore/sessions/store.py933except OSError:CODE
HIGHcore/sessions/index.py113except sqlite3.Error:CODE
HIGHcore/sessions/index.py127except sqlite3.Error:CODE
HIGHcore/sessions/index.py142except sqlite3.Error:CODE
HIGHcore/sessions/index.py179except sqlite3.Error:CODE
HIGHcore/sessions/deletion.py167except OSError:CODE
HIGHcore/agent_runtime/runner.py1293except Exception:CODE
HIGHcore/agent_runtime/processes.py39except asyncio.TimeoutError:CODE
HIGHcore/agent_runtime/helpers.py352except Exception:CODE
HIGHcore/agent_runtime/tools/mcp.py160except Exception: # pragma: no coverCODE
HIGHcore/agent_runtime/tools/mcp.py596except Exception:CODE
HIGH…/security-ownership-map/scripts/build_ownership_map.py970except ImportError:CODE
HIGHcore/application/terminal_service.py445except subprocess.TimeoutExpired:CODE
HIGHcore/application/terminal_service.py453except subprocess.TimeoutExpired:CODE
HIGHcore/application/terminal_service.py195except OSError:CODE
HIGHcore/application/application_lease.py122except OSError:CODE
HIGHcore/application/application_lease.py54except OSError:CODE
HIGHcore/application/workflow_service.py242except TurnWriteConflictError:CODE
HIGHcore/application/workflow_service.py450except RuntimeError:CODE
HIGHcore/application/git_service.py370except OSError:CODE
34 more matches not shown…
Excessive Try-Catch Wrapping316 hits · 311 pts
SeverityFileLineSnippetContext
LOWdeepcode.py83 except Exception as e: # noqa: BLE001 - top-level CLI error boundaryCODE
LOWdeepcode.py116 except Exception:CODE
LOWtools/code_implementation_server.py166 except Exception as e:CODE
LOWtools/code_implementation_server.py335 except Exception as file_error:CODE
LOWtools/code_implementation_server.py387 except Exception as e:CODE
LOWtools/code_implementation_server.py461 except Exception as e:CODE
LOWtools/code_implementation_server.py619 except Exception as file_error:CODE
LOWtools/code_implementation_server.py668 except Exception as e:CODE
LOWtools/code_implementation_server.py765 except Exception as e:CODE
LOWtools/code_implementation_server.py869 except Exception as e:CODE
LOWtools/code_implementation_server.py998 except Exception as e:CODE
LOWtools/code_implementation_server.py1262 except Exception as e:CODE
LOWtools/code_implementation_server.py1294 except Exception as e:CODE
LOWtools/code_implementation_server.py1407 except Exception as e:CODE
LOWtools/code_implementation_server.py1473 except Exception as e:CODE
LOWtools/code_implementation_server.py1511 except Exception as e:CODE
LOWtools/pdf_utils.py45 except Exception as e:CODE
LOWtools/command_executor.py138 except Exception as e:CODE
LOWtools/command_executor.py231 except Exception as e:CODE
LOWtools/command_executor.py330 except Exception as e:CODE
LOWtools/command_executor.py340 except Exception as e:CODE
LOWtools/command_executor.py408 except Exception as e:CODE
LOWtools/document_conversion.py310 except Exception as exc:CODE
LOW⚡tools/pdf_downloader.py733 except Exception as img_error:CODE
LOW⚡tools/pdf_downloader.py740 except Exception as e:CODE
LOWtools/pdf_downloader.py211 except Exception as exc:CODE
LOWtools/pdf_downloader.py234 except Exception as exc:CODE
LOWtools/pdf_downloader.py640 except Exception as e:CODE
LOWtools/pdf_downloader.py671 except Exception:CODE
LOWtools/pdf_downloader.py689 except Exception:CODE
LOWtools/pdf_downloader.py879 except Exception as e:CODE
LOWtools/pdf_downloader.py988 except Exception as e:CODE
LOWtools/pdf_downloader.py1034 except Exception as e:CODE
LOWtools/pdf_downloader.py1129 except Exception as e:CODE
LOWtools/pdf_downloader.py1182 except Exception as e:CODE
LOWtools/git_command.py135 except Exception:CODE
LOWtools/git_command.py160 except Exception as e:CODE
LOWtools/git_command.py250 except Exception as e:CODE
LOWtools/git_command.py351 except Exception as e:CODE
LOWtools/document_segmentation_server.py1451 except Exception as exc:CODE
LOWtools/document_segmentation_server.py1541 except Exception as e:CODE
LOWtools/document_segmentation_server.py1547 except Exception as e:CODE
LOWtools/document_segmentation_server.py1617 except Exception as e:CODE
LOWtools/document_segmentation_server.py1739 except Exception as e:CODE
LOWtools/document_segmentation_server.py1798 except Exception as e:CODE
LOWtools/code_reference_indexer.py85 except Exception as e:CODE
LOWtools/code_reference_indexer.py404 except Exception as e:CODE
LOWtools/code_reference_indexer.py474 except Exception as e:CODE
LOWtools/pdf_converter.py273 except Exception as e:CODE
LOWtools/pdf_converter.py314 except Exception as e:CODE
LOWtools/pdf_converter.py420 except Exception:CODE
LOWtools/pdf_converter.py433 except Exception:CODE
LOWtools/pdf_converter.py435 except Exception:CODE
LOWtools/pdf_converter.py517 except Exception as e:CODE
LOWtools/pdf_converter.py534 except Exception as e:CODE
LOWtools/pdf_converter.py664 except Exception:CODE
LOWtools/pdf_converter.py742 except Exception as e:CODE
LOWtools/code_indexer.py288 except Exception as e:CODE
LOWtools/code_indexer.py362 except Exception as e:CODE
LOWtools/code_indexer.py447 except Exception as e:CODE
256 more matches not shown…
Deep Nesting222 hits · 184 pts
SeverityFileLineSnippetContext
LOWdeepcode.py124CODE
LOWtools/code_implementation_server.py177CODE
LOWtools/code_implementation_server.py472CODE
LOWtools/code_implementation_server.py1133CODE
LOWtools/code_implementation_server.py1183CODE
LOWtools/code_implementation_server.py1308CODE
LOWtools/code_implementation_server.py1334CODE
LOWtools/pdf_utils.py9CODE
LOWtools/command_executor.py32CODE
LOWtools/command_executor.py240CODE
LOWtools/document_conversion.py315CODE
LOWtools/document_conversion.py406CODE
LOWtools/document_conversion.py201CODE
LOWtools/document_conversion.py240CODE
LOWtools/pdf_downloader.py170CODE
LOWtools/pdf_downloader.py1043CODE
LOWtools/pdf_downloader.py419CODE
LOWtools/pdf_downloader.py459CODE
LOWtools/pdf_downloader.py564CODE
LOWtools/pdf_downloader.py692CODE
LOWtools/git_command.py165CODE
LOWtools/git_command.py27CODE
LOWtools/document_segmentation_server.py1467CODE
LOWtools/document_segmentation_server.py1627CODE
LOWtools/document_segmentation_server.py158CODE
LOWtools/document_segmentation_server.py226CODE
LOWtools/document_segmentation_server.py309CODE
LOWtools/document_segmentation_server.py327CODE
LOWtools/document_segmentation_server.py585CODE
LOWtools/document_segmentation_server.py1063CODE
LOWtools/document_segmentation_server.py1156CODE
LOWtools/document_segmentation_server.py1173CODE
LOWtools/document_segmentation_server.py1328CODE
LOWtools/code_reference_indexer.py202CODE
LOWtools/pdf_converter.py86CODE
LOWtools/pdf_converter.py319CODE
LOWtools/pdf_converter.py616CODE
LOWtools/code_indexer.py450CODE
LOWtools/code_indexer.py473CODE
LOWtools/code_indexer.py658CODE
LOWtools/code_indexer.py770CODE
LOWtools/code_indexer.py975CODE
LOWtools/code_indexer.py1096CODE
LOWtools/code_indexer.py477CODE
LOWcore/platform_compat.py26CODE
LOWcore/compat/agent.py36CODE
LOWcore/compat/agent.py104CODE
LOWcore/compat/agent.py390CODE
LOWcore/plugins/host.py219CODE
LOWcore/providers/openai_compat.py371CODE
LOWcore/providers/openai_compat.py691CODE
LOWcore/providers/openai_compat.py842CODE
LOWcore/providers/openai_compat.py988CODE
LOWcore/providers/openai_compat.py1116CODE
LOWcore/providers/openai_compat.py1222CODE
LOWcore/providers/openai_compat.py1296CODE
LOWcore/providers/anthropic.py126CODE
LOWcore/providers/anthropic.py210CODE
LOWcore/providers/anthropic.py576CODE
LOWcore/providers/protocol_config.py58CODE
162 more matches not shown…
Modern Structural Boilerplate175 hits · 176 pts
SeverityFileLineSnippetContext
LOWtools/code_implementation_server.py42logger = logging.getLogger(__name__)CODE
LOWtools/document_segmentation_server.py79logger = logging.getLogger(__name__)CODE
LOWtools/code_reference_indexer.py35logger = logging.getLogger(__name__)CODE
LOWcore/config.py1200__all__ = [CODE
LOWcore/version.py5__all__ = ["__version__"]CODE
LOWcore/platform_file_lock.py130__all__ = ["acquire_file_lock", "release_file_lock"]CODE
LOWcore/file_lock.py97__all__ = ["FileLease", "exclusive_file_lock"]CODE
LOWcore/reasoning.py131__all__ = [CODE
LOWcore/private_storage.py342__all__ = [CODE
LOWcore/schedule/__init__.py18__all__ = ["Continuation", "ContinuationDecision", "run_scheduled"]CODE
LOWcore/compat/__init__.py43__all__ = [CODE
LOWcore/compat/runtime.py264def set_runtime(runtime: DeepCodeRuntime | None) -> None:CODE
LOWcore/agent_presets/__init__.py365__all__ = [CODE
LOWcore/plugins/domain.py190__all__ = [CODE
LOWcore/plugins/registry.py83 def set_enabled(self, selector: str, enabled: bool) -> None:CODE
LOWcore/plugins/registry.py302__all__ = [CODE
LOWcore/plugins/host.py39logger = logging.getLogger(__name__)CODE
LOWcore/plugins/host.py335__all__ = [CODE
LOWcore/plugins/__init__.py18__all__ = [CODE
LOWcore/plugins/mcp.py395__all__ = [CODE
LOWcore/plugins/resolver.py85__all__ = ["MAX_PLUGIN_MANIFEST_BYTES", "resolve_plugin"]CODE
LOWcore/plugins/skill_provider.py277__all__ = ["PluginSkillProvider"]CODE
LOWcore/plugins/formats/agent_plugins_v1.py272__all__ = [CODE
LOWcore/plugins/formats/__init__.py8__all__ = ["AGENT_PLUGIN_SCHEMA", "AgentPluginsV1Adapter"]CODE
LOWcore/providers/egress.py339__all__ = [CODE
LOWcore/providers/credentials.py232__all__ = [CODE
LOWcore/providers/catalog_service.py552__all__ = ["CatalogModel", "ModelCatalog", "ModelCatalogService"]CODE
LOWcore/providers/__init__.py25__all__ = [CODE
LOWcore/providers/timeouts.py157__all__ = [CODE
LOWcore/providers/openai_compat.py296 def _set_runtime_credential(self, key: str | None) -> None:CODE
LOWcore/providers/anthropic.py120 def _set_runtime_credential(self, key: str | None) -> None:CODE
LOWcore/providers/reasoning.py214__all__ = [CODE
LOWcore/providers/profiles.py636__all__ = [CODE
LOWcore/providers/base.py249 def _set_runtime_credential(self, key: str | None) -> None:CODE
LOWcore/providers/openai_responses/__init__.py18__all__ = [CODE
LOWcore/network/__init__.py17__all__ = [CODE
LOWcore/network/hostnames.py60__all__ = ["is_domain_allowed", "normalize_domain"]CODE
LOWcore/network/safe_http.py481__all__ = [CODE
LOWcore/mcp/models.py561__all__ = [CODE
LOWcore/mcp/presets.py88__all__ = ["McpPreset", "McpPresetBundle", "McpPresetCatalog"]CODE
LOWcore/mcp/naming.py43__all__ = ["MAX_TOOL_NAME_LENGTH", "visible_tool_name"]CODE
LOWcore/mcp/tools.py169__all__ = ["McpToolAdapter"]CODE
LOWcore/mcp/__init__.py34__all__ = [CODE
LOWcore/mcp/runtime.py455__all__ = ["McpServerRuntimeStatus", "McpSessionRuntime"]CODE
LOWcore/mcp/connection.py411def _set_header(headers: dict[str, str], name: str, value: str) -> None:CODE
LOWcore/mcp/connection.py509__all__ = [CODE
LOWcore/mcp/probe.py80__all__ = ["McpProbeResult", "probe_mcp_server"]CODE
LOWcore/mcp/resolver.py290__all__ = ["McpConfigResolver", "resolve_plugin_servers"]CODE
LOWcore/mcp/oauth.py97 async def set_tokens(self, tokens: OAuthToken) -> None:CODE
LOWcore/mcp/oauth.py110 async def set_client_info(self, client_info: OAuthClientInformationFull) -> None:CODE
LOWcore/mcp/oauth.py200 def _set_field(self, name: str, value: Any) -> None:CODE
LOWcore/mcp/oauth.py684__all__ = [CODE
LOWcore/mcp/schema.py57__all__ = ["normalize_schema_for_openai"]CODE
LOWcore/observability/records.py308__all__ = [CODE
LOWcore/observability/__init__.py49__all__ = [CODE
LOW⚡core/observability/bus.py241def set_task_dir(task_id: str, task_dir: Path | str) -> None:CODE
LOWcore/observability/bus.py639__all__ = [CODE
LOWcore/observability/context.py78__all__ = [CODE
LOWcore/observability/llmops.py35__all__ = ["LLMCallSummary", "load_llm_records", "main", "summarize_llm_calls"]CODE
LOWcore/harness/env_sanitize.py40__all__ = [CODE
115 more matches not shown…
Cross-Language Confusion20 hits · 108 pts
SeverityFileLineSnippetContext
HIGHcore/providers/oauth.py249 text=f'<!doctype html><meta charset="utf-8"><title>DeepCode</title><p>Authorization processed. Return toCODE
HIGHcore/harness/command_guard.py137 hidden in a pipeline or sequence is still caught, e.g. ``echo hi && rm -rf /``STRING
HIGH⚡core/persistence/migrations.py1247 '{"accessPreset":null,"permissionMode":"plan","commandSandbox":true,"filesystemScope":"workspace","approvalPolicCODE
HIGH⚡core/persistence/migrations.py1249 '{"accessPreset":null,"permissionMode":"full_auto","commandSandbox":true,"filesystemScope":"workspace","approvalCODE
HIGH⚡core/persistence/migrations.py1251 '{"accessPreset":null,"permissionMode":"default","commandSandbox":true,"filesystemScope":"workspace","approvalPoCODE
HIGH…e/skills/builtin/webapp-testing/scripts/with_server.py12 --server "cd backend && python server.py" --port 3000 \STRING
HIGH…e/skills/builtin/webapp-testing/scripts/with_server.py13 --server "cd frontend && npm run dev" --port 5173 \STRING
HIGHapp_server/windows_task.py284$null=$folder.RegisterTaskDefinition($env:DEEPCODE_TASK_LABEL,$definition,6,$sid,$null,3)CODE
HIGHapp_server/windows_task.py323 + "$task=$scheduler.GetFolder('\\DeepCode').GetTask($env:DEEPCODE_TASK_LABEL); $task.Enabled=$true; $null=$tSTRING
HIGHtests/test_command_guard.py45 "echo hi && rm -rf /", # destructive stage inside a sequenceCODE
HIGH⚡tests/test_command_guard.py68 "ls && echo done", # benign sequenceCODE
HIGH⚡tests/test_command_guard.py69 "make && make install", # benign sequenceCODE
HIGHtests/test_exec_sandbox_wiring.py123 f"cat ~/.aws/credentials > {stolen} 2>/dev/null || echo done", timeout=30CODE
HIGHtests/test_command_guard_egress.py157 "make && make install",CODE
HIGHtests/test_verification.py12 '{"scripts":{"test":"echo Error: no test specified && exit 1"}}',CODE
HIGHtests/contract/test_protocol_schema.py171 assert "executionPermissionMode?: ExecutionPermissionMode | null;" in generatedCODE
HIGH⚡tests/contract/test_protocol_schema.py256 assert "accessPresetOverride: ExecutionAccessPreset | null;" in generatedCODE
HIGH⚡tests/contract/test_protocol_schema.py257 assert "executionSecurityProfile?: ExecutionSecurityProfile | null;" in generatedCODE
HIGHtests/contract/test_protocol_schema.py380 assert "goalId: string | null;" in generatedCODE
HIGHtests/contract/test_protocol_schema.py384 assert "nextOffset: number | null;" in generatedCODE
Redundant / Tautological Comments45 hits · 64 pts
SeverityFileLineSnippetContext
LOWtools/code_implementation_server.py429 # Write fileCOMMENT
LOWtools/code_implementation_server.py578 # Write fileCOMMENT
LOWtools/code_implementation_server.py1043 # Check if paths match using multiple strategiesCOMMENT
LOWtools/code_implementation_server.py1154 # Check if this matches our targetCOMMENT
LOWtools/document_segmentation_server.py338 # Check if line is a headerCOMMENT
LOWtools/document_segmentation_server.py900 # Check if can merge with the next blockCOMMENT
LOWtools/document_segmentation_server.py1497 # Check if analysis already exists and is recentCOMMENT
LOWtools/document_segmentation_server.py1859 # Check if in important position (first 25% of content)COMMENT
LOWtools/pdf_converter.py125 # Check if LibreOffice is availableCOMMENT
LOWtools/code_indexer.py617 # Check if it's in the selected listCOMMENT
LOWtools/code_indexer.py1467 # Display resultsSTRING
LOWcore/skills/builtin/skill-creator/scripts/init_skill.py278 # Check if directory already existsCOMMENT
LOW⚡workflows/agent_orchestration_engine.py1120 # Check if file is actually a PDF by reading the first few bytesCOMMENT
LOWworkflows/agent_orchestration_engine.py1058 # Check if reference analysis already existsCOMMENT
LOWworkflows/agent_orchestration_engine.py1327 # Check if plan is empty or invalidCOMMENT
LOWworkflows/agent_orchestration_engine.py1394 # Verify if any repositories were actually downloadedCOMMENT
LOWworkflows/agent_orchestration_engine.py1460 # Check if code_base directory exists and has contentCOMMENT
LOWworkflows/agent_orchestration_engine.py1469 # Check if there are any repositories in the code_base directoryCOMMENT
LOWworkflows/agent_orchestration_engine.py1605 # Check if initial plan file existsCOMMENT
LOW⚡workflows/interactions/plan_review.py59 # Check if disabledCOMMENT
LOW⚡workflows/interactions/plan_review.py63 # Check if already reviewedCOMMENT
LOW⚡workflows/interactions/plan_review.py67 # Check if we have a plan to reviewCOMMENT
LOW⚡workflows/interactions/requirement_analysis.py69 # Check if disabled in contextCOMMENT
LOW⚡workflows/interactions/requirement_analysis.py73 # Check if already processedCOMMENT
LOW⚡workflows/interactions/requirement_analysis.py77 # Check if we have user input to analyzeCOMMENT
LOW⚡workflows/agents/code_implementation_agent.py459 # Check if result is a CallToolResult objectCOMMENT
LOWworkflows/agents/code_implementation_agent.py173 # Check if read tools are disabledCOMMENT
LOWworkflows/agents/code_implementation_agent.py296 # Check if a summary exists for this file using read_code_mem MCP toolCOMMENT
LOWworkflows/agents/code_implementation_agent.py311 # Check if any summaries were found in the resultsCOMMENT
LOWworkflows/agents/code_implementation_agent.py632 # Check if we should trigger summary / 检查是否应触发总结COMMENT
LOWworkflows/agents/code_implementation_agent.py869 # Check if recent calls are all read_file or search_reference_code / 检查最近的调用是否都是read_file或search_reference_codeCOMMENT
LOWworkflows/agents/memory_agent_concise.py320 # Check if file has a code extensionCOMMENT
LOWworkflows/agents/memory_agent_concise.py546 # Check if it's a known file extensionCOMMENT
LOWworkflows/agents/memory_agent_concise.py703 # Check if it looks like a file (has extension)COMMENT
LOWworkflows/agents/memory_agent_concise.py987 # Check if we've already seen this file (exact match)COMMENT
LOWworkflows/agents/memory_agent_concise.py1386 # Check if file exists to determine if we need headerSTRING
LOWworkflows/agents/memory_agent_concise.py1588 "read_file", # Read file contentsSTRING
LOWworkflows/agents/memory_agent_concise.py1589 "write_file", # Write file contents (important for tracking implementations)STRING
LOWworkflows/agents/document_segmentation_agent.py124 # Check if markdown file existsCOMMENT
LOWutils/file_processor.py30 # Check if it's a file path (existing or not)COMMENT
LOWutils/file_processor.py114 # Check if line is a headerCOMMENT
LOWutils/file_processor.py190 # Check if file is actually a PDF by reading the first few bytesCOMMENT
LOWutils/file_processor.py213 # Read file contentCOMMENT
LOWutils/file_processor.py375 # Check if it's a file path (existing or not)COMMENT
LOWutils/file_processor.py416 # Read file contentCOMMENT
Structural Annotation Overuse33 hits · 53 pts
SeverityFileLineSnippetContext
LOWtools/code_reference_indexer.py356 # Step 1: Load index files from specified directoryCOMMENT
LOW⚡tools/code_reference_indexer.py369 # Step 2: Parse keywordsCOMMENT
LOW⚡tools/code_reference_indexer.py374 # Step 3: Find relevant reference codeCOMMENT
LOW⚡tools/code_reference_indexer.py379 # Step 4: Find direct relationshipsCOMMENT
LOW⚡tools/code_reference_indexer.py382 # Step 5: Format outputCOMMENT
LOW⚡tools/code_indexer.py876 # Step 1: Generate file treeCOMMENT
LOW⚡tools/code_indexer.py880 # Step 2: Get all filesCOMMENT
LOW⚡tools/code_indexer.py884 # Step 3: LLM pre-filtering of relevant filesCOMMENT
LOW⚡tools/code_indexer.py892 # Step 4: Filter file list based on filtering resultsCOMMENT
LOWtools/code_indexer.py904 # Step 5: Analyze filtered files (concurrent or sequential)COMMENT
LOWtools/code_indexer.py918 # Step 6: Create repository indexCOMMENT
LOWcore/skills/builtin/skill-creator/SKILL.md236### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOWcore/skills/builtin/skill-creator/SKILL.md253### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOWcore/skills/builtin/skill-creator/SKILL.md277### Step 3: Initializing the SkillCOMMENT
LOWcore/skills/builtin/skill-creator/SKILL.md317### Step 4: Edit the SkillCOMMENT
LOWcore/skills/builtin/skill-creator/SKILL.md349### Step 5: Validate the SkillCOMMENT
LOWcore/skills/builtin/skill-creator/SKILL.md359### Step 6: IterateCOMMENT
LOW⚡core/skills/builtin/mcp-builder/reference/evaluation.md176### Step 1: Documentation InspectionCOMMENT
LOW⚡core/skills/builtin/mcp-builder/reference/evaluation.md184### Step 2: Tool InspectionCOMMENT
LOW⚡core/skills/builtin/mcp-builder/reference/evaluation.md191### Step 3: Developing UnderstandingCOMMENT
LOW⚡core/skills/builtin/mcp-builder/reference/evaluation.md200### Step 4: Read-Only Content InspectionCOMMENT
LOWcore/skills/builtin/mcp-builder/reference/evaluation.md214### Step 5: Task GenerationCOMMENT
LOW⚡workflows/codebase_index_workflow.py424 # Step 1: Determine initial plan file pathSTRING
LOW⚡workflows/codebase_index_workflow.py428 # Step 2: Load target structureSTRING
LOW⚡workflows/codebase_index_workflow.py443 # Step 3: Check codebase pathSTRING
LOW⚡workflows/codebase_index_workflow.py453 # Step 4: Create output directorySTRING
LOW⚡workflows/codebase_index_workflow.py457 # Step 5: Load configurationSTRING
LOW⚡workflows/codebase_index_workflow.py463 # Step 6: Create code indexerSTRING
LOW⚡workflows/codebase_index_workflow.py580 # Step 7: Build all indexesSTRING
LOW⚡workflows/codebase_index_workflow.py583 # Step 8: Generate summary reportSTRING
LOW⚡workflows/agent_orchestration_engine.py1096 # Step 1: Check if any markdown files existCOMMENT
LOW⚡workflows/agent_orchestration_engine.py1117 # Step 2: Read document content to determine sizeCOMMENT
LOWworkflows/agent_orchestration_engine.py1164 # Step 3: Determine if segmentation should be usedCOMMENT
Verbosity Indicators22 hits · 33 pts
SeverityFileLineSnippetContext
LOWtools/code_reference_indexer.py356 # Step 1: Load index files from specified directoryCOMMENT
LOW⚡tools/code_reference_indexer.py369 # Step 2: Parse keywordsCOMMENT
LOW⚡tools/code_reference_indexer.py374 # Step 3: Find relevant reference codeCOMMENT
LOW⚡tools/code_reference_indexer.py379 # Step 4: Find direct relationshipsCOMMENT
LOW⚡tools/code_reference_indexer.py382 # Step 5: Format outputCOMMENT
LOW⚡tools/code_indexer.py876 # Step 1: Generate file treeCOMMENT
LOW⚡tools/code_indexer.py880 # Step 2: Get all filesCOMMENT
LOW⚡tools/code_indexer.py884 # Step 3: LLM pre-filtering of relevant filesCOMMENT
LOW⚡tools/code_indexer.py892 # Step 4: Filter file list based on filtering resultsCOMMENT
LOWtools/code_indexer.py904 # Step 5: Analyze filtered files (concurrent or sequential)COMMENT
LOWtools/code_indexer.py918 # Step 6: Create repository indexCOMMENT
LOW⚡workflows/codebase_index_workflow.py424 # Step 1: Determine initial plan file pathSTRING
LOW⚡workflows/codebase_index_workflow.py428 # Step 2: Load target structureSTRING
LOW⚡workflows/codebase_index_workflow.py443 # Step 3: Check codebase pathSTRING
LOW⚡workflows/codebase_index_workflow.py453 # Step 4: Create output directorySTRING
LOW⚡workflows/codebase_index_workflow.py457 # Step 5: Load configurationSTRING
LOW⚡workflows/codebase_index_workflow.py463 # Step 6: Create code indexerSTRING
LOW⚡workflows/codebase_index_workflow.py580 # Step 7: Build all indexesSTRING
LOW⚡workflows/codebase_index_workflow.py583 # Step 8: Generate summary reportSTRING
LOW⚡workflows/agent_orchestration_engine.py1096 # Step 1: Check if any markdown files existCOMMENT
LOW⚡workflows/agent_orchestration_engine.py1117 # Step 2: Read document content to determine sizeCOMMENT
LOWworkflows/agent_orchestration_engine.py1164 # Step 3: Determine if segmentation should be usedCOMMENT
AI Slop Vocabulary11 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMtools/code_implementation_server.py789 # workspace sandbox below is (see core.harness.sandbox).COMMENT
MEDIUMcore/harness/sandbox.py322 # ``python -m core.harness.windows_sandbox -- <inner argv...>`` createsCOMMENT
MEDIUMcore/harness/agents/external_backend.py41# harness's own provider keys must not leak into a spawned CLI implicitly.COMMENT
MEDIUMcore/harness/agents/external_backend.py46# The implementation moved to :mod:`core.harness.env_sanitize` so the shell,COMMENT
MEDIUMcore/dictation/local_runner.py23# the harness environment (provider keys in particular) is forwarded.COMMENT
MEDIUMcore/application/execution_security_policy.py138 # Direct legacy harness callers keep their established client defaults.COMMENT
MEDIUMcore/loop/autodream.py44 # model pass (see core.harness.memory.consolidate_pointer_index).COMMENT
MEDIUM⚡workflows/agent_orchestration_engine.py1726 # Set higher token output for comprehensive planningCOMMENT
MEDIUMworkflows/agent_orchestration_engine.py1737 formatted_message = f"""Please analyze the following coding requirements and generate a comprehensive implemCODE
MEDIUMprompts/code_prompts.py463CODE_PLANNING_PROMPT = """You are creating a DETAILED, COMPLETE reproduction plan by integrating comprehensive analysis CODE
MEDIUMprompts/code_prompts.py1556CODE_PLANNING_PROMPT_TRADITIONAL = """You are creating a DETAILED, COMPLETE reproduction plan by integrating comprehensiCODE
Docstring Block Structure5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHtools/pdf_downloader.py1044 Download files from URLs or move local files mentioned in natural language instructions. Args: instrucSTRING
HIGHtools/git_command.py166 Download GitHub repositories from natural language instructions. Args: instruction: Natural language tSTRING
HIGHcore/skills/builtin/skill-creator/scripts/init_skill.py263 Initialize a new skill directory with template SKILL.md. Args: skill_name: Name of the skill pSTRING
HIGH…lls/builtin/mcp-builder/reference/python_mcp_server.md282 Search for users in the Example system by name, email, or team. This tool searches across all user profiles inSTRING
HIGHutils/file_processor.py172 Read the content of a file asynchronously. Args: file_path: Path to the file to read STRING
Over-Commented Block28 hits · 24 pts
SeverityFileLineSnippetContext
LOWtools/code_implementation_server.py781 timeout: Timeout in secondsCOMMENT
LOWcore/harness/memory.py261# Claude Code's memory layout keeps ``MEMORY.md`` permanently inCOMMENT
LOWcore/harness/memory.py481# ---------------------------------------------------------------------------COMMENT
LOWcore/harness/memory.py601COMMENT
LOWcore/harness/command_guard.py161COMMENT
LOWcore/harness/command_guard.py181# through an innocuous command, walks straight through. This is a filter, notCOMMENT
LOWcore/harness/agents/external_backend.py41# harness's own provider keys must not leak into a spawned CLI implicitly.COMMENT
LOWcore/team/worktree.py21 "-c",COMMENT
LOWcore/agent_runtime/runner.py81 "I reached the maximum number of tool call iterations ({max_iterations}) "COMMENT
LOWcore/agent_runtime/runner.py161 # reminder instead of a hard stop. ``None`` disables the guard.COMMENT
LOWcore/agent_runtime/runner.py201 # one of "allow"/"ask"/"deny" (str or enum with a ``.value``). CalledCOMMENT
LOWcore/agent_runtime/runner.py221 # no verdict falls through to ``approval_callback``.COMMENT
LOWcore/agent_runtime/runner.py1301 # Tool never ran (bad args) — surface pre-hook context, no PostToolUse.COMMENT
LOWcore/application/thread_service.py221 # Resolve once and persist BY VALUE: editing the preset file laterCOMMENT
LOWcore/events/session.py421 # no hooks are configured, so the whole feature is dormant at zero cost.COMMENT
LOWcore/events/session.py441 else NoneCOMMENT
LOWworkflows/agents/memory_agent_concise.py1301 llm_summary: LLM-generated summary contentCOMMENT
LOWworkflows/agents/memory_agent_concise.py1721 knowledge_base_message["content"] += (COMMENT
LOWworkflows/agents/memory_agent_concise.py1741 # # If no tool results yet, add guidance for next stepsCOMMENT
LOWcli/tui/theme.py21COMMENT
LOWcli/tui/theme.py101# -- pickers (prompt_toolkit dialect; it has no dim attribute, so theCOMMENT
LOWcli/tui/renderer.py201 # line reads the newest, each elbow pops its own.COMMENT
LOWprompts/code_prompts.py861# - **CONTINUOUS**: Implement files continuously until plan completionCOMMENT
LOWprompts/code_prompts.py881# ```COMMENT
LOWprompts/code_prompts.py901# - Apply: Found patterns while maintaining project requirementsCOMMENT
LOWprompts/code_prompts.py921# Next Target: [next_file_to_implement]COMMENT
LOWprompts/code_prompts.py1061COMMENT
LOWprompts/code_prompts.py1081COMMENT
AI Structural Patterns24 hits · 20 pts
SeverityFileLineSnippetContext
LOWcore/agent_setup.py239CODE
LOWcore/compat/request_params.py86CODE
LOWcore/providers/openai_compat.py234CODE
LOWcore/providers/openai_compat.py1296CODE
LOWcore/providers/anthropic.py708CODE
LOWcore/providers/base.py604CODE
LOWcore/providers/base.py679CODE
LOWcore/providers/base.py719CODE
LOWcore/observability/records.py159CODE
LOWcore/observability/bus.py271CODE
LOWcore/harness/agents/control.py135CODE
LOWcore/skills/runtime.py93CODE
LOWcore/application/agent_adapter.py51CODE
LOWcore/application/agent_adapter.py106CODE
LOWcore/application/mcp_service.py294CODE
LOWcore/application/application.py70CODE
LOWcore/application/application.py263CODE
LOWcore/application/turn_service.py324CODE
LOWcore/application/turn_service.py370CODE
LOWcore/application/turn_service.py474CODE
LOWcore/application/goal_turn_port.py32CODE
LOWcore/application/thread_service.py162CODE
LOWcore/application/execution_coordinator.py96CODE
LOWcore/events/session.py380CODE
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMtools/code_indexer.py430 # Create a hash of the prompt for filenameCOMMENT
MEDIUMworkflows/agent_orchestration_engine.py1698 # Create the chat planning agentCOMMENT
MEDIUMworkflows/agent_orchestration_engine.py2007 # Create a skipped indexing resultCOMMENT
MEDIUMworkflows/agents/code_implementation_agent.py991 # Create a simulated read_file tool callCOMMENT
MEDIUMworkflows/agents/memory_agent_concise.py1104 # Create the formatted summary for file saving (without Next Steps)COMMENT
Modern AI Meta-Vocabulary4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUMcore/providers/catalog.py202 # context window for this release. Pricing is deliberately absent becauseCOMMENT
MEDIUMcore/providers/base.py116 # private chain of thought.COMMENT
MEDIUMcore/harness/tools/goal.py78 # The call records a constrained orchestration request; it cannotCOMMENT
MEDIUMworkflows/__init__.py25 "execute_multi_agent_research_pipeline", # Main multi-agent pipeline functionCODE
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ltin/webapp-testing/examples/static_html_automation.py21 page.fill("#name", "John Doe")CODE
LOW…lls/builtin/mcp-builder/reference/python_mcp_server.md306 "name": str, # Full name (e.g., "John Doe")STRING
LOW…lls/builtin/mcp-builder/reference/python_mcp_server.md572 return {"id": user_id, "name": "John Doe", "email": "john@example.com"}CODE
LOW…kills/builtin/mcp-builder/reference/node_mcp_server.md173 "name": string, // Full name (e.g., "John Doe")CODE
LOWtests/test_session_compaction.py69 big = "lorem ipsum dolor sit amet " * 250 # ~6.7K chars ≈ 1.7K tokens eachCODE
LOWtests/test_session_compaction.py69 big = "lorem ipsum dolor sit amet " * 250 # ~6.7K chars ≈ 1.7K tokens eachCODE
LOWtests/test_session_compaction.py183 big = "lorem ipsum dolor sit amet " * 250CODE
LOWtests/test_session_compaction.py183 big = "lorem ipsum dolor sit amet " * 250CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHcore/skills/builtin/mcp-builder/reference/evaluation.md557export ANTHROPIC_API_KEY=your_api_keyCODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWutils/file_processor.py136 # Don't forget to save the last sectionCOMMENT