AI Slop Code Risk Monitor

liuliu/ccv

SlopCodeMonitor badge for liuliu/ccv Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for liuliu/ccv, a C++ project with 7,251 GitHub stars. SynthScan examined 796,253 lines of code across 1996 source files, recording 972 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.

1.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.3K
Stars
C++
Language
796.3K
Lines of Code
2.0K
Files
972
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 5.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 6.0/100 · LOW

Which changes need focused human review? 972 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 8LOW 964

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 972 distinct pattern matches across 10 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 Block864 hits · 860 pts
SeverityFileLineSnippetContext
LOWtest/case.h1#ifndef _GUARD_case_h_COMMENT
LOWtest/case.h41 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHERCOMMENT
LOWtest/unit/nnc/dynamic.graph.tests.c801 // 10, 11COMMENT
LOWtest/int/nnc/cudnn.tests.c1#include "case.h"COMMENT
LOWtest/int/nnc/moe_weights_streaming.tests.c1#include "case.h"COMMENT
LOWtest/int/nnc/mps.thread.tests.c1#include "case.h"COMMENT
LOWtest/int/nnc/mpsblas.tests.c1#include "case.h"COMMENT
LOWtest/int/nnc/mpsdnn.tests.c1#include "case.h"COMMENT
LOWtest/int/nnc/tensor.tests.c1#include "ccv.h"COMMENT
LOWtest/int/nnc/packed_expert_addressing.tests.c1#include "case.h"COMMENT
LOWtest/int/nnc/scaled_dot_product_arg_partition.tests.c1#include "case.h"COMMENT
LOWbin/dpmvldtr.rb1#!/usr/bin/env rubyCOMMENT
LOWbin/tld.c1#include <ccv.h>COMMENT
LOWbin/nnc/square_attention_test.cpp1extern "C" {COMMENT
LOWbin/nnc/ane_quant_fusion_probe.cpp1// Compare the original two-dispatch ANE preparation with fused candidates.COMMENT
LOWbin/nnc/gemm_kernel_gen.cpp1extern "C" {COMMENT
LOWbin/nnc/laplacian_test.cpp1extern "C" {COMMENT
LOWbin/nnc/laplacian_test.cpp141 NS::SharedPtr<MTL::Buffer> bufferC = NS::TransferPtr(device->newBuffer(C, descriptor.memoryPrecisions.C.size() * problCOMMENT
LOWbin/nnc/laplacian_test.cpp161 // problemSize = 1489 | A B | 768 threads/core | 7902 GFLOPSCOMMENT
LOWbin/nnc/laplacian_test.cpp181 // problemSize = 1488 | A^T B^T | 1024 threads/core | 9024 GFLOPSCOMMENT
LOWbin/nnc/laplacian_test.cpp201 // problemSize = 1488 | A^T B^T | 1024 threads/core | 3289 GFLOPSCOMMENT
LOWbin/nnc/attention_kernel_gen.cpp1extern "C" {COMMENT
LOWbin/nnc/attention_kernel_gen.cpp81 // L | 2e-5 | 7e-3 (FP16) |COMMENT
LOWbin/nnc/attention_kernel_gen.cpp101 // | Maximum | +0.2% | +4.4% | +5.6% |COMMENT
LOWbin/nnc/attention_kernel_gen.cpp121 // | Minimum | -1.9% | -1.5% | -1.5% |COMMENT
LOWbin/nnc/attention_kernel_gen.cpp141 //COMMENT
LOWbin/nnc/attention_kernel_gen.cpp161 // was without utilizing the native hardware instructions for BF16 toCOMMENT
LOWbin/nnc/attention_kernel_gen.cpp241 // throughput. S = Q * K is the only place where it can be employedCOMMENT
LOWbin/nnc/rowwise_int8_gemm_bench.c1#include <ccv.h>COMMENT
LOWbin/nnc/ane_hadamard_bench.c1#include <ccv.h>COMMENT
LOWbin/nnc/opt/conv-opt.c1#include <ccv.h>COMMENT
LOWbin/nnc/opt/auto-tune-conv.c1#include <ccv.h>COMMENT
LOWbin/nnc/opt/conv-gemm.c1#include <ccv.h>COMMENT
LOWbin/nnc/cudnn/conv-cudnn-forw.c1#include <ccv.h>COMMENT
LOWbin/nnc/cudnn/conv-cudnn-back.c1#include <ccv.h>COMMENT
LOWbin/mfa/hyper_connection_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/walsh_hadamard_transform_bench.mm1#include <algorithm>COMMENT
LOWbin/mfa/gated_delta_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/sdpa_backward_compare_bench.mm1#include <algorithm>COMMENT
LOWbin/mfa/na_int8_attention_float_pv_bench.cpp1// Three-way forward prototype: INT8 PV, floating PV with INT8 QK, NAAttention.COMMENT
LOWbin/mfa/na_attention_decode1_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/na_int8_attention_kcenter_replay.cpp1// Replay original FP16 Q/K snapshots through the production centered quantizers.COMMENT
LOWbin/mfa/na_int8_v_mean_bench.cpp1// Compare the production V-mean pipeline with the previous single-pass reduction.COMMENT
LOWbin/mfa/na_attention_backward_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/conv3d_layout_scaffold.cpp1#include <algorithm>COMMENT
LOWbin/mfa/moe_routing_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/na_int8_rowwise_x_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/na_int8_rowwise_x_bench.cpp21}COMMENT
LOWbin/mfa/na_sparse_indexed_attention_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/transpose_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/int8_matmul_tile_bench.cpp1// Tile sweep for the dense Int8MatMul without neural accelerators (Apple9:COMMENT
LOWbin/mfa/int8_matmul_tile_bench.cpp21#include <cstdint>COMMENT
LOWbin/mfa/int8_matmul_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/index_select_bench.cpp1#include <algorithm>COMMENT
LOWbin/mfa/attention_backward_compare_probe.cpp1#include <algorithm>COMMENT
LOWbin/mfa/dump_na_attention_source.cpp1#include <cmath>COMMENT
LOWbin/mfa/dynamic_m_bench.cpp1// Build: make dynamic_m_bench. Reports median GPU time including activation quantization.COMMENT
LOWbin/mfa/na_int8_attention_forward_bench.cpp1// GPU timings through the production INT8 attention dispatcher, including Q/K/V quantization.COMMENT
LOWbin/mfa/na_int8_matmul_forward_bench.cpp1// GPU timings through the shipping INT8 GEMM dispatcher, including activation quantization.COMMENT
LOWbin/mfa/attention_r1_bench.cpp1// Production decode timing, randomized CPU validation, and optional stage profiling.COMMENT
804 more matches not shown…
Unused Imports76 hits · 76 pts
SeverityFileLineSnippetContext
LOWtest/unit/.ycm_extra_conf.py2CODE
LOWtest/unit/.ycm_extra_conf.py3CODE
LOWtest/int/.ycm_extra_conf.py2CODE
LOWtest/int/.ycm_extra_conf.py3CODE
LOWbin/.ycm_extra_conf.py2CODE
LOWbin/.ycm_extra_conf.py3CODE
LOWbin/nnc/.ycm_extra_conf.py2CODE
LOWbin/nnc/.ycm_extra_conf.py3CODE
LOWbin/nnc/cudnn/.ycm_extra_conf.py2CODE
LOWbin/nnc/cudnn/.ycm_extra_conf.py3CODE
LOWlib/.ycm_extra_conf.py1CODE
LOWlib/.ycm_extra_conf.py2CODE
LOWlib/.ycm_extra_conf.py3CODE
LOWlib/nnc/.ycm_extra_conf.py2CODE
LOWlib/nnc/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/gelu/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/gelu/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/upsample/mps/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/upsample/mps/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/blas/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/blas/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/blas/mps/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/blas/mps/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/util/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/util/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/loss/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/loss/gpu/.ycm_extra_conf.py3CODE
LOW…md/scaled_dot_product_attention/gpu/.ycm_extra_conf.py2CODE
LOW…md/scaled_dot_product_attention/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/ew/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/ew/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/ew/mps/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/ew/mps/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/softmax_loss/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/softmax_loss/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/comm/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/comm/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/norm/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/norm/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/tanh/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/tanh/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/sgd/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/sgd/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/dropout/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/dropout/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/compression/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/compression/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/softmax/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/softmax/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/sigmoid/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/sigmoid/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/index/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/index/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/index/mps/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/index/mps/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/sigmoid_loss/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/sigmoid_loss/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/rand/gpu/.ycm_extra_conf.py2CODE
LOWlib/nnc/cmd/rand/gpu/.ycm_extra_conf.py3CODE
LOWlib/nnc/cmd/convolution/gpu/.ycm_extra_conf.py2CODE
16 more matches not shown…
AI Slop Vocabulary6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMlib/ccv.h2162// approach can generate more robust feature due to the overfittingCOMMENT
MEDIUMlib/nnc/ccv_nnc_symbolic_graph_compile.c211 // to fully utilize memory.COMMENT
MEDIUMlib/nnc/ccv_nnc_micro_simplify.c233 // Essentially, we don't need to move statements, loop-carried variables, just the loop id and the start / end index.COMMENT
MEDIUM…ss/include/cutlass/gemm/kernel/tile_scheduler_params.h773 // the problem can leverage a basic split-K decomposition for the stream-K tiles.COMMENT
MEDIUMlib/nnc/mfa/kernels/GEMMDescriptor.cpp190 // Definitely NOT a global flag that forces all matrices to change fromCOMMENT
MEDIUMsite/0.6/doc/doc-convnet/index.html111<p>See <a href="http://www.image-net.org/challenges/LSVRC/2013/results.php#cls">http://www.image-net.org/challenges/LSVRCODE
Verbosity Indicators10 hits · 16 pts
SeverityFileLineSnippetContext
LOWlib/nnc/ccv_cnnp_model_addons.c499 // Otherwise, we need to check if it is permute. For permute, we cannot do alias directly.COMMENT
LOWlib/nnc/ccv_cnnp_model_addons.c634 // Otherwise, we need to check if it is permute. For permute, we cannot do alias directly.COMMENT
LOWlib/nnc/ccv_cnnp_model_addons.c644 // If the new dim has different nd, or we actually have a stride, we need to check if it is no permute or not.COMMENT
LOW…/cutlass/epilogue/threadblock/fusion/visitor_store.hpp561 // Step 1: reduce fragment input (Src) into tRS_rSrcCOMMENT
LOW…/cutlass/epilogue/threadblock/fusion/visitor_store.hpp572 // Step 2: copy the partial results in tRS_rSrc to sRows in shared memoryCOMMENT
LOW…/cutlass/epilogue/threadblock/fusion/visitor_store.hpp584 // Step 3: copy the partial results in sRows to tSR_sRow for reductionCOMMENT
LOW…/cutlass/epilogue/threadblock/fusion/visitor_store.hpp598 // Step 4: atomically reduce the results to global memoryCOMMENT
LOW…/cutlass/transform/collective/sm90_wgmma_transpose.hpp341 /// Step 0: Step 1:COMMENT
LOW⚡…/cutlass/transform/collective/sm90_wgmma_transpose.hpp559 /// Step 0: Step 1: Step 2: Step 3:COMMENT
LOW⚡…/cutlass/transform/collective/sm90_wgmma_transpose.hpp569 /// Step 4: Step 5: Step 6: Step 7:COMMENT
Structural Annotation Overuse7 hits · 12 pts
SeverityFileLineSnippetContext
LOW…/cutlass/epilogue/threadblock/fusion/visitor_store.hpp561 // Step 1: reduce fragment input (Src) into tRS_rSrcCOMMENT
LOW…/cutlass/epilogue/threadblock/fusion/visitor_store.hpp572 // Step 2: copy the partial results in tRS_rSrc to sRows in shared memoryCOMMENT
LOW…/cutlass/epilogue/threadblock/fusion/visitor_store.hpp584 // Step 3: copy the partial results in sRows to tSR_sRow for reductionCOMMENT
LOW…/cutlass/epilogue/threadblock/fusion/visitor_store.hpp598 // Step 4: atomically reduce the results to global memoryCOMMENT
LOW…/cutlass/transform/collective/sm90_wgmma_transpose.hpp341 /// Step 0: Step 1:COMMENT
LOW⚡…/cutlass/transform/collective/sm90_wgmma_transpose.hpp559 /// Step 0: Step 1: Step 2: Step 3:COMMENT
LOW⚡…/cutlass/transform/collective/sm90_wgmma_transpose.hpp569 /// Step 4: Step 5: Step 6: Step 7:COMMENT
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippetContext
LOWbin/mfa/analyze_krea_qk.py28CODE
LOWbin/mfa/analyze_krea_qk.py134CODE
LOWbin/mfa/analyze_krea_qk.py219CODE
LOWbin/mfa/attention_r1_sweep.py27CODE
LOW…marks/na-int8-quantize-pv-bank-20261010/launch_ipad.py13CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMlib/nnc/gpu/3rdparty/flash_attn/src/generate_kernels.py3# This file is run to generate the kernel instantiations for the flash_attn kernelsCOMMENT
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMlib/nnc/mfa/packager.py50 print("Error: File not found or could not be read.")CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsite/_plugins/debug.rb2# Usage:COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…s/na-int8-quantize-pv-bank-20261010/check_crossover.py31CODE