Repository Analysis

microsoft/WindowsAppSDK

The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.

3.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/WindowsAppSDK, a C++ project with 4,622 GitHub stars. SynthScan v2.0 examined 243,081 lines of code across 1381 source files, recording 613 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 3.1 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.1
Adjusted Score
3.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.6K
Stars
C++
Language
243.1K
Lines of Code
1.4K
Files
613
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 2MEDIUM 2LOW 597

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 613 distinct pattern matches across 6 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 Block589 hits · 570 pts
SeverityFileLineSnippetContext
LOWtools/ProjectTemplates/test.cpp.dll.msixpackage/pch.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…/ProjectTemplates/test.cpp.dll.msixpackage/targetver.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOWtools/ProjectTemplates/test.cpp.dll.msixpackage/pch.cpp1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…/ProjectTemplates/dev.cpp.exe.com-oopserver-main/pch.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…/ProjectTemplates/dev.cpp.exe.com-oopserver-main/pch.h21#include <wil/resource.h>COMMENT
LOW…p.exe.com-oopserver-main/PurojekutoTenpuret-Override.h1// Copyright (c) Microsoft Corporation. All rights reserved.COMMENT
LOW…p.exe.com-oopserver-main/PurojekutoTenpuret-Override.h21#define PR_PUROJEKUTOTENPURET_CLSID_GUID CLSID-GUID-0x00000000, 0x0000, 0x0000, { 0x00, 0x00, 0x00, 0x00, 0x00, 0COMMENT
LOW….exe.com-oopserver-main/PurojekutoTenpuret-Constants.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOWtools/ProjectTemplates/test.cpp.dll.taef/pch.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…ProjectTemplates/dev.cpp.dll.winrt-client-server/pch.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…s/dev.cpp.dll.winrt-client-server/PurojekutoTenpuret.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…ojectTemplates/dev.cpp.dll.winrt-client-server/pch.cpp1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…tTemplates/dev.cpp.dll.winrt-client-server/framework.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…tTemplates/dev.cpp.dll.winrt-client-server/framework.h21#include <winrt/Windows.Foundation.Collections.h>COMMENT
LOWtools/ProjectTemplates/dev.cpp.dll.winrt-client/pch.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…emplates/dev.cpp.dll.winrt-client/PurojekutoTenpuret.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOWtools/ProjectTemplates/dev.cpp.dll.winrt-client/pch.cpp1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…/ProjectTemplates/dev.cpp.dll.winrt-client/framework.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…/ProjectTemplates/dev.cpp.dll.winrt-client/framework.h21#include <winrt/Windows.Foundation.Collections.h>COMMENT
LOW…rojectTemplates/dev.cpp.exe.winmain-winrt-client/pch.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…/dev.cpp.exe.winmain-winrt-client/PurojekutoTenpuret.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…jectTemplates/dev.cpp.exe.winmain-winrt-client/pch.cpp1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…Templates/dev.cpp.exe.winmain-winrt-client/framework.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…Templates/dev.cpp.exe.winmain-winrt-client/framework.h21#include <winrt/Windows.Foundation.Collections.h>COMMENT
LOW…rojectTemplates/dev.cpp.exe.console-winrt-client/pch.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…/dev.cpp.exe.console-winrt-client/PurojekutoTenpuret.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…jectTemplates/dev.cpp.exe.console-winrt-client/pch.cpp1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…Templates/dev.cpp.exe.console-winrt-client/framework.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…Templates/dev.cpp.exe.console-winrt-client/framework.h21#include <winrt/Windows.Foundation.Collections.h>COMMENT
LOW…dev.cpp.exe+dll.com-oopserver/PurojekutoTenpuret/pch.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…dev.cpp.exe+dll.com-oopserver/PurojekutoTenpuret/pch.h21#include <wil/resource.h>COMMENT
LOW…erver/PurojekutoTenpuret/PurojekutoTenpuret-Override.h1// Copyright (c) Microsoft Corporation. All rights reserved.COMMENT
LOW…erver/PurojekutoTenpuret/PurojekutoTenpuret-Override.h21#define PR_PUROJEKUTOTENPURET_CLSID_GUID CLSID-GUID-0x00000000, 0x0000, 0x0000, { 0x00, 0x00, 0x00, 0x00, 0x00, 0COMMENT
LOW…rver/PurojekutoTenpuret/PurojekutoTenpuret-Constants.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…st/TerminalVelocityFeatures-Test-NoNamespace-Preview.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…st/TerminalVelocityFeatures-Test-NoNamespace-Preview.h21#define WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLED 0COMMENT
LOW…alVelocity/test/TerminalVelocityFeatures-Test-Stable.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…alVelocity/test/TerminalVelocityFeatures-Test-Stable.h21#define WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLED 0COMMENT
LOW…rminalVelocityFeatures-Test-NoNamespace-Experimental.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…rminalVelocityFeatures-Test-NoNamespace-Experimental.h21#define WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLED 0COMMENT
LOW…rminalVelocityFeatures-Test-NoNamespace-WindowsInbox.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…rminalVelocityFeatures-Test-NoNamespace-WindowsInbox.h21#define WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLED 0COMMENT
LOW…est/TerminalVelocityFeatures-Test-NoNamespace-Stable.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…est/TerminalVelocityFeatures-Test-NoNamespace-Stable.h21#define WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLED 0COMMENT
LOW…ity/test/TerminalVelocityFeatures-Test-Experimental.cs1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…ity/test/TerminalVelocityFeatures-Test-Experimental.cs21//DISABLED: WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLEDCOMMENT
LOW…city/test/TerminalVelocityFeatures-Test-WindowsInbox.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…city/test/TerminalVelocityFeatures-Test-WindowsInbox.h21#define WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLED 0COMMENT
LOW…lVelocity/test/TerminalVelocityFeatures-Test-Preview.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…lVelocity/test/TerminalVelocityFeatures-Test-Preview.h21#define WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLED 0COMMENT
LOW…ity/test/TerminalVelocityFeatures-Test-WindowsInbox.cs1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…ity/test/TerminalVelocityFeatures-Test-WindowsInbox.cs21//DISABLED: WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLEDCOMMENT
LOW…lVelocity/test/TerminalVelocityFeatures-Test-Stable.cs1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…lVelocity/test/TerminalVelocityFeatures-Test-Stable.cs21//DISABLED: WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLEDCOMMENT
LOW…city/test/TerminalVelocityFeatures-Test-Experimental.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…city/test/TerminalVelocityFeatures-Test-Experimental.h21#define WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLED 0COMMENT
LOW…Velocity/test/TerminalVelocityFeatures-Test-Preview.cs1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOW…Velocity/test/TerminalVelocityFeatures-Test-Preview.cs21//DISABLED: WINDOWSAPPRUNTIME_FEATURE_ALWAYSDISABLED_ID_ENABLEDCOMMENT
LOWtest/DynamicDependency/Test_WinRT/pch.h1// Copyright (c) Microsoft Corporation and Contributors.COMMENT
LOWtest/DynamicDependency/Test_WinRT/pch.h21#include <wil/win32_helpers.h>COMMENT
529 more matches not shown…
Hallucination Indicators12 hits · 145 pts
SeverityFileLineSnippetContext
CRITICAL…t/Compatibility/Test_CompatibilitySetter_CS/Program.cs15 Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Compatibility.AutoInitialize.ConfigureRuntimeCompatibility(CODE
CRITICAL…plicationModel.Resources/unittests/UnitTestApp.xaml.cs73 Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.CreateDefaultUI();CODE
CRITICAL…plicationModel.Resources/unittests/UnitTestApp.xaml.cs78 Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.Run(e.Arguments);CODE
CRITICALdev/Common/WindowsAppRuntimeAutoInitializer.cs19 Microsoft.Windows.ApplicationModel.DynamicDependency.BootstrapCS.AutoInitialize.AccessWindowsAppSDK();CODE
CRITICALdev/Common/WindowsAppRuntimeAutoInitializer.cs22 Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentManagerCS.AutoInitialize.AccessWindowsAppSDK(CODE
CRITICALdev/Common/WindowsAppRuntimeAutoInitializer.cs28 Microsoft.Windows.ApplicationModel.WindowsAppRuntime.BaseDirectoryCS.AutoInitialize.AccessWindowsAppSDK();CODE
CRITICALdev/Common/WindowsAppRuntimeAutoInitializer.cs31 Microsoft.Windows.Foundation.UndockedRegFreeWinRTCS.AutoInitialize.AccessWindowsAppSDK();CODE
CRITICALdev/Common/WindowsAppRuntimeAutoInitializer.cs36 Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Compatibility.AutoInitialize.ConfigureRuntimeCompatibilCODE
CRITICALdev/Deployment/DeploymentManagerAutoInitializer.cs31 global::Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult deploymentResult = global::MicCODE
CRITICAL…mplates/Desktop/CSharp/UnitTestApp/UnitTestApp.xaml.cs42 Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.CreateDefaultUI();CODE
CRITICAL…mplates/Desktop/CSharp/UnitTestApp/UnitTestApp.xaml.cs49 Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.Run(Environment.CommandLine);CODE
CRITICAL…AppRuntime_BootstrapDLL/MddBootstrapAutoInitializer.cs39 if (!global::Microsoft.Windows.ApplicationModel.DynamicDependency.Bootstrap.TryInitialize(majorMinorVersion,CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…mplates/VSIX/Extension/Cs/Common/VSPackage.Designer.cs6// This code was generated by a tool.COMMENT
HIGH…plates/VSIX/Extension/Cpp/Common/VSPackage.Designer.cs6// This code was generated by a tool.COMMENT
Structural Annotation Overuse7 hits · 10 pts
SeverityFileLineSnippetContext
LOW.github/instructions/agents.instructions.md191// Step 1: Process dataCOMMENT
LOW.github/instructions/agents.instructions.md209// Step 2: Analyze (depends on Step 1)COMMENT
LOW.github/instructions/agents.instructions.md322### Step 1: Identify ProjectCOMMENT
LOW.github/instructions/agents.instructions.md429 // Step 1: Security ReviewCOMMENT
LOW.github/instructions/agents.instructions.md446 // Step 2: Test Coverage CheckCOMMENT
LOW.github/instructions/agents.instructions.md463 // Step 3: Aggregate ResultsCOMMENT
LOW.github/prompts/review-pr.prompt.md10## Step 0: Fetch PR data (ALWAYS start here)COMMENT
Modern AI Meta-Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUM…ycle/Instancing/AppLifecycle SingleMulti-Instancing.md315### Redirection orchestrationCOMMENT
MEDIUM.github/instructions/agent-skills.instructions.md118 ├── scaffold.py # Code scaffold the AI agent customizesCODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdev/MRTCore/mrt/mrm/mrmmin/Managers.cpp825 // Don't forget to add the original file to the listCOMMENT