Repository Analysis

msys2/MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.

6.5 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of msys2/MINGW-packages, a Shell project with 2,718 GitHub stars. SynthScan v2.0 examined 32,754 lines of code across 151 source files, recording 147 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 6.5 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).

6.5
Adjusted Score
6.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.7K
Stars
Shell
Language
32.8K
Lines of Code
151
Files
147
Pattern Hits
2026-07-14
Scan Date
0.04
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 6MEDIUM 26LOW 115

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 147 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.

Over-Commented Block73 hits · 71 pts
SeverityFileLineSnippetContext
LOWmingw-w64-gnucobol/cobenv.sh1#!/bin/shCOMMENT
LOWmingw-w64-p11-kit/pathtools.c21#endifCOMMENT
LOWmingw-w64-msmpi/mpi.h81#define _Success_( x )COMMENT
LOWmingw-w64-msmpi/mpi.h101#ifndef _In_z_COMMENT
LOWmingw-w64-msmpi/mpi.h121#endifCOMMENT
LOWmingw-w64-msmpi/mpi.h141#define _Out_writes_bytes_opt_( x )COMMENT
LOWmingw-w64-msmpi/mpi.h161#ifndef _Post_satisfies_COMMENT
LOWmingw-w64-msmpi/mpi.h201#define MPI_ERR_GROUP 8 /* Invalid group */COMMENT
LOWmingw-w64-msmpi/mpi.h221#define MPI_ERR_INFO 28 /* Invalid info argument */COMMENT
LOWmingw-w64-msmpi/mpi.h281typedef int MPI_Datatype;COMMENT
LOWmingw-w64-msmpi/mpi.h301#define MPI_LB ((MPI_Datatype)0x4c000010)COMMENT
LOWmingw-w64-msmpi/mpi.h321#define MPI_2INTEGER ((MPI_Datatype)0x4c000820)COMMENT
LOWmingw-w64-msmpi/mpi.h341#define MPI_INTEGER16 MPI_DATATYPE_NULLCOMMENT
LOWmingw-w64-msmpi/mpi.h3501COMMENT
LOWmingw-w64-msmpi/mpi.h6841#define PMPI_Comm_c2f(comm) (MPI_Fint)(comm)COMMENT
LOWmingw-w64-msmpi/mpi.h6861#define MPI_Request_f2c(request) (MPI_Request)(request)COMMENT
LOWmingw-w64-msmpi/mpi.h6881COMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp1# include <cstdlib>COMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp21//COMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp41//COMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp121 }COMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp141//COMMENT
LOWmingw-w64-msmpi/mpi.c1#include <stdio.h>COMMENT
LOWmingw-w64-wintab-sdk/wintab.h21#ifndef NOWTMESSAGESCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h61typedef DWORD WTPKT; /* packet mask */COMMENT
LOWmingw-w64-wintab-sdk/wintab.h141COMMENT
LOWmingw-w64-wintab-sdk/wintab.h161#define SBN_MDBLCLICK 0x08COMMENT
LOWmingw-w64-wintab-sdk/wintab.h181COMMENT
LOWmingw-w64-wintab-sdk/wintab.h201COMMENT
LOWmingw-w64-wintab-sdk/wintab.h221#define WTI_STATUS 2COMMENT
LOWmingw-w64-wintab-sdk/wintab.h241 #define CTX_OPTIONS 2COMMENT
LOWmingw-w64-wintab-sdk/wintab.h261 #define CTX_OUTEXTX 22COMMENT
LOWmingw-w64-wintab-sdk/wintab.h281 #define DVC_NAME 1COMMENT
LOWmingw-w64-wintab-sdk/wintab.h301COMMENT
LOWmingw-w64-wintab-sdk/wintab.h321 #define CSR_PHYSID 15 /* 1.1 */COMMENT
LOWmingw-w64-wintab-sdk/wintab.h481 #define CXO_MESSAGES 0x0004COMMENT
LOWmingw-w64-wintab-sdk/wintab.h521// grandfather in obsolete member names.COMMENT
LOWmingw-w64-wintab-sdk/wintab.h541COMMENT
LOWmingw-w64-wintab-sdk/wintab.h641#define TABLET_PROPERTY_OVERRIDE_NAME 6 // UTF-8: Displayable name when control is overriddenCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h681#ifndef NOWTFUNCTIONSCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h701#ifdef WIN32COMMENT
LOWmingw-w64-wintab-sdk/wintab.h741 #define ORD_WTGetW 1061COMMENT
LOWmingw-w64-wintab-sdk/wintab.h761 #elseCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h821 #define ORD_WTMgrDeviceConfig 140COMMENT
LOWmingw-w64-wintab-sdk/wintab.h861 #endifCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h881 #endifCOMMENT
LOWmingw-w64-wintab-sdk/pktdef.h61COMMENT
LOWmingw-w64-wintab-sdk/pktdef.h121 WTOpen(hWnd, &lc, TRUE);COMMENT
LOWmingw-w64-wintab-sdk/pktdef.h141#endifCOMMENT
LOWmingw-w64-wintab-sdk/pktdef.h161 #if (__DATA & PK_STATUS)COMMENT
LOWmingw-w64-wintab-sdk/pktdef.h181 #endifCOMMENT
LOWmingw-w64-wintab-sdk/pktdef.h201 #elseCOMMENT
LOWmingw-w64-wintab-sdk/pktdef.h241COMMENT
LOWmingw-w64-curl/pathtools.c21#endifCOMMENT
LOWmingw-w64-libressl/pathtools.c21#endifCOMMENT
LOWmingw-w64-openssl/pathtools.c21#endifCOMMENT
LOWmingw-w64-connect/pathtools.c21#endifCOMMENT
LOWmingw-w64-libserdes/queue.h121#define QMD_TRACE_ELEM(elem)COMMENT
LOWmingw-w64-port-scanner/pathtools.c21#endifCOMMENT
LOWmingw-w64-cyrus-sasl/pathtools.c21#endifCOMMENT
13 more matches not shown…
Decorative Section Separators22 hits · 63 pts
SeverityFileLineSnippetContext
MEDIUMmingw-w64-crypto++/CMakeLists.txt76#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt78#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt118#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt120#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt514#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt516#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt610#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt612#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1028#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1030#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1042#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1044#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1129#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1131#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1153#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1155#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1226#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1228#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1252#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1254#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1277#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1279#============================================================================COMMENT
Unused Imports31 hits · 31 pts
SeverityFileLineSnippetContext
LOWmingw-w64-perl-inc-latest/patchmakefile.py3CODE
LOWmingw-w64-perl-win32-tieregistry/patchmakefile.py3CODE
LOWmingw-w64-perl-encode-locale/patchmakefile.py3CODE
LOWmingw-w64-perl-clone/patchmakefile.py3CODE
LOWmingw-w64-perl-math-int64/patchmakefile.py3CODE
LOWmingw-w64-perl-encode-compat/patchmakefile.py3CODE
LOWmingw-w64-perl-exporter-tiny/patchmakefile.py3CODE
LOWmingw-w64-perl-file-sharedir-install/patchmakefile.py3CODE
LOWmingw-w64-perl-io-html/patchmakefile.py3CODE
LOWmingw-w64-perl-win32-console/patchmakefile.py3CODE
LOWmingw-w64-perl-digest-sha/patchmakefile.py3CODE
LOWmingw-w64-perl-http-message/patchmakefile.py3CODE
LOWmingw-w64-perl-capture-tiny/patchmakefile.py3CODE
LOWmingw-w64-perl-win32-shortcut/patchmakefile.py3CODE
LOWmingw-w64-perl-file-which/patchmakefile.py3CODE
LOWmingw-w64-perl-lwp-mediatypes/patchmakefile.py3CODE
LOWmingw-w64-perl-timedate/patchmakefile.py3CODE
LOWmingw-w64-perl-html-parser/patchmakefile.py3CODE
LOWmingw-w64-perl-devel-cover/patchmakefile.py3CODE
LOWmingw-w64-perl-uri/patchmakefile.py3CODE
LOWmingw-w64-perl-http-date/patchmakefile.py3CODE
LOWmingw-w64-perl-win32api-registry/patchmakefile.py3CODE
LOWmingw-w64-perl-win32-winerror/patchmakefile.py3CODE
LOWmingw-w64-perl-win32-api/patchmakefile.py3CODE
LOWmingw-w64-perl-mime-base32/patchmakefile.py3CODE
LOWmingw-w64-perl-file-sharedir/patchmakefile.py3CODE
LOWmingw-w64-perl-class-inspector/patchmakefile.py3CODE
LOWmingw-w64-perl-html-tagset/patchmakefile.py3CODE
LOWmingw-w64-perl-io-string/patchmakefile.py3CODE
LOWmingw-w64-perl-mozilla-ca/patchmakefile.py3CODE
LOWmingw-w64-perl-try-tiny/patchmakefile.py3CODE
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHmingw-w64-itstool/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-nicotine+/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-glib2/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-meld3/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-gtk-doc/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-gobject-introspection/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
Excessive Try-Catch Wrapping5 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMmingw-w64-PKGBUILD-common/replace-symlinks.py36 print(f"Error: Can't copy a file into itself {src}=={dest}")CODE
LOWmingw-w64-PKGBUILD-common/replace-symlinks.py53 except Exception as e:CODE
MEDIUMmingw-w64-PKGBUILD-common/replace-symlinks.py54 print(f"Error: Failed to copy file:\n{src} to\n{dest}", exc_info=e)CODE
LOWmingw-w64-PKGBUILD-common/replace-symlinks.py99 except Exception as e:CODE
MEDIUMmingw-w64-PKGBUILD-common/replace-symlinks.py100 print(f"Error: Failed to copy dir:\n{srcdir} to\n{destdir}", exc_info=e)CODE
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOW.ci/ci-check.py251CODE
LOW.ci/ci-check.py287CODE
LOWmingw-w64-PKGBUILD-common/replace-symlinks.py59CODE
LOWmingw-w64-PKGBUILD-common/replace-symlinks.py105CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMmingw-w64-gnucobol/cobenv.sh10# This file is part of GnuCOBOL.COMMENT
Hyper-Verbose Identifiers4 hits · 2 pts
SeverityFileLineSnippetContext
LOW.ci/ci-check.py221def check_strip_disabled_for_pkg(pkg_name: str) -> bool:STRING
LOW.ci/ci-check.py238def check_whether_using_python_installer(pkg_name: str) -> bool:STRING
LOW.ci/ci-check.py246def check_whether_files_in_bin_folder(pkg_name: str) -> bool:STRING
LOW.ci/ci-check.py287def check_whether_we_should_run() -> bool:STRING
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmingw-w64-emscripten/get-compatible-versions.sh5# How to use:COMMENT