Repository Analysis

vitali87/code-graph-rag

The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

31.8 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of vitali87/code-graph-rag, a Python project with 4,842 GitHub stars. SynthScan v2.0 examined 447,699 lines of code across 1335 source files, recording 11299 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 31.8 places this repository in the Strong 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).

31.8
Adjusted Score
31.8
Raw Score
100%
Time Factor
2026-08-29
Last Push
4.8K
Stars
Python
Language
447.7K
Lines of Code
1.3K
Files
11.3K
Pattern Hits
2026-08-29
Scan Date
0.63
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 32HIGH 810MEDIUM 160LOW 10297

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 11299 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

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

Hyper-Verbose Identifiers8463 hits · 7403 pts
SeverityFileLineSnippetContext
LOWrealtime_updater.py199 def _schedule_immediate_processing(self, relative_path_str: str) -> None:CODE
LOWrealtime_updater.py209 def _process_debounced_change(self, relative_path_str: str) -> None:CODE
LOWrealtime_updater.py463def _validate_non_negative_float(value: float) -> float:CODE
LOWCONTRIBUTING.md762 def validate_default_in_options(self):CODE
LOWevals/cgr_graph.py29 def ensure_relationship_batch(CODE
LOWevals/cgr_graph.py125 def ensure_relationship_batch(CODE
LOWevals/cgr_graph.py295 def _delete_orphan_external_modules(self) -> None:CODE
LOWevals/l3.py419 def ensure_relationship_batch(STRING
LOWevals/ast_oracle.py81def _extend_spans_over_trailing_comments(CODE
LOWevals/retrieval.py76def first_party_property_names(trees: list[tuple[str, ast.Module]]) -> set[str]:CODE
LOWevals/indexing_bench.py178def _measure_in_child_process(target: Path, project_name: str) -> IndexingStats:CODE
LOWevals/instantiation.py43def _externally_shadowed_names(tree: ast.Module, rel: str, project: str) -> set[str]:CODE
LOWevals/semantic_search.py203def reranked_semantic_ranking(CODE
LOWevals/incremental.py79def run_neutral_edit_scenario(CODE
LOWevals/oracles/csharp_oracle.py81def _run_csharp_oracle_payload(target: Path) -> OraclePayload:CODE
LOWevals/oracles/scala_oracle.py24def _run_scala_oracle_payload(target: Path) -> OraclePayload:CODE
LOWevals/oracles/typescript_oracle.py42def run_typescript_call_oracle(CODE
LOWevals/oracles/typescript_oracle.py51def run_javascript_call_oracle(CODE
LOWcodebase_rag/dead_code.py129def _rust_test_modules_from_nodes(CODE
LOWcodebase_rag/dead_code.py274def _is_js_well_known_symbol_root(name: str, is_method: bool, path: str) -> bool:CODE
LOWcodebase_rag/dead_code.py330def _is_java_serialization_root(name: str, is_method: bool, path: str) -> bool:CODE
LOWcodebase_rag/dead_code.py343def _is_csharp_attribute_root(props: PropertyDict, path: str) -> bool:CODE
LOWcodebase_rag/dead_code.py363def _is_csharp_operator_or_finalizer_root(name: str, path: str) -> bool:CODE
LOWcodebase_rag/dead_code.py377def is_well_known_symbol_member(name: str) -> bool:CODE
LOWcodebase_rag/dead_code.py840def count_structural_tier_symbols(node_rows: list[ResultRow]) -> int:CODE
LOWcodebase_rag/dead_code.py867def collect_dead_code_with_coverage(CODE
LOWcodebase_rag/duplicates.py43def default_duplicates_config(CODE
LOWcodebase_rag/duplicates.py67def collect_duplicates_with_coverage(CODE
LOWcodebase_rag/cypher_queries.py308def build_drop_constraint_query(label: str, prop: str) -> str:STRING
LOWcodebase_rag/cypher_queries.py320def build_merge_relationship_query(STRING
LOWcodebase_rag/cypher_queries.py349def build_create_relationship_query(STRING
LOWcodebase_rag/config.py62def format_missing_api_key_errors(CODE
LOWcodebase_rag/config.py415 def _get_default_orchestrator_config(self) -> ModelConfig:STRING
LOWcodebase_rag/config.py418 def _get_default_cypher_config(self) -> ModelConfig:STRING
LOWcodebase_rag/config.py422 def active_orchestrator_config(self) -> ModelConfig:STRING
LOWcodebase_rag/config.py526def _read_cgr_instructions_file(path: Path) -> str | None:STRING
LOWcodebase_rag/graph_updater.py1198 def _drop_stale_handler_exposes(self, handler_qns: list[str]) -> None:CODE
LOWcodebase_rag/graph_updater.py1211 def _emit_route_call_endpoints(self) -> None:CODE
LOWcodebase_rag/graph_updater.py790 def _tightest_containing_span(CODE
LOWcodebase_rag/graph_updater.py805 def _resolve_hybrid_macro_calls(self) -> None:CODE
LOWcodebase_rag/graph_updater.py842 def _resolve_hybrid_expansion_calls(self) -> None:CODE
LOWcodebase_rag/graph_updater.py1231 def _drop_stale_module_exposes(self, module_qns: list[str]) -> None:CODE
LOWcodebase_rag/graph_updater.py1297 def _graph_route_module_paths(self) -> list[tuple[str, Path]]:CODE
LOWcodebase_rag/graph_updater.py1319 def _rehydrated_route_handlers(CODE
LOWcodebase_rag/graph_updater.py1403 def _rehydrate_registry_from_graph(self) -> None:CODE
LOWcodebase_rag/graph_updater.py1491 def _seed_module_qns_from_graph(self, eligible_paths: set[str]) -> None:CODE
LOWcodebase_rag/graph_updater.py1521 def _rehydrate_class_inheritance_from_graph(self) -> None:CODE
LOWcodebase_rag/graph_updater.py1550 def _rehydrated_bases_by_child(CODE
LOWcodebase_rag/graph_updater.py1581 def _rehydrate_csharp_type_locations(self) -> None:CODE
LOWcodebase_rag/graph_updater.py1623 def _rehydrate_go_type_locations(self) -> None:CODE
LOWcodebase_rag/graph_updater.py1666 def _rehydrate_function_locations(self) -> None:CODE
LOWcodebase_rag/graph_updater.py2078 def _drop_cache_if_graph_lost(self) -> None:CODE
LOWcodebase_rag/graph_updater.py2177 def _register_generated_sources(self) -> None:CODE
LOWcodebase_rag/graph_updater.py2582 def process_with_secondary_tier(self, filepath: Path) -> bool:CODE
LOWcodebase_rag/graph_updater.py2798 def _sweep_legacy_file_identities(self, candidates: list[tuple[str, str]]) -> int:CODE
LOWcodebase_rag/graph_updater.py2819 def _file_key_owned_only_by_this_project(self, abs_path: str) -> bool:CODE
LOWcodebase_rag/graph_updater.py2856 def _generate_semantic_embeddings(self) -> None:CODE
LOWcodebase_rag/vector_store.py82 def delete_project_embeddings(CODE
LOWcodebase_rag/vector_store.py98def close_vector_store_client() -> None:CODE
LOWcodebase_rag/vector_store.py187def _ensure_milvus_collection(client: Any) -> None:CODE
8403 more matches not shown…
Cross-Language Confusion791 hits · 4355 pts
SeverityFileLineSnippetContext
HIGHcodebase_rag/parsers/call_processor.py4165 # `const bound = handler.bind(null)` stores the boundCOMMENT
HIGHcodebase_rag/parsers/call_processor.py4405 # handler values (onDrop={cond ? this.handleDrop : undefined},COMMENT
HIGHcodebase_rag/parsers/call_processor.py5123 # unwrap to a FIXPOINT: `(handler as any).bind(null)` interleaves aCOMMENT
HIGHcodebase_rag/parsers/stdlib_extractor.py293 console.log(JSON.stringify({hasEntity: false, entityType: null}));CODE
HIGHcodebase_rag/parsers/stdlib_extractor.py300 const entityType = hasEntity ? typeof module[entityName] : null;CODE
HIGHcodebase_rag/parsers/stdlib_extractor.py303 console.log(JSON.stringify({hasEntity: false, entityType: null}));CODE
HIGHcodebase_rag/tests/test_rust_advanced_types.py575 if x < W && y < H {CODE
HIGHcodebase_rag/tests/test_rust_advanced_types.py583 if x < W && y < H {CODE
HIGHcodebase_rag/tests/test_shell_command.py866 groups = _parse_command("echo 'a && b || c'")CODE
HIGHcodebase_rag/tests/test_shell_command.py866 groups = _parse_command("echo 'a && b || c'")CODE
HIGHcodebase_rag/tests/test_shell_command.py868 assert groups[0].commands == ["echo 'a && b || c'"]CODE
HIGHcodebase_rag/tests/test_shell_command.py868 assert groups[0].commands == ["echo 'a && b || c'"]CODE
HIGHcodebase_rag/tests/test_shell_command.py1018 "ls nonexistent_12345 && echo 'should not run'"CODE
HIGHcodebase_rag/tests/test_shell_command.py1025 "ls nonexistent_12345 || echo 'fallback'"CODE
HIGHcodebase_rag/tests/test_shell_command.py1033 result = await shell_commander.execute("ls || echo 'should not run'")CODE
HIGHcodebase_rag/tests/test_shell_command.py1235 result = await shell_commander.execute("ls && rm -rf /")CODE
HIGHcodebase_rag/tests/test_shell_command.py994 result = await shell_commander.execute("ls && pwd")CODE
HIGHcodebase_rag/tests/test_stdlib_extractor.py697 mock_result.stdout = '{"hasEntity": false, "entityType": null}'CODE
HIGHcodebase_rag/tests/test_class_ingest.py86 this.permissions.push(permission);CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py225 .filter(name -> name.length() > 5)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py230 .allMatch(name -> name.length() > 0);CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py240 .filter(name -> name.length() > 4)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py63 .filter(name -> name.length() > 4)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py119 .filter(name -> name.length() > 3)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py189 .collect(Collectors.partitioningBy(name -> name.length() > 4));CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py304 .filter(name -> name.length() > 3)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py313 .filter(name -> name.length() > 4)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py365 if (n % 2 == 0 || n % 3 == 0) return false;CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py368 if (n % i == 0 || n % (i + 2) == 0) {CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py460 Predicate<String> isLong = s -> s.length() > 10;CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py496 s1.length() > s2.length() ? s1 : s2;CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py634 Predicate<String> longEnough = s -> s.length() > 3;CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py768 String nullableValue = null;CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py841 Optional<String> longString = optional.filter(s -> s.length() > 3);CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py846 .filter(s -> s.length() > 2)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py911 if (value != null) {CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py956 if (userId == null || userId.isEmpty()) {CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py960 if (userId.equals("1")) {CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py975 .filter(input -> input.length() <= 100)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py1295 .filter(s -> s.length() > 4)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py1332 .filter(s -> s.length() > 3)CODE
HIGHcodebase_rag/tests/test_java_streams_functional.py1339 if (text == null || text.isEmpty()) {CODE
HIGH…e_rag/tests/test_comprehensive_stdlib_introspection.py363use std::ptr::{null, null_mut, NonNull};CODE
HIGH…e_rag/tests/test_comprehensive_stdlib_introspection.py602 Predicate<String> predicate = s -> s.length() > 0;CODE
HIGHcodebase_rag/tests/test_cpp_move_semantics.py45 MoveableResource(const std::string& data) : size_(data.length()) {CODE
HIGHcodebase_rag/tests/test_cpp_move_semantics.py253 bool empty() const { return data_ == nullptr || length_ == 0; }CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py313 if (superclass != null) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py739 if (obj == null) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py763 if (value == null) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py770 if (field.isAnnotationPresent(Size.class) && value != null) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py814 if (value == null) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py818 } else if (annotation instanceof Size && value != null) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py818 } else if (annotation instanceof Size && value != null) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py824 } else if (annotation instanceof Pattern && value instanceof String) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py860 if (dependency == null && inject.required()) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py875 if (component != null && type.isInstance(component)) {CODE
HIGHcodebase_rag/tests/test_java_reflection_annotations.py878 return null;CODE
HIGHcodebase_rag/tests/test_cpp_stl_usage.py200 stk.push(i);CODE
HIGHcodebase_rag/tests/test_cpp_stl_usage.py212 que.push("first");CODE
HIGHcodebase_rag/tests/test_cpp_stl_usage.py213 que.push("second");CODE
731 more matches not shown…
Unused Imports940 hits · 886 pts
SeverityFileLineSnippetContext
LOWevals/polyglot.py17CODE
LOWevals/l1_eval.py10CODE
LOWevals/retrieval_eval.py13CODE
LOWevals/__init__.py1CODE
LOWevals/__init__.py2CODE
LOWevals/__init__.py3CODE
LOWevals/flow_ground_truth.py24CODE
LOWevals/oracles/lua_oracle.py1CODE
LOWevals/oracles/php_oracle.py1CODE
LOWevals/oracles/rust_oracle.py1CODE
LOWevals/oracles/csharp_oracle.py1CODE
LOWevals/oracles/_common.py1CODE
LOWevals/oracles/__init__.py1CODE
LOWevals/oracles/__init__.py1CODE
LOWevals/oracles/__init__.py1CODE
LOWevals/oracles/__init__.py1CODE
LOWevals/oracles/__init__.py7CODE
LOWevals/oracles/__init__.py7CODE
LOWevals/oracles/__init__.py7CODE
LOWevals/oracles/__init__.py12CODE
LOWevals/oracles/__init__.py12CODE
LOWevals/oracles/__init__.py12CODE
LOWevals/oracles/__init__.py13CODE
LOWevals/oracles/__init__.py13CODE
LOWevals/oracles/__init__.py13CODE
LOWevals/oracles/__init__.py14CODE
LOWevals/oracles/__init__.py14CODE
LOWevals/oracles/__init__.py14CODE
LOWevals/oracles/__init__.py15CODE
LOWevals/oracles/__init__.py15CODE
LOWevals/oracles/__init__.py15CODE
LOWevals/oracles/__init__.py16CODE
LOWevals/oracles/__init__.py16CODE
LOWevals/oracles/__init__.py16CODE
LOWevals/oracles/__init__.py17CODE
LOWevals/oracles/__init__.py17CODE
LOWevals/oracles/__init__.py17CODE
LOWevals/oracles/__init__.py18CODE
LOWevals/oracles/__init__.py18CODE
LOWevals/oracles/__init__.py18CODE
LOWevals/oracles/__init__.py19CODE
LOWevals/oracles/__init__.py19CODE
LOWevals/oracles/__init__.py19CODE
LOWevals/oracles/__init__.py19CODE
LOWevals/oracles/__init__.py19CODE
LOWevals/oracles/ruby_oracle.py1CODE
LOWevals/oracles/go_oracle.py1CODE
LOWevals/oracles/scala_oracle.py1CODE
LOWevals/oracles/java_oracle.py1CODE
LOWevals/oracles/typescript_oracle.py1CODE
LOWevals/oracles/cpp_oracle.py1CODE
LOWcodebase_rag/taint.py1CODE
LOWcodebase_rag/duplicates.py11CODE
LOWcodebase_rag/config.py3CODE
LOWcodebase_rag/models.py13CODE
LOWcodebase_rag/vector_store.py1CODE
LOWcodebase_rag/readme_sections.py1CODE
LOWcodebase_rag/schema_parse.py20CODE
LOWcodebase_rag/tool_errors.py1CODE
LOWcodebase_rag/prompts.py27CODE
880 more matches not shown…
Hallucination Indicators32 hits · 378 pts
SeverityFileLineSnippetContext
CRITICAL…base_rag/tests/test_dynamic_trace_resolution_dotnet.py33 f"{_P}.Services.GreetingService.MyApp.Services.GreetingService.Greet(string)",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py32 f"{_P}.src.main.java.com.example.Foo.Foo.bar()",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py39 f"{_P}.src.main.java.com.example.Foo.Foo.bar(String)",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py46 f"{_P}.src.main.java.com.example.Foo.Foo.Foo(String)",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py53 f"{_P}.src.main.java.com.example.Outer.Outer.Inner.value()",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py60 f"{_P}.src.main.java.com.example.Client.Client.start()",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py201 f"{_P}.moduleA.com.example.Dup.Dup.run()",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py208 f"{_P}.moduleB.com.example.Dup.Dup.run()",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py229 f"{_P}.moduleA.com.example.Dup.Dup.run()",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py236 f"{_P}.moduleB.com.example.Dup.Dup.run()",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_resolution_jvm.py249 assert resolved.qualified_name.endswith("moduleA.com.example.Dup.Dup.run()")CODE
CRITICALcodebase_rag/tests/test_implements_overrides.py60 "proj.com.example.Other.OtherNamer.translateName(String)",CODE
CRITICALcodebase_rag/tests/test_implements_overrides.py61 "proj.com.example.Namer.Namer.translateName(String)",CODE
CRITICALcodebase_rag/tests/test_implements_overrides.py89 interface_qn = "proj.com.example.Namer.Namer.translateName(String)"CODE
CRITICALcodebase_rag/tests/test_implements_overrides.py90 enum_prefix = "proj.com.example.NamerPolicy.NamerPolicy.translateName(String)"CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_ingest.py294 f"{_PROJECT}.src.main.java.com.example.Foo.Foo.bar()",CODE
CRITICALcodebase_rag/tests/test_dynamic_trace_ingest.py301 f"{_PROJECT}.src.main.java.com.example.Foo.Foo.run()",CODE
CRITICALcodebase_rag/tests/test_java_comprehensive.py151 f"{project_name}.src.main.java.com.example.BasicClasses.BasicClass.BasicClass(String)",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py152 f"{project_name}.src.main.java.com.example.BasicClasses.BasicClass.getName()",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py153 f"{project_name}.src.main.java.com.example.BasicClasses.ExtendedClass.ExtendedClass(String,boolean)",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py154 f"{project_name}.src.main.java.com.example.BasicClasses.ExtendedClass.getName()",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py155 f"{project_name}.src.main.java.com.example.BasicClasses.Drawable.draw()",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py156 f"{project_name}.src.main.java.com.example.BasicClasses.Drawable.clear()",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py157 f"{project_name}.src.main.java.com.example.BasicClasses.Circle.Circle(double)",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py158 f"{project_name}.src.main.java.com.example.BasicClasses.Circle.draw()",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py159 f"{project_name}.src.main.java.com.example.BasicClasses.Shape.Shape(String)",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py160 f"{project_name}.src.main.java.com.example.BasicClasses.Shape.area()",STRING
CRITICALcodebase_rag/tests/test_java_comprehensive.py161 f"{project_name}.src.main.java.com.example.BasicClasses.Shape.getColor()",STRING
CRITICAL…ebase_rag/tests/test_interface_dispatch_single_impl.py127 "proj.com.example.Factory.Factory.getFieldName(String)",CODE
CRITICAL…ebase_rag/tests/test_interface_dispatch_single_impl.py128 "proj.com.example.Namer.Namer.translateName(String)",CODE
CRITICAL…ebase_rag/tests/test_interface_dispatch_single_impl.py131 "proj.com.example.Factory.Factory.getFieldName(String)",CODE
CRITICAL…ebase_rag/tests/test_interface_dispatch_single_impl.py132 "proj.com.example.NamerPolicy.NamerPolicy.translateName(String)",CODE
Excessive Try-Catch Wrapping235 hits · 252 pts
SeverityFileLineSnippetContext
MEDIUMCONTRIBUTING.md467print(f"Error: {e}", file=sys.stderr)CODE
LOWCONTRIBUTING.md520 except Exception as e:CODE
LOWevals/polyglot.py255 except Exception:CODE
LOWevals/agentic_qa.py427 except Exception as exc: # one bad question must not sink the runCODE
LOWevals/oracles/cpp_oracle.py77 except Exception:CODE
LOWevals/oracles/cpp_oracle.py85 except Exception:CODE
LOWevals/oracles/cpp_oracle.py99 except Exception:CODE
LOWcodebase_rag/graph_updater.py1208 except Exception:CODE
LOWcodebase_rag/graph_updater.py409 except Exception:CODE
LOWcodebase_rag/graph_updater.py1240 except Exception:CODE
LOWcodebase_rag/graph_updater.py1308 except Exception:CODE
LOWcodebase_rag/graph_updater.py1327 except Exception:CODE
LOWcodebase_rag/graph_updater.py1366 except Exception:CODE
LOWcodebase_rag/graph_updater.py1416 except Exception:CODE
LOWcodebase_rag/graph_updater.py1475 except Exception:CODE
LOWcodebase_rag/graph_updater.py1539 except Exception:CODE
LOWcodebase_rag/graph_updater.py1597 except Exception:CODE
LOWcodebase_rag/graph_updater.py1638 except Exception:CODE
LOWcodebase_rag/graph_updater.py1686 except Exception:CODE
LOWcodebase_rag/graph_updater.py1751 except Exception:CODE
LOWcodebase_rag/graph_updater.py1774 except Exception:CODE
LOWcodebase_rag/graph_updater.py1966 except Exception:CODE
LOWcodebase_rag/graph_updater.py2101 except Exception:CODE
LOWcodebase_rag/graph_updater.py2719 except Exception:CODE
LOWcodebase_rag/graph_updater.py2830 except Exception:CODE
LOWcodebase_rag/graph_updater.py2901 except Exception as e:CODE
LOWcodebase_rag/graph_updater.py2961 except Exception as e:CODE
LOWcodebase_rag/graph_updater.py2985 except Exception as e:CODE
LOWcodebase_rag/vector_store.py162 except Exception as e:CODE
LOWcodebase_rag/vector_store.py277 except Exception as e:CODE
LOWcodebase_rag/vector_store.py296 except Exception as e:CODE
LOWcodebase_rag/vector_store.py324 except Exception as e:CODE
LOWcodebase_rag/vector_store.py427 except Exception as e:CODE
LOWcodebase_rag/vector_store.py533 except Exception as e:CODE
MEDIUMcodebase_rag/vector_store.py118def _selected_backend() -> VectorStoreBackend | None:CODE
LOWcodebase_rag/ast_cache.py88 except Exception:CODE
MEDIUMcodebase_rag/ast_cache.py84def _should_evict_for_memory(self) -> bool:CODE
LOWcodebase_rag/parser_loader.py81 except Exception as e:CODE
LOWcodebase_rag/parser_loader.py270 except Exception as e:CODE
LOWcodebase_rag/parser_loader.py292 except Exception as e:CODE
LOWcodebase_rag/parser_loader.py309 except Exception as e:CODE
LOWcodebase_rag/parser_loader.py343 except Exception:CODE
LOWcodebase_rag/parser_loader.py351 except Exception:CODE
LOWcodebase_rag/parser_loader.py387 except Exception as e:CODE
MEDIUMcodebase_rag/cli.py119def validate_models_early() -> None:CODE
LOWcodebase_rag/cli.py267 except Exception as exc:CODE
LOWcodebase_rag/cli.py767 except Exception as e:CODE
LOWcodebase_rag/cli.py860 except Exception as e:CODE
LOWcodebase_rag/cli.py972 except Exception as e:CODE
LOWcodebase_rag/cli.py1009 except Exception as e:CODE
LOWcodebase_rag/cli.py1280 except Exception as e:CODE
LOWcodebase_rag/cli.py1486 except Exception as e:CODE
LOWcodebase_rag/cli.py1858 except Exception as e:CODE
LOWcodebase_rag/cli.py1960 except Exception as e:CODE
LOWcodebase_rag/embedder.py66 except Exception as e:CODE
LOWcodebase_rag/embedder.py78 except Exception as e:CODE
LOWcodebase_rag/embedder.py289 except Exception:CODE
MEDIUMcodebase_rag/main.py874def _token_usage() -> tuple[int, int, float]:CODE
MEDIUMcodebase_rag/main.py940def _short_model_id() -> tuple[str, str]:CODE
MEDIUMcodebase_rag/main.py1155def on_input() -> None:CODE
175 more matches not shown…
AI Slop Vocabulary119 hits · 242 pts
SeverityFileLineSnippetContext
MEDIUMevals/dead_code.py3# codebase_rag.dead_code. The in-memory harness cannot query a database, so itCOMMENT
MEDIUMevals/duplicates.py3# the database. The in-memory harness cannot query a database, so a smallCOMMENT
MEDIUMevals/agentic_qa.py5# (mean/p50/p95), and model tokens per question. One harness therefore fillsCOMMENT
MEDIUMevals/agentic_qa.py699 # this harness must too, or every generated query runs against anCOMMENT
MEDIUMevals/oracles/csharp_oracle/Program.cs1// Authoritative C# structure oracle for the cgr eval harness.COMMENT
MEDIUMcodebase_rag/dead_code.py60 # normalization robust to whatever a highlight query captures.COMMENT
MEDIUMcodebase_rag/logs.py516# not a pass failure, and must not borrow the message above: the test harnessCOMMENT
LOWcodebase_rag/parser_fingerprint.py289 # Reading a distribution's metadata can raise, not just return None: aCOMMENT
MEDIUMcodebase_rag/parsers/call_resolver.py2574 # Naming convention (XxxProtocol -> Xxx) is robust when it applies;COMMENT
MEDIUMcodebase_rag/parsers/flow_access/processor.py3616 # Definitely tainted arg: emit the caller->callee arg edge now.COMMENT
MEDIUMcodebase_rag/parsers/io_access/extract.py823 # least two: robust even when the `name` field is absent under parser errorCOMMENT
MEDIUMcodebase_rag/tools/shell_command.py664 # but both signal intent the harness must not honor; a repo-localCOMMENT
MEDIUMcodebase_rag/constants/deadcode_roots.py70# Rust test attributes: the harness invokes these functions with no call site.COMMENT
MEDIUMcodebase_rag/tests/test_relative_import_package_init.py1# L2 residual from the evals/ harness: relative imports inside an __init__.pyCOMMENT
MEDIUMcodebase_rag/tests/test_protocol_operator_dispatch.py1# L3 finding from the evals/ harness: an operator on a Protocol-typed attributeCOMMENT
MEDIUMcodebase_rag/tests/test_typescript_structure_oracle.py1# Covers the TypeScript structure oracle harness (evals/oracles/ts_oracle +COMMENT
MEDIUMcodebase_rag/tests/test_cpp_move_semantics.py12 """Create a comprehensive C++ project with move semantics patterns."""STRING
MEDIUMcodebase_rag/tests/test_cpp_stl_usage.py11 """Create a comprehensive C++ project with STL usage."""STRING
MEDIUMcodebase_rag/tests/test_cpp_namespaces.py11 """Create a comprehensive C++ project with namespace patterns."""STRING
MEDIUMcodebase_rag/tests/test_python_inheritance.py12 """Create a temporary project with comprehensive inheritance patterns."""STRING
MEDIUMcodebase_rag/tests/test_javascript_destructuring.py11 """Create a comprehensive JavaScript project with all destructuring patterns."""STRING
MEDIUMcodebase_rag/tests/test_cpp_casting_operators.py11 """Create a comprehensive C++ project with casting operator patterns."""STRING
MEDIUMcodebase_rag/tests/test_protocol_impl_resolution.py1# L3 finding from the evals/ harness: a call on a parameter typed as a ProtocolCOMMENT
MEDIUMcodebase_rag/tests/test_cpp_modules.py11 """Create a comprehensive C++ project with modules patterns."""STRING
MEDIUMcodebase_rag/tests/test_relative_import_root_level.py1# L2 finding from the evals/ harness: `from . import <submodule>` at theCOMMENT
MEDIUMcodebase_rag/tests/test_cpp_coroutines.py11 """Create a comprehensive C++ project with coroutines patterns."""STRING
MEDIUM…rag/tests/test_incremental_cross_language_collision.py9# needs the query-capable _StatefulIngestor: the mock harness neverCOMMENT
MEDIUMcodebase_rag/tests/test_callable_field_calls.py1# L3 finding from the evals/ harness: fqn_config.get_name(node) invokes aCOMMENT
MEDIUM…ebase_rag/tests/test_col_keyed_location_rehydration.py6# like the Phase-1 C# harness.COMMENT
MEDIUMcodebase_rag/tests/test_scala_definitions.py13# measurement was of my harness, not of Scala support. Recorded because aCOMMENT
MEDIUMcodebase_rag/tests/test_javascript_structure_oracle.py1# Covers the JavaScript structure oracle harness (evals/oracles/ts_oracle overCOMMENT
MEDIUMcodebase_rag/tests/test_io_handle_edges.py1255 # field on its own harness type must not pick up the productionCOMMENT
MEDIUMcodebase_rag/tests/test_lua_comprehensive.py1802 """Final comprehensive test to ensure we've covered major Lua features."""STRING
MEDIUMcodebase_rag/tests/test_javascript_imports.py11 """Create a comprehensive JavaScript project with all import patterns."""STRING
MEDIUMcodebase_rag/tests/test_typescript_advanced_types.py12 """Create a comprehensive TypeScript project with advanced type patterns."""STRING
MEDIUMcodebase_rag/tests/test_protocol_dispatch_resolution.py1# L3 finding from the evals/ harness: DefinitionProcessor._extract_decorators callsCOMMENT
MEDIUMcodebase_rag/tests/test_ruby_structure_oracle.py1# Covers the Ruby structure oracle harness (evals/oracles/ruby_oracle):COMMENT
MEDIUMcodebase_rag/tests/test_dynamic_trace_sourcemap.py311 # generated location, so the robust invariant is: at least one project frameCOMMENT
MEDIUMcodebase_rag/tests/test_python_imports.py11 """Create a comprehensive Python project with all import patterns."""STRING
MEDIUM…debase_rag/tests/test_typescript_namespaces_modules.py13 """Create a comprehensive TypeScript project with namespace/module patterns."""STRING
MEDIUM…base_rag/tests/test_external_package_name_collision.py1# L2 residual from the evals/ harness: when cgr is pointed at a directory thatCOMMENT
MEDIUMcodebase_rag/tests/test_cpp_concepts.py12 """Create a comprehensive C++ project with concepts patterns."""STRING
MEDIUM…ebase_rag/tests/test_truthiness_dispatch_resolution.py1# L3 finding from the evals/ harness: `if self.function_registry:` tests an objectCOMMENT
MEDIUMcodebase_rag/tests/test_getattr_dispatch.py1# L3 finding from the evals/ harness: JavaTypeResolverMixin._find_registry_entries_underCOMMENT
MEDIUMcodebase_rag/tests/test_java_structure_oracle.py1# Covers the Java structure oracle harness (evals/oracles/java_oracle +COMMENT
MEDIUMcodebase_rag/tests/test_l3_decorator_normalization.py1# Covers the L3 eval harness (evals/calls_trace.py): a call to a functools.wrapsCOMMENT
MEDIUMcodebase_rag/tests/test_local_alias_calls.py1# L3 finding from the evals/ harness: a function bound to a local variable andCOMMENT
MEDIUMcodebase_rag/tests/test_javascript_object_patterns.py17 """Create a comprehensive JavaScript project with object patterns."""STRING
MEDIUMcodebase_rag/tests/test_cpp_ranges_views.py11 """Create a comprehensive C++ project with ranges and views patterns."""STRING
MEDIUMcodebase_rag/tests/test_rust_structure_oracle.py1# Covers the Rust structure oracle harness (evals/oracles/rs_oracle +COMMENT
MEDIUMcodebase_rag/tests/test_typescript_declaration_files.py13 """Create a comprehensive TypeScript project with declaration file patterns."""STRING
MEDIUMcodebase_rag/tests/test_javascript_error_handling.py17 """Create a comprehensive JavaScript project with error handling patterns."""STRING
MEDIUMcodebase_rag/tests/test_java_collections_frameworks.py1038 """Test comprehensive map operations and key-value handling."""STRING
MEDIUMcodebase_rag/tests/test_cpp_constructor_destructor.py11 """Create a comprehensive C++ project with constructor/destructor patterns."""STRING
MEDIUMcodebase_rag/tests/test_inherits_attribute_base.py1# L2 finding from the evals/ harness: cgr captured INHERITS for direct-nameCOMMENT
MEDIUMcodebase_rag/tests/test_nested_function_defines.py1# Finding #2 from the evals/ harness: a function nested inside a METHOD wasCOMMENT
MEDIUM…_rag/tests/test_abstract_method_override_resolution.py1# L3 finding from the evals/ harness: a mixin declares an @abstractmethod stubCOMMENT
MEDIUMcodebase_rag/tests/test_typescript_classes.py17 """Create a comprehensive TypeScript project with class features."""STRING
MEDIUMcodebase_rag/tests/test_cpp_smart_pointers.py12 """Create a comprehensive C++ project with smart pointer patterns."""STRING
MEDIUMcodebase_rag/tests/test_cpp_comprehensive.py12 """Create a comprehensive C++ project combining all features."""STRING
59 more matches not shown…
Deep Nesting267 hits · 212 pts
SeverityFileLineSnippetContext
LOWrealtime_updater.py229CODE
LOWevals/cgr_graph.py409CODE
LOWevals/cgr_graph.py628CODE
LOWevals/cgr_graph.py280CODE
LOWevals/ast_oracle.py54CODE
LOWevals/ast_oracle.py81CODE
LOWevals/ast_oracle.py159CODE
LOWevals/ast_oracle.py223CODE
LOWevals/ast_oracle.py236CODE
LOWevals/static_calls.py66CODE
LOWevals/agentic_qa.py157CODE
LOWevals/retrieval.py92CODE
LOWevals/import_resolution.py36CODE
LOWevals/instantiation.py43CODE
LOWevals/instantiation.py64CODE
LOWevals/inheritance.py176CODE
LOWcodebase_rag/dead_code.py475CODE
LOWcodebase_rag/dead_code.py492CODE
LOWcodebase_rag/duplicates.py225CODE
LOWcodebase_rag/config.py465CODE
LOWcodebase_rag/graph_updater.py1997CODE
LOWcodebase_rag/graph_updater.py2694CODE
LOWcodebase_rag/graph_updater.py2856CODE
LOWcodebase_rag/readme_sections.py237CODE
LOWcodebase_rag/parser_loader.py19CODE
LOWcodebase_rag/language_spec.py154CODE
LOWcodebase_rag/language_spec.py169CODE
LOWcodebase_rag/language_spec.py192CODE
LOWcodebase_rag/flow_verdict.py97CODE
LOWcodebase_rag/parsers/call_processor.py673CODE
LOWcodebase_rag/parsers/call_processor.py1173CODE
LOWcodebase_rag/parsers/call_processor.py1239CODE
LOWcodebase_rag/parsers/call_processor.py1399CODE
LOWcodebase_rag/parsers/call_processor.py1459CODE
LOWcodebase_rag/parsers/call_processor.py2758CODE
LOWcodebase_rag/parsers/call_processor.py2864CODE
LOWcodebase_rag/parsers/call_processor.py4117CODE
LOWcodebase_rag/parsers/call_processor.py4348CODE
LOWcodebase_rag/parsers/call_processor.py4440CODE
LOWcodebase_rag/parsers/call_processor.py4595CODE
LOWcodebase_rag/parsers/call_processor.py5007CODE
LOWcodebase_rag/parsers/call_processor.py5359CODE
LOWcodebase_rag/parsers/call_processor.py5417CODE
LOWcodebase_rag/parsers/call_processor.py5629CODE
LOWcodebase_rag/parsers/call_processor.py5841CODE
LOWcodebase_rag/parsers/call_processor.py6161CODE
LOWcodebase_rag/parsers/call_processor.py6538CODE
LOWcodebase_rag/parsers/call_processor.py6709CODE
LOWcodebase_rag/parsers/call_processor.py6769CODE
LOWcodebase_rag/parsers/call_processor.py6839CODE
LOWcodebase_rag/parsers/call_processor.py6939CODE
LOWcodebase_rag/parsers/call_processor.py7234CODE
LOWcodebase_rag/parsers/call_processor.py7331CODE
LOWcodebase_rag/parsers/call_processor.py7531CODE
LOWcodebase_rag/parsers/call_processor.py7546CODE
LOWcodebase_rag/parsers/call_processor.py7560CODE
LOWcodebase_rag/parsers/python_source_roots.py17CODE
LOWcodebase_rag/parsers/python_source_roots.py61CODE
LOWcodebase_rag/parsers/type_inference.py361CODE
LOWcodebase_rag/parsers/type_inference.py610CODE
207 more matches not shown…
Over-Commented Block247 hits · 211 pts
SeverityFileLineSnippetContext
LOWrealtime_updater.py121 def dispatch(self, event: FileSystemEvent) -> None:COMMENT
LOWrealtime_updater.py361 # Rust inline-mod import maps retract at the end of every parseCOMMENT
LOWevals/polyglot.py1# Polyglot (cross-language) ingestion eval. Every other eval indexes aCOMMENT
LOWevals/agentic_qa.py1# Agentic A/B benchmark (issue #1374): same model, same agent loop, only theCOMMENT
LOWevals/indexing_bench.py1# Indexing-time benchmark over pinned real-world corpora (issue #1374, phase 1).COMMENT
LOWevals/oracles/go_ast.go1// Authoritative Go structure oracle for the cgr eval harness.COMMENT
LOWevals/oracles/php_oracle/php_ast.js1// Authoritative PHP structure oracle for the cgr eval harness.COMMENT
LOWevals/oracles/php_oracle/php_ast.js21//COMMENT
LOWevals/oracles/rs_oracle/src/main.rs1// Authoritative Rust structure oracle for the cgr eval harness.COMMENT
LOWevals/oracles/rs_oracle/src/main.rs21// DEFINES_METHOD : the method's owner type (or trait) -> MethodCOMMENT
LOWevals/oracles/lua_oracle/lua_ast.js1// Authoritative Lua structure oracle for the cgr eval harness.COMMENT
LOWevals/oracles/csharp_oracle/Program.cs1// Authoritative C# structure oracle for the cgr eval harness.COMMENT
LOWevals/oracles/csharp_oracle/Program.cs21//COMMENT
LOWevals/oracles/csharp_oracle/Program.cs101COMMENT
LOWevals/oracles/java_oracle/Oracle.java1// Authoritative Java structure oracle for the cgr eval harness.COMMENT
LOWevals/oracles/ruby_oracle/ruby_ast.js1// Authoritative Ruby structure oracle for the cgr eval harness (issue #1190).COMMENT
LOWevals/oracles/ruby_oracle/ruby_ast.js21// real cgr limitation. Its BODY is still walked, because methods and classesCOMMENT
LOWevals/oracles/ruby_oracle/ruby_ast.js61// is indexed in UTF-16 code units, so for any source containing a characterCOMMENT
LOWevals/oracles/ts_oracle/ts_ast.js1// Authoritative TypeScript structure oracle for the cgr eval harness.COMMENT
LOWcodebase_rag/dead_code.py241) -> bool:COMMENT
LOWcodebase_rag/dead_code.py261 )COMMENT
LOWcodebase_rag/dead_code.py281 # identifies exactly these members; a user symbol key registers withoutCOMMENT
LOWcodebase_rag/dead_code.py741 # class stays dead.COMMENT
LOWcodebase_rag/config.py201 # expansion calls) with one.COMMENT
LOWcodebase_rag/config.py341 # models support -- a long answer then fails with "Model token limitCOMMENT
LOWcodebase_rag/graph_updater.py341 self._collected_dir_mtimes: DirMtimesCache = {}COMMENT
LOWcodebase_rag/graph_updater.py961 self._process_files(force=force)COMMENT
LOWcodebase_rag/graph_updater.py981 # Go IMPLEMENTS pairs join AFTER Pass 2 for the same reason: both endsCOMMENT
LOWcodebase_rag/graph_updater.py1061 # a kept forward declaration still resolves to a real node.COMMENT
LOWcodebase_rag/graph_updater.py1861 module_qn_prefix, NoneCOMMENT
LOWcodebase_rag/readme_sections.py241 # and leaves the latest-release marker below the block it inserted, soCOMMENT
LOWcodebase_rag/main.py701 config.denial_default,COMMENT
LOWcodebase_rag/parser_fingerprint.py21# External toolchains whose VERSION changes what a frontend extracts, asCOMMENT
LOWcodebase_rag/parser_fingerprint.py141 # what produced the graph, so any divergence from the thing that producedCOMMENT
LOWcodebase_rag/analyzers/ast_grep_rules/security/go.yaml41 kind: binary_expressionCOMMENT
LOW…debase_rag/analyzers/ast_grep_rules/security/rust.yaml1# ast-grep security rules for Rust (issue #413).COMMENT
LOWcodebase_rag/parsers/call_processor.py341# first-party function whose body the call chain can be followed into.COMMENT
LOWcodebase_rag/parsers/call_processor.py721 # An ambient namespace member (`declare namespace N { export functionCOMMENT
LOWcodebase_rag/parsers/call_processor.py1521 combined_captures=combined_captures or None,COMMENT
LOWcodebase_rag/parsers/call_processor.py2401 # chain as the call name so the resolver can map the receiver toCOMMENT
LOWcodebase_rag/parsers/call_processor.py3181 # a string, which no parser resolves as a call: without this theCOMMENT
LOWcodebase_rag/parsers/call_processor.py3221 # Registry-guarded and idempotent with the callable-params path.COMMENT
LOWcodebase_rag/parsers/call_processor.py3341 module_qn,COMMENT
LOWcodebase_rag/parsers/call_processor.py3481 callee_info = resolve_builtin(call_name)COMMENT
LOWcodebase_rag/parsers/call_processor.py3781 and callee_type != class_labelCOMMENT
LOWcodebase_rag/parsers/call_processor.py3861 # sharing a natural name, not spellings of one callee, andCOMMENT
LOWcodebase_rag/parsers/call_processor.py4161 # wraps the aliased impl in TS casts, and devtools' shapeCOMMENT
LOWcodebase_rag/parsers/call_processor.py4181 # nest further logical binaries on the left. Only theCOMMENT
LOWcodebase_rag/parsers/call_processor.py4241 )COMMENT
LOWcodebase_rag/parsers/call_processor.py4361 # tags are HTML elements and must not misbind to same-named locals.COMMENT
LOWcodebase_rag/parsers/call_processor.py4601 class_context: str | None,COMMENT
LOWcodebase_rag/parsers/call_processor.py4621 if node.type in boundary_types and not self._is_unowned_js_scope(node):COMMENT
LOWcodebase_rag/parsers/call_processor.py4741 )COMMENT
LOWcodebase_rag/parsers/call_processor.py4781 module_qn: str,COMMENT
LOWcodebase_rag/parsers/call_processor.py5661 # `Callback<int>` passes the method group with explicit typeCOMMENT
LOWcodebase_rag/parsers/call_processor.py6001 class_context: str | None,COMMENT
LOWcodebase_rag/parsers/call_processor.py6241 # Emit a REFERENCES edge (a read is not an invocation; the call graphCOMMENT
LOWcodebase_rag/parsers/call_processor.py6741 breakCOMMENT
LOWcodebase_rag/parsers/call_processor.py6881 def _js_ts_arrow_binding_name(self, func_node: Node) -> str | None:COMMENT
LOWcodebase_rag/parsers/call_processor.py7601 # Keep only installations whose key resolves to a REGISTERED symbolCOMMENT
187 more matches not shown…
Overly Generic Function Names90 hits · 88 pts
SeverityFileLineSnippetContext
LOWevals/polyglot.py117 "def helper(x):\n return x + 1\n\n\ndef run():\n return helper(1)\n"STRING
LOWevals/polyglot.py155 " def helper(): Int = 1\n"STRING
LOWcodebase_rag/tests/test_javascript_destructuring.py273async function processData() {CODE
LOWcodebase_rag/tests/test_javascript_destructuring.py380function handleRequest({CODE
LOWcodebase_rag/tests/test_javascript_destructuring.py390function processData({CODE
LOWcodebase_rag/tests/test_indexing_bench.py9def helper():CODE
LOW…_rag/tests/test_python_cross_file_advanced_patterns.py150def process_data(data):CODE
LOW…_rag/tests/test_python_cross_file_advanced_patterns.py166 def handle_request(self, user_input):CODE
LOWcodebase_rag/tests/test_crash_correlation.py740 def helper():STRING
LOWcodebase_rag/tests/test_flow_edges.py484 "def helper(v):\n pass\n\n"CODE
LOWcodebase_rag/tests/test_flow_edges.py496 "def helper(v):\n pass\n\n"CODE
LOWcodebase_rag/tests/test_flow_edges.py605 "def helper(v):\n pass\n\n"CODE
LOWcodebase_rag/tests/test_decorators.py65 def my_method(self) -> None:CODE
LOWcodebase_rag/tests/test_function_ingest.py73 code = "def my_function(): pass"CODE
LOWcodebase_rag/tests/test_function_ingest.py205 def my_method(self):CODE
LOWcodebase_rag/tests/test_function_ingest.py227 def my_method(self):CODE
LOWcodebase_rag/tests/test_function_ingest.py432 def my_method(self):CODE
LOWcodebase_rag/tests/test_function_ingest.py277 code = "def my_function(): pass"STRING
LOWcodebase_rag/tests/test_function_ingest.py313 code = "def my_function(): pass"STRING
LOWcodebase_rag/tests/test_function_ingest.py456 code = "def my_function(): pass"STRING
LOW…ase_rag/tests/test_python_class_method_relationship.py18 f.write(" def my_method(self):\n")CODE
LOWcodebase_rag/tests/test_dynamic_trace_pytest_plugin.py66 "def helper():\n return 1\n\n\ndef entry():\n return helper()\n"CODE
LOWcodebase_rag/tests/test_dynamic_trace_pytest_plugin.py113 "def helper():\n return 2\n\n\ndef entry():\n return helper()\n"CODE
LOW…ebase_rag/tests/test_py_conditional_import_fallback.py20 "def helper(stream):\n return stream\n",CODE
LOW…ebase_rag/tests/test_py_conditional_import_fallback.py30 " def helper(stream):\n"CODE
LOW…ebase_rag/tests/test_py_conditional_import_fallback.py57 "def helper(stream):\n return stream\n",CODE
LOW…ebase_rag/tests/test_py_conditional_import_fallback.py61 "def helper(stream):\n"CODE
LOWcodebase_rag/tests/test_python_imports.py26 (project_path / "utils.py").write_text(encoding="utf-8", data="def helper(): pass")CODE
LOW…debase_rag/tests/test_typescript_namespaces_modules.py960 function getData(id: string): Promise<any>;CODE
LOWcodebase_rag/tests/test_static_calls_eval.py15 "def helper():\n return 1\n\n\ndef use():\n return helper()\n",CODE
LOWcodebase_rag/tests/test_call_fallback_scoping.py88 "svc/other.py": ("def outer():\n def helper():\n return 1\n"),CODE
LOWcodebase_rag/tests/test_call_fallback_scoping.py89 "svc/shared.py": ("def helper():\n return 2\n"),CODE
LOWcodebase_rag/tests/test_call_fallback_scoping.py136 "svc/other.py": ("def helper():\n return 1\n"),CODE
LOWcodebase_rag/tests/test_call_fallback_scoping.py159 "def run():\n def helper():\n return 1\n\n return helper()\n"CODE
LOWcodebase_rag/tests/test_io_access_edges.py211 "m.py": "def helper():\n return 1\n\ndef run():\n helper()\n",CODE
LOWcodebase_rag/tests/test_eval_module_calls.py15def helper():CODE
LOWcodebase_rag/tests/test_eval_module_calls.py83 "def helper():\n return 1\n\n\nwork = lambda: helper()\n",STRING
LOWcodebase_rag/tests/test_eval_module_calls.py91 "def helper():\n return 1\n\n\ngen = (helper() for _ in range(2))\n",STRING
LOWcodebase_rag/tests/test_eval_module_calls.py101 "def helper():\n return 1\n\n\n"STRING
LOWcodebase_rag/tests/test_eval_module_calls.py112 "def helper():\n return 1\n\n\nout = [helper() for _ in range(2)]\n",STRING
LOWcodebase_rag/tests/test_l3_decorator_normalization.py26 def helper():STRING
LOWcodebase_rag/tests/test_local_alias_calls.py25def helper() -> str:CODE
LOWcodebase_rag/tests/test_project_name_flag.py284 _write_python_file(temp_repo, "utils.py", "def helper():\n return 42\n")CODE
LOWcodebase_rag/tests/test_cross_project_eval.py42 "def helper():\n return 1\n", encoding="utf-8"CODE
LOWcodebase_rag/tests/test_scala_retrieval_eval.py26 " def helper(): Int = 1\n"CODE
LOWcodebase_rag/tests/test_incremental_eval.py198 (src / "other.py").write_text("def helper():\n return 2\n", encoding="utf-8")CODE
LOWcodebase_rag/tests/test_python_context_managers.py155def process_data(data):STRING
LOWcodebase_rag/tests/test_dead_code_eval.py425 "def helper():\n return 1\n\n\n"CODE
LOWcodebase_rag/tests/test_structural_relationships.py30 (subpkg / "helpers.py").write_text("def helper(): pass")CODE
LOWcodebase_rag/tests/test_javascript_error_handling.py1230async function processData(data) {CODE
LOWcodebase_rag/tests/test_absolute_path.py44 " def my_method(self):\n"CODE
LOWcodebase_rag/tests/test_absolute_path.py47 "def my_function():\n"CODE
LOWcodebase_rag/tests/test_fqn_resolver.py45 def my_method(self):CODE
LOWcodebase_rag/tests/test_fqn_resolver.py160 def my_method(self):CODE
LOWcodebase_rag/tests/test_fqn_resolver.py178 assert "def my_method(self):" in resultSTRING
LOWcodebase_rag/tests/test_graph_diff.py44_BASE = "def helper():\n return 1\n\n\ndef use():\n return 2\n"CODE
LOWcodebase_rag/tests/test_graph_diff.py45_WITH_CALL = "def helper():\n return 1\n\n\ndef use():\n return helper()\n"CODE
LOWcodebase_rag/tests/test_higher_order_calls.py19MODULE_SRC = """def helper(node):CODE
LOWcodebase_rag/tests/test_higher_order_calls.py40 def helper(self) -> int:CODE
LOWcodebase_rag/tests/test_dispatch_registries.py129 "def helper():\n return 1\n"CODE
30 more matches not shown…
Cross-File Repetition13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHcodebase_rag/tests/test_import_distance_calculation.py0create a graphupdater instance with mock dependencies for testing.STRING
HIGH…se_rag/tests/test_python_relative_import_resolution.py0create a graphupdater instance with mock dependencies for testing.STRING
HIGH…base_rag/tests/test_python_call_resolution_fallback.py0create a graphupdater instance with mock dependencies for testing.STRING
HIGH…se_rag/tests/test_python_wildcard_import_resolution.py0create a graphupdater instance with mock dependencies for testing.STRING
HIGHcodebase_rag/tests/test_mcp_list_directory.py0create an mcp tools registry with mocked dependencies.STRING
HIGHcodebase_rag/tests/test_mcp_read_file.py0create an mcp tools registry with mocked dependencies.STRING
HIGHcodebase_rag/tests/test_mcp_query_and_index.py0create an mcp tools registry with mocked dependencies.STRING
HIGHcodebase_rag/tests/test_mcp_get_code_snippet.py0create an mcp tools registry with mocked dependencies.STRING
HIGHcodebase_rag/tests/test_mcp_surgical_replace.py0create an mcp tools registry with mocked dependencies.STRING
HIGHcodebase_rag/tests/test_mcp_write_file.py0create an mcp tools registry with mocked dependencies.STRING
HIGHcodebase_rag/tests/test_csharp_out_of_solution_facts.py0<project sdk="microsoft.net.sdk"> <propertygroup> <targetframework>net8.0</targetframework> <nullable>enable</nullable> STRING
HIGHcodebase_rag/tests/test_csharp_semantic_facts.py0<project sdk="microsoft.net.sdk"> <propertygroup> <targetframework>net8.0</targetframework> <nullable>enable</nullable> STRING
HIGHcodebase_rag/tests/test_csharp_frontend_wiring.py0<project sdk="microsoft.net.sdk"> <propertygroup> <targetframework>net8.0</targetframework> <nullable>enable</nullable> STRING
Modern AI Meta-Vocabulary11 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md43# Code-Graph-RAGCOMMENT
MEDIUMCONTRIBUTING.md1# Contributing to Code Graph RAGCOMMENT
MEDIUMPYPI_README.md1# Code-Graph-RAGCOMMENT
MEDIUMevals/constants.py690# never exercise this, yet monorepo RAG is cgr's headline. Graded on syntheticCOMMENT
MEDIUMevals/README.md1243### Next step: agentic resolved-rate (out of scope here)COMMENT
MEDIUMcodebase_rag/constants/duplicates.py126# find_duplicate_code agentic tool output.COMMENT
MEDIUMcodebase_rag/tests/test_duplicates_tool.py1# The find_duplicate_code agentic tool validates its inputs before touchingCOMMENT
MEDIUMdocs/index.md5# Code-Graph-RAGCOMMENT
MEDIUMdocs/index.md13## What is Code-Graph-RAG?COMMENT
MEDIUMdocs/claude-code-setup.md1# Claude Code Setup for Code-Graph-RAG MCP ServerCOMMENT
MEDIUMdocs/architecture/overview.md20### 2. RAG System (`codebase_rag/`)COMMENT
Modern Structural Boilerplate33 hits · 32 pts
SeverityFileLineSnippetContext
LOWevals/__init__.py5__all__ = ["extract_cgr_graph", "extract_oracle_graph", "score"]CODE
LOWevals/oracles/__init__.py27__all__ = [CODE
LOWcodebase_rag/cli.py131def _update_and_validate_models(orchestrator: str | None, cypher: str | None) -> None:CODE
LOWcodebase_rag/main.py1501def _update_single_model_setting(role: cs.ModelRole, model_string: str) -> None:CODE
LOWcodebase_rag/analyzers/ast_grep_analyzer.py23logger = logging.getLogger(__name__)CODE
LOWcodebase_rag/analyzers/__init__.py4__all__ = ["FindingAnalyzer", "load_finding_rules"]CODE
LOWcodebase_rag/parsers/__init__.py9__all__ = [CODE
LOWcodebase_rag/parsers/ast_grep_tier.py26logger = logging.getLogger(__name__)CODE
LOWcodebase_rag/parsers/import_processor.py1200 def set_java_generated_roots(self, roots: list[tuple[str, ...]]) -> None:CODE
LOWcodebase_rag/parsers/flow_access/__init__.py6__all__ = [CODE
LOWcodebase_rag/parsers/js_ts/__init__.py7__all__ = [CODE
LOWcodebase_rag/parsers/py/__init__.py7__all__ = [CODE
LOWcodebase_rag/parsers/go/__init__.py10__all__ = [CODE
LOWcodebase_rag/parsers/class_ingest/__init__.py3__all__ = ["ClassIngestMixin"]CODE
LOWcodebase_rag/parsers/cpp_frontend/__init__.py10__all__ = [CODE
LOWcodebase_rag/parsers/dart/__init__.py13__all__ = [CODE
LOWcodebase_rag/parsers/frontends/__init__.py44__all__ = [CODE
LOWcodebase_rag/parsers/java_frontend/__init__.py9__all__ = [CODE
LOWcodebase_rag/parsers/java/__init__.py6__all__ = [CODE
LOWcodebase_rag/parsers/rs/__init__.py3__all__ = ["RustTypeInferenceEngine"]CODE
LOWcodebase_rag/parsers/lua/__init__.py3__all__ = [CODE
LOWcodebase_rag/parsers/cpp/__init__.py3__all__ = [CODE
LOWcodebase_rag/parsers/io_access/__init__.py45__all__ = [CODE
LOWcodebase_rag/parsers/py_frontend/__init__.py7__all__ = [CODE
LOWcodebase_rag/parsers/go_frontend/__init__.py18__all__ = [CODE
LOWcodebase_rag/parsers/handlers/__init__.py5__all__ = [CODE
LOWcodebase_rag/parsers/csharp_frontend/__init__.py13__all__ = [CODE
LOWcodebase_rag/trace/tracer.py63 def set_workload(self, workload: str | None) -> None:CODE
LOW…debase_rag/tests/test_tool_calling_local_model_gate.py21def _set_orchestrator(monkeypatch: pytest.MonkeyPatch, provider: str) -> None:CODE
LOWcodebase_rag/workspaces/__init__.py15__all__ = [CODE
LOWcodebase_rag/stack/__init__.py12__all__ = [CODE
LOWcodebase_rag/services/__init__.py32__all__ = ["IngestorProtocol", "QueryProtocol", "FilteringIngestor"]CODE
LOWcgr/__init__.py7__all__ = [CODE
Magic Placeholder Names6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHdocs/claude-code-setup.md114 --env CYPHER_API_KEY=your-api-key \CODE
HIGHdocs/claude-code-setup.md121 --env CYPHER_API_KEY=your-api-key \CODE
HIGHdocs/guide/mcp-server.md18 --env CYPHER_API_KEY=your-api-key \CODE
HIGHdocs/guide/mcp-server.md29 --env CYPHER_API_KEY=your-api-key \CODE
HIGHdocs/guide/mcp-server.md125 --env CYPHER_API_KEY=your-api-key \CODE
HIGHdocs/guide/mcp-server.md132 --env CYPHER_API_KEY=your-api-key \CODE
Fake / Example Data25 hits · 22 pts
SeverityFileLineSnippetContext
LOWcodebase_rag/tests/test_javascript_destructuring.py53 address: { street: "123 Main St", city: "Anytown" },CODE
LOWcodebase_rag/tests/test_javascript_destructuring.py66 contact: { email: "john@example.com", phone: "555-1234" }CODE
LOWcodebase_rag/tests/test_lua_oop_patterns.py458local user = User:new("John Doe", "john@example.com")CODE
LOWcodebase_rag/tests/test_java_relationship_validation.py256 userService.createUser("John Doe", "john@example.com"); // CALLS UserService.createUser()CODE
LOWcodebase_rag/tests/test_java_relationship_validation.py389 User admin = new User("Admin", "admin@example.com");CODE
LOW…debase_rag/tests/test_typescript_namespaces_modules.py341const isValidEmail = DataProcessing.Validators.isEmail('user@example.com');CODE
LOW…debase_rag/tests/test_typescript_namespaces_modules.py1146console.log(fullName); // 'John Doe'CODE
LOW…debase_rag/tests/test_typescript_namespaces_modules.py1152const result = emailValidator.validate('user@example.com');CODE
LOWcodebase_rag/tests/test_javascript_object_patterns.py151 street: '123 Main St',CODE
LOWcodebase_rag/tests/test_javascript_object_patterns.py1123 const email = new Email('user@example.com');CODE
LOWcodebase_rag/tests/test_javascript_object_patterns.py1525userModel.set('name', 'John Doe');CODE
LOWcodebase_rag/tests/test_rust_macros_metaprogramming.py854 author: "Jane Doe".to_string(),CODE
LOWcodebase_rag/tests/test_rust_macros_metaprogramming.py1051 INSERT INTO users (name, email, age) VALUES ("John Doe", "john@example.com", 25)CODE
LOWcodebase_rag/tests/test_java_advanced_oop.py1398 author = "John Doe",CODE
LOWcodebase_rag/tests/test_typescript_decorators.py1441 return { id, name: 'User', email: 'user@example.com' };CODE
LOWcodebase_rag/tests/test_typescript_decorators.py1472 const user = userService.createUser('John Doe', 'john@example.com', 30, 'ADMIN');CODE
LOWcodebase_rag/tests/test_javascript_modules.py1184const isValid = defaultValidator('email', 'test@test.com');CODE
LOW…debase_rag/tests/test_cpp_designated_init_consteval.py934 email_validator("user@example.com");CODE
LOWcodebase_rag/tests/test_java_modern_features.py474 "name": "John Doe",CODE
LOWcodebase_rag/tests/test_java_modern_features.py477 "street": "123 Main St",CODE
LOWcodebase_rag/tests/test_typescript_types.py816 street: "123 Main St",CODE
LOWcodebase_rag/tests/test_rust_pattern_matching.py251 street: "123 Main St".to_string(),CODE
LOWcodebase_rag/tests/test_java_complex_relationships.py328 EmailNotifier emailNotifier = new EmailNotifier("user@example.com"); // CALLS EmailNotifier constructorCODE
LOWcodebase_rag/tests/test_java_complex_relationships.py989 PaymentStrategy creditCard = new CreditCardPayment("1234567890123456", "John Doe"); // CALLS CreditCardPayment cCODE
LOWcodebase_rag/tests/test_java_complex_relationships.py999 PaymentStrategy paypal = new PayPalPayment("user@example.com"); // CALLS PayPalPayment constructorCODE
Decorative Section Separators3 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMrealtime_updater.py122 # ┌─────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUMrealtime_updater.py124 # ├─────────────────────────────────────────────────────────────────────┤COMMENT
MEDIUMrealtime_updater.py134 # └─────────────────────────────────────────────────────────────────────┘COMMENT
Structural Annotation Overuse8 hits · 12 pts
SeverityFileLineSnippetContext
LOWrealtime_updater.py262 # Step 1: Delete existing nodes for this file pathCOMMENT
LOWrealtime_updater.py280 # Step 2: Clear in-memory stateCOMMENT
LOWrealtime_updater.py295 # Step 3: Re-parse code files and create File nodes for ALL filesCOMMENT
LOWrealtime_updater.py368 # Step 4: every CALLS edge is deleted and recomputed, so theCOMMENT
LOWrealtime_updater.py387 # Step 5: Flush changes to databaseCOMMENT
LOWdocs/getting-started/quickstart.md9## Step 1: Parse a RepositoryCOMMENT
LOWdocs/getting-started/quickstart.md44## Step 2: Query the CodebaseCOMMENT
LOWdocs/getting-started/quickstart.md77## Step 3: Export Graph DataCOMMENT
Verbosity Indicators5 hits · 8 pts
SeverityFileLineSnippetContext
LOWrealtime_updater.py262 # Step 1: Delete existing nodes for this file pathCOMMENT
LOWrealtime_updater.py280 # Step 2: Clear in-memory stateCOMMENT
LOWrealtime_updater.py295 # Step 3: Re-parse code files and create File nodes for ALL filesCOMMENT
LOWrealtime_updater.py368 # Step 4: every CALLS edge is deleted and recomputed, so theCOMMENT
LOWrealtime_updater.py387 # Step 5: Flush changes to databaseCOMMENT
AI Structural Patterns9 hits · 6 pts
SeverityFileLineSnippetContext
LOWevals/agentic_qa.py610CODE
LOWcodebase_rag/cli.py448CODE
LOWcodebase_rag/cli.py874CODE
LOWcodebase_rag/cli.py1432CODE
LOWcodebase_rag/cli.py1795CODE
LOWcodebase_rag/parsers/call_processor.py957CODE
LOWcodebase_rag/parsers/type_inference.py81CODE
LOWcodebase_rag/parsers/utils.py1190CODE
LOWcodebase_rag/parsers/csharp/type_inference.py90CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcodebase_rag/tests/test_rust_closures_functions.py207 // For demonstration purposes onlyCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/labels.yml2# This file defines all labels used in issue templates and workflowsCOMMENT