AI Slop Code RIsk Monitor

official-stockfish/Stockfish

A free and strong UCI chess engine

6.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for official-stockfish/Stockfish, a C++ project with 16,880 GitHub stars. SynthScan examined 30,778 lines of code across 107 source files, recording 134 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 6.2 (Moderate 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.

6.2
Adjusted Signal
6.2
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
16.9K
Stars
C++
Language
30.8K
Lines of Code
107
Files
134
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 18.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 6.3/100 · LOW

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

Agent Over-Engineering Ratio 6.6/100 · LOW

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

PR Review Velocity Impact 25.7/100 · MEDIUM

Which changes need focused human review? 134 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 0HIGH 7MEDIUM 7LOW 120

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 134 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 Block101 hits · 101 pts
SeverityFileLineSnippetContext
LOWscripts/get_native_properties.sh1#!/bin/shCOMMENT
LOWsrc/memory.cpp21#include <cstdlib>COMMENT
LOWsrc/memory.cpp41 #include <stdlib.h>COMMENT
LOWsrc/thread.cpp21#include <algorithm>COMMENT
LOWsrc/engine.h21COMMENT
LOWsrc/numa.h21COMMENT
LOWsrc/numa.h41#include "misc.h"COMMENT
LOWsrc/numa.h501// Designed as immutable, because there is no good reason to alter an alreadyCOMMENT
LOWsrc/numa.h581 cfg = std::move(*l3Cfg);COMMENT
LOWsrc/numa.h741 return str;COMMENT
LOWsrc/numa.h901 // Build 20348 the behaviour changed, so there's a small window of versionsCOMMENT
LOWsrc/types.h21COMMENT
LOWsrc/types.h41 #include <cstdint>COMMENT
LOWsrc/types.h61 #if defined(__GNUC__) && !defined(__clang__) \COMMENT
LOWsrc/types.h81COMMENT
LOWsrc/types.h221constexpr Value PieceValue[PIECE_NB] = {COMMENT
LOWsrc/misc.cpp21#include <array>COMMENT
LOWsrc/misc.cpp121 std::cin.rdbuf(&l.in);COMMENT
LOWsrc/misc.cpp181COMMENT
LOWsrc/misc.cpp261#if defined(USE_VNNI)COMMENT
LOWsrc/tune.h61// If you have a my_post_update() function to run after values have been updated,COMMENT
LOWsrc/misc.h21COMMENT
LOWsrc/misc.h421 inner = val;COMMENT
LOWsrc/misc.h541COMMENT
LOWsrc/misc.h561 #define sf_assume(cond) __builtin_assume(cond)COMMENT
LOWsrc/misc.h581 #define sf_unreachable() __builtin_unreachable()COMMENT
LOWsrc/thread_native.h21COMMENT
LOWsrc/benchmark.cpp381COMMENT
LOWsrc/evaluate.cpp21#include <algorithm>COMMENT
LOWsrc/thread.h21COMMENT
LOWsrc/history.h21COMMENT
LOWsrc/search.cpp21#include <algorithm>COMMENT
LOWsrc/search.cpp41#include "movepick.h"COMMENT
LOWsrc/search.cpp1261 if (!pos.see_ge(move, -23 * lmrDepth * lmrDepth))COMMENT
LOWsrc/search.cpp2281 }COMMENT
LOWsrc/shm.h21COMMENT
LOWsrc/shm.h41 #define USE_UNIX_SHMCOMMENT
LOWsrc/shm.h61 #include <cstring>COMMENT
LOWsrc/shm.h81 #include <unistd.h>COMMENT
LOWsrc/memory.h21COMMENT
LOWsrc/memory.h41 #endifCOMMENT
LOWsrc/shm_unix.h21COMMENT
LOWsrc/shm_unix.h41#include <sys/file.h>COMMENT
LOWsrc/engine.cpp21#include <algorithm>COMMENT
LOWsrc/attacks.h21COMMENT
LOWsrc/attacks.h101COMMENT
LOWsrc/movegen.cpp21#include <cassert>COMMENT
LOWsrc/tt.cpp21#include <algorithm>COMMENT
LOWsrc/tt.cpp41// pv node 1 bitCOMMENT
LOWsrc/search.h21COMMENT
LOWsrc/tt.h21COMMENT
LOWsrc/position.h21COMMENT
LOWsrc/position.cpp21#include <algorithm>COMMENT
LOWsrc/uci.cpp21#include <algorithm>COMMENT
LOWsrc/universal/patch_x86_slice.sh1#!/bin/shCOMMENT
LOWsrc/universal/nnue_embed.cpp21#include "../evaluate.h"COMMENT
LOWsrc/nnue/network.cpp21#include <algorithm>COMMENT
LOWsrc/nnue/network.cpp41COMMENT
LOWsrc/nnue/nnue_accumulator.cpp21#include <algorithm>COMMENT
LOWsrc/nnue/nnue_common.h21#ifndef NNUE_COMMON_H_INCLUDEDCOMMENT
41 more matches not shown…
Cross-Language Confusion6 hits · 40 pts
SeverityFileLineSnippetContext
HIGHtests/instrumented.py226 self.stockfish.equals("uciok")CODE
HIGHtests/instrumented.py330 self.stockfish.equals("bestmove d5e6")CODE
HIGH⚡tests/instrumented.py645 self.stockfish.equals("readyok")CODE
HIGH⚡tests/instrumented.py650 self.stockfish.equals("readyok")CODE
HIGH⚡tests/instrumented.py655 self.stockfish.equals("readyok")CODE
HIGH⚡tests/instrumented.py672 self.stockfish.equals("readyok")CODE
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMscripts/get_native_properties.sh10# ---------------------------COMMENT
MEDIUMscripts/get_native_properties.sh12# ---------------------------COMMENT
MEDIUMscripts/get_native_properties.sh202# ---------------------------COMMENT
MEDIUMscripts/get_native_properties.sh204# ---------------------------COMMENT
MEDIUMscripts/get_native_properties.sh285# ---------------------------COMMENT
MEDIUMscripts/get_native_properties.sh287# ---------------------------COMMENT
Hyper-Verbose Identifiers13 hits · 17 pts
SeverityFileLineSnippetContext
LOWtests/instrumented.py172 def test_export_net_verify_nnue(self):CODE
LOWtests/instrumented.py237 def test_ucinewgame_and_startpos_moves(self):CODE
LOW⚡tests/instrumented.py341 def test_fen_position_fixed_node(self):CODE
LOW⚡tests/instrumented.py349 def test_fen_position_with_mate_go_depth(self):CODE
LOW⚡tests/instrumented.py359 def test_fen_position_with_mate_go_mate(self):CODE
LOW⚡tests/instrumented.py369 def test_fen_position_with_mate_go_nodes(self):CODE
LOW⚡tests/instrumented.py389 def test_fen_position_with_mate_go_depth_and_promotion(self):CODE
LOW⚡tests/instrumented.py398 def test_fen_position_with_mate_go_depth_and_searchmoves(self):CODE
LOW⚡tests/instrumented.py408 def test_fen_position_with_moves_with_mate_go_depth_and_searchmoves(self):CODE
LOWtests/instrumented.py434 def test_fen_position_with_skill_level(self):CODE
LOWtests/instrumented.py619 def test_invalid_side_to_move(self):CODE
LOW⚡tests/instrumented.py662 def test_numa_malformed_range(self):CODE
LOWtests/testing.py49 def get_valgrind_thread_command():CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtests/testing.py329except (OSError, ValueError):CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/instrumented.py41CODE
LOWtests/testing.py77CODE
LOWtests/testing.py134CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/numa.h1064 // node. On Windows we utilize GetNumaProcessorNodeEx, which has its quirks, seeCOMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/testing.py147 except Exception as e:CODE
LOWtests/testing.py201 except Exception as e:CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/thread_native.h56 // TODO: implement fallible thread creation for MSVCCOMMENT