A general-purpose window upscaler for Windows 10/11.
This report summarizes scanner evidence for Blinue/Magpie, a HLSL project with 16,234 GitHub stars. SynthScan examined 48,444 lines of code across 305 source files, recording 106 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 3.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 91 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 15 finding(s).
Which changes need focused human review? 106 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 106 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/WindowCase/pch.h | 1 | #pragma once | COMMENT |
| LOW | docs/MagpieFX.md | 1 | MagpieFX 基于 DirectX 11 计算着色器 | COMMENT |
| LOW | docs/MagpieFX.md | 21 | //!LABEL Sharpness | COMMENT |
| LOW | docs/MagpieFX.md | 41 | //!WIDTH INPUT_WIDTH * 2 | COMMENT |
| LOW | docs/MagpieFX.md | 61 | // R16G16_FLOAT | COMMENT |
| LOW | docs/MagpieFX.md | 81 | Texture2D tex1; | COMMENT |
| LOW | docs/MagpieFX.md | 101 | COMMENT | |
| LOW | docs/MagpieFX.md | 121 | COMMENT | |
| LOW | docs/MagpieFX (EN).md | 1 | MagpieFX is based on DirectX 11 compute shader | COMMENT |
| LOW | docs/MagpieFX (EN).md | 21 | //!PARAMETER | COMMENT |
| LOW | docs/MagpieFX (EN).md | 41 | //!TEXTURE | COMMENT |
| LOW | docs/MagpieFX (EN).md | 61 | // R10G10B10A2_UNORM | COMMENT |
| LOW | docs/MagpieFX (EN).md | 81 | // RWTexture2D<unorm min16float2> for output. | COMMENT |
| LOW | docs/MagpieFX (EN).md | 101 | SamplerState sam2; | COMMENT |
| LOW | docs/MagpieFX (EN).md | 121 | } | COMMENT |
| LOW | src/Magpie/ShortcutControl.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/pch.h | 1 | #pragma once | COMMENT |
| LOW | src/Magpie/pch.h | 21 | #include <string_view> | COMMENT |
| LOW | src/Magpie/pch.h | 41 | #include <wil/stl.h> | COMMENT |
| LOW | src/Magpie/pch.h | 61 | #include <winrt/Windows.UI.Xaml.Controls.Primitives.h> | COMMENT |
| LOW | src/Magpie/ShortcutService.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/TextMenuFlyout.h | 1 | #pragma once | COMMENT |
| LOW | src/Magpie/CandidateWindowItem.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/ScalingModeEffectItem.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/AppSettings.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/ScalingModeItem.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/AutoStartHelper.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/NewProfileViewModel.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/ToastPage.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/MainWindow.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/TouchHelper.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/UpdateService.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/UpdateService.cpp | 381 | } | COMMENT |
| LOW | src/Magpie/HomeViewModel.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/BorderlessWindow.h | 241 | // Win10 中应总是绘制背景 | COMMENT |
| LOW | src/Magpie/SettingsViewModel.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/EffectParametersViewModel.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/TitleBarControl.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/NotifyIconService.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/ScalingService.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/ScalingModesViewModel.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/KeyVisualState.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/main.cpp | 1 | // Copyright (c) Xu | COMMENT |
| LOW | src/Magpie/ProfileViewModel.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/RootPage.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie/App.cpp | 1 | // Copyright (c) Xu | COMMENT |
| LOW | src/Magpie/App.cpp | 21 | #endif | COMMENT |
| LOW | src/Magpie.Core/YasHelper.h | 1 | #pragma once | COMMENT |
| LOW | src/Magpie.Core/EffectDrawer.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie.Core/AdaptivePresenter.cpp | 141 | // 下面两个调用用于减少调整窗口尺寸时的边缘闪烁。 | COMMENT |
| LOW | src/Magpie.Core/pch.h | 1 | #pragma once | COMMENT |
| LOW | src/Magpie.Core/pch.h | 21 | #include <functional> | COMMENT |
| LOW | src/Magpie.Core/FrameSourceBase.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie.Core/CursorDrawer.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie.Core/AppXReader.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie.Core/ScalingWindow.cpp | 1 | #include "pch.h" | COMMENT |
| LOW | src/Magpie.Core/OverlayHelper.h | 1 | #pragma once | COMMENT |
| LOW | src/Magpie.Core/OverlayHelper.h | 41 | ///////////////////////////////////////////////////// | COMMENT |
| LOW | src/Magpie.Core/DDS.h | 1 | // 复制自 https://github.com/microsoft/DirectXTex/blob/652cc82b35ff9e14097d12eff73f53348361ff15/DirectXTex/DDS.h | COMMENT |
| LOW | src/Magpie.Core/DDS.h | 41 | #define DDS_FOURCC 0x00000004 // DDPF_FOURCC | COMMENT |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/Magpie.Core/StepTimer.cpp | 32 | // ────────▼─────────┬────────┬──────▼───────── | COMMENT |
| MEDIUM⚡ | src/Magpie.Core/ScalingWindow.cpp | 1662 | // ┌────────────────────┐ | COMMENT |
| MEDIUM⚡ | src/Magpie.Core/ScalingWindow.cpp | 1664 | // ├───┬────────────┬───┤ | COMMENT |
| MEDIUM⚡ | src/Magpie.Core/ScalingWindow.cpp | 1668 | // ├───┴────────────┴───┤ | COMMENT |
| MEDIUM⚡ | src/Magpie.Core/ScalingWindow.cpp | 1670 | // └────────────────────┘ | COMMENT |
| MEDIUM⚡ | src/Magpie.Core/ScalingWindow.cpp | 1814 | // ┌───┬───────────┬───┐ | COMMENT |
| MEDIUM⚡ | src/Magpie.Core/ScalingWindow.cpp | 1816 | // │ ├───────────┤ │ | COMMENT |
| MEDIUM⚡ | src/Magpie.Core/ScalingWindow.cpp | 1820 | // │ ├───────────┤ │ | COMMENT |
| MEDIUM⚡ | src/Magpie.Core/ScalingWindow.cpp | 1822 | // └───┴───────────┴───┘ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/release.py | 18 | except: | CODE |
| HIGH | scripts/release.py | 75 | except: | CODE |
| HIGH | scripts/code-analysis.py | 20 | except: | CODE |
| HIGH | scripts/wiki.py | 17 | except: | CODE |
| HIGH | scripts/publish.py | 15 | except: | CODE |
| HIGH | scripts/publish.py | 91 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/Magpie.Core/DDSHelper.cpp | 434 | // likely written by D3DX. The more robust solution is to use the 'DX10' | COMMENT |
| MEDIUM | src/Shared/SmallVector.h | 1266 | // SmallVectorImpl<T>::operator= does not leverage N==0. Optimize the case. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 30 | Please do not contribute code that is **directly** generated by AI. You should fully understand the code you contribute. | CODE |