AI Slop Code Risk Monitor

google/XNNPACK

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

High-efficiency floating-point neural network inference operators for mobile, server, and Web

4.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for google/XNNPACK, a C project with 2,488 GitHub stars. SynthScan examined 2,633,800 lines of code across 9964 source files, recording 10684 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 4.1 (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.

4.1
Adjusted Signal
4.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
2.5K
Stars
C
Language
2.6M
Lines of Code
10.0K
Files
10.7K
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 18.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.5/100 · LOW

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

PR Review Velocity Impact 18.8/100 · LOW

Which changes need focused human review? 10684 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 49MEDIUM 7LOW 10628

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 10684 distinct pattern matches across 17 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 Block10490 hits · 10320 pts
SeverityFileLineSnippetContext
LOWbench/utils.h1// Copyright 2019-2025 Google LLCCOMMENT
LOWbench/gemm.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWbench/dconv.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWbench/f16-gemm-minmax.c1// clang-format offCOMMENT
LOWbench/packw-benchmark.h1// Copyright 2023-2025 Google LLCCOMMENT
LOWbench/dwconv.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWbench/packq-benchmark.h1// Copyright 2023 Google LLCCOMMENT
LOWbench/gemm-benchmark.h1// Copyright 2023 Google LLCCOMMENT
LOWbench/conv.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWbench/subgraph/simple_scheduler.h1// Copyright 2025 Google LLCCOMMENT
LOWtools/generate-ibilinear-test.py281 raise ValueError("expected a list of micro-kernels in the spec")COMMENT
LOWtools/generate-reduce-discontiguous-test.py441// Copyright 2024 Google LLCCOMMENT
LOWtools/generate-argmaxpool-test.py661// This source code is licensed under the BSD-style license found in theCOMMENT
LOWtools/generate-vunary-test.py281COMMENT
LOWtools/generate-conv-hwc-test.py481 with codecs.open(options.spec, "r", encoding="utf-8") as spec_file:COMMENT
LOWtools/generate-ibilinear-chw-test.py201 with codecs.open(options.spec, "r", encoding="utf-8") as spec_file:COMMENT
LOWtools/generate-reduce-test.py241 }[options.tester]COMMENT
LOWtools/generate-dwconv-test.py261// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWtools/generate-gemm-test.py1001// All rights reserved.COMMENT
LOWtools/generate-gemm-test.py1021{xnnpack_gemm_header}COMMENT
LOWtools/generate-gemm-test.py1041// This source code is licensed under the BSD-style license found in theCOMMENT
LOWtest/maxpool-microkernel-tester.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWtest/conv-hwc2chw-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/unary-ops.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/unary-ops.h21#include "src/xnnpack/common.h"COMMENT
LOWtest/unpool-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/lut-microkernel-tester.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWtest/conv-hwc-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/vcmul-microkernel-tester.h1// Copyright 2023 Google LLCCOMMENT
LOWtest/f16-conv-hwc2chw.yaml1# Copyright 2023 Google LLCCOMMENT
LOWtest/packq-microkernel-tester.h1// Copyright 2024 Google LLCCOMMENT
LOWtest/replicable_random_device.h1// Copyright 2024 Google LLCCOMMENT
LOWtest/dwconv-microkernel-tester.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWtest/dwconv2d-microkernel-tester.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWtest/vunary-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/vunary-microkernel-tester.h21COMMENT
LOWtest/raddstoreexpminusmax-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/ibilinear-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/packw-microkernel-tester.h1// Copyright 2022 Google LLCCOMMENT
LOWtest/pack-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/vmulcaddc-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/packb-microkernel-tester.h1// Copyright 2022 Google LLCCOMMENT
LOWtest/argmaxpool-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/raddexpminusmax-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/f32-argmaxpool.yaml1# Copyright 2019 Google LLCCOMMENT
LOWtest/gemm-microkernel-tester.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWtest/vbinary-microkernel-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/operators/transpose-normalization-tester.h1// Copyright 2022 Google LLCCOMMENT
LOWtest/operators/resize-bilinear-operator-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/operators/max-pooling-operator-tester.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWtest/operators/slice-normalization-tester.h1// Copyright 2022 Google LLCCOMMENT
LOWtest/operators/unpooling-operator-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/operators/transpose-operator-tester.h1// Copyright 2022 Google LLCCOMMENT
LOWtest/operators/slice-operator-tester.h1// Copyright 2022 Google LLCCOMMENT
LOWtest/operators/depth-to-space-operator-tester.h1// Copyright 2020 Google LLCCOMMENT
LOWtest/operators/argmax-pooling-operator-tester.h1// Copyright 2019 Google LLCCOMMENT
LOWtest/operators/rope-operator-tester.h1// Copyright 2023 Google LLCCOMMENT
LOWtest/operators/fully-connected-operator-tester.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWtest/operators/fully-connected-operator-tester.h21#include <memory>COMMENT
LOWtest/operators/deconvolution-operator-tester.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
10430 more matches not shown…
Cross-File Repetition41 hits · 205 pts
SeverityFileLineSnippetContext
HIGHtools/generate-dwconv2d-chw-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-raddstoreexpminusmax-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-ibilinear-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-raddexpminusmax-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-reduce-discontiguous-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-argmaxpool-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-conv-hwc2chw-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-conv-hwc-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-ibilinear-chw-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-reduce-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHtools/generate-lut-test.py0\ // clang-format off // copyright 2021 google llc // // this source code is licensed under the bsd-style license found STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int4_int32.py0int32x4_t c_{i}_{j+0} = vdupq_n_s32(0); int32x4_t c_{i}_{j+2} = vdupq_n_s32(0);STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int2_int32.py0int32x4_t c_{i}_{j+0} = vdupq_n_s32(0); int32x4_t c_{i}_{j+2} = vdupq_n_s32(0);STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int8_int32.py0int32x4_t c_{i}_{j+0} = vdupq_n_s32(0); int32x4_t c_{i}_{j+2} = vdupq_n_s32(0);STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int4_int32.py0c_{i}_{j+0} = vmmlaq_s32(c_{i}_{j+0}, a_{i}_{k}, b_{k}_{j+0}); c_{i}_{j+2} = vmmlaq_s32(c_{i}_{j+2}, a_{i}_{k}, b_{k}_{jSTRING
HIGHynnpack/kernels/dot/generator/arm_int8_int2_int32.py0c_{i}_{j+0} = vmmlaq_s32(c_{i}_{j+0}, a_{i}_{k}, b_{k}_{j+0}); c_{i}_{j+2} = vmmlaq_s32(c_{i}_{j+2}, a_{i}_{k}, b_{k}_{jSTRING
HIGHynnpack/kernels/dot/generator/arm_int8_int8_int32.py0c_{i}_{j+0} = vmmlaq_s32(c_{i}_{j+0}, a_{i}_{k}, b_{k}_{j+0}); c_{i}_{j+2} = vmmlaq_s32(c_{i}_{j+2}, a_{i}_{k}, b_{k}_{jSTRING
HIGHynnpack/kernels/dot/generator/arm_int8_int4_int32.py0c_{i+0}_{j} = vaddq_s32(c_{i+0}_{j}, vld1q_s32({self.c_in_ptr(i+0, j)})); c_{i+1}_{j} = vaddq_s32(c_{i+1}_{j}, vld1q_s32STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int2_int32.py0c_{i+0}_{j} = vaddq_s32(c_{i+0}_{j}, vld1q_s32({self.c_in_ptr(i+0, j)})); c_{i+1}_{j} = vaddq_s32(c_{i+1}_{j}, vld1q_s32STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int8_int32.py0c_{i+0}_{j} = vaddq_s32(c_{i+0}_{j}, vld1q_s32({self.c_in_ptr(i+0, j)})); c_{i+1}_{j} = vaddq_s32(c_{i+1}_{j}, vld1q_s32STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int4_int32.py0vst1q_s32({self.c_out_ptr(i+1, j)}, c_{i+1}_{j}); vst1q_s32({self.c_out_ptr(i+0, j)}, c_{i+0}_{j});STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int2_int32.py0vst1q_s32({self.c_out_ptr(i+1, j)}, c_{i+1}_{j}); vst1q_s32({self.c_out_ptr(i+0, j)}, c_{i+0}_{j});STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int8_int32.py0vst1q_s32({self.c_out_ptr(i+1, j)}, c_{i+1}_{j}); vst1q_s32({self.c_out_ptr(i+0, j)}, c_{i+0}_{j});STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int4_int32.py0int32x4_t c_{i+1}_{j} = vcombine_s32(vget_high_s32({c0}), vget_high_s32({c2})); c_{i+0}_{j} = vcombine_s32(vget_low_s32(STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int2_int32.py0int32x4_t c_{i+1}_{j} = vcombine_s32(vget_high_s32({c0}), vget_high_s32({c2})); c_{i+0}_{j} = vcombine_s32(vget_low_s32(STRING
HIGHynnpack/kernels/dot/generator/arm_int8_int8_int32.py0int32x4_t c_{i+1}_{j} = vcombine_s32(vget_high_s32({c0}), vget_high_s32({c2})); c_{i+0}_{j} = vcombine_s32(vget_low_s32(STRING
HIGHynnpack/kernels/dot/generator/x86_fp32_k4.py0specializations for fp32 x86 dot kernel generators.STRING
HIGHynnpack/kernels/dot/generator/x86_fp32.py0specializations for fp32 x86 dot kernel generators.STRING
HIGHynnpack/kernels/dot/generator/x86_fp32_k2.py0specializations for fp32 x86 dot kernel generators.STRING
HIGHynnpack/kernels/dot/generator/arm_bf16_bf16_fp32.py0specializations for fp32 arm dot kernel generators.STRING
HIGHynnpack/kernels/dot/generator/arm_fp32.py0specializations for fp32 arm dot kernel generators.STRING
HIGHynnpack/kernels/dot/generator/arm_bf16_bf16_fp32_k2.py0specializations for fp32 arm dot kernel generators.STRING
HIGH…npack/kernels/dot/generator/x86_int8_int8_int32_k16.py0specializations for int8 x86 dot kernel generators.STRING
HIGHynnpack/kernels/dot/generator/x86_int8_int8_int32.py0specializations for int8 x86 dot kernel generators.STRING
HIGHynnpack/kernels/dot/generator/x86_int8_int8_int32_k1.py0specializations for int8 x86 dot kernel generators.STRING
HIGH…npack/kernels/dot/generator/x86_int8_int8_int32_k16.py0namespace { ynn_intrinsic __m512i _mm512_hadd_epi32(__m512i a, __m512i b) { a = _mm512_add_epi32(a, _mm512_shuffle_epi32STRING
HIGH…pack/kernels/dot/generator/x86_uint8_int8_int32_k16.py0namespace { ynn_intrinsic __m512i _mm512_hadd_epi32(__m512i a, __m512i b) { a = _mm512_add_epi32(a, _mm512_shuffle_epi32STRING
HIGHynnpack/kernels/dot/generator/x86_uint8_int4_int32.py0namespace { ynn_intrinsic __m512i _mm512_hadd_epi32(__m512i a, __m512i b) { a = _mm512_add_epi32(a, _mm512_shuffle_epi32STRING
HIGHynnpack/kernels/dot/generator/arm.py0base class for x86 dot kernel generators. handles accumulating c tiles to the output.STRING
HIGHynnpack/kernels/dot/generator/wasm.py0base class for x86 dot kernel generators. handles accumulating c tiles to the output.STRING
HIGHynnpack/kernels/dot/generator/x86.py0base class for x86 dot kernel generators. handles accumulating c tiles to the output.STRING
Unused Imports56 hits · 56 pts
SeverityFileLineSnippetContext
LOWtools/generate-raddstoreexpminusmax-test.py9CODE
LOWtools/generate-raddexpminusmax-test.py9CODE
LOWtools/generate-vbinary-test.py8CODE
LOWtools/generate-vbinary-test.py9CODE
LOWtools/generate-vbinary-test.py11CODE
LOWtools/generate-vbinary-test.py13CODE
LOWtools/generate-reduce-discontiguous-test.py9CODE
LOWtools/xngen.py11CODE
LOWtools/generate-argmaxpool-test.py9CODE
LOWtools/generate-reduce-test.py9CODE
LOWtools/generate-lut-test.py9CODE
LOWgemm_compiler/generate_f32_gemm_microkernels.py8CODE
LOWgemm_compiler/generate.py8CODE
LOWscripts/generate-build-identifier.py13CODE
LOWscripts/generate-build-identifier.py14CODE
LOWynnpack/kernels/ternary/convert.py4CODE
LOWynnpack/kernels/ternary/generator.py14CODE
LOWynnpack/kernels/ternary/generator.py15CODE
LOWynnpack/kernels/ternary/kernels.py5CODE
LOWynnpack/kernels/unary/tanh.py10CODE
LOWynnpack/kernels/unary/trig.py15CODE
LOWynnpack/kernels/unary/log.py5CODE
LOWynnpack/kernels/unary/convert.py4CODE
LOWynnpack/kernels/unary/erf.py5CODE
LOWynnpack/kernels/unary/generator.py14CODE
LOWynnpack/kernels/unary/generator.py15CODE
LOWynnpack/kernels/unary/generator.py16CODE
LOWynnpack/kernels/unary/generator.py17CODE
LOWynnpack/kernels/unary/generator.py18CODE
LOWynnpack/kernels/unary/generator.py19CODE
LOWynnpack/kernels/unary/generator.py20CODE
LOWynnpack/kernels/unary/generator.py21CODE
LOWynnpack/kernels/unary/kernels.py3CODE
LOWynnpack/kernels/unary/kernels.py7CODE
LOWynnpack/kernels/unary/sigmoid.py5CODE
LOWynnpack/kernels/unary/exp.py5CODE
LOWynnpack/kernels/elementwise/hexagon.py4CODE
LOWynnpack/kernels/elementwise/hexagon.py5CODE
LOWynnpack/kernels/elementwise/compiler_test.py4CODE
LOWynnpack/kernels/elementwise/compiler.py11CODE
LOWynnpack/kernels/elementwise/rules.py4CODE
LOWynnpack/kernels/elementwise/arm.py4CODE
LOWynnpack/kernels/elementwise/arm.py5CODE
LOWynnpack/kernels/elementwise/generator.py7CODE
LOWynnpack/kernels/elementwise/generator.py8CODE
LOWynnpack/kernels/elementwise/generator.py9CODE
LOWynnpack/kernels/elementwise/generator.py10CODE
LOWynnpack/kernels/elementwise/wasm.py4CODE
LOWynnpack/kernels/elementwise/wasm.py5CODE
LOWynnpack/kernels/elementwise/x86.py4CODE
LOWynnpack/kernels/elementwise/x86.py5CODE
LOWynnpack/kernels/binary/generator.py13CODE
LOWynnpack/kernels/binary/kernels.py5CODE
LOWynnpack/base/simd/rational_approximation.py196CODE
LOWynnpack/base/simd/rational_approximation.py216CODE
LOWynnpack/base/simd/rational_approximation.py235CODE
Cross-Language Confusion5 hits · 32 pts
SeverityFileLineSnippetContext
HIGH⚡tools/xnncommon.py50 "neondotfp16arith": "XNN_ENABLE_ARM_DOTPROD && XNN_ENABLE_ARM_FP16_VECTOR",CODE
HIGH⚡tools/xnncommon.py52 "neoni8mmbf16": "XNN_ENABLE_ARM_I8MM && XNN_ENABLE_ARM_BF16",CODE
HIGH⚡tools/xnncommon.py56 "sme2": "XNN_ENABLE_ARM_SME2 && XNN_ENABLE_ARM_SME_ACLE",CODE
HIGHynnpack/kernels/dot/generator/dot_base.py169 assert(B_stride_k1 % {self.b_tile_stride_k()} == 0 || K1 == 1);CODE
HIGHynnpack/kernels/elementwise/compiler.py1652 f"stride_{b.name}_n == 0 || stride_{b.name}_n == {b.ty.size // 8}"CODE
Deep Nesting30 hits · 30 pts
SeverityFileLineSnippetContext
LOWtools/xngen.py69CODE
LOWtools/parse-microkernel-bench.py55CODE
LOWtools/parse-microkernel-bench.py93CODE
LOWtools/xnncommon.py191CODE
LOWtools/update-microkernels.py172CODE
LOWtools/generate-gemm-test.py751CODE
LOWtools/generate-gemm-test.py973CODE
LOWgemm_compiler/x64_template.py469CODE
LOWgemm_compiler/aarch32_template.py114CODE
LOWscripts/check_files_changed.py8CODE
LOWscripts/check_config.py29CODE
LOWscripts/sort-filenames.py22CODE
LOWynnpack/kernels/dot/cost_model/fit_cost_models.py40CODE
LOWynnpack/kernels/dot/cost_model/fit_cost_models.py137CODE
LOWynnpack/kernels/dot/cost_model/fit_cost_models.py184CODE
LOWynnpack/kernels/dot/cost_model/fit_cost_models.py462CODE
LOWynnpack/kernels/dot/cost_model/fit_cost_models.py483CODE
LOWynnpack/kernels/dot/generator/arm.py98CODE
LOWynnpack/kernels/dot/generator/wasm.py98CODE
LOWynnpack/kernels/dot/generator/dot_base.py295CODE
LOWynnpack/kernels/dot/generator/x86.py243CODE
LOWynnpack/kernels/dot/generator/x86.py301CODE
LOWynnpack/kernels/elementwise/compiler.py965CODE
LOWynnpack/kernels/elementwise/compiler.py40CODE
LOWynnpack/kernels/elementwise/compiler.py77CODE
LOWynnpack/kernels/elementwise/compiler.py1138CODE
LOWynnpack/kernels/elementwise/compiler.py1213CODE
LOWynnpack/kernels/elementwise/compiler.py1295CODE
LOWynnpack/kernels/elementwise/compiler.py1441CODE
LOWynnpack/kernels/elementwise/x86.py37CODE
Structural Annotation Overuse12 hits · 24 pts
SeverityFileLineSnippetContext
LOWlitert/tensor/backends/testing/README.md30### Step 1: Implement `TestBackendBridge`COMMENT
LOWlitert/tensor/backends/testing/README.md83### Step 2: Define Backend TraitsCOMMENT
LOWlitert/tensor/backends/testing/README.md97### Step 3: Instantiate the SuiteCOMMENT
LOWlitert/tensor/backends/testing/README.md113### Step 4: Update the BUILD targetCOMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h684 // Step 1: Load A0, B0 -> C00 += A0 * B0COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h689 // Step 2: Load B1 -> C01 += A0 * B1 (reusing A0 in R6)COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h693 // Step 3: Load B2 -> C02 += A0 * B2 (reusing A0 in R6)COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h697 // Step 4: Load A1 -> C12 += A1 * B2 (reusing B2 in R7)COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h701 // Step 5: Reload B0 -> C10 += A1 * B0 (reusing A1 in R6)COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h705 // Step 6: Reload B1 -> C11 += A1 * B1 (reusing A1 in R6)COMMENT
LOW⚡src/subgraph.c748 // Step 1: detect NCHW-compatible NodesCOMMENT
LOW⚡src/subgraph.c749 // Step 2: detect NCHW-compatible clusters (run connected components graphCOMMENT
Hyper-Verbose Identifiers21 hits · 20 pts
SeverityFileLineSnippetContext
LOWtools/xngen.py46def extract_leading_whitespace(line):CODE
LOWtools/xnncommon.py15def _remove_duplicate_newlines(text):CODE
LOWtools/update-microkernels.py119def _extract_microkernels_from_file(args):CODE
LOWtools/update-microkernels.py150def write_grouped_microkernels_bzl(file, key, microkernels, prefix, suffix):CODE
LOWtools/update-microkernels.py161def write_grouped_microkernels_cmake(file, key, microkernels, prefix, suffix):CODE
LOWtools/update-microkernels.py487def non_prod_asm_srcs_for_arch(arch):STRING
LOWgemm_compiler/x64_template.py203 def quantization_params_offset(self):CODE
LOWgemm_compiler/x64_template.py212 def input_output_register_setup(self):CODE
LOWgemm_compiler/base_architecture.py193 def input_output_register_setup(self):CODE
LOWgemm_compiler/arm_template.py29 def input_output_register_setup(self):CODE
LOWgemm_compiler/generate.py13def generate_gemm_microkernel(CODE
LOWgemm_compiler/aarch32_template.py169 def extend_inputs_and_weights(self):CODE
LOWgemm_compiler/neonmlal_aarch32_template.py79 def quantization_params_register(self):CODE
LOWgemm_compiler/neondot_template.py76 def quantization_params_register(self):CODE
LOWgemm_compiler/avx512vnni_template.py81 def quantization_params_register(self):CODE
LOWgemm_compiler/avx512vnni_template.py149 def quantization_params_offset(self):STRING
LOWgemm_compiler/avx512vnni_template.py399 def quantization_params_offset(self):CODE
LOWynnpack/kernels/dot/generator/dot_base.py602def generate_dot_kernels_impl(CODE
LOWynnpack/kernels/elementwise/compiler.py633def rounding_narrowing_shift_right(x, shift):CODE
LOWynnpack/kernels/elementwise/rules.py23def add_saturating_cast_rules():CODE
LOWynnpack/kernels/elementwise/generator.py33def generate_elementwise_kernels(CODE
Verbosity Indicators8 hits · 18 pts
SeverityFileLineSnippetContext
LOW⚡ynnpack/kernels/dot/x86_amx.h684 // Step 1: Load A0, B0 -> C00 += A0 * B0COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h689 // Step 2: Load B1 -> C01 += A0 * B1 (reusing A0 in R6)COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h693 // Step 3: Load B2 -> C02 += A0 * B2 (reusing A0 in R6)COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h697 // Step 4: Load A1 -> C12 += A1 * B2 (reusing B2 in R7)COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h701 // Step 5: Reload B0 -> C10 += A1 * B0 (reusing A1 in R6)COMMENT
LOW⚡ynnpack/kernels/dot/x86_amx.h705 // Step 6: Reload B1 -> C11 += A1 * B1 (reusing A1 in R6)COMMENT
LOW⚡src/subgraph.c748 // Step 1: detect NCHW-compatible NodesCOMMENT
LOW⚡src/subgraph.c749 // Step 2: detect NCHW-compatible clusters (run connected components graphCOMMENT
AI Slop Vocabulary6 hits · 15 pts
SeverityFileLineSnippetContext
LOWgemm_compiler/avx512vnni_template.py405 # mask register is unused here, just use that one.COMMENT
MEDIUMtest/operators/batch-matrix-multiply-operator-tester.h1260 // equal. For a more nuanced estimate, we could/should compute and apply theCOMMENT
MEDIUMynnpack/kernels/dot/cost_model/fit_cost_models.py320 # harness and function call, while per-block overhead (x1 = num_blocks) andCOMMENT
LOWynnpack/kernels/elementwise/compiler.py1484 # If there is no broadcasting for this b we can just useCOMMENT
MEDIUMynnpack/base/half.h15// known to be at least a robust f16<->f32 conversion, which generally means aCOMMENT
MEDIUMsrc/xnnpack/math.h512// known to be at least a robust f16<->f32 conversion, which generally means aCOMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtools/xngen.py23except ValueError:CODE
HIGHtools/parse-microkernel-bench.py103except Exception:CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHynnpack/kernels/reduce/sum.h205// In this implementation, there are some details to the above:COMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWgemm_compiler/avx512f_template.py384 # Check if channels are odd.COMMENT
LOWgemm_compiler/avx512bf16_template.py66 # Check if channels are odd.COMMENT
LOWynnpack/kernels/elementwise/compiler.py1217 # Check if we already lifted this constant.COMMENT
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/parse-microkernel-bench.py103 except Exception:CODE
MEDIUMtools/generate-gemm-test.py1116 print(f"Error: k_block ({k_block}) must be >= kr * sr ({kr} * {sr}) for kernel {name} in {options.spec}")STRING
LOWscripts/compare-compile-commands.py93 except Exception as e:CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/replicable_random_device.h147// Usage example:COMMENT
LOWynnpack/base/test/fuzz_test.h99// Usage example:COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMscripts/run-gn-tests.py182 # Create the list of tests to run, sharding the long ones.COMMENT
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/operators/fingerprint_id.h76// ├─────┼─────┼─────┼─────┼───────┤COMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…npack/kernels/dot/generator/x86_int8_int8_int32_k16.py60CODE
LOW…pack/kernels/dot/generator/x86_uint8_int8_int32_k16.py56CODE