AI Slop Code RIsk Monitor

ZigEmbeddedGroup/microzig

MicroZig is a toolbox for building embedded applications in Zig.

12.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ZigEmbeddedGroup/microzig, a Zig project with 2,297 GitHub stars. SynthScan examined 15,260 lines of code across 172 source files, recording 203 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 12.9 (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.

12.9
Adjusted Signal
12.9
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
2.3K
Stars
Zig
Language
15.3K
Lines of Code
172
Files
203
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 43.6/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 7.0/100 · LOW

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

PR Review Velocity Impact 52.2/100 · HIGH

Which changes need focused human review? 203 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 2MEDIUM 6LOW 195

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 203 distinct pattern matches across 6 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 Block193 hits · 162 pts
SeverityFileLineSnippetContext
LOWtools/sorcerer/README.md81# STM32F103C8 stmicro/stm32 -COMMENT
LOWdrivers/README.md681COMMENT
LOWexamples/espressif/esp/src/lwip/include/lwipopts.h1#ifndef LWIP_LWIPOPTS_HCOMMENT
LOWexamples/espressif/esp/src/lwip/include/lwipopts.h21#define MEMP_MEM_MALLOC 1COMMENT
LOWexamples/espressif/esp/src/lwip/include/arch/cc.h21 } while (0)COMMENT
LOWexamples/espressif/esp/src/lwip/include/arch/cc.h41#define SYS_ARCH_PROTECT(lev) lwip_lock_core_mutex()COMMENT
LOW…errypi/rp2xxx/src/hal/pio/assembler/comparison_tests.h1#ifndef _RP2XXX_COMPARISON_TESTS_H_COMMENT
LOW…errypi/rp2xxx/src/hal/pio/assembler/comparison_tests.h21#include "comparison_tests/quadrature_encoder.pio.h"COMMENT
LOW…/hal/pio/assembler/comparison_tests/resistor_dac.pio.h1// -------------------------------------------------- //COMMENT
LOW…xxx/src/hal/pio/assembler/comparison_tests/hub75.pio.h1// -------------------------------------------------- //COMMENT
LOW…l/pio/assembler/comparison_tests/squarewave_fast.pio.h1// -------------------------------------------------- //COMMENT
LOW…l/pio/assembler/comparison_tests/squarewave_wrap.pio.h1// -------------------------------------------------- //COMMENT
LOW…rc/hal/pio/assembler/comparison_tests/squarewave.pio.h1// -------------------------------------------------- //COMMENT
LOW…o/assembler/comparison_tests/nec_carrier_control.pio.h1// -------------------------------------------------- //COMMENT
LOW…pio/assembler/comparison_tests/nec_carrier_burst.pio.h1// -------------------------------------------------- //COMMENT
LOW…pio/assembler/comparison_tests/nec_carrier_burst.pio.h41}COMMENT
LOW…o/assembler/comparison_tests/manchester_encoding.pio.h1// -------------------------------------------------- //COMMENT
LOW…p2xxx/src/hal/pio/assembler/comparison_tests/pwm.pio.h1// -------------------------------------------------- //COMMENT
LOW…al/pio/assembler/comparison_tests/pio_serialiser.pio.h1// -------------------------------------------------- //COMMENT
LOW…io/assembler/comparison_tests/quadrature_encoder.pio.h1// -------------------------------------------------- //COMMENT
LOW…sembler/comparison_tests/differential_manchester.pio.h1// -------------------------------------------------- //COMMENT
LOW…x/src/hal/pio/assembler/comparison_tests/uart_rx.pio.h1// -------------------------------------------------- //COMMENT
LOW…hal/pio/assembler/comparison_tests/clocked_input.pio.h1// -------------------------------------------------- //COMMENT
LOW…/src/hal/pio/assembler/comparison_tests/addition.pio.h1// -------------------------------------------------- //COMMENT
LOW…xx/src/hal/pio/assembler/comparison_tests/ws2812.pio.h1// -------------------------------------------------- //COMMENT
LOW…xx/src/hal/pio/assembler/comparison_tests/apa102.pio.h1// -------------------------------------------------- //COMMENT
LOW…c/hal/pio/assembler/comparison_tests/nec_receive.pio.h1// -------------------------------------------------- //COMMENT
LOW…c/hal/pio/assembler/comparison_tests/nec_receive.pio.h61 // join the FIFOs to make a single large receive FIFOCOMMENT
LOW…rc/hal/pio/assembler/comparison_tests/st7789_lcd.pio.h1// -------------------------------------------------- //COMMENT
LOW…xxx/src/hal/pio/assembler/comparison_tests/blink.pio.h1// -------------------------------------------------- //COMMENT
LOW…x/src/hal/pio/assembler/comparison_tests/uart_tx.pio.h1// -------------------------------------------------- //COMMENT
LOW…xxx/src/hal/pio/assembler/comparison_tests/hello.pio.h1// -------------------------------------------------- //COMMENT
LOW…p2xxx/src/hal/pio/assembler/comparison_tests/i2c.pio.h1// -------------------------------------------------- //COMMENT
LOW…p2xxx/src/hal/pio/assembler/comparison_tests/spi.pio.h1// -------------------------------------------------- //COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h1/**COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h21// -----------------------------------------------------------------------------COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h41#define M0PLUS_SYST_CSR_CLKSOURCE_ACCESS "RW"COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h61#define M0PLUS_SYST_CSR_ENABLE_MSB _u(0)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h81// Description : Value to load into the SysTick Current Value Register when theCOMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h101// COUNTFLAG bit of the SysTick Control and Status Register.COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h121#define M0PLUS_SYST_CALIB_NOREF_MSB _u(31)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h141#define M0PLUS_SYST_CALIB_TENMS_LSB _u(0)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h161// Read:COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h181// 1 = Disable interrupt.COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h201// 0 = No effect.COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h221#define M0PLUS_NVIC_ICPR_BITS _u(0xffffffff)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h241// priority, and 3 is the lowest.COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h261#define M0PLUS_NVIC_IPR0_IP_2_MSB _u(23)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h281// Register : M0PLUS_NVIC_IPR1COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h301#define M0PLUS_NVIC_IPR1_IP_6_MSB _u(23)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h321// Register : M0PLUS_NVIC_IPR2COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h341#define M0PLUS_NVIC_IPR2_IP_10_MSB _u(23)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h361// Register : M0PLUS_NVIC_IPR3COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h381#define M0PLUS_NVIC_IPR3_IP_14_MSB _u(23)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h401// Register : M0PLUS_NVIC_IPR4COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h421#define M0PLUS_NVIC_IPR4_IP_18_MSB _u(23)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h441// Register : M0PLUS_NVIC_IPR5COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h461#define M0PLUS_NVIC_IPR5_IP_22_MSB _u(23)COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h481// Register : M0PLUS_NVIC_IPR6COMMENT
LOW…raspberrypi/rp2xxx/src/bootroms/RP2040/shared/m0plus.h501#define M0PLUS_NVIC_IPR6_IP_26_MSB _u(23)COMMENT
133 more matches not shown…
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMmodules/freertos/src/picosdk_stubs.c12// ── IRQ / Panic ─────────────────────────────────────────────────────────COMMENT
MEDIUMmodules/freertos/src/picosdk_stubs.c27// ── Multicore (no-ops for single-core FreeRTOS) ─────────────────────────COMMENT
MEDIUMmodules/freertos/src/picosdk_stubs.c48// ── Clocks ──────────────────────────────────────────────────────────────COMMENT
MEDIUMmodules/freertos/src/picosdk_stubs.c63// ── Spinlocks ───────────────────────────────────────────────────────────COMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHscripts/usb/device_loopback.py68except usb.core.USBTimeoutError:CODE
HIGHscripts/usb/device_loopback.py34except:CODE
Self-Referential Comments2 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM⚡.github/workflows/publish-github-pages.yml34 # Create an array to store releases with the artifactCOMMENT
MEDIUM⚡.github/workflows/publish-github-pages.yml43 # Create the target directory if it doesn't existCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW⚡.github/workflows/publish-github-pages.yml49 # Check if the tarball was downloaded and unpack itCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmodules/foundation-libc/include/foundation/libc.h30/// NOTE: This function must never return, because otherwise, the undefinedCOMMENT