AI Slop Code RIsk Monitor

raspberrypi/pico-sdk

20.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for raspberrypi/pico-sdk, a C project with 4,988 GitHub stars. SynthScan examined 312,849 lines of code across 979 source files, recording 9357 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 20.2 (Elevated 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.

20.2
Adjusted Signal
20.2
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.0K
Stars
C
Language
312.8K
Lines of Code
979
Files
9.4K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 63.1/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 1.4/100 · LOW

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

PR Review Velocity Impact 77.8/100 · CRITICAL

Which changes need focused human review? 9357 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 5MEDIUM 16LOW 9336

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 9357 distinct pattern matches across 12 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 Block9277 hits · 6187 pts
SeverityFileLineSnippetContext
LOWtools/build_all_headers.py1#!/usr/bin/env python3COMMENT
LOWtools/check_all_groups.py1#!/usr/bin/env python3COMMENT
LOWtools/CMakeLists.txt361#COMMENT
LOWtools/CMakeLists.txt421# \brief\ Set the UF2 family to use when creating the UF2.COMMENT
LOWtools/CMakeLists.txt481# \brief_nodesc\ Embed a partition table in the binaryCOMMENT
LOWtools/CMakeLists.txt501# and sign the encrypted binary.COMMENT
LOWtools/check_source_files_in_bazel_build.py1#!/usr/bin/env python3COMMENT
LOWtools/compare_build_systems.py1#!/usr/bin/env python3COMMENT
LOWtools/check_board_header.py1#!/usr/bin/env python3COMMENT
LOWtools/extract_cmake_functions.py1#!/usr/bin/env python3COMMENT
LOWtools/check_doxygen_groups.py1#!/usr/bin/env python3COMMENT
LOWtools/extract_cmake_configs.py1#!/usr/bin/env python3COMMENT
LOWtools/extract_build_defines.py1#!/usr/bin/env python3COMMENT
LOWtools/extract_configs.py1#!/usr/bin/env python3COMMENT
LOWtools/pioasm/pio_enums.h21#endifCOMMENT
LOWtools/pioasm/pio_types.h1/*COMMENT
LOWtools/pioasm/gen/parser.hpp1// A Bison parser, made by GNU Bison 3.7.2.COMMENT
LOWtools/pioasm/gen/parser.hpp21// part or all of the Bison parser skeleton and distribute that workCOMMENT
LOWtools/pioasm/gen/parser.hpp41// DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,COMMENT
LOWtools/pioasm/gen/parser.hpp61# include <cstdlib> // std::abortCOMMENT
LOWtools/pioasm/gen/parser.hpp81# define YY_MOVECOMMENT
LOWtools/pioasm/gen/parser.hpp101# define YY_CONSTEXPRCOMMENT
LOWtools/pioasm/gen/parser.hpp121# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__))COMMENT
LOWtools/pioasm/gen/parser.hpp141 _Pragma ("GCC diagnostic pop")COMMENT
LOWtools/pioasm/gen/parser.hpp161# define YY_IGNORE_USELESS_CAST_BEGINCOMMENT
LOWtools/pioasm/gen/parser.hpp421 // valueCOMMENT
LOWtools/pioasm/gen/parser.hpp2841 const symbol_type& yyla_;COMMENT
LOWtools/pioasm/gen/parser.hpp2901 // Tables.COMMENT
LOWtools/pioasm/gen/parser.hpp3141 stack_type yystack_;COMMENT
LOWtools/pioasm/gen/lexer.cpp861 *COMMENT
LOWtools/pioasm/gen/location.h1// A Bison parser, made by GNU Bison 3.7.2.COMMENT
LOWtools/pioasm/gen/location.h21// part or all of the Bison parser skeleton and distribute that workCOMMENT
LOWtools/pioasm/gen/location.h41# include <iostream>COMMENT
LOWtools/pioasm/gen/parser.cpp1// A Bison parser, made by GNU Bison 3.7.2.COMMENT
LOWtools/pioasm/gen/parser.cpp21// part or all of the Bison parser skeleton and distribute that workCOMMENT
LOWtools/pioasm/gen/parser.cpp41#include "parser.hpp"COMMENT
LOWtools/pioasm/gen/parser.cpp61# define YY_(msgid) msgidCOMMENT
LOWtools/pioasm/gen/parser.cpp121 yy_stack_print_ (); \COMMENT
LOWtest/CMakeLists.txt41 # This can use the following extra target properties from the test targets:COMMENT
LOWtest/pico_low_power_test/low_power_test_common.h1#ifndef LOW_POWER_TEST_COMMON_HCOMMENT
LOWtest/pico_low_power_test/low_power_test_common.h41#endifCOMMENT
LOWtest/pico_low_power_test/external_sleep_timer.c1/**COMMENT
LOW…are_sync_spin_lock_test/hardware_sync_spin_lock_test.c201//COMMENT
LOW…are_sync_spin_lock_test/hardware_sync_spin_lock_test.c301// remote traffic, not contention), then flags and SEVs as a backstop. If core 0's __wfe()COMMENT
LOWtest/pico_time_test/pico_time_test.c1/**COMMENT
LOWtest/pico_time_test/pico_time_test.c21// Include sys/types.h before inttypes.h to work around issue withCOMMENT
LOW…ico_unaligned_string_test/pico_unaligned_string_test.c1/*COMMENT
LOW…ico_unaligned_string_test/pico_unaligned_string_test.c21// * the RISC-V specific routines in newlib/libc/machine/riscv testCOMMENT
LOWtest/pico_float_test/pico_float_test.c1//===-- aeabi_cfcmpeq.c - Test __aeabi_cfcmpeq ----------------------------===//COMMENT
LOWtest/pico_float_test/pico_float_test.c21// certain versions of GCC and newlib which causes omission of PRIx64COMMENT
LOWtest/pico_float_test/pico_float_test.c341#define allowed_range(a) (fabsf(a) / FRAC)COMMENT
LOWtest/pico_float_test/pico_float_test.c361#endifCOMMENT
LOWtest/pico_float_test/double_benchmark.c1#include <stdio.h>COMMENT
LOWtest/pico_float_test/double_benchmark.c161#elseCOMMENT
LOWtest/pico_float_test/custom_float_funcs_test.c1#include <stdio.h>COMMENT
LOWtest/pico_float_test/pico_double_test.c1//===-- aeabi_cdcmpeq.c - Test __aeabi_cdcmpeq ----------------------------===//COMMENT
LOWtest/pico_float_test/pico_double_test.c321double __real_pow(double, double);COMMENT
LOWtest/pico_float_test/custom_double_funcs_test.c1#include <stdio.h>COMMENT
LOWtest/pico_float_test/float_benchmark.c1#include <stdio.h>COMMENT
LOWtest/pico_float_test/float_benchmark.c161#elseCOMMENT
9217 more matches not shown…
Decorative Section Separators12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMtools/check_extern_c_guards.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py88# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py202# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py204# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py254# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py256# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py289# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py291# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py363# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/check_extern_c_guards.py365# ---------------------------------------------------------------------------COMMENT
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHtools/check_board_header.py296except ValueError:CODE
HIGHtools/check_board_header.py318except ValueError:CODE
HIGHtools/check_board_header.py387except ValueError:CODE
HIGHtools/check_board_header.py215except ValueError:CODE
HIGHtools/run_test_matrix.py202except:CODE
Deep Nesting18 hits · 18 pts
SeverityFileLineSnippetContext
LOWtools/copro_dis.py38CODE
LOWtools/check_float_test_names.py156CODE
LOWtools/check_float_test_names.py178CODE
LOWtools/check_float_test_names.py249CODE
LOWtools/check_extern_c_guards.py120CODE
LOWtools/check_extern_c_guards.py440CODE
LOWtools/compare_build_systems.py214CODE
LOWtools/compare_build_systems.py244CODE
LOWtools/memmap_include_tree.py233CODE
LOWtools/check_board_header.py94CODE
LOWtools/extract_cmake_functions.py103CODE
LOWtools/extract_cmake_functions.py152CODE
LOWtools/extract_cmake_configs.py71CODE
LOWtools/extract_build_defines.py69CODE
LOWtools/run_test_matrix.py80CODE
LOWtools/extract_configs.py76CODE
LOWtools/extract_configs.py102CODE
LOWsrc/rp2_common/pico_lwip/tools/makefsdata.py88CODE
Example Usage Blocks10 hits · 15 pts
SeverityFileLineSnippetContext
LOWtools/build_all_headers.py12# Usage:COMMENT
LOWtools/check_all_groups.py11# Usage:COMMENT
LOWtools/check_source_files_in_bazel_build.py11# Usage:COMMENT
LOWtools/compare_build_systems.py11# Usage:COMMENT
LOWtools/check_board_header.py10# Usage:COMMENT
LOWtools/extract_cmake_functions.py12# Usage:COMMENT
LOWtools/check_doxygen_groups.py10# Usage:COMMENT
LOWtools/extract_cmake_configs.py12# Usage:COMMENT
LOWtools/extract_build_defines.py12# Usage:COMMENT
LOWtools/extract_configs.py12# Usage:COMMENT
Hyper-Verbose Identifiers12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/check_all_groups.py45def get_group_from_config_attrs(attr_str):CODE
LOWtools/check_source_files_in_bazel_build.py93def check_bazel_build_for_files(CODE
LOWtools/check_source_files_in_bazel_build.py151def git_ls_files_by_extension(file_suffixes: Iterable[str]) -> Iterable[Path]:CODE
LOWtools/check_source_files_in_bazel_build.py173def check_sources_in_bazel_build(picotool_dir) -> int:CODE
LOWtools/memmap_include_tree.py74def _indent_default_excludes_body(text: str) -> str:CODE
LOWtools/memmap_include_tree.py143def validate_explicit_platform(sdk_root: Path, platform: str) -> str | None:CODE
LOWtools/memmap_include_tree.py300def fold_docstring_for_argparse(doc: str) -> str:CODE
LOWtools/memmap_include_tree.py310def collect_unresolved_include_paths(CODE
LOWtools/memmap_include_tree.py323def format_memmap_annotate_status_line(tag: str, msg: str) -> str:CODE
LOWtools/extract_cmake_configs.py241def build_mismatch_exception_message(name, thing, config_obj1, value1, config_obj2, value2):CODE
LOWtools/extract_build_defines.py238def build_mismatch_exception_message(name, thing, config_obj1, value1, config_obj2, value2):CODE
LOWtools/extract_configs.py348def build_mismatch_exception_message(name, thing, config_obj1, value1, config_obj2, value2):CODE
Excessive Try-Catch Wrapping7 hits · 9 pts
SeverityFileLineSnippetContext
LOWtools/check_extern_c_guards.py138 except Exception as exc:CODE
LOWtools/check_extern_c_guards.py184 except Exception as exc:CODE
MEDIUMtools/check_extern_c_guards.py270 print("Error: not inside a git repository.", file=sys.stderr)CODE
LOWtools/run_test_matrix.py197 except Exception as e:CODE
LOWtools/run_test_matrix.py226 except Exception as e:CODE
MEDIUMtools/run_test_matrix.py227 print(f"Error reading output file: {e}")CODE
LOWtools/run_test_matrix.py240 except Exception as e:CODE
Unused Imports8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/memmap_annotate.py22CODE
LOWtools/memmap_include_tree.py25CODE
LOWtools/bazel_buildifier_lint_check.py12CODE
LOWtools/bazel_buildifier_lint_check.py13CODE
LOWtools/bazel_buildifier_lint_check.py17CODE
LOWtools/bazel_build.py9CODE
LOWtools/bazel_build.py13CODE
LOW…ithub/workflows/scripts/generate_multi_gcc_workflow.py4CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/rp2350/hardware_regs/include/hardware/regs/rp_ap.h650// manager and the switched-core. Essentially that is everythjingCOMMENT
MEDIUMsrc/rp2_common/pico_stdlib/stdlib.c18 // this is mostly for backwards compatibility - stdio_uart_init is a bit more nuanced, and usually likely to be presCOMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/extract_cmake_functions.py32logger = logging.getLogger(__name__)CODE
LOWtools/extract_cmake_configs.py34logger = logging.getLogger(__name__)CODE
LOWtools/extract_build_defines.py34logger = logging.getLogger(__name__)CODE
LOWtools/extract_configs.py34logger = logging.getLogger(__name__)CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/rp2_common/pico_multicore/multicore.c200 // entry is the initial program counter (PC) (don't forget to set the thumb bit!)COMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/rp2_common/pico_bootrom/include/pico/bootrom.h76// NOTE: This function does not validate the buffer for NS access. This must be validated beforeCOMMENT