AI Slop Code Risk Monitor

ggml-org/whisper.cpp

SlopCodeMonitor badge for ggml-org/whisper.cpp Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Port of OpenAI's Whisper model in C/C++

2.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ggml-org/whisper.cpp, a C++ project with 54,812 GitHub stars. SynthScan examined 482,957 lines of code across 1153 source files, recording 1171 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 2.6 (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.

2.6
Adjusted Signal
2.6
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
54.8K
Stars
C++
Language
483.0K
Lines of Code
1.2K
Files
1.2K
Pattern Hits
2026-10-31
Scan Date
0.01
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 11.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

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

Agent Over-Engineering Ratio 1.2/100 · LOW

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

PR Review Velocity Impact 12.7/100 · LOW

Which changes need focused human review? 1171 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 1HIGH 14MEDIUM 32LOW 1124

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 1171 distinct pattern matches across 19 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 Block968 hits · 870 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt161 if (WHISPER_USE_SYSTEM_GGML)COMMENT
LOWci/run.sh1#!/bin/bashCOMMENT
LOWinclude/whisper.h1#ifndef WHISPER_HCOMMENT
LOWinclude/whisper.h21# ifdef WHISPER_BUILDCOMMENT
LOWinclude/whisper.h41COMMENT
LOWinclude/whisper.h61 // }COMMENT
LOWinclude/whisper.h241 WHISPER_API struct whisper_state * whisper_init_state(struct whisper_context * ctx);COMMENT
LOWinclude/whisper.h361 // Examples:COMMENT
LOWinclude/parakeet.h1#ifndef PARAKEET_HCOMMENT
LOWinclude/parakeet.h21# ifdef PARAKEET_BUILDCOMMENT
LOWtests/run-tests.sh1#!/bin/bashCOMMENT
LOWtests/parakeet-verification.h1#pragma onceCOMMENT
LOWmodels/convert-parakeet-to-ggml.py1#!/usr/bin/env python3COMMENT
LOWmodels/convert-h5-to-ggml.py1# Convert Hugging Face fine-tuned models to ggml formatCOMMENT
LOWmodels/convert-pt-to-ggml.py1# Convert Whisper transformer model from PyTorch to ggml formatCOMMENT
LOWmodels/convert-pt-to-ggml.py21# - mel filtersCOMMENT
LOWmodels/convert-pt-to-ggml.py41import numpy as npCOMMENT
LOWmodels/convert-pt-to-ggml.py61# "nl": "dutch",COMMENT
LOWmodels/convert-pt-to-ggml.py81# "hr": "croatian",COMMENT
LOWmodels/convert-pt-to-ggml.py101# "is": "icelandic",COMMENT
LOWmodels/convert-pt-to-ggml.py121# "tg": "tajik",COMMENT
LOWmodels/convert-pt-to-ggml.py141# "tt": "tatar",COMMENT
LOWexamples/ffmpeg-transcode.cpp1#ifdef WHISPER_COMMON_FFMPEGCOMMENT
LOWexamples/common.cpp1#define _USE_MATH_DEFINES // for M_PICOMMENT
LOWexamples/grammar-parser.h1// Implements a parser for an extended Backus-Naur form (BNF), producing theCOMMENT
LOWexamples/json.hpp21#include <algorithm> // all_of, find, for_eachCOMMENT
LOWexamples/json.hpp41// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>COMMENT
LOWexamples/json.hpp61#ifndef JSON_SKIP_LIBRARY_VERSION_CHECKCOMMENT
LOWexamples/json.hpp81#if JSON_DIAGNOSTICSCOMMENT
LOWexamples/json.hpp141 {COMMENT
LOWexamples/json.hpp161#include <algorithm> // transformCOMMENT
LOWexamples/json.hpp181COMMENT
LOWexamples/json.hpp201#include <array> // arrayCOMMENT
LOWexamples/json.hpp221// | | |__ | | | | | | version 3.11.2COMMENT
LOWexamples/json.hpp321// | | |__ | | | | | | version 3.11.2COMMENT
LOWexamples/json.hpp341#define JSON_HEDLEY_STRINGIFY_EX(x) #xCOMMENT
LOWexamples/json.hpp361#define JSON_HEDLEY_CONCAT3_EX(a,b,c) a##b##cCOMMENT
LOWexamples/json.hpp381#define JSON_HEDLEY_VERSION_DECODE_MINOR(version) (((version) % 1000000) / 1000)COMMENT
LOWexamples/json.hpp401 #define JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_GNUC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(maCOMMENT
LOWexamples/json.hpp421 #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWexamples/json.hpp441#endifCOMMENT
LOWexamples/json.hpp461 #define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWexamples/json.hpp481 #undef JSON_HEDLEY_SUNPRO_VERSIONCOMMENT
LOWexamples/json.hpp501COMMENT
LOWexamples/json.hpp521#if defined(__CC_ARM) && defined(__ARMCOMPILER_VERSION)COMMENT
LOWexamples/json.hpp541#elif defined(__xlC__) && defined(__xlC_ver__)COMMENT
LOWexamples/json.hpp561 ( \COMMENT
LOWexamples/json.hpp581 #undef JSON_HEDLEY_TI_CL2000_VERSIONCOMMENT
LOWexamples/json.hpp601#endifCOMMENT
LOWexamples/json.hpp621#endifCOMMENT
LOWexamples/json.hpp641 #define JSON_HEDLEY_TI_CL6X_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWexamples/json.hpp661 #undef JSON_HEDLEY_TI_CLPRU_VERSIONCOMMENT
LOWexamples/json.hpp681 #define JSON_HEDLEY_CRAY_VERSION JSON_HEDLEY_VERSION_ENCODE(_RELEASE_MAJOR, _RELEASE_MINOR, _RELEASE_PATCHLEVEL)COMMENT
LOWexamples/json.hpp701 #define JSON_HEDLEY_IAR_VERSION JSON_HEDLEY_VERSION_ENCODE((__VER__ / 1000000), ((__VER__ / 1000) % 1000), (__VECOMMENT
LOWexamples/json.hpp721#endifCOMMENT
LOWexamples/json.hpp741#endifCOMMENT
LOWexamples/json.hpp761 #define JSON_HEDLEY_COMPCERT_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWexamples/json.hpp781 #undef JSON_HEDLEY_MCST_LCC_VERSIONCOMMENT
LOWexamples/json.hpp821#if defined(JSON_HEDLEY_GCC_VERSION)COMMENT
LOWexamples/json.hpp841 #undef JSON_HEDLEY_GNUC_HAS_ATTRIBUTECOMMENT
908 more matches not shown…
Redundant / Tautological Comments37 hits · 70 pts
SeverityFileLineSnippetContext
LOWmodels/convert-silero-vad-to-ggml.py146 # Check if this is a convolution weight tensorCOMMENT
LOWmodels/download-ggml-model.sh27# Check if the script is inside a /bin/ directoryCOMMENT
LOWmodels/download-ggml-model.sh143# Check if 'whisper-cli' is available in the system PATHCOMMENT
LOWmodels/download-coreml-model.sh24# Check if the script is inside a /bin/ directoryCOMMENT
LOWmodels/download-coreml-model.sh88# Check if 'whisper-cli' is available in the system PATHCOMMENT
LOWmodels/download-vitisai-model.sh36# Check if the script is inside a /bin/ directoryCOMMENT
LOWmodels/download-vitisai-model.sh212# Check if 'whisper-cli' is available in the system PATHCOMMENT
LOWmodels/download-vad-model.sh24# Check if the script is inside a /bin/ directoryCOMMENT
LOWmodels/download-vad-model.sh93# Check if 'whisper-cli' is available in the system PATHCOMMENT
LOWexamples/server.py60 # Check if this is a request to a file in whisper.wasmCOMMENT
LOWexamples/python/whisper_processor.py17 # Check if the file existsCOMMENT
LOWscripts/bench.py128# Check if the sample file existsCOMMENT
LOWscripts/release.sh77 # Check if we have the latest from master (skip in dry-run)COMMENT
LOWscripts/apple/validate-macos.sh685# Check if authentication credentials are providedCOMMENT
LOW⚡scripts/apple/validate-macos.sh704# Check if app was created successfullyCOMMENT
LOW⚡scripts/apple/validate-macos.sh712# Check if app binary exists and is executableCOMMENT
LOW⚡scripts/apple/validate-macos.sh720# Check if framework was properly embeddedCOMMENT
LOW⚡scripts/apple/validate-macos.sh728# Check if framework binary existsCOMMENT
LOWscripts/apple/validate-visionos.sh679# Check if authentication credentials are providedCOMMENT
LOW⚡scripts/apple/validate-visionos.sh704# Check if validation failed because the app isn't in App Store ConnectCOMMENT
LOW⚡scripts/apple/validate-visionos.sh713 # Check if IPA was created successfullyCOMMENT
LOW⚡scripts/apple/validate-visionos.sh721 # Check if app binary exists and is executableCOMMENT
LOW⚡scripts/apple/validate-visionos.sh729 # Check if framework was properly embeddedCOMMENT
LOW⚡scripts/apple/validate-visionos.sh737 # Check if framework binary existsCOMMENT
LOWscripts/apple/validate-ios.sh688# Check if authentication credentials are providedCOMMENT
LOW⚡scripts/apple/validate-ios.sh713# Check if validation failed because the app isn't in App Store ConnectCOMMENT
LOW⚡scripts/apple/validate-ios.sh722 # Check if IPA was created successfullyCOMMENT
LOW⚡scripts/apple/validate-ios.sh730 # Check if app binary exists and is executableCOMMENT
LOW⚡scripts/apple/validate-ios.sh738 # Check if framework was properly embeddedCOMMENT
LOW⚡scripts/apple/validate-ios.sh746 # Check if framework binary existsCOMMENT
LOWscripts/apple/validate-tvos.sh681# Check if authentication credentials are providedCOMMENT
LOW⚡scripts/apple/validate-tvos.sh706# Check if validation failed because the app isn't in App Store ConnectCOMMENT
LOW⚡scripts/apple/validate-tvos.sh715 # Check if IPA was created successfullyCOMMENT
LOW⚡scripts/apple/validate-tvos.sh723 # Check if app binary exists and is executableCOMMENT
LOW⚡scripts/apple/validate-tvos.sh731 # Check if framework was properly embeddedCOMMENT
LOW⚡scripts/apple/validate-tvos.sh739 # Check if framework binary existsCOMMENT
LOW⚡ggml/src/ggml-virtgpu/regenerate_remoting.py46 # Check if clang-format is availableCOMMENT
Cross-File Repetition12 hits · 60 pts
SeverityFileLineSnippetContext
HIGHtests/earnings21/normalizers/basic.py0replace any other markers, symbols, and punctuations with a space, and drop any diacritics (category 'mn' and some manuaSTRING
HIGHtests/librispeech/normalizers/basic.py0replace any other markers, symbols, and punctuations with a space, and drop any diacritics (category 'mn' and some manuaSTRING
HIGHtests/librispeech-parakeet/normalizers/basic.py0replace any other markers, symbols, and punctuations with a space, and drop any diacritics (category 'mn' and some manuaSTRING
HIGHtests/earnings21/normalizers/basic.py0replace any other markers, symbols, punctuations with a space, keeping diacriticsSTRING
HIGHtests/librispeech/normalizers/basic.py0replace any other markers, symbols, punctuations with a space, keeping diacriticsSTRING
HIGHtests/librispeech-parakeet/normalizers/basic.py0replace any other markers, symbols, punctuations with a space, keeping diacriticsSTRING
HIGHtests/earnings21/normalizers/english.py0convert any spelled-out numbers into arabic numbers, while handling: - remove any commas - keep the suffixes such as: `1STRING
HIGHtests/librispeech/normalizers/english.py0convert any spelled-out numbers into arabic numbers, while handling: - remove any commas - keep the suffixes such as: `1STRING
HIGHtests/librispeech-parakeet/normalizers/english.py0convert any spelled-out numbers into arabic numbers, while handling: - remove any commas - keep the suffixes such as: `1STRING
HIGHtests/earnings21/normalizers/english.py0applies british-american spelling mappings as listed in [1]. [1] https://www.tysto.com/uk-us-spelling-list.htmlSTRING
HIGHtests/librispeech/normalizers/english.py0applies british-american spelling mappings as listed in [1]. [1] https://www.tysto.com/uk-us-spelling-list.htmlSTRING
HIGHtests/librispeech-parakeet/normalizers/english.py0applies british-american spelling mappings as listed in [1]. [1] https://www.tysto.com/uk-us-spelling-list.htmlSTRING
Structural Annotation Overuse30 hits · 52 pts
SeverityFileLineSnippetContext
LOWggml/src/ggml-et/et-kernels/src/norm_f32.c84 // Step 1: sum for meanCOMMENT
LOWggml/src/ggml-et/et-kernels/src/norm_f32.c110 // Step 2: compute (x - mean) → dst, accumulate varianceCOMMENT
LOWggml/src/ggml-et/et-kernels/src/norm_f32.c143 // Step 3: apply scale to centered values in dstCOMMENT
LOWggml/src/ggml-et/et-kernels/src/rms_norm_f32.c100 // Step 1: Compute sum of squares using 8-wide vectorsCOMMENT
LOW⚡ggml/src/ggml-et/et-kernels/src/rms_norm_f32.c124 // Step 2: scale = rsqrt(mean + eps)COMMENT
LOW⚡ggml/src/ggml-et/et-kernels/src/rms_norm_f32.c132 // Step 3: Apply scaling: broadcast scale once, reuse across loopCOMMENT
LOWggml/src/ggml-et/et-kernels/src/rwkv_wkv7_f32.c177 // Step 1: sa = dot(a, state_prev[i])COMMENT
LOWggml/src/ggml-et/et-kernels/src/rwkv_wkv7_f32.c196 // Step 2: state update + result accumulationCOMMENT
LOW⚡ggml/src/ggml-openvino/openvino/op/gated_delta_net.cpp318 // Step 1: Apply decay gate to stateCOMMENT
LOW⚡ggml/src/ggml-openvino/openvino/op/gated_delta_net.cpp323 // Step 2: delta = (v - S @ k) * betaCOMMENT
LOW⚡ggml/src/ggml-openvino/openvino/op/gated_delta_net.cpp330 // Step 3: state += outer(delta, k)COMMENT
LOW⚡ggml/src/ggml-openvino/openvino/op/gated_delta_net.cpp336 // Step 4: attn_out = S @ q * scaleCOMMENT
LOW⚡ggml/src/ggml-metal/CMakeLists.txt118 # Step 1: concatenate shared headers + this kernel sourceCOMMENT
LOW⚡ggml/src/ggml-metal/CMakeLists.txt120 # Step 2: remove internal #include and #pragma onceCOMMENT
LOW⚡ggml/src/ggml-metal/CMakeLists.txt122 # Step 3: inline ggml-common.h (replacing __embed_ggml-common.h__ sentinel)COMMENT
LOW⚡ggml/src/ggml-metal/CMakeLists.txt124 # Step 4: inline ggml-metal-impl.hCOMMENT
LOW⚡ggml/src/ggml-metal/CMakeLists.txt126 # Step 5: emit an asm chunk with kind-specific start/end symbolsCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp2853 // Step 5: multiply by attn_factorCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp2870 // Step 6: repeatCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3134 // Step 1: Prepare trans tensors for F16 type conversion to F32 if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3159 // Step 2: Prepare head tensors for tail splitting if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3188 // Step 3: Execute RotaryPositionEmbeddingCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3235 // Step 4: Copy unrotated tail portion from source to destinationCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3264 // Step 5: Cast back to F16 if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3950 // Step 1: cast the src0 (Query) to fp16 if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3973 // Step 2: create the acl tensors for src1 (Key), src2 (Value),COMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp4017 // Step 3: create the PSEShift tensor if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp4086 // Step 4: set the inputs for FusedInferAttention.COMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp4147 // Step 6: post-processing — slice padded output and/or cast to f32COMMENT
LOWsrc/vitisai/whisper-vitisai-encoder.cpp82 // Step 1: Set up the modelCOMMENT
Verbosity Indicators26 hits · 42 pts
SeverityFileLineSnippetContext
LOWggml/src/ggml-et/et-kernels/src/norm_f32.c84 // Step 1: sum for meanCOMMENT
LOWggml/src/ggml-et/et-kernels/src/norm_f32.c110 // Step 2: compute (x - mean) → dst, accumulate varianceCOMMENT
LOWggml/src/ggml-et/et-kernels/src/norm_f32.c143 // Step 3: apply scale to centered values in dstCOMMENT
LOWggml/src/ggml-et/et-kernels/src/rms_norm_f32.c100 // Step 1: Compute sum of squares using 8-wide vectorsCOMMENT
LOW⚡ggml/src/ggml-et/et-kernels/src/rms_norm_f32.c124 // Step 2: scale = rsqrt(mean + eps)COMMENT
LOW⚡ggml/src/ggml-et/et-kernels/src/rms_norm_f32.c132 // Step 3: Apply scaling: broadcast scale once, reuse across loopCOMMENT
LOWggml/src/ggml-et/et-kernels/src/rwkv_wkv7_f32.c177 // Step 1: sa = dot(a, state_prev[i])COMMENT
LOWggml/src/ggml-et/et-kernels/src/rwkv_wkv7_f32.c196 // Step 2: state update + result accumulationCOMMENT
LOWggml/src/ggml-webgpu/ggml-webgpu.cpp1454 // For set rows specifically, we need to check if src and idx are emptyCOMMENT
LOW⚡ggml/src/ggml-openvino/openvino/op/gated_delta_net.cpp318 // Step 1: Apply decay gate to stateCOMMENT
LOW⚡ggml/src/ggml-openvino/openvino/op/gated_delta_net.cpp323 // Step 2: delta = (v - S @ k) * betaCOMMENT
LOW⚡ggml/src/ggml-openvino/openvino/op/gated_delta_net.cpp330 // Step 3: state += outer(delta, k)COMMENT
LOW⚡ggml/src/ggml-openvino/openvino/op/gated_delta_net.cpp336 // Step 4: attn_out = S @ q * scaleCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp2853 // Step 5: multiply by attn_factorCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp2870 // Step 6: repeatCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3134 // Step 1: Prepare trans tensors for F16 type conversion to F32 if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3159 // Step 2: Prepare head tensors for tail splitting if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3188 // Step 3: Execute RotaryPositionEmbeddingCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3235 // Step 4: Copy unrotated tail portion from source to destinationCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3264 // Step 5: Cast back to F16 if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3950 // Step 1: cast the src0 (Query) to fp16 if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp3973 // Step 2: create the acl tensors for src1 (Key), src2 (Value),COMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp4017 // Step 3: create the PSEShift tensor if neededCOMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp4086 // Step 4: set the inputs for FusedInferAttention.COMMENT
LOWggml/src/ggml-cann/aclnn_ops.cpp4147 // Step 6: post-processing — slice padded output and/or cast to f32COMMENT
LOWsrc/vitisai/whisper-vitisai-encoder.cpp82 // Step 1: Set up the modelCOMMENT
Self-Referential Comments11 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMbuild-xcframework.sh387 # Create a separate directory for dSYMs for all platformsCOMMENT
MEDIUMbuild-xcframework.sh395 # Create a copy of the binary that will be strippedCOMMENT
MEDIUMscripts/bench.py18# Define the argument to accept a listCOMMENT
MEDIUMscripts/bench.py54# Define the models, threads, and processor counts to benchmarkCOMMENT
MEDIUMscripts/apple/validate-macos.sh571# Create a simple xcscheme file to avoid xcodebuild scheme issuesCOMMENT
MEDIUMscripts/apple/validate-macos.sh667# Create a zip file for potential distributionCOMMENT
MEDIUMscripts/apple/validate-visionos.sh565# Create a simple xcscheme file to avoid xcodebuild scheme issuesCOMMENT
MEDIUMscripts/apple/validate-ios.sh574# Create a simple xcscheme file to avoid xcodebuild scheme issuesCOMMENT
MEDIUMscripts/apple/validate-tvos.sh567# Create a simple xcscheme file to avoid xcodebuild scheme issuesCOMMENT
MEDIUM.github/workflows/release.yml370 # Create the directory where the CUDA Toolkit will be installedCOMMENT
MEDIUM.github/workflows/release.yml426 # Create the directory where the CUDA Toolkit will be installedCOMMENT
Excessive Try-Catch Wrapping15 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMmodels/convert-parakeet-to-ggml.py333 print(f"Error: {args.model} not found")CODE
LOWmodels/convert-pt-to-ggml.py206except Exception:CODE
MEDIUMmodels/convert-pt-to-ggml.py207 print("Error: failed to load PyTorch model file:" , fname_inp)CODE
MEDIUMmodels/convert-pt-to-ggml.py238 print("Error: failed to find either tiktoken or hf_transformers tokenizer file:", tokenizer)CODE
MEDIUMexamples/server.py119 print(f"Error: {e}")CODE
LOWexamples/python/test_whisper_processor.py6except Exception as e:CODE
MEDIUMexamples/python/test_whisper_processor.py7 print(f"Error: {e}")CODE
LOWexamples/python/whisper_processor.py48 except Exception as e:CODE
MEDIUMexamples/python/whisper_processor.py49 print(f"Error: {e}")CODE
MEDIUM…r.swiftui/whisper.swiftui.demo/UI/DownloadButton.swift32 print("Error: \(error.localizedDescription)")CODE
MEDIUM…r.swiftui/whisper.swiftui.demo/UI/DownloadButton.swift48 print("Error: \(err.localizedDescription)")CODE
MEDIUM…r.swiftui/whisper.swiftui.demo/UI/DownloadButton.swift90 print("Error deleting file: \(error)")CODE
LOWggml/src/ggml-virtgpu/regenerate_remoting.py69 except Exception as e:CODE
LOWggml/src/ggml-virtgpu/regenerate_remoting.py327 except Exception as e:STRING
MEDIUMggml/src/ggml-virtgpu/regenerate_remoting.py323def main():CODE
Hyper-Verbose Identifiers21 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/earnings21/normalizers/basic.py27def remove_symbols_and_diacritics(s: str, keep=""):CODE
LOWtests/librispeech/normalizers/basic.py27def remove_symbols_and_diacritics(s: str, keep=""):CODE
LOWtests/librispeech-parakeet/normalizers/basic.py27def remove_symbols_and_diacritics(s: str, keep=""):CODE
LOWmodels/convert-whisper-to-coreml.py47def correct_for_bias_scale_order_inversion(state_dict, prefix, local_metadata,CODE
LOWexamples/server.py15class CustomHTTPRequestHandler(http.server.SimpleHTTPRequestHandler):CODE
LOW…/wchess.wasm/chessboardjs-1.0.0/js/chessboard-1.0.0.js496 function calculatePositionFromMoves (position, moves) {CODE
LOW…/wchess.wasm/chessboardjs-1.0.0/js/chessboard-1.0.0.js541 function expandConfigArgumentShorthand (config) {CODE
LOW…/wchess.wasm/chessboardjs-1.0.0/js/chessboard-1.0.0.js951 function animateSparePieceToSquare (piece, dest, completeFn) {CODE
LOWbindings/javascript/whisper.js8function GROWABLE_HEAP_I8(){if(wasmMemory.buffer!=HEAP8.buffer){updateMemoryViews()}return HEAP8}function GROWABLE_HEAP_CODE
LOWbindings/ruby/test/test_context_params.rb60 def test_new_with_kw_args_default_values(param)CODE
LOWbindings/ruby/test/test_vad_params.rb83 def test_new_with_kw_args_default_values(param)CODE
LOWbindings/ruby/test/test_params.rb278 def test_new_with_kw_args_default_values(param)CODE
LOWbindings/ruby/test/test_parakeet_params.rb63 def test_new_with_kw_args_default_values(param)CODE
LOWggml/include/ggml-backend.h215 typedef ggml_backend_buffer_type_t (*ggml_backend_split_buffer_type_t)(int main_device, const float * tensor_splitCODE
LOW⚡ggml/src/ggml-virtgpu/regenerate_remoting.py49 def _check_clang_format_available(self) -> bool:CODE
LOW⚡ggml/src/ggml-virtgpu/regenerate_remoting.py53 def _format_file_with_clang_format(self, file_path: Path) -> bool:CODE
LOWggml/src/ggml-virtgpu/regenerate_remoting.py78 def generate_backend_function_name(self, group_name: str, function_name: str) -> str:CODE
LOWggml/src/ggml-virtgpu/regenerate_remoting.py89 def generate_frontend_function_name(self, group_name: str, function_name: str) -> str:CODE
LOWggml/src/ggml-virtgpu/regenerate_remoting.py125 def generate_apir_backend_header(self) -> str:CODE
LOWggml/src/ggml-virtgpu/regenerate_remoting.py176 def generate_backend_dispatched_header(self) -> str:CODE
LOWggml/src/ggml-virtgpu/regenerate_remoting.py222 def generate_virtgpu_forward_header(self) -> str:STRING
Unused Imports17 hits · 17 pts
SeverityFileLineSnippetContext
LOWtests/earnings21/normalizers/__init__.py1CODE
LOWtests/earnings21/normalizers/__init__.py2CODE
LOWtests/librispeech/normalizers/__init__.py1CODE
LOWtests/librispeech/normalizers/__init__.py2CODE
LOWtests/librispeech-parakeet/normalizers/__init__.py1CODE
LOWtests/librispeech-parakeet/normalizers/__init__.py2CODE
LOWmodels/convert-parakeet-to-ggml.py17CODE
LOWmodels/convert-parakeet-to-ggml.py23CODE
LOWmodels/convert-parakeet-to-ggml.py27CODE
LOWmodels/convert-h5-to-ggml.py18CODE
LOWmodels/convert-h5-to-ggml.py23CODE
LOWmodels/convert-silero-vad-to-ggml.py4CODE
LOWmodels/convert-pt-to-ggml.py35CODE
LOWmodels/convert-pt-to-ggml.py39CODE
LOWmodels/convert-h5-to-coreml.py13CODE
LOWmodels/generate-parakeet-test-model.py3CODE
LOWexamples/server.py6CODE
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMexamples/stb_vorbis.c51// 1.10 - 2017-03-03 - more robust seeking; fix negative ilog(); clear error in open_memoryCOMMENT
MEDIUMggml/src/ggml-cpu/amx/mmq.cpp603 // pack again with 128 to fully utilize vector lengthCOMMENT
MEDIUMggml/src/ggml-cpu/amx/mmq.cpp645 // pack again with 128 to fully utilize vector lengthCOMMENT
MEDIUMggml/src/ggml-cpu/amx/mmq.cpp743 // pack again with 128 to fully utilize vector lengthCOMMENT
MEDIUMsrc/whisper.cpp8667// guaranteed. Might get removed at some point unless a robust algorithm implementation is foundCOMMENT
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMexamples/addon.node/CMakeLists.txt4#==================================================================COMMENT
MEDIUMexamples/addon.node/CMakeLists.txt8#==================================================================COMMENT
MEDIUMexamples/addon.node/CMakeLists.txt19#==================================================================COMMENT
MEDIUMexamples/addon.node/CMakeLists.txt27#==================================================================COMMENT
MEDIUMggml/src/ggml-et/et-kernels/src/platform.h347// ────── ──────────── ──────────────────────────────────────────────────COMMENT
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/run-tests.sh14# Usage:COMMENT
LOWmodels/convert-h5-to-ggml.py3# Usage:COMMENT
LOWexamples/generate-karaoke.sh4# Usage:COMMENT
LOWexamples/yt-wsp.sh31# Sample usage:COMMENT
LOWscripts/sync-ggml-am.sh5# Usage:COMMENT
LOWscripts/release.sh11# Usage:COMMENT
LOWggml/src/ggml-sycl/dpct/helper.hpp3020 /// Example usage:COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALexamples/wchess/wchess.wasm/jquery-3.7.1.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
Synthetic Comment Markers2 hits · 8 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md18Code that is initially generated by AI and subsequently edited will still be considered AI-generated. AI assistance is pCODE
HIGHggml/src/ggml-virtgpu/regenerate_remoting.py3# Generated by Claude AISTRING
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtests/earnings21/normalizers/english.py165CODE
LOWtests/librispeech/normalizers/english.py165CODE
LOWtests/librispeech-parakeet/normalizers/english.py165CODE
LOWmodels/convert-parakeet-to-ggml.py108CODE
LOWexamples/server.py19CODE
LOWggml/src/ggml-webgpu/wgsl-shaders/embed_wgsl.py68CODE
LOWggml/src/ggml-hexagon/htp/htp-swiv.py409CODE
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWggml/src/ggml.c4015 // TODO: implement non F32 returnCOMMENT
LOWggml/src/ggml.c4039 // TODO: implement non F32 returnCOMMENT
LOWggml/src/ggml.c5218 // TODO: implement antialias for modes other than bilinearCOMMENT
LOWsrc/parakeet.cpp2562 // TODO: implement beam search?COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/cli/README.md83## Non-speech audio (music/silence) hallucinationsCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/run-tests.sh92# when adding new files, make sure to add the expected "ref.txt" file with the correct transcriptCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbindings/javascript/whisper.js8function GROWABLE_HEAP_I8(){if(wasmMemory.buffer!=HEAP8.buffer){updateMemoryViews()}return HEAP8}function GROWABLE_HEAP_CODE