Repository Analysis

XINCGer/Unity3DTraining

【Unity杂货铺】unity大杂烩~

4.3 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of XINCGer/Unity3DTraining, a C# project with 9,063 GitHub stars. SynthScan v2.0 examined 296,717 lines of code across 1718 source files, recording 1169 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 4.3 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).

4.3
Adjusted Score
4.3
Raw Score
100%
Time Factor
2026-07-06
Last Push
9.1K
Stars
C#
Language
296.7K
Lines of Code
1.7K
Files
1.2K
Pattern Hits
2026-07-14
Scan Date
0.01
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 12HIGH 6MEDIUM 4LOW 1147

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 1169 distinct pattern matches across 13 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 Block1126 hits · 1082 pts
SeverityFileLineSnippetContext
LOW…pdate/AssetBundleDemo/Assets/Scripts/AssetBundleMgr.cs101COMMENT
LOW…e/AssetBundleFramework/Assets/Scripts/Util/JsonUtil.cs21 {COMMENT
LOW…ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs161COMMENT
LOW…ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs181 //static string ComputeMD5(string fileName) //计算文件的MD5,网上直接摘得COMMENT
LOW…ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs201 // }//结束计算COMMENT
LOW…ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs221 // calculator.Clear();COMMENT
LOWHotUpdate/uLuaDemo/Assets/ToLua/Editor/ToLuaExport.cs3561 //{ COMMENT
LOW…Update/uLuaDemo/Assets/Editor/Custom/CustomSettings.cs41COMMENT
LOW….4/ScriptsDll/ClassLibrary1/Properties/AssemblyInfo.cs21COMMENT
LOW…me5.4/ScriptsDll/ClassLibrary1/Scripts/UI/UIManager.cs21 {COMMENT
LOW…Frame5.4/ScriptsDll/ClassLibrary1/Scripts/UI/UIBase.cs21 void CheckUI();COMMENT
LOW…riptsDll/ClassLibrary1/Scripts/Common/SourceManager.cs121 /// 从保存的容器中获取资源包COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs81COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs101// c = this.GetComponent<RectTransform>();COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs141 else if (t.IsSameOrSubclassOf(typeof(tk2dBaseSprite))) tween = ((tk2dBaseSprite)target).DOColor(endValueCOMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs161#endifCOMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs201// c = this.GetComponent<TextMeshPro>();COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs221// }COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs241 else if (t.IsSameOrSubclassOf(typeof(tk2dTextMesh))) tween = ((tk2dTextMesh)target).DOText(endValueStrinCOMMENT
LOW…mo/demo/Assets/AssetBundleSample/Scripts/LoadAssets.cs21 // Initialize the downloading URL.COMMENT
LOW…/demo/Assets/AssetBundleSample/Scripts/LoadVariants.cs81 // If ODR is available and enabled, then use it and let Xcode handle download requests.COMMENT
LOW…undleDemo/AssetBundleServer/Properties/AssemblyInfo.cs21COMMENT
LOWFruit_Ninja/Assets/Scripts/MouseController.cs21 private bool isMouseDown = false;COMMENT
LOW…nsion/MultiEditorWindow/Assets/Editor/RepeateWindow.cs21 //刷新界面偏移量COMMENT
LOW…gOpenGL/LearnOpenGLDemo/LearnOpenGLDemo/Classes/glad.c21COMMENT
LOW…gOpenGL/LearnOpenGLDemo/LearnOpenGLDemo/Classes/glad.c41#elif _MSC_VER >= 1700 && !_USING_V110_SDK71_COMMENT
LOW…nGLDemo/Classes/1_gettting_started/Transformations.cpp1#define TRANSFORMATION_01_HCOMMENT
LOW…penGLDemo/Classes/1_gettting_started/Coordinate_01.cpp1#define COORDINATE_001_HCOMMENT
LOW…penGLDemo/Classes/1_gettting_started/UseCameraDemo.cpp1//#define USECAMERA_HCOMMENT
LOW…penGLDemo/Classes/1_gettting_started/camera_circle.cpp1#define CAMERA_CIRCLECOMMENT
LOW…Demo/LearnOpenGLDemo/OpenGL/includes/KHR/khrplatform.h101# define KHRONOS_APICALL IMPORT_CCOMMENT
LOW…LearnOpenGLDemo/OpenGL/includes/learnopengl/shader_s.h1#ifndef SHADER_HCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h201license: you are granted a perpetual, irrevocable license to copy, modify,COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h221// // ... process data if not NULL ...COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h241// have been output otherwise. E.g. if you set req_comp to 4, you will alwaysCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h261// Paletted PNG, BMP, GIF, and PIC images are automatically depalettized.COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h281//COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h301//COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h321//COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h341// appropriately).COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h361//COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h401COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h441 //COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h541#endifCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h561#define STBI_NO_PICCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h581#endifCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h621#define STBI_NOTUSED(v) (void)(v)COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h641#error "Must define all or none of STBI_MALLOC, STBI_FREE, and STBI_REALLOC (or STBI_REALLOC_SIZED)."COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h661#if defined(__GNUC__) && (defined(STBI__X86_TARGET) || defined(STBI__X64_TARGET)) && !defined(__SSE2__) && !defined(STBICOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h721COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h741#ifdef STBI_NEONCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h921{COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h1001#define stbi__err(x,y) 0COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h1041#ifndef STBI_NO_PNGCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h1521COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h1701// - doesn't allow partial loading, loading multiple at onceCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h3761// public domain zlib decode v0.2 Sean Barrett 2006-11-18COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h4221 a.zbuffer = (stbi_uc *)ibuffer;COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h5701 // Make sure the depth is 8 bits.COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h6821COMMENT
1066 more matches not shown…
Hallucination Indicators12 hits · 120 pts
SeverityFileLineSnippetContext
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2060 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseIn(System.Single,System.Single,System.Single,System.Single)">CODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2076 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseOut(System.Single,System.Single,System.Single,System.Single)"CODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2092 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseInOut(System.Single,System.Single,System.Single,System.SingleCODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2158 <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Tween,System.Single,System.Single,SysteCODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2163 <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Ease,DG.Tweening.EaseFunction,System.SiCODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2178 <member name="M:DG.Tweening.Plugins.Core.PathCore.Path.GetPoint(System.Single,System.Boolean)">CODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2060 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseIn(System.Single,System.Single,System.Single,System.Single)">CODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2076 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseOut(System.Single,System.Single,System.Single,System.Single)"CODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2092 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseInOut(System.Single,System.Single,System.Single,System.SingleCODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2158 <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Tween,System.Single,System.Single,SysteCODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2163 <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Ease,DG.Tweening.EaseFunction,System.SiCODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2178 <member name="M:DG.Tweening.Plugins.Core.PathCore.Path.GetPoint(System.Single,System.Boolean)">CODE
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGH…ts/Scripts/Socket/ProtocalData/protocal_loginserver.cs3// This code was generated by a tool.COMMENT
HIGH…esources/SampleSocket/ProtoGen/protocal_loginserver.cs3// This code was generated by a tool.COMMENT
HIGHSomeTest/WinFormMVP/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHSomeTest/WinFormMVP/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…mand/UnDoReDoByCommand/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
Excessive Try-Catch Wrapping5 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMXlsxTools/xls2csv/xls2csv.py75def open_excel(file= 'file.xls'):CODE
LOWXlsxTools/xls2csv/xls2csv_3.0.py84 except Exception as e:CODE
MEDIUMXlsxTools/xls2csv/xls2csv_3.0.py80def open_excel(file= 'file.xls'):CODE
LOWXlsxTools/xls2json/Tools/xls2json.py93 except Exception as e:CODE
LOWXlsxTools/xls2json/Tools/xls2json.py146 except Exception as e:CODE
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs66 /// Step 1: Prepare to fill the buffers -- make them clean and valid.COMMENT
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs78 /// Step 2: Transform the vertices by the provided matrix.COMMENT
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs100 /// Step 3: Fill the specified buffer using the transformed values.COMMENT
LOW…ventTraining/Assets/NGUI/Scripts/Interaction/UIGrid.cs190 // NOTE: This functionality is effectively removed until Unity 4.6.COMMENT
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippetContext
LOWXlsxTools/xls2json/Tools/xls2json.py249def create_single_table_mapping_content(file_name):CODE
LOWSomeTest/ColaPlus/ColaPlus.lua327local function checkMethodParamAndMakeList (paramCount, paramList, methodName, errorLevel)CODE
LOWSomeTest/ColaPlus/ColaPlus.lua396local function checkMethodOverrideSignature (signatureBase, signatureOverride, methodType, methodName, errLevel)CODE
LOWSomeTest/ColaPlus/ColaPlus.lua458local function isTypeTableForwardDeclared (typeTable)CODE
LOWSomeTest/ColaPlus/ColaPlus.lua529local function createEmptyFunctionWrapper ()CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHXlsxTools/xls2json/Tools/xls2json.py270 content = content + "\n\t\t{file_name} {lower_file_name}Data = null;"CODE
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…etbundleDemo/demo/Assets/AssetBundleManager/Utility.cs42 // If you add more targets, don't forget to add the same platforms to GetPlatformForAssetBundles(RuntimeCOMMENT
LOW…etbundleDemo/demo/Assets/AssetBundleManager/Utility.cs68 // If you add more targets, don't forget to add the same platforms to GetPlatformForAssetBundles(RuntimeCOMMENT
LOW…EventTraining/Assets/NGUI/Scripts/Internal/UIWidget.cs493 /// Widget's center in local coordinates. Don't forget to transform by the widget's transform.COMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs66 /// Step 1: Prepare to fill the buffers -- make them clean and valid.COMMENT
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs78 /// Step 2: Transform the vertices by the provided matrix.COMMENT
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs100 /// Step 3: Fill the specified buffer using the transformed values.COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMAI/README.md49### RAGCOMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWXlsxTools/xls2json/Tools/xls2json.py87CODE
LOWXlsxTools/xls2json/Tools/xls2json.py121CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…Protobuff/Assets/Plugins/Google.Protobuf/JsonParser.cs549 var token = tokenizer.Next(); // Definitely start-object; checked in previous methodCODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWXlsxTools/xls2json/Tools/xls2json.py4CODE