AI Slop Code Risk Monitor

riscv-software-src/riscv-isa-sim

SlopCodeMonitor badge for riscv-software-src/riscv-isa-sim Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Spike, a RISC-V ISA Simulator

6.1 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for riscv-software-src/riscv-isa-sim, a C++ project with 3,268 GitHub stars. SynthScan examined 45,313 lines of code across 1730 source files, recording 356 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 6.1 (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.1
Adjusted Signal
6.1
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
3.3K
Stars
C++
Language
45.3K
Lines of Code
1.7K
Files
356
Pattern Hits
2026-10-31
Scan Date
0.00
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 23.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 348 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 2.9/100 · LOW

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

PR Review Velocity Impact 33.8/100 · MEDIUM

Which changes need focused human review? 356 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 0MEDIUM 9LOW 347

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 356 distinct pattern matches across 3 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 Block347 hits · 243 pts
SeverityFileLineSnippetContext
LOWcustomext/dummy_rocc_test.c1// The following is a RISC-V program to test the functionality of theCOMMENT
LOWsoftfloat/specialize.h1// See LICENSE for license details.COMMENT
LOWsoftfloat/specialize.h21*----------------------------------------------------------------------------*/COMMENT
LOWsoftfloat/softfloat.h1// See LICENSE for license details.COMMENT
LOWsoftfloat/platform.h1// See LICENSE for license details.COMMENT
LOWfdt/libfdt_env.h1/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */COMMENT
LOWfdt/fdt.h61#define FDT_V2_SIZE (FDT_V1_SIZE + sizeof(fdt32_t))COMMENT
LOWfesvr/htif.h1// See LICENSE for license details.COMMENT
LOWfesvr/context.h1#ifndef _HTIF_CONTEXT_HCOMMENT
LOWfesvr/elf.h1// See LICENSE for details.COMMENT
LOWfesvr/tsi.h1#ifndef __SAI_HCOMMENT
LOWfesvr/dtm.h1#ifndef _ROCKET_DTM_HCOMMENT
LOWscripts/vcs-version.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/vcs-version.sh21# where X is the major release, Y is the minor release, Z is the numberCOMMENT
LOWarch_test_target/spike/model_test.h41//RVTEST_IO_WRITE_STRCOMMENT
LOWriscv/zvkned_ext_macros.h1// Helper macros to help implement instructions defined as part ofCOMMENT
LOWriscv/zvkned_ext_macros.h201 (STATE)[ 3] = (STATE)[ 7]; \COMMENT
LOWriscv/devices.h1#ifndef _RISCV_DEVICES_HCOMMENT
LOWriscv/vector_unit.h121 if (is_write)COMMENT
LOWriscv/v_ext_macros.h1// See LICENSE for license details.COMMENT
LOWriscv/imsic.h1// See LICENSE for license details.COMMENT
LOWriscv/entropy_source.h21 static const uint32_t OPST_ES16 = 0x2 << 30;COMMENT
LOWriscv/decode_macros.h1// See LICENSE for license details.COMMENT
LOWriscv/decode_macros.h61 }COMMENT
LOWriscv/decode_macros.h81#define RVC_FRS2S READ_FREG(insn.rvc_rs2s())COMMENT
LOWriscv/decode_macros.h101// Zilsd macrosCOMMENT
LOWriscv/decode_macros.h121#define FRS1_D READ_FREG_D(insn.rs1())COMMENT
LOWriscv/decode_macros.h161 COMMENT
LOWriscv/decode_macros.h321COMMENT
LOWriscv/processor.h1// See LICENSE for license details.COMMENT
LOWriscv/zvksh_ext_macros.h1// Helper macros and functions to help implement instructions defined as part ofCOMMENT
LOWriscv/zvksh_ext_macros.h41#define T2 0x7A879D8ACOMMENT
LOWriscv/debug_rom_defines.h1// See LICENSE file for license details.COMMENT
LOWriscv/debug_rom_defines.h21#define DEBUG_ROM_FLAG_GO 0COMMENT
LOWriscv/encoding.h21#define MSTATUS_UIE _RISCV_UL(0x00000001)COMMENT
LOWriscv/encoding.h41#define MSTATUS_SDT _RISCV_UL(0x01000000)COMMENT
LOWriscv/encoding.h61#define SSTATUS_SIE _RISCV_UL(0x00000002)COMMENT
LOWriscv/encoding.h81#define HSTATUS_SPVP _RISCV_UL(0x00000100)COMMENT
LOWriscv/encoding.h101#define DCSR_CETRIG (1<<19)COMMENT
LOWriscv/encoding.h121#define DCSR_CAUSE_DEBUGINT 3COMMENT
LOWriscv/encoding.h141#define MCONTROL_U (1<<3)COMMENT
LOWriscv/encoding.h161COMMENT
LOWriscv/encoding.h181#define MIP_HS_MASK (MIP_VS_MASK | MIP_SGEIP)COMMENT
LOWriscv/encoding.h201#define MENVCFG_CBIE _RISCV_UL(0x00000030)COMMENT
LOWriscv/encoding.h221#define MSTATEEN0_PRIV114 _RISCV_ULL(0x0080000000000000)COMMENT
LOWriscv/encoding.h241#define MHPMEVENT_VSINH _RISCV_ULL(0x0800000000000000)COMMENT
LOWriscv/encoding.h261COMMENT
LOWriscv/encoding.h281COMMENT
LOWriscv/encoding.h301#define SISELECT_IMSIC _RISCV_UL(0x70)COMMENT
LOWriscv/encoding.h321#define HSTATEEN0H_AIA _RISCV_UL(0x08000000)COMMENT
LOWriscv/encoding.h341#define MSECCFG_RLB _RISCV_UL(0x00000004)COMMENT
LOWriscv/encoding.h361#define PRV_S 1COMMENT
LOWriscv/encoding.h381#define HGATP32_VMID _RISCV_UL(0x1FC00000)COMMENT
LOWriscv/encoding.h401COMMENT
LOWriscv/encoding.h421#define MCTRCTL_TRETINH _RISCV_ULL(0x0000000800000000)COMMENT
LOWriscv/encoding.h441#define SCTRCTL_INTRINH _RISCV_ULL(0x0000000400000000)COMMENT
LOWriscv/encoding.h461#define VSCTRCTL_INTRINH _RISCV_ULL(0x0000000400000000)COMMENT
LOWriscv/encoding.h481COMMENT
LOWriscv/encoding.h501#define IRQ_S_EXT 9COMMENT
LOWriscv/encoding.h521#define PTE_RSVD _RISCV_ULL(0x07C0000000000000) /* Reserved for future standard use */COMMENT
287 more matches not shown…
Decorative Section Separators8 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMscripts/vcs-version.sh2#=========================================================================COMMENT
MEDIUMscripts/vcs-version.sh4#=========================================================================COMMENT
MEDIUMscripts/vcs-version.sh48#-------------------------------------------------------------------------COMMENT
MEDIUMscripts/vcs-version.sh50#-------------------------------------------------------------------------COMMENT
MEDIUMscripts/vcs-version.sh66#-------------------------------------------------------------------------COMMENT
MEDIUMscripts/vcs-version.sh68#-------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/vcs-version.sh84#-------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/vcs-version.sh86#-------------------------------------------------------------------------COMMENT
Self-Referential Comments1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM⚡scripts/vcs-version.sh85# Create the version stringCOMMENT