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

33.2 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 2,315 GitHub stars. SynthScan v2.0 examined 300,292 lines of code across 902 source files, recording 6864 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 33.2 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).

33.2
Adjusted Score
33.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.3K
Stars
Python
Language
300.3K
Lines of Code
902
Files
6.9K
Pattern Hits
2026-07-14
Scan Date
0.87
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 19HIGH 766MEDIUM 154LOW 5925

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 6864 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 Identifiers4768 hits · 4185 pts
SeverityFileLineSnippetContext
LOWrealtime_updater.py170 def _schedule_immediate_processing(self, relative_path_str: str) -> None:CODE
LOWrealtime_updater.py180 def _process_debounced_change(self, relative_path_str: str) -> None:CODE
LOWrealtime_updater.py336def _validate_non_negative_float(value: float) -> float:CODE
LOWCONTRIBUTING.md757 def validate_default_in_options(self):CODE
LOWevals/cgr_graph.py24 def ensure_relationship_batch(CODE
LOWevals/cgr_graph.py118 def ensure_relationship_batch(CODE
LOWevals/cgr_graph.py280 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/instantiation.py44def _externally_shadowed_names(tree: ast.Module, rel: str, project: str) -> set[str]:CODE
LOWevals/incremental.py78def run_neutral_edit_scenario(CODE
LOWevals/oracles/csharp_oracle.py75def _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.py40def run_typescript_call_oracle(CODE
LOWevals/oracles/typescript_oracle.py50def run_javascript_call_oracle(CODE
LOWcodebase_rag/dead_code.py95def _is_java_serialization_root(name: str, is_method: bool, path: str) -> bool:CODE
LOWcodebase_rag/dead_code.py108def _is_csharp_attribute_root(props: PropertyDict, path: str) -> bool:CODE
LOWcodebase_rag/dead_code.py128def _is_csharp_operator_or_finalizer_root(name: str, path: str) -> bool:CODE
LOWcodebase_rag/cypher_queries.py195def build_merge_relationship_query(STRING
LOWcodebase_rag/cypher_queries.py224def build_create_relationship_query(STRING
LOWcodebase_rag/config.py56def format_missing_api_key_errors(CODE
LOWcodebase_rag/config.py334 def _get_default_orchestrator_config(self) -> ModelConfig:STRING
LOWcodebase_rag/config.py337 def _get_default_cypher_config(self) -> ModelConfig:STRING
LOWcodebase_rag/config.py341 def active_orchestrator_config(self) -> ModelConfig:STRING
LOWcodebase_rag/config.py447def _read_cgr_instructions_file(path: Path) -> str | None:STRING
LOWcodebase_rag/graph_updater.py255 def find_with_prefix_and_suffix(CODE
LOWcodebase_rag/graph_updater.py267 def _invalidate_ending_with_cache(CODE
LOWcodebase_rag/graph_updater.py624 def _tightest_containing_span(CODE
LOWcodebase_rag/graph_updater.py639 def _resolve_hybrid_macro_calls(self) -> None:CODE
LOWcodebase_rag/graph_updater.py677 def _resolve_hybrid_expansion_calls(self) -> None:CODE
LOWcodebase_rag/graph_updater.py868 def _rehydrate_registry_from_graph(self) -> None:CODE
LOWcodebase_rag/graph_updater.py938 def _rehydrate_class_inheritance_from_graph(self) -> None:CODE
LOWcodebase_rag/graph_updater.py961 def _rehydrated_bases_by_child(CODE
LOWcodebase_rag/graph_updater.py1619 def _generate_semantic_embeddings(self) -> None:CODE
LOWcodebase_rag/vector_store.py100 def delete_project_embeddings(project_name: str, node_ids: Sequence[int]) -> None:CODE
LOWcodebase_rag/vector_store.py171 def delete_project_embeddings(project_name: str, node_ids: Sequence[int]) -> None:CODE
LOWcodebase_rag/readme_sections.py56def extract_makefile_commands(makefile_path: Path) -> list[MakeCommand]:CODE
LOWcodebase_rag/readme_sections.py72def format_full_languages_table() -> str:CODE
LOWcodebase_rag/readme_sections.py113def format_node_schemas_table(schemas: list[tuple[str, str]]) -> str:CODE
LOWcodebase_rag/readme_sections.py118def extract_relationship_schemas() -> list[tuple[str, str, str]]:CODE
LOWcodebase_rag/readme_sections.py127def format_relationship_schemas_table(schemas: list[tuple[str, str, str]]) -> str:CODE
LOWcodebase_rag/readme_sections.py132def format_cli_commands_table() -> str:CODE
LOWcodebase_rag/readme_sections.py164def format_agentic_tools_table() -> str:CODE
LOWcodebase_rag/graph_loader.py135 def get_relationships_for_node(self, node_id: int) -> list[GraphRelationship]:CODE
LOWcodebase_rag/graph_loader.py141 def get_outgoing_relationships(self, node_id: int) -> list[GraphRelationship]:CODE
LOWcodebase_rag/graph_loader.py145 def get_incoming_relationships(self, node_id: int) -> list[GraphRelationship]:CODE
LOWcodebase_rag/prompts.py76def build_graph_schema_and_rules() -> str:CODE
LOWcodebase_rag/prompts.py91def _format_active_projects_block(active_projects: list[str] | None) -> str:STRING
LOWcodebase_rag/prompts.py119def build_rag_orchestrator_prompt(STRING
LOWcodebase_rag/prompts.py212def _format_cypher_project_scope(active_projects: list[str] | None) -> str:STRING
LOWcodebase_rag/prompts.py241def build_cypher_system_prompt(active_projects: list[str] | None = None) -> str:STRING
LOWcodebase_rag/prompts.py300def build_local_cypher_system_prompt(active_projects: list[str] | None = None) -> str:STRING
LOWcodebase_rag/parser_loader.py226def _build_combined_import_pattern(lang_config: LanguageSpec) -> str:CODE
LOWcodebase_rag/cli.py81def _update_and_validate_models(orchestrator: str | None, cypher: str | None) -> None:CODE
LOWcodebase_rag/cli.py280def _resolve_and_validate_repo(repo_path: str | None) -> Path:CODE
LOWcodebase_rag/cli.py299def _cleanup_project_embeddings(ingestor: MemgraphIngestor, project_name: str) -> None:CODE
LOWcodebase_rag/cli.py955def _resolve_dead_code_project(CODE
LOWcodebase_rag/schema_builder.py13def _format_relationship_schema(schema: RelationshipSchema) -> str:CODE
LOWcodebase_rag/schema_builder.py23def build_node_labels_section() -> str:CODE
4708 more matches not shown…
Cross-Language Confusion747 hits · 4081 pts
SeverityFileLineSnippetContext
HIGHcodebase_rag/parsers/call_processor.py2464 # (H) `const bound = handler.bind(null)` stores the boundCOMMENT
HIGHcodebase_rag/parsers/call_processor.py2961 # (H) 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.py409 groups = _parse_command("echo 'a && b || c'")CODE
HIGHcodebase_rag/tests/test_shell_command.py409 groups = _parse_command("echo 'a && b || c'")CODE
HIGHcodebase_rag/tests/test_shell_command.py411 assert groups[0].commands == ["echo 'a && b || c'"]CODE
HIGHcodebase_rag/tests/test_shell_command.py411 assert groups[0].commands == ["echo 'a && b || c'"]CODE
HIGHcodebase_rag/tests/test_shell_command.py561 "ls nonexistent_12345 && echo 'should not run'"CODE
HIGHcodebase_rag/tests/test_shell_command.py568 "ls nonexistent_12345 || echo 'fallback'"CODE
HIGHcodebase_rag/tests/test_shell_command.py576 result = await shell_commander.execute("ls || echo 'should not run'")CODE
HIGHcodebase_rag/tests/test_shell_command.py778 result = await shell_commander.execute("ls && rm -rf /")CODE
HIGHcodebase_rag/tests/test_shell_command.py537 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
HIGHcodebase_rag/tests/test_cpp_stl_usage.py214 que.push("third");CODE
687 more matches not shown…
Unused Imports573 hits · 548 pts
SeverityFileLineSnippetContext
LOWevals/__init__.py1CODE
LOWevals/__init__.py2CODE
LOWevals/__init__.py3CODE
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__.py18CODE
LOWevals/oracles/__init__.py18CODE
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/config.py1CODE
LOWcodebase_rag/models.py12CODE
LOWcodebase_rag/readme_sections.py1CODE
LOWcodebase_rag/tool_errors.py1CODE
LOWcodebase_rag/prompts.py20CODE
LOWcodebase_rag/capture.py1CODE
LOWcodebase_rag/schemas.py1CODE
LOWcodebase_rag/cgr_state.py1CODE
LOWcodebase_rag/language_spec.py1CODE
LOWcodebase_rag/embedder.py1CODE
LOWcodebase_rag/main.py1CODE
LOWcodebase_rag/parsers/call_processor.py1CODE
LOWcodebase_rag/parsers/python_source_roots.py1CODE
LOWcodebase_rag/parsers/type_inference.py23CODE
LOWcodebase_rag/parsers/__init__.py1CODE
LOWcodebase_rag/parsers/__init__.py2CODE
LOWcodebase_rag/parsers/__init__.py3CODE
513 more matches not shown…
Excessive Try-Catch Wrapping192 hits · 214 pts
SeverityFileLineSnippetContext
MEDIUMCONTRIBUTING.md458print(f"Error: {e}", file=sys.stderr)CODE
LOWCONTRIBUTING.md511 except Exception as e:CODE
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.py386 except Exception:CODE
LOWcodebase_rag/graph_updater.py1664 except Exception as e:CODE
LOWcodebase_rag/graph_updater.py1724 except Exception as e:CODE
LOWcodebase_rag/graph_updater.py1748 except Exception as e:CODE
MEDIUMcodebase_rag/graph_updater.py382def _should_evict_for_memory(self) -> bool:CODE
LOWcodebase_rag/vector_store.py33 except Exception as e:CODE
LOWcodebase_rag/vector_store.py60 except Exception as e:CODE
LOWcodebase_rag/vector_store.py96 except Exception as e:CODE
LOWcodebase_rag/vector_store.py115 except Exception as e:CODE
LOWcodebase_rag/vector_store.py152 except Exception as e:CODE
LOWcodebase_rag/parser_loader.py78 except Exception as e:CODE
LOWcodebase_rag/parser_loader.py254 except Exception as e:CODE
LOWcodebase_rag/parser_loader.py276 except Exception as e:CODE
LOWcodebase_rag/parser_loader.py293 except Exception as e:CODE
LOWcodebase_rag/parser_loader.py327 except Exception:CODE
LOWcodebase_rag/parser_loader.py335 except Exception:CODE
LOWcodebase_rag/parser_loader.py371 except Exception as e:CODE
LOWcodebase_rag/cli.py606 except Exception as e:CODE
LOWcodebase_rag/cli.py642 except Exception as e:CODE
LOWcodebase_rag/cli.py743 except Exception as e:CODE
LOWcodebase_rag/cli.py774 except Exception as e:CODE
LOWcodebase_rag/cli.py947 except Exception as e:CODE
LOWcodebase_rag/cli.py1132 except Exception as e:CODE
LOWcodebase_rag/cli.py1202 except Exception as e:CODE
MEDIUMcodebase_rag/cli.py69def validate_models_early() -> None:CODE
LOWcodebase_rag/embedder.py52 except Exception as e:CODE
LOWcodebase_rag/embedder.py64 except Exception as e:CODE
MEDIUMcodebase_rag/main.py729def _token_usage() -> tuple[int, int, float]:CODE
MEDIUMcodebase_rag/main.py771def _short_model_id() -> tuple[str, str]:CODE
MEDIUMcodebase_rag/main.py986def on_input() -> None:CODE
LOWcodebase_rag/main.py747 except Exception:CODE
LOWcodebase_rag/main.py756 except Exception as e:CODE
LOWcodebase_rag/main.py1518 except Exception as e:CODE
LOWcodebase_rag/main.py665 except Exception as e:CODE
LOWcodebase_rag/main.py736 except Exception:CODE
LOWcodebase_rag/main.py774 except Exception:CODE
LOWcodebase_rag/main.py778 except Exception:CODE
LOWcodebase_rag/main.py1005 except Exception:CODE
LOWcodebase_rag/main.py1238 except Exception as e:CODE
LOWcodebase_rag/main.py1326 except Exception as e:CODE
LOWcodebase_rag/decorators.py155 except Exception as e:CODE
MEDIUMcodebase_rag/decorators.py150def wrapper(*args, **kwargs) -> T:CODE
LOWcodebase_rag/parsers/call_processor.py474 except Exception as e:CODE
LOWcodebase_rag/parsers/call_processor.py832 except Exception as e:CODE
LOWcodebase_rag/parsers/definition_processor.py322 except Exception as e:CODE
MEDIUMcodebase_rag/parsers/import_processor.py346def __del__(self) -> None:CODE
LOWcodebase_rag/parsers/import_processor.py349 except Exception:CODE
LOWcodebase_rag/parsers/import_processor.py442 except Exception as e:CODE
LOWcodebase_rag/parsers/dependency_parser.py73 except Exception as e:CODE
LOWcodebase_rag/parsers/dependency_parser.py93 except Exception as e:CODE
LOWcodebase_rag/parsers/dependency_parser.py107 except Exception as e:CODE
LOWcodebase_rag/parsers/dependency_parser.py155 except Exception as e:CODE
LOWcodebase_rag/parsers/dependency_parser.py195 except Exception as e:CODE
LOWcodebase_rag/parsers/dependency_parser.py217 except Exception as e:CODE
LOWcodebase_rag/parsers/dependency_parser.py242 except Exception as e:CODE
132 more matches not shown…
Hallucination Indicators19 hits · 192 pts
SeverityFileLineSnippetContext
CRITICALcodebase_rag/tests/test_implements_overrides.py61 "proj.com.example.Other.OtherNamer.translateName(String)",CODE
CRITICALcodebase_rag/tests/test_implements_overrides.py62 "proj.com.example.Namer.Namer.translateName(String)",CODE
CRITICALcodebase_rag/tests/test_implements_overrides.py90 interface_qn = "proj.com.example.Namer.Namer.translateName(String)"CODE
CRITICALcodebase_rag/tests/test_implements_overrides.py91 enum_prefix = "proj.com.example.NamerPolicy.NamerPolicy.translateName(String)"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
AI Slop Vocabulary100 hits · 186 pts
SeverityFileLineSnippetContext
MEDIUMevals/dead_code.py3# (H) codebase_rag.dead_code. The deterministic in-memory harness cannot query aCOMMENT
MEDIUMevals/oracles/csharp_oracle/Program.cs1// Authoritative C# structure oracle for the cgr eval harness.COMMENT
MEDIUMcodebase_rag/dead_code.py56 # (H) normalization robust to whatever a highlight query captures.COMMENT
MEDIUMcodebase_rag/parsers/call_resolver.py1466 # (H) Naming convention (XxxProtocol -> Xxx) is robust when it applies;COMMENT
MEDIUMcodebase_rag/parsers/flow_access/processor.py1024 # (H) Definitely tainted arg: emit the caller->callee arg edge now.COMMENT
MEDIUMcodebase_rag/tests/test_relative_import_package_init.py1# (H) L2 residual from the evals/ harness: relative imports inside an __init__.pyCOMMENT
MEDIUMcodebase_rag/tests/test_protocol_operator_dispatch.py1# (H) L3 finding from the evals/ harness: an operator on a Protocol-typed attributeCOMMENT
MEDIUMcodebase_rag/tests/test_typescript_structure_oracle.py1# (H) 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# (H) L3 finding from the evals/ harness: a call on a parameter typed as aCOMMENT
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# (H) 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
MEDIUMcodebase_rag/tests/test_callable_field_calls.py1# (H) L3 finding from the evals/ harness: fqn_config.get_name(node) invokes aCOMMENT
MEDIUMcodebase_rag/tests/test_javascript_structure_oracle.py1# (H) Covers the JavaScript structure oracle harness (evals/oracles/ts_oracle runCOMMENT
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# (H) L3 finding from the evals/ harness: DefinitionProcessor._extract_decorators callsCOMMENT
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# (H) 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# (H) L3 finding from the evals/ harness: `if self.function_registry:` tests an objectCOMMENT
MEDIUMcodebase_rag/tests/test_getattr_dispatch.py1# (H) L3 finding from the evals/ harness: JavaTypeResolverMixin._find_registry_entries_underCOMMENT
MEDIUMcodebase_rag/tests/test_java_structure_oracle.py1# (H) Covers the Java structure oracle harness (evals/oracles/java_oracle +COMMENT
MEDIUMcodebase_rag/tests/test_l3_decorator_normalization.py1# (H) Covers the L3 eval harness (evals/calls_trace.py): a call to a functools.wrapsCOMMENT
MEDIUMcodebase_rag/tests/test_local_alias_calls.py1# (H) 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# (H) 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# (H) L2 finding from the evals/ harness: cgr captured INHERITS for direct-nameCOMMENT
MEDIUMcodebase_rag/tests/test_nested_function_defines.py1# (H) Finding #2 from the evals/ harness: a function nested inside a METHOD wasCOMMENT
MEDIUM…_rag/tests/test_abstract_method_override_resolution.py1# (H) 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
MEDIUMcodebase_rag/tests/test_cpp_comprehensive.py63 """Test comprehensive C++ feature integration."""STRING
MEDIUMcodebase_rag/tests/test_cpp_comprehensive.py911 """Mark comprehensive C++ testing as complete."""STRING
MEDIUMcodebase_rag/tests/test_cpp_lambdas_functional.py12 """Create a comprehensive C++ project with lambda and functional programming patterns."""STRING
MEDIUMcodebase_rag/tests/test_reexport_chain_resolution.py1# (H) L3 finding from the evals/ harness: TypeInferenceEngine.build_local_variable_type_mapCOMMENT
MEDIUMcodebase_rag/tests/test_javascript_classes.py16 """Create a comprehensive JavaScript project with all class patterns."""STRING
MEDIUMcodebase_rag/tests/test_javascript_async_patterns.py11 """Create a comprehensive JavaScript project with all async patterns."""STRING
MEDIUMcodebase_rag/tests/test_local_alias_chain_resolution.py1# (H) L3 finding from the evals/ harness: CallProcessor._ingest_function_calls doesCOMMENT
MEDIUMcodebase_rag/tests/test_higher_order_calls.py1# (H) L3 finding from the evals/ harness: a function passed as an argument andCOMMENT
MEDIUMcodebase_rag/tests/test_typescript_decorators.py12 """Create a comprehensive TypeScript project with decorator patterns."""STRING
MEDIUMcodebase_rag/tests/test_javascript_modules.py16 """Create a comprehensive JavaScript project with module patterns."""STRING
MEDIUMcodebase_rag/tests/test_php_structure_oracle.py1# (H) Covers the PHP structure oracle harness (evals/oracles/php_oracle +COMMENT
MEDIUMcodebase_rag/tests/test_typescript_enums.py12 """Create a comprehensive TypeScript project with enum patterns."""STRING
MEDIUMcodebase_rag/tests/test_lua_structure_oracle.py1# (H) Covers the Lua structure oracle harness (evals/oracles/lua_oracle +COMMENT
MEDIUMcodebase_rag/tests/test_cpp_memory_management.py11 """Create a comprehensive C++ project with memory management patterns."""STRING
40 more matches not shown…
Deep Nesting182 hits · 155 pts
SeverityFileLineSnippetContext
LOWevals/cgr_graph.py394CODE
LOWevals/cgr_graph.py610CODE
LOWevals/cgr_graph.py265CODE
LOWevals/ast_oracle.py54CODE
LOWevals/ast_oracle.py81CODE
LOWevals/ast_oracle.py160CODE
LOWevals/ast_oracle.py224CODE
LOWevals/ast_oracle.py237CODE
LOWevals/static_calls.py66CODE
LOWevals/retrieval.py92CODE
LOWevals/import_resolution.py36CODE
LOWevals/instantiation.py44CODE
LOWevals/instantiation.py65CODE
LOWevals/inheritance.py175CODE
LOWcodebase_rag/dead_code.py157CODE
LOWcodebase_rag/dead_code.py174CODE
LOWcodebase_rag/config.py384CODE
LOWcodebase_rag/graph_updater.py1088CODE
LOWcodebase_rag/graph_updater.py1619CODE
LOWcodebase_rag/parser_loader.py17CODE
LOWcodebase_rag/language_spec.py125CODE
LOWcodebase_rag/language_spec.py140CODE
LOWcodebase_rag/language_spec.py163CODE
LOWcodebase_rag/parsers/call_processor.py354CODE
LOWcodebase_rag/parsers/call_processor.py420CODE
LOWcodebase_rag/parsers/call_processor.py580CODE
LOWcodebase_rag/parsers/call_processor.py835CODE
LOWcodebase_rag/parsers/call_processor.py1580CODE
LOWcodebase_rag/parsers/call_processor.py2417CODE
LOWcodebase_rag/parsers/call_processor.py2594CODE
LOWcodebase_rag/parsers/call_processor.py2664CODE
LOWcodebase_rag/parsers/call_processor.py2720CODE
LOWcodebase_rag/parsers/call_processor.py2781CODE
LOWcodebase_rag/parsers/call_processor.py2859CODE
LOWcodebase_rag/parsers/call_processor.py3162CODE
LOWcodebase_rag/parsers/call_processor.py3220CODE
LOWcodebase_rag/parsers/call_processor.py3575CODE
LOWcodebase_rag/parsers/call_processor.py3893CODE
LOWcodebase_rag/parsers/call_processor.py3962CODE
LOWcodebase_rag/parsers/python_source_roots.py17CODE
LOWcodebase_rag/parsers/python_source_roots.py62CODE
LOWcodebase_rag/parsers/type_inference.py211CODE
LOWcodebase_rag/parsers/type_inference.py298CODE
LOWcodebase_rag/parsers/export_detection.py184CODE
LOWcodebase_rag/parsers/function_ingest.py68CODE
LOWcodebase_rag/parsers/function_ingest.py442CODE
LOWcodebase_rag/parsers/function_ingest.py1038CODE
LOWcodebase_rag/parsers/function_ingest.py1441CODE
LOWcodebase_rag/parsers/function_ingest.py1554CODE
LOWcodebase_rag/parsers/utils.py116CODE
LOWcodebase_rag/parsers/utils.py160CODE
LOWcodebase_rag/parsers/utils.py465CODE
LOWcodebase_rag/parsers/utils.py494CODE
LOWcodebase_rag/parsers/utils.py552CODE
LOWcodebase_rag/parsers/utils.py612CODE
LOWcodebase_rag/parsers/utils.py689CODE
LOWcodebase_rag/parsers/definition_processor.py179CODE
LOWcodebase_rag/parsers/call_resolver.py1928CODE
LOWcodebase_rag/parsers/import_processor.py48CODE
LOWcodebase_rag/parsers/import_processor.py364CODE
122 more matches not shown…
Over-Commented Block100 hits · 90 pts
SeverityFileLineSnippetContext
LOWrealtime_updater.py81 def _is_relevant(self, path_str: str) -> bool: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/java_oracle/Oracle.java1// Authoritative Java structure oracle for the cgr eval harness.COMMENT
LOWevals/oracles/ts_oracle/ts_ast.js1// Authoritative TypeScript structure oracle for the cgr eval harness.COMMENT
LOWcodebase_rag/dead_code.py341 # (H)COMMENT
LOWcodebase_rag/config.py421def load_ignore_patterns(repo_path: Path) -> CgrignorePatterns:COMMENT
LOWcodebase_rag/graph_updater.py561 # (H) Optional libclang C++ pre-pass when a compile_commands.json isCOMMENT
LOWcodebase_rag/parsers/call_processor.py701 # (H) be decorated too, so include captured class nodes.COMMENT
LOWcodebase_rag/parsers/call_processor.py1501 case cs.TS_NEW_EXPRESSION if language in _JS_TS_LANGUAGES:COMMENT
LOWcodebase_rag/parsers/call_processor.py1541 object_text = object_node.text.decode(cs.ENCODING_UTF8)COMMENT
LOWcodebase_rag/parsers/call_processor.py1801 call_name = get_target(call_node, language)COMMENT
LOWcodebase_rag/parsers/call_processor.py2121 and call_node.type == cs.TS_OBJECT_CREATION_EXPRESSIONCOMMENT
LOWcodebase_rag/parsers/call_processor.py2201 # (H) A bare Go call resolves to one file's copy of a package-levelCOMMENT
LOWcodebase_rag/parsers/call_processor.py2461 # (H) interleaves parens (`api.setState = ((s, r) => {...}) asCOMMENT
LOWcodebase_rag/parsers/call_processor.py2601 boundary_types: frozenset[str],COMMENT
LOWcodebase_rag/parsers/call_processor.py2781 def _ingest_collection_function_references(COMMENT
LOWcodebase_rag/parsers/call_processor.py3741 # (H) A function/method passed as an argument is a first-class value theCOMMENT
LOWcodebase_rag/parsers/call_processor.py4001 return f"{module_qn}{cs.SEPARATOR_DOT}{cs.SEPARATOR_DOT.join(path_parts)}{cs.SEPARATOR_DOT}{func_name}"COMMENT
LOWcodebase_rag/parsers/call_processor.py4041 self, func_nodes: list[Node], language: cs.SupportedLanguageCOMMENT
LOWcodebase_rag/parsers/python_source_roots.py61COMMENT
LOWcodebase_rag/parsers/definition_processor.py61 self.function_registry = function_registryCOMMENT
LOWcodebase_rag/parsers/definition_processor.py81 # (H) C# override tracking. `csharp_methods` is every C# method qn;COMMENT
LOWcodebase_rag/parsers/definition_processor.py101 # (H) make (the method lives on an unrelated static class). Populated atCOMMENT
LOWcodebase_rag/parsers/definition_processor.py121 self._deferred_cpp_methods: list = []COMMENT
LOWcodebase_rag/parsers/definition_processor.py141 self.cpp_definition_spans: dict[str, list[CppDefinitionSpan]] = {}COMMENT
LOWcodebase_rag/parsers/call_resolver.py481 # (H) permits an external test package (`package p_test`) in a `_test.go` fileCOMMENT
LOWcodebase_rag/parsers/call_resolver.py521 # (H) When the receiver does NOT resolve to a first-party class, fan the call outCOMMENT
LOWcodebase_rag/parsers/call_resolver.py701 # (H) not a first-party class is a call on an external object (e.g. aCOMMENT
LOWcodebase_rag/parsers/call_resolver.py801 return FalseCOMMENT
LOWcodebase_rag/parsers/import_processor.py181def _has_aliased_scheme(specifier: str) -> bool:COMMENT
LOWcodebase_rag/parsers/import_processor.py241 self.function_registry = function_registryCOMMENT
LOWcodebase_rag/parsers/import_processor.py261 # (H) module. A PHP namespace path never matches cgr's file-path qualifiedCOMMENT
LOWcodebase_rag/parsers/flow_access/processor.py141 self._resolver = resolverCOMMENT
LOWcodebase_rag/parsers/flow_access/processor.py201 # (H) write sink emits a resource->resource flow, a tainted value passed to aCOMMENT
LOWcodebase_rag/parsers/flow_access/processor.py261 for node in statements:COMMENT
LOWcodebase_rag/parsers/class_ingest/mixin.py521 candidates = self.function_registry.find_ending_with(simple)COMMENT
LOWcodebase_rag/parsers/class_ingest/mixin.py621 language,COMMENT
LOWcodebase_rag/parsers/class_ingest/mixin.py781 # (H) Record Go struct field types so a field-hop receiverCOMMENT
LOWcodebase_rag/parsers/cpp_frontend/frontend.py101 self.covered: set[str] = set()COMMENT
LOWcodebase_rag/parsers/cpp/preproc_recovery.py1# (H) Recovery for the conditional-brace preprocessor pattern that collapses aCOMMENT
LOWcodebase_rag/parsers/cpp/utils.py301COMMENT
LOWcodebase_rag/parsers/csharp/utils.py101) -> None:COMMENT
LOWcodebase_rag/parsers/io_access/descriptor.py21 # (H) Nested definitions whose body is a separate caller: the walk prunes themCOMMENT
LOWcodebase_rag/parsers/io_access/descriptor.py41 # (H) `statement_list`); None where a block's children ARE the statements (JS,COMMENT
LOWcodebase_rag/parsers/io_access/descriptor.py61 # (H) The declaration-statement node whose declarators must be scoped in sourceCOMMENT
LOWcodebase_rag/parsers/io_access/processor.py101 descriptor,COMMENT
LOWcodebase_rag/parsers/io_access/processor.py901 # (H) form. Expand the head segment through the import map on `::` (`use std::fs;COMMENT
LOWcodebase_rag/constants/ast_csharp.py1# (H) C# tree-sitter node types and field names (tree-sitter-c-sharp).COMMENT
LOWcodebase_rag/constants/ast_csharp.py81# (H) strip type args to the identifier), a `qualified_name` (`System.Exception`),COMMENT
LOWcodebase_rag/constants/ast_js.py41JS_MODULE_RECEIVERS = frozenset({"exports", "module", "this"})COMMENT
LOWcodebase_rag/constants/graph.py361# (H) Inbound reference edges (from unchanged files) into symbols defined in oneCOMMENT
LOWcodebase_rag/constants/deadcode_roots.py181# (H) Base classes that mark a class as a structural interface: its method stubsCOMMENT
LOWcodebase_rag/constants/ast_rust.py81# (H) both for macro-token receiver reconstruction and value-chain base flattening).COMMENT
40 more matches not shown…
Overly Generic Function Names75 hits · 73 pts
SeverityFileLineSnippetContext
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
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_flow_edges.py84 "def helper(v):\n pass\n\n"CODE
LOWcodebase_rag/tests/test_flow_edges.py96 "def helper(v):\n pass\n\n"CODE
LOWcodebase_rag/tests/test_flow_edges.py205 "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
LOW…ebase_rag/tests/test_py_conditional_import_fallback.py21 "def helper(stream):\n return stream\n",CODE
LOW…ebase_rag/tests/test_py_conditional_import_fallback.py31 " def helper(stream):\n"CODE
LOW…ebase_rag/tests/test_py_conditional_import_fallback.py59 "def helper(stream):\n return stream\n",CODE
LOW…ebase_rag/tests/test_py_conditional_import_fallback.py63 "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_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.py196 (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_higher_order_calls.py20MODULE_SRC = """def helper(node):CODE
LOWcodebase_rag/tests/test_higher_order_calls.py41 def helper(self) -> int:CODE
LOWcodebase_rag/tests/test_graph_export_integration.py145def helper():CODE
LOWcodebase_rag/tests/test_is_exported_roots.py169 src = "def outer():\n def helper():\n return 1\n return helper()\n"STRING
LOWcodebase_rag/tests/test_retrieval_eval.py28def helper():CODE
LOWcodebase_rag/tests/test_javascript_modules.py254export default function processData(data) {CODE
LOWcodebase_rag/tests/test_ast_cache_eviction_calls.py32 "def helper():\n return 1\n\n\ndef top():\n return helper()\n",CODE
LOWcodebase_rag/tests/test_javascript_spread_rest.py443function processData(operation, ...data) {CODE
LOWcodebase_rag/tests/test_javascript_spread_rest.py463function handleRequest({ method, url }, ...middleware) {CODE
LOW…ase_rag/tests/test_py_variable_analyzer_integration.py461def process_data(CODE
LOWcodebase_rag/tests/test_function_local_definitions.py22 def helper(self) -> str:CODE
LOWcodebase_rag/tests/test_external_module_label.py42 (tmp_path / "util.py").write_text("def helper() -> None: ...\n", encoding="utf-8")CODE
LOWcodebase_rag/tests/test_javascript_closures_scoping.py875 function processData(data) {CODE
LOWcodebase_rag/tests/test_nested_class_method_qn.py37 "def helper():\n"CODE
LOWcodebase_rag/tests/test_nested_class_method_qn.py61 "def helper():\n"CODE
15 more matches not shown…
Decorative Section Separators19 hits · 52 pts
SeverityFileLineSnippetContext
MEDIUMrealtime_updater.py88 # (H) ┌─────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUMrealtime_updater.py90 # (H) ├─────────────────────────────────────────────────────────────────────┤COMMENT
MEDIUMrealtime_updater.py100 # (H) └─────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py63# ---------------------------------------------------------------------------COMMENT
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py73# ---------------------------------------------------------------------------COMMENT
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py162# ---------------------------------------------------------------------------STRING
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py164# ---------------------------------------------------------------------------STRING
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py231# ---------------------------------------------------------------------------STRING
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py233# ---------------------------------------------------------------------------STRING
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py308# ---------------------------------------------------------------------------STRING
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py310# ---------------------------------------------------------------------------STRING
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py378# ---------------------------------------------------------------------------STRING
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py380# ---------------------------------------------------------------------------STRING
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py434# ---------------------------------------------------------------------------STRING
MEDIUMcodebase_rag/tests/test_cpp_cross_file_methods.py436# ---------------------------------------------------------------------------STRING
Cross-File Repetition10 hits · 50 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
Magic Placeholder Names8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHREADME.md672 --env CYPHER_API_KEY=your-api-key \CODE
HIGHdocs/claude-code-setup.md109 --env CYPHER_API_KEY=your-api-key \CODE
HIGHdocs/claude-code-setup.md116 --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.md113 --env CYPHER_API_KEY=your-api-key \CODE
HIGHdocs/guide/mcp-server.md120 --env CYPHER_API_KEY=your-api-key \CODE
HIGHdocs/sdk/cypher-generator.md30CYPHER_API_KEY=your-api-keyCODE
Modern AI Meta-Vocabulary9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md55# Code-Graph-RAG: A Graph-Based RAG System for Any CodebasesCOMMENT
MEDIUMCONTRIBUTING.md1# Contributing to Code Graph RAGCOMMENT
MEDIUMPYPI_README.md1# Code-Graph-RAGCOMMENT
MEDIUMevals/constants.py630# (H) never exercise this; cgr's headline is monorepo RAG. Graded on syntheticCOMMENT
MEDIUMevals/README.md1077### Next step: agentic resolved-rate (out of scope here)COMMENT
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 Boilerplate22 hits · 22 pts
SeverityFileLineSnippetContext
LOWevals/__init__.py5__all__ = ["extract_cgr_graph", "extract_oracle_graph", "score"]CODE
LOWevals/oracles/__init__.py26__all__ = [CODE
LOWcodebase_rag/cli.py81def _update_and_validate_models(orchestrator: str | None, cypher: str | None) -> None:CODE
LOWcodebase_rag/main.py1259def _update_single_model_setting(role: cs.ModelRole, model_string: str) -> None:CODE
LOWcodebase_rag/parsers/__init__.py9__all__ = [CODE
LOWcodebase_rag/parsers/flow_access/__init__.py6__all__ = [CODE
LOWcodebase_rag/parsers/js_ts/__init__.py3__all__ = [CODE
LOWcodebase_rag/parsers/py/__init__.py7__all__ = [CODE
LOWcodebase_rag/parsers/go/__init__.py9__all__ = [CODE
LOWcodebase_rag/parsers/class_ingest/__init__.py3__all__ = ["ClassIngestMixin"]CODE
LOWcodebase_rag/parsers/cpp_frontend/__init__.py9__all__ = [CODE
LOWcodebase_rag/parsers/dart/__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__.py32__all__ = [CODE
LOWcodebase_rag/parsers/handlers/__init__.py5__all__ = [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
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
Structural Annotation Overuse8 hits · 12 pts
SeverityFileLineSnippetContext
LOWREADME.md351### Step 1: Parse a RepositoryCOMMENT
LOWREADME.md375### Step 2: Query the CodebaseCOMMENT
LOWREADME.md478### Step 3: Export Graph DataCOMMENT
LOWREADME.md530### Step 4: Code OptimizationCOMMENT
LOWREADME.md613### Step 5: Dead Code DetectionCOMMENT
LOWdocs/getting-started/quickstart.md9## Step 1: Parse a RepositoryCOMMENT
LOWdocs/getting-started/quickstart.md34## Step 2: Query the CodebaseCOMMENT
LOWdocs/getting-started/quickstart.md67## Step 3: Export Graph DataCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md818**Why this rule exists**: AI tools (like code assistants and LLMs) tend to generate redundant, obvious comments that cluCODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWcodebase_rag/cli.py313CODE
LOWcodebase_rag/cli.py651CODE
LOWcodebase_rag/cli.py1079CODE
LOWcodebase_rag/parsers/utils.py689CODE
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