Repository Analysis

google/XNNPACK

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

4.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of google/XNNPACK, a C project with 2,391 GitHub stars. SynthScan v2.0 examined 2,501,440 lines of code across 9554 source files, recording 10230 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 4.1 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.1
Adjusted Score
4.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.4K
Stars
C
Language
2.5M
Lines of Code
9.6K
Files
10.2K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 46MEDIUM 6LOW 10178

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 10230 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block10058 hits · 9890 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.py241//COMMENT
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.py941// Specification: {specification}COMMENT
LOWtools/generate-gemm-test.py961#include "test/gemm-microkernel-tester.h"COMMENT
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.h21COMMENT
LOWtest/operators/deconvolution-operator-tester.h1// Copyright (c) Facebook, Inc. and its affiliates.COMMENT
LOWtest/operators/deconvolution-operator-tester.h21#include <random>COMMENT
9998 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 int32_t unaligned_load_int8x4(const void* ptr) { int32_t value; memcpy(&value, ptr, sizeof(intSTRING
HIGH…pack/kernels/dot/generator/x86_uint8_int8_int32_k16.py0namespace { ynn_intrinsic int32_t unaligned_load_int8x4(const void* ptr) { int32_t value; memcpy(&value, ptr, sizeof(intSTRING
HIGHynnpack/kernels/dot/generator/x86_int8_int8_int32.py0namespace { ynn_intrinsic int32_t unaligned_load_int8x4(const void* ptr) { int32_t value; memcpy(&value, ptr, sizeof(intSTRING
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 Imports57 hits · 57 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.py7CODE
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.py4CODE
LOWynnpack/kernels/unary/tanh.py10CODE
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/unary/sine_cosine.py14CODE
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.py4CODE
LOWynnpack/base/simd/rational_approximation.py194CODE
LOWynnpack/base/simd/rational_approximation.py213CODE
LOWynnpack/base/simd/rational_approximation.py231CODE
Deep Nesting24 hits · 24 pts
SeverityFileLineSnippetContext
LOWtools/parse-microkernel-bench.py55CODE
LOWtools/parse-microkernel-bench.py93CODE
LOWtools/xnncommon.py181CODE
LOWtools/update-microkernels.py160CODE
LOWtools/generate-gemm-test.py700CODE
LOWtools/generate-gemm-test.py905CODE
LOWgemm_compiler/x64_template.py469CODE
LOWgemm_compiler/aarch32_template.py114CODE
LOWscripts/check_files_changed.py7CODE
LOWscripts/check_config.py29CODE
LOWscripts/sort-filenames.py22CODE
LOWynnpack/kernels/dot/generator/arm.py98CODE
LOWynnpack/kernels/dot/generator/wasm.py98CODE
LOWynnpack/kernels/dot/generator/dot_base.py273CODE
LOWynnpack/kernels/dot/generator/x86.py204CODE
LOWynnpack/kernels/dot/generator/x86.py262CODE
LOWynnpack/kernels/elementwise/compiler.py944CODE
LOWynnpack/kernels/elementwise/compiler.py40CODE
LOWynnpack/kernels/elementwise/compiler.py77CODE
LOWynnpack/kernels/elementwise/compiler.py1114CODE
LOWynnpack/kernels/elementwise/compiler.py1189CODE
LOWynnpack/kernels/elementwise/compiler.py1271CODE
LOWynnpack/kernels/elementwise/compiler.py1417CODE
LOWynnpack/kernels/elementwise/x86.py37CODE
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtools/xnncommon.py50 "neondotfp16arith": "XNN_ENABLE_ARM_DOTPROD && XNN_ENABLE_ARM_FP16_VECTOR",CODE
HIGHtools/xnncommon.py52 "neoni8mmbf16": "XNN_ENABLE_ARM_I8MM && XNN_ENABLE_ARM_BF16",CODE
HIGHynnpack/kernels/dot/generator/dot_base.py148 assert(B_stride_k1 % {self.b_tile_stride_k()} == 0 || K1 == 1);CODE
HIGHynnpack/kernels/elementwise/compiler.py1628 f"stride_{b.name}_n == 0 || stride_{b.name}_n == {b.ty.size // 8}"CODE
Hyper-Verbose Identifiers20 hits · 19 pts
SeverityFileLineSnippetContext
LOWtools/xngen.py46def extract_leading_whitespace(line):CODE
LOWtools/xnncommon.py15def _remove_duplicate_newlines(text):CODE
LOWtools/update-microkernels.py138def write_grouped_microkernels_bzl(file, key, microkernels, prefix, suffix):CODE
LOWtools/update-microkernels.py149def write_grouped_microkernels_cmake(file, key, microkernels, prefix, suffix):CODE
LOWtools/update-microkernels.py465def 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.py552def generate_dot_kernels_impl(CODE
LOWynnpack/kernels/elementwise/compiler.py612def 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
AI Slop Vocabulary6 hits · 14 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
LOWynnpack/kernels/dot/generator/dot_base.py219 # We assume that we can just use load_a_tile.COMMENT
LOWynnpack/kernels/elementwise/compiler.py1460 # 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
Structural Annotation Overuse6 hits · 10 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
LOWsrc/subgraph.c693 // Step 1: detect NCHW-compatible NodesCOMMENT
LOWsrc/subgraph.c694 // Step 2: detect NCHW-compatible clusters (run connected components graphCOMMENT
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.py1193 # Check if we already lifted this constant.COMMENT
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/subgraph.c693 // Step 1: detect NCHW-compatible NodesCOMMENT
LOWsrc/subgraph.c694 // Step 2: detect NCHW-compatible clusters (run connected components graphCOMMENT
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.h75// ├─────┼─────┼─────┼─────┼───────┤COMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/parse-microkernel-bench.py103 except Exception:CODE
MEDIUMtools/generate-gemm-test.py1043 print(f"Error: k_block ({k_block}) must be >= kr * sr ({kr} * {sr}) for kernel {name} in {options.spec}")STRING
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…npack/kernels/dot/generator/x86_int8_int8_int32_k16.py57CODE
LOW…pack/kernels/dot/generator/x86_uint8_int8_int32_k16.py53CODE