Repository Analysis

ycm-core/YouCompleteMe

A code-completion engine for Vim

10.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ycm-core/YouCompleteMe, a Python project with 25,908 GitHub stars. SynthScan v2.0 examined 26,176 lines of code across 85 source files, recording 156 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 10.8 places this repository in the Low 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).

10.8
Adjusted Score
10.8
Raw Score
100%
Time Factor
2026-07-11
Last Push
25.9K
Stars
Python
Language
26.2K
Lines of Code
85
Files
156
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 0MEDIUM 62LOW 94

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 156 distinct pattern matches across 9 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.

Self-Referential Comments59 hits · 177 pts
SeverityFileLineSnippetContext
MEDIUM.ycm_extra_conf.py1# This file is NOT licensed under the GPLv3, which is the license for the restCOMMENT
MEDIUMpython/ycm/signature_help.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/youcompleteme.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/vimsupport.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/paths.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/diagnostic_filter.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/hierarchy_tree.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/diagnostic_interface.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/inlay_hints.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/syntax_parse.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/text_properties.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/semantic_highlighting.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/buffer.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/base.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/unsafe_thread_pool_executor.py21# This file provides an UnsafeThreadPoolExecutor, which operates exactly likeCOMMENT
MEDIUMpython/ycm/omni_completer.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/scrolling_range.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/omni_completer_test.py5# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/base_test.py4# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/test_utils.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/signature_help_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/diagnostic_filter_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/event_notification_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/postcomplete_test.py5# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/__init__.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/completion_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/command_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/youcompleteme_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/youcompleteme_test.py1218 # Create the request and make the first poll; we expect no responseCOMMENT
MEDIUMpython/ycm/tests/youcompleteme_test.py1278 # Create the request and make the first poll; we expect no responseCOMMENT
MEDIUMpython/ycm/tests/youcompleteme_test.py1318 # Create the request and make the first poll; we expect no responseCOMMENT
MEDIUMpython/ycm/tests/syntax_parse_test.py4# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/vimsupport_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/vimsupport_test.py230 # Create a two lines buffer whose firstCOMMENT
MEDIUMpython/ycm/tests/vimsupport_test.py244 # Create a two lines buffer whose firstCOMMENT
MEDIUMpython/ycm/tests/vimsupport_test.py259 # Create a two lines buffer whose firstCOMMENT
MEDIUMpython/ycm/tests/diagnostic_interface_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/mock_utils.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/paths_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/client/completion_request_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/client/debug_info_request_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/client/omni_completion_request_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/client/messages_request_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/client/command_request_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/tests/client/base_request_test.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/event_notification.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/ycmd_keepalive.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/debug_info_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/shutdown_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/command_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/inlay_hints_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/completion_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/omni_completion_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/messages_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/signature_help_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/completer_available_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/resolve_completion_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/semantic_tokens_request.py3# This file is part of YouCompleteMe.COMMENT
MEDIUMpython/ycm/client/base_request.py3# This file is part of YouCompleteMe.COMMENT
Over-Commented Block56 hits · 56 pts
SeverityFileLineSnippetContext
LOW.ycm_extra_conf.py1# This file is NOT licensed under the GPLv3, which is the license for the restCOMMENT
LOWpython/ycm/signature_help.py1# Copyright (C) 2011-2018 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/youcompleteme.py1# Copyright (C) 2011-2024 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/youcompleteme.py561 def UpdateWithNewDiagnosticsForFile( self, filepath, diagnostics ):COMMENT
LOWpython/ycm/youcompleteme.py581 # - Use a special buffer for project errorsCOMMENT
LOWpython/ycm/vimsupport.py1# Copyright (C) 2011-2018 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/vimsupport.py821 vim_items = [ prompt ]COMMENT
LOWpython/ycm/paths.py1# Copyright (C) 2015-2017 YouCompleteMe contributors.COMMENT
LOWpython/ycm/diagnostic_filter.py1# Copyright (C) 2016 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/hierarchy_tree.py1# Copyright (C) 2024 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/diagnostic_interface.py1# Copyright (C) 2013-2018 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/inlay_hints.py1# Copyright (C) 2022, YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/syntax_parse.py1# Copyright (C) 2013 Google Inc.COMMENT
LOWpython/ycm/text_properties.py1# Copyright (C) 2020, YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/semantic_highlighting.py1# Copyright (C) 2020, YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/buffer.py1# Copyright (C) 2016, Davit SamvelyanCOMMENT
LOWpython/ycm/base.py1# Copyright (C) 2011, 2012 Google Inc.COMMENT
LOWpython/ycm/omni_completer.py1# Copyright (C) 2011-2019 ycmd contributorsCOMMENT
LOWpython/ycm/scrolling_range.py1# Copyright (C) 2023, YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/tests/omni_completer_test.py1# encoding: utf-8COMMENT
LOWpython/ycm/tests/base_test.py1# Copyright (C) 2013 Google Inc.COMMENT
LOWpython/ycm/tests/test_utils.py1# Copyright (C) 2011-2019 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/signature_help_test.py1# Copyright (C) 2019 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/diagnostic_filter_test.py1# Copyright (C) 2016 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/event_notification_test.py1# Copyright (C) 2015-2018 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/postcomplete_test.py1# encoding: utf-8COMMENT
LOWpython/ycm/tests/__init__.py1# Copyright (C) 2016-2020 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/completion_test.py1# Copyright (C) 2016 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/command_test.py1# Copyright (C) 2016-2018 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/youcompleteme_test.py1# Copyright (C) 2016-2018 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/syntax_parse_test.py1# Copyright (C) 2013 Google Inc.COMMENT
LOWpython/ycm/tests/vimsupport_test.py1# Copyright (C) 2015-2018 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/diagnostic_interface_test.py1# Copyright (C) 2015-2018 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/mock_utils.py1# Copyright (C) 2017 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/paths_test.py1# Copyright (C) 2016-2017 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/client/completion_request_test.py1# Copyright (C) 2015-2019 YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/tests/client/debug_info_request_test.py1# Copyright (C) 2017 YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/tests/client/omni_completion_request_test.py1# Copyright (C) 2020 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/tests/client/messages_request_test.py1# Copyright (C) 2017 YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/tests/client/command_request_test.py1# Copyright (C) 2016 YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/tests/client/base_request_test.py1# Copyright (C) 2017-2018 YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/client/event_notification.py1# Copyright (C) 2013-2018 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/client/ycmd_keepalive.py1# Copyright (C) 2013 Google Inc.COMMENT
LOWpython/ycm/client/debug_info_request.py1# Copyright (C) 2016-2017 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/client/shutdown_request.py1# Copyright (C) 2016 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/client/command_request.py1# Copyright (C) 2013 Google Inc.COMMENT
LOWpython/ycm/client/inlay_hints_request.py1# Copyright (C) 2022, YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/client/completion_request.py1# Copyright (C) 2013-2019 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/client/omni_completion_request.py1# Copyright (C) 2013 Google Inc.COMMENT
LOWpython/ycm/client/messages_request.py1# Copyright (C) 2017 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/client/signature_help_request.py1# Copyright (C) 2019 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/client/completer_available_request.py1# Copyright (C) 2013 Google Inc.COMMENT
LOWpython/ycm/client/resolve_completion_request.py1# Copyright (C) 2020 YouCompleteMe contributorsCOMMENT
LOWpython/ycm/client/semantic_tokens_request.py1# Copyright (C) 2020, YouCompleteMe ContributorsCOMMENT
LOWpython/ycm/client/base_request.py1# Copyright (C) 2013-2018 YouCompleteMe contributorsCOMMENT
LOW.github/workflows/lock_old_issues.yaml21 # pr-lock-inactive-days: '365'COMMENT
AI Slop Vocabulary7 hits · 12 pts
SeverityFileLineSnippetContext
LOWpython/ycm/vimsupport.py185 # In that case, just return 0 rather than spamming an error to the console.COMMENT
LOWpython/ycm/vimsupport.py973 # file is already open and visible, just return that buffer number (and anCOMMENT
MEDIUMpython/ycm/unsafe_thread_pool_executor.py28# it's safe (the aforementioned network requests case).COMMENT
LOWpython/ycm/client/base_request.py100 # up; see Requests docs for details (we just pass the param along).COMMENT
LOWpython/ycm/client/base_request.py125 # up; see Requests docs for details (we just pass the param along).COMMENT
LOWpython/ycm/client/base_request.py142 # up; see Requests docs for details (we just pass the param along).COMMENT
LOWpython/ycm/client/base_request.py151 # up; see Requests docs for details (we just pass the param along).COMMENT
Fake / Example Data11 hits · 12 pts
SeverityFileLineSnippetContext
LOWtest/testdata/python/doc.py17 """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum egestas libero urna, vel sagittis felis condimeSTRING
LOWtest/testdata/python/doc.py17 """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum egestas libero urna, vel sagittis felis condimeSTRING
LOWtest/testdata/python/doc.py23 """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum egestasSTRING
LOWtest/testdata/python/doc.py23 """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum egestasSTRING
LOWpython/ycm/tests/client/completion_request_test.py230 'extra_menu_info': 'ESPECIALLY LONG EXTRA MENU INFO LOREM IPSUM DOLOR',CODE
LOWpython/ycm/tests/client/completion_request_test.py239 'info' : 'ESPECIALLY LONG EXTRA MENU INFO LOREM IPSUM DOLOR\n\n' +CODE
LOWpython/ycm/tests/client/completion_request_test.py281 'extra_menu_info': 'ESPECIALLY LONG EXTRA MENU INFO LOREM IPSUM DOLOR',CODE
LOWpython/ycm/tests/client/completion_request_test.py288 'menu' : 'ESPECIALLY LONG EXTRA MENU INFO LOREM IPSUM DOLOR',CODE
LOWpython/ycm/tests/client/completion_request_test.py306 'extra_menu_info': 'ESPECIALLY LONG METHOD SIGNATURE LOREM IPSUM',CODE
LOWpython/ycm/tests/client/completion_request_test.py308 'detailed_info': 'ESPECIALLY LONG METHOD SIGNATURE LOREM IPSUM',CODE
LOWpython/ycm/tests/client/completion_request_test.py315 'info' : 'ESPECIALLY LONG METHOD SIGNATURE LOREM IPSUM\n' +CODE
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippetContext
LOWpython/ycm/youcompleteme.py291CODE
LOWpython/ycm/youcompleteme.py891CODE
LOWpython/ycm/vimsupport.py679CODE
LOWpython/ycm/diagnostic_interface.py210CODE
LOWpython/ycm/semantic_highlighting.py111CODE
LOWpython/ycm/tests/test_utils.py660CODE
LOWpython/ycm/tests/test_utils.py615CODE
LOWpython/ycm/tests/event_notification_test.py261CODE
LOWpython/ycm/client/command_request.py164CODE
LOWpython/ycm/client/messages_request.py73CODE
Excessive Try-Catch Wrapping6 hits · 8 pts
SeverityFileLineSnippetContext
LOWpython/ycm/tests/test_utils.py762 except Exception as test_exception:CODE
MEDIUMpython/ycm/tests/test_utils.py759def Wrapper( *args, **kwargs ):CODE
LOWpython/ycm/tests/__init__.py102 except Exception:CODE
MEDIUMpython/ycm/tests/__init__.py97def StopServer( ycm ):CODE
LOWpython/ycm/tests/client/completion_request_test.py38 except Exception:CODE
LOWpython/ycm/client/base_request.py90 except Exception as e:CODE
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWinstall.py3CODE
LOWinstall.py4CODE
LOWinstall.py5CODE
LOWinstall.py6CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpython/ycm/vimsupport.py1329 # Open the file.COMMENT
LOWpython/ycm/vimsupport.py1387 # Check if those lines correspond to a previous visual selection and if theyCOMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpython/ycm/tests/test_utils.py417CODE