AI Slop Code Risk Monitor

triwinds/ns-emu-tools

SlopCodeMonitor badge for triwinds/ns-emu-tools Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

一个用于安装/更新 NS 模拟器的工具

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for triwinds/ns-emu-tools, a Rust project with 4,979 GitHub stars. SynthScan examined 190,224 lines of code across 429 source files, recording 64 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.

0.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
5.0K
Stars
Rust
Language
190.2K
Lines of Code
429
Files
64
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 2.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 60 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

Are imports declared and package/API names verified? 3 finding(s).

Agent Over-Engineering Ratio 0.5/100 · LOW

Are wrappers, guards, and repeated structures necessary? 14 finding(s).

PR Review Velocity Impact 2.3/100 · LOW

Which changes need focused human review? 64 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 2HIGH 1MEDIUM 1LOW 60

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 64 distinct pattern matches across 9 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.

Over-Commented Block23 hits · 23 pts
SeverityFileLineSnippetContext
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOWsrc-tauri/tools/xess-fg-diagnostics/bridge.cpp1#define WIN32_LEAN_AND_MEANCOMMENT
LOWsrc-tauri/crates/streamline-fg/src/lib.rs41#[cfg(all(windows, feature = "hybrid-xess-fg"))]COMMENT
LOWsrc-tauri/crates/streamline-fg/src/lib.rs61 *b"NS_EMU_XESS_NATIVE_AA_V1";COMMENT
LOWsrc-tauri/crates/streamline-fg/src/lib.rs81pub static nsEmuOpticalFlowV1: [u8; b"NS_EMU_OPTICAL_FLOW_V1".len()] = *b"NS_EMU_OPTICAL_FLOW_V1";COMMENT
LOWsrc-tauri/crates/streamline-fg/src/lib.rs101#[used]COMMENT
LOWsrc-tauri/crates/streamline-fg/src/lib.rs121#[used]COMMENT
LOW…-tauri/crates/streamline-fg/src/diagnostics/nr_main.rs1pub use streamline_probe_layer::advanced_settings;COMMENT
LOWsrc-tauri/src/config.rs341/// 网络设置COMMENT
LOWsrc-tauri/src/config.rs401 proxy: default_proxy(),COMMENT
LOWsrc-tauri/src/config.rs441#[serde(rename_all = "camelCase")]COMMENT
LOWsrc-tauri/src/logging.rs181/// 初始化日志系统COMMENT
LOWsrc-tauri/src/utils/webview.rs1//! WebView2 检测和安装模块COMMENT
LOWsrc-tauri/src/models/cheats.rs1//! 金手指数据模型COMMENT
LOWsrc-tauri/src/models/release.rs41 pub size: u64,COMMENT
LOWsrc-tauri/src/services/ryujinx.rs1481pub async fn get_all_ryujinx_versions(branch: &str) -> AppResult<Vec<String>> {COMMENT
LOWsrc-tauri/src/services/ryujinx.rs1561/// # 参数COMMENT
LOWsrc-tauri/src/services/ryujinx.rs1621COMMENT
LOWsrc-tauri/src/services/downloader/aria2.rs1//! Aria2 下载管理器COMMENT
LOWsrc-tauri/src/services/downloader/aria2.rs1301///COMMENT
LOWsrc-tauri/src/services/downloader/manager.rs21 /// 停止下载管理器COMMENT
LOWsrc-tauri/src/services/downloader/manager.rs61 /// # 参数COMMENT
LOWsrc-tauri/src/services/downloader/mod.rs1//! 统一下载模块COMMENT
Verbosity Indicators11 hits · 21 pts
SeverityFileLineSnippetContext
LOWbuild_all.sh11# Step 1: Build frontendCOMMENT
LOWbuild_all.sh33# Step 2: Format Rust backendCOMMENT
LOWbuild_all.sh49# Step 3: Build Tauri backendCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts133 // Step 1: Check EnvCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts139 // Step 2: DownloadCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts147 // Step 3: ExtractCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts152 // Step 4: VerifyCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts173 // Step 1: SuccessCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts179 // Step 2: Download with errorCOMMENT
LOWsrc-tauri/src/services/firmware.rs540 // Step 1: Load keysCOMMENT
LOWsrc-tauri/src/services/firmware.rs678 // Step 1: Load keysCOMMENT
Structural Annotation Overuse11 hits · 21 pts
SeverityFileLineSnippetContext
LOWbuild_all.sh11# Step 1: Build frontendCOMMENT
LOWbuild_all.sh33# Step 2: Format Rust backendCOMMENT
LOWbuild_all.sh49# Step 3: Build Tauri backendCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts133 // Step 1: Check EnvCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts139 // Step 2: DownloadCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts147 // Step 3: ExtractCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts152 // Step 4: VerifyCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts173 // Step 1: SuccessCOMMENT
LOW⚡frontend/src/stores/ProgressStore.ts179 // Step 2: Download with errorCOMMENT
LOWsrc-tauri/src/services/firmware.rs540 // Step 1: Load keysCOMMENT
LOWsrc-tauri/src/services/firmware.rs678 // Step 1: Load keysCOMMENT
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALsrc-tauri/crates/streamline-fg/src/launcher.rs486 advanced.nr.look.temporal.mode.persistent(),CODE
CRITICAL…src/services/graphics_components/streamline_install.rs657 advanced.nr.look.temporal.mode.persistent(),CODE
Hyper-Verbose Identifiers13 hits · 13 pts
SeverityFileLineSnippetContext
LOWfrontend/src/utils/common.ts6export function openUrlWithDefaultBrowser(url: string) {CODE
LOWfrontend/src/utils/tauri.ts280export async function takePendingGithubMirrorFallbackNotice() {CODE
LOWfrontend/src/utils/tauri.ts290export async function getAvailableFirmwareInfos() {CODE
LOWfrontend/src/components/YuzuSaveCommonPart.vue43async function askAndUpdateYuzuBackupPath() {CODE
LOWfrontend/src/components/YuzuSaveRestoreTab.vue111function updateBackupItemBoxHeight() {CODE
LOWfrontend/src/pages/settings.vue255function formatGithubMirrorOptionName(name: string) {CODE
LOWfrontend/src/pages/settings.vue264function showGithubMirrorRefreshNotice(CODE
LOWfrontend/src/pages/settings.vue277function handleGithubMirrorFallbackNotice(response: GithubMirrorListResponse) {CODE
LOWfrontend/src/pages/settings.vue292async function loadAvailableGithubDownloadSource() {CODE
LOWfrontend/src/pages/yuzu.vue416async function updateYuzuReleaseVersions() {CODE
LOWfrontend/src/pages/yuzu.vue450function handleSelectedBranchUpdate() {CODE
LOWfrontend/src/pages/yuzuCheatsManagement.vue159async function listAllCheatFilesFromFolder(selectedFolder: string) {CODE
LOWfrontend/src/pages/ryujinx.vue343async function updateRyujinxReleaseInfos() {CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsend_release_notify.py57except:CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsrc-tauri/gen/schemas/acl-manifests.json1{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:patCODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWupdate_game_data.py4CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc-tauri/tools/graphics-components/package.py90CODE