Repository Analysis

flightlessmango/MangoHud

A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more.

3.6 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of flightlessmango/MangoHud, a C project with 8,833 GitHub stars. SynthScan v2.0 examined 88,746 lines of code across 261 source files, recording 344 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 3.6 places this repository in the Likely human-written 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).

3.6
Adjusted Score
3.6
Raw Score
100%
Time Factor
2026-07-13
Last Push
8.8K
Stars
C
Language
88.7K
Lines of Code
261
Files
344
Pattern Hits
2026-07-14
Scan Date
0.02
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 5MEDIUM 3LOW 336

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 344 distinct pattern matches across 8 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.

Over-Commented Block321 hits · 270 pts
SeverityFileLineSnippetContext
LOWbin/vk_dispatch_table_gen.py41COMMENT
LOWbin/gen_enum_to_str.py1# Copyright © 2017 Intel CorporationCOMMENT
LOWbin/vk_entrypoints.py1# Copyright 2020 Intel CorporationCOMMENT
LOWinclude/filesystem.h1//---------------------------------------------------------------------------------------COMMENT
LOWinclude/filesystem.h21// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THECOMMENT
LOWinclude/filesystem.h41// namespace fs = ghc::filesystem;COMMENT
LOWinclude/filesystem.h61#endifCOMMENT
LOWinclude/filesystem.h81#if (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)COMMENT
LOWinclude/filesystem.h101#define GHC_FS_APICOMMENT
LOWinclude/filesystem.h121#define GHC_FS_API_CLASSCOMMENT
LOWinclude/filesystem.h141COMMENT
LOWinclude/filesystem.h161#ifdef GHC_OS_ANDROIDCOMMENT
LOWinclude/filesystem.h181COMMENT
LOWinclude/filesystem.h201#include <system_error>COMMENT
LOWinclude/filesystem.h221#ifdef GHC_OS_WINDOWSCOMMENT
LOWinclude/filesystem.h241#elif defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9)) || (__GNUC__ > 4)) && (__cplusplus >= 201402)COMMENT
LOWinclude/filesystem.h261//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -COMMENT
LOWinclude/filesystem.h281// std::string as backend and for fs::path::native() and char for fs::path::c_str(). ThisCOMMENT
LOWinclude/filesystem.h301#define GHC_WITH_EXCEPTIONSCOMMENT
LOWinclude/IconsForkAwesome.h1// Generated by https://github.com/juliettef/IconFontCppHeaders script GenerateIconFontCppHeaders.py for languages C andCOMMENT
LOWinclude/IconsForkAwesome.h21#define ICON_FK_TH_LIST "\xef\x80\x8b" // U+f00bCOMMENT
LOWinclude/IconsForkAwesome.h41#define ICON_FK_LIST_ALT "\xef\x80\xa2" // U+f022COMMENT
LOWinclude/IconsForkAwesome.h61#define ICON_FK_ALIGN_LEFT "\xef\x80\xb6" // U+f036COMMENT
LOWinclude/IconsForkAwesome.h81#define ICON_FK_PLAY "\xef\x81\x8b" // U+f04bCOMMENT
LOWinclude/IconsForkAwesome.h101#define ICON_FK_ARROW_RIGHT "\xef\x81\xa1" // U+f061COMMENT
LOWinclude/IconsForkAwesome.h121#define ICON_FK_MAGNET "\xef\x81\xb6" // U+f076COMMENT
LOWinclude/IconsForkAwesome.h141#define ICON_FK_SIGN_OUT "\xef\x82\x8b" // U+f08bCOMMENT
LOWinclude/IconsForkAwesome.h161#define ICON_FK_BULLHORN "\xef\x82\xa1" // U+f0a1COMMENT
LOWinclude/IconsForkAwesome.h181#define ICON_FK_LINK "\xef\x83\x81" // U+f0c1COMMENT
LOWinclude/IconsForkAwesome.h201#define ICON_FK_MONEY "\xef\x83\x96" // U+f0d6COMMENT
LOWinclude/IconsForkAwesome.h221#define ICON_FK_LIGHTBULB_O "\xef\x83\xab" // U+f0ebCOMMENT
LOWinclude/IconsForkAwesome.h241#define ICON_FK_ANGLE_DOUBLE_RIGHT "\xef\x84\x81" // U+f101COMMENT
LOWinclude/IconsForkAwesome.h261#define ICON_FK_SMILE_O "\xef\x84\x98" // U+f118COMMENT
LOWinclude/IconsForkAwesome.h281#define ICON_FK_ERASER "\xef\x84\xad" // U+f12dCOMMENT
LOWinclude/IconsForkAwesome.h301#define ICON_FK_RSS_SQUARE "\xef\x85\x83" // U+f143COMMENT
LOWinclude/IconsForkAwesome.h321#define ICON_FK_RUB "\xef\x85\x98" // U+f158COMMENT
LOWinclude/IconsForkAwesome.h341#define ICON_FK_INSTAGRAM "\xef\x85\xad" // U+f16dCOMMENT
LOWinclude/IconsForkAwesome.h361#define ICON_FK_MALE "\xef\x86\x83" // U+f183COMMENT
LOWinclude/IconsForkAwesome.h381#define ICON_FK_SLACK "\xef\x86\x98" // U+f198COMMENT
LOWinclude/IconsForkAwesome.h401#define ICON_FK_PAW "\xef\x86\xb0" // U+f1b0COMMENT
LOWinclude/IconsForkAwesome.h421#define ICON_FK_FILE_IMAGE_O "\xef\x87\x85" // U+f1c5COMMENT
LOWinclude/IconsForkAwesome.h441#define ICON_FK_HISTORY "\xef\x87\x9a" // U+f1daCOMMENT
LOWinclude/IconsForkAwesome.h461#define ICON_FK_CC_VISA "\xef\x87\xb0" // U+f1f0COMMENT
LOWinclude/IconsForkAwesome.h481#define ICON_FK_TOGGLE_ON "\xef\x88\x85" // U+f205COMMENT
LOWinclude/IconsForkAwesome.h501#define ICON_FK_SHIP "\xef\x88\x9a" // U+f21aCOMMENT
LOWinclude/IconsForkAwesome.h521#define ICON_FK_WHATSAPP "\xef\x88\xb2" // U+f232COMMENT
LOWinclude/IconsForkAwesome.h541#define ICON_FK_I_CURSOR "\xef\x89\x86" // U+f246COMMENT
LOWinclude/IconsForkAwesome.h561#define ICON_FK_HAND_PEACE_O "\xef\x89\x9b" // U+f25bCOMMENT
LOWinclude/IconsForkAwesome.h581#define ICON_FK_CALENDAR_PLUS_O "\xef\x89\xb1" // U+f271COMMENT
LOWinclude/IconsForkAwesome.h601#define ICON_FK_FORT_AWESOME "\xef\x8a\x86" // U+f286COMMENT
LOWinclude/IconsForkAwesome.h621#define ICON_FK_WHEELCHAIR_ALT "\xef\x8a\x9b" // U+f29bCOMMENT
LOWinclude/IconsForkAwesome.h641#define ICON_FK_THEMEISLE "\xef\x8a\xb2" // U+f2b2COMMENT
LOWinclude/IconsForkAwesome.h661#define ICON_FK_THERMOMETER_FULL "\xef\x8b\x87" // U+f2c7COMMENT
LOWinclude/IconsForkAwesome.h681#define ICON_FK_SNOWFLAKE_O "\xef\x8b\x9c" // U+f2dcCOMMENT
LOWinclude/IconsForkAwesome.h701#define ICON_FK_SNOWDRIFT "\xef\x8b\xb1" // U+f2f1COMMENT
LOWinclude/IconsForkAwesome.h721#define ICON_FK_HACKADAY "\xef\x8c\x8a" // U+f30aCOMMENT
LOWinclude/IconsForkAwesome.h741#define ICON_FK_ATT "\xef\x8c\x9e" // U+f31eCOMMENT
LOWinclude/IconsForkAwesome.h761#define ICON_FK_JULIA "\xef\x8c\xb4" // U+f334COMMENT
LOWinclude/IconsForkAwesome.h781#define ICON_FK_CC_SA "\xef\x8d\x86" // U+f346COMMENT
LOWinclude/IconsForkAwesome.h801#define ICON_FK_SKATE "\xef\x8d\x9a" // U+f35aCOMMENT
261 more matches not shown…
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHbin/vk_dispatch_table_gen.py0\ /* * copyright 2017 intel corporation * * permission is hereby granted, free of charge, to any person obtaining a * coSTRING
HIGHbin/gen_enum_to_str.py0\ /* * copyright 2017 intel corporation * * permission is hereby granted, free of charge, to any person obtaining a * coSTRING
HIGHbin/vk_extensions_gen.py0\ /* * copyright 2017 intel corporation * * permission is hereby granted, free of charge, to any person obtaining a * coSTRING
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHbin/vk_dispatch_table_gen.py438 if (e->hash == hash && strcmp(str, ${prefix}_strings + e->name) == 0)CODE
HIGHbin/vk_dispatch_table_gen.py556 if (!device || device->${ext.name[3:]}) return true;CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtests/params.py79 # Define the name of the function to search forCOMMENT
MEDIUMtests/params.py82 # Define a regular expression to match the function definitionCOMMENT
MEDIUMcontrol/src/control/__init__.py21 # Create a Unix Domain socket and connectCOMMENT
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWbin/gen_enum_to_str.py405CODE
LOWbin/gen_enum_to_str.py358CODE
LOWbin/mangoplot.py181CODE
LOWtests/params.py20CODE
LOWtests/params.py42CODE
LOWtests/params.py73CODE
LOWcontrol/src/control/__init__.py152CODE
LOWcontrol/src/control/__init__.py85CODE
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/params.py2CODE
LOWcontrol/src/control/__init__.py2CODE
LOWcontrol/src/control/__init__.py8CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWbin/vk_entrypoints.py56 def is_physical_device_entrypoint(self):CODE
LOWbin/vk_entrypoints.py74 def is_physical_device_entrypoint(self):CODE
Excessive Try-Catch Wrapping2 hits · 1 pts
SeverityFileLineSnippetContext
LOWbin/vk_dispatch_table_gen.py851 except Exception:STRING
LOWbin/mangoplot.py122 except Exception:STRING