Repository Analysis

OpenMathLib/OpenBLAS

OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

4.3 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of OpenMathLib/OpenBLAS, a C project with 7,507 GitHub stars. SynthScan v2.0 examined 3,072,403 lines of code across 6999 source files, recording 13298 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 4.3 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.3
Adjusted Score
4.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
7.5K
Stars
C
Language
3.1M
Lines of Code
7.0K
Files
13.3K
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 0MEDIUM 33LOW 13265

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 13298 distinct pattern matches across 7 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 Block13236 hits · 12955 pts
SeverityFileLineSnippetContext
LOWcommon_b.h41#if BGEMM_DEFAULT_UNROLL_M == BGEMM_DEFAULT_UNROLL_NCOMMENT
LOWcommon_b.h61#define BGEMM_ITCOPY gotoblas->bgemm_itcopyCOMMENT
LOWcommon_b.h81#define BGEMM_RC bgemm_ntCOMMENT
LOWcommon_x86.h41COMMENT
LOWcommon_x86.h201COMMENT
LOWcommon_x86.h221#define BARCELONA_OPTIMIZATIONCOMMENT
LOWcommon_x86.h241#define HALT hltCOMMENT
LOWcommon_x86.h281#define STACK_TOUCHINGCOMMENT
LOWcommon_x86.h301#ifdef OS_DARWINCOMMENT
LOWcommon_x86.h321COMMENT
LOWcommon_x86.h361#define FLD fldtCOMMENT
LOWcommon_x86.h381#define FADD faddsCOMMENT
LOWcommon_x86.h401#endifCOMMENT
LOWcommon_x86.h421#ifndef ffreepCOMMENT
LOWcommon_z.h1#ifndef COMMON_Z_HCOMMENT
LOWcommon_z.h21#define ZSCAL_K zscal_kCOMMENT
LOWcommon_z.h41#define ZSYMV_L zsymv_LCOMMENT
LOWcommon_z.h61#define ZGEMM_INCOPY zgemm_incopyCOMMENT
LOWcommon_z.h81#define ZTRSM_OLTNCOPY ztrsm_oltncopyCOMMENT
LOWcommon_z.h101#elseCOMMENT
LOWcommon_z.h121#define ZGEMM_BETA zgemm_betaCOMMENT
LOWcommon_z.h141#define ZTRSM_KERNEL_RN ztrsm_kernel_RNCOMMENT
LOWcommon_z.h161#elseCOMMENT
LOWcommon_z.h181#define ZSYMM3M_IUCOPYB zsymm3m_iucopybCOMMENT
LOWcommon_z.h201#define ZHEMM3M_OLCOPYB zhemm3m_olcopybCOMMENT
LOWcommon_z.h221#define ZOMATCOPY_K_CTC zomatcopy_k_ctcCOMMENT
LOWcommon_z.h241#define ZMAX_K gotoblas -> zmax_kCOMMENT
LOWcommon_z.h261#define ZGEMV_R gotoblas -> zgemv_rCOMMENT
LOWcommon_z.h281#define ZSYMV_THREAD_L zsymv_thread_LCOMMENT
LOWcommon_z.h301#define ZTRMM_IUNUCOPY gotoblas -> ztrmm_iunucopyCOMMENT
LOWcommon_z.h321#define ZTRMM_ILNNCOPY gotoblas -> ztrmm_ilnncopyCOMMENT
LOWcommon_z.h341#define ZTRMM_KERNEL_RC gotoblas -> ztrmm_kernel_RCCOMMENT
LOWcommon_z.h361COMMENT
LOWcommon_z.h381#define ZSYMM3M_IUCOPYI gotoblas -> zsymm3m_iucopyiCOMMENT
LOWcommon_z.h401#define ZHEMM3M_OLCOPYI gotoblas -> zhemm3m_olcopyiCOMMENT
LOWcommon_z.h421#define ZIMATCOPY_K_RN gotoblas -> zimatcopy_k_rnCOMMENT
LOWcommon_z.h441#define ZGEMM_SMALL_KERNEL_TT FUNC_OFFSET(zgemm_small_kernel_tt)COMMENT
LOWcommon_z.h461#define ZGEMM_SMALL_KERNEL_B0_TT FUNC_OFFSET(zgemm_small_kernel_b0_tt)COMMENT
LOWcommon_z.h481#define ZGEMM_CC zgemm_ccCOMMENT
LOWcommon_z.h501#define ZHEMM_RL zhemm_RLCOMMENT
LOWcommon_z.h521#define ZHER2K_LN zher2k_LNCOMMENT
LOWcommon_z.h541#define ZTRMM_LTUU ztrmm_LTUUCOMMENT
LOWcommon_z.h561#define ZTRMM_RRUU ztrmm_RRUUCOMMENT
LOWcommon_z.h581#define ZTRSM_LRLN ztrsm_LRLNCOMMENT
LOWcommon_z.h601#define ZTRSM_RCLN ztrsm_RCLNCOMMENT
LOWcommon_z.h621#define ZSYMM_THREAD_LL zsymm_thread_LLCOMMENT
LOWcommon_z.h641#define ZHERK_THREAD_LN zherk_thread_LNCOMMENT
LOWcommon_z.h661#define ZGEMM3M_RT zgemm3m_rtCOMMENT
LOWcommon_z.h681COMMENT
LOWCMakeLists.txt241 foreach(TARGET_CORE ${DYNAMIC_CORE})COMMENT
LOWcpuid_x86.c41#include <string.h>COMMENT
LOWcommon_sparc.h81#endifCOMMENT
LOWcommon_sparc.h101#endifCOMMENT
LOWcommon_sparc.h121#define FMUL fmuldCOMMENT
LOWcommon_sparc.h181 .word ((2 << 30) | ((rd) << 25) | ( 0x36 << 19) | ( 0x7e << 5))COMMENT
LOWcommon_sparc.h201#elseCOMMENT
LOWcommon_sparc.h221 .size REALNAME, .-REALNAME; \COMMENT
LOWcommon_sparc.h241#ifndef MAP_ANONYMOUSCOMMENT
LOWcommon_power.h41COMMENT
LOWcommon_power.h61#define XVMOVDP(T,A) xvmovdp T, ACOMMENT
13176 more matches not shown…
Decorative Section Separators32 hits · 100 pts
SeverityFileLineSnippetContext
MEDIUMlapack-netlib/CMakeLists.txt157# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt171# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt190# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt201# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt220# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt262# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt270# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt280# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt355# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt390#-------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt400#-------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt449# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt479# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/CMakeLists.txt600# --------------------------------------------------COMMENT
MEDIUMlapack-netlib/BLAS/SRC/CMakeLists.txt28#---------------------------------------------------------COMMENT
MEDIUMlapack-netlib/BLAS/SRC/CMakeLists.txt30#---------------------------------------------------------COMMENT
MEDIUMlapack-netlib/BLAS/SRC/CMakeLists.txt47#---------------------------------------------------------------------COMMENT
MEDIUMlapack-netlib/BLAS/SRC/CMakeLists.txt49#---------------------------------------------------------------------COMMENT
MEDIUMlapack-netlib/BLAS/SRC/CMakeLists.txt52#---------------------------------------------------------COMMENT
MEDIUMlapack-netlib/BLAS/SRC/CMakeLists.txt54#---------------------------------------------------------COMMENT
MEDIUMlapack-netlib/BLAS/SRC/CMakeLists.txt71#---------------------------------------------------------COMMENT
MEDIUMlapack-netlib/BLAS/SRC/CMakeLists.txt73#---------------------------------------------------------COMMENT
MEDIUMlapack-netlib/TESTING/CMakeLists.txt176# ==============================================================================COMMENT
MEDIUMlapack-netlib/CBLAS/CMakeLists.txt38# --------------------------------------------------COMMENT
MEDIUMkernel/riscv64/generate_kernel.py6#-----------------------------------------------------------------------COMMENT
MEDIUMkernel/riscv64/generate_kernel.py48#-----------------------------------------------------------------------COMMENT
MEDIUMkernel/riscv64/generate_kernel.py75#-----------------------------------------------------------------------COMMENT
MEDIUMkernel/riscv64/generate_kernel.py170#-----------------------------------------------------------------------COMMENT
MEDIUMkernel/riscv64/generate_kernel.py329#-----------------------------------------------------------------------COMMENT
MEDIUMkernel/riscv64/generate_kernel.py449#-----------------------------------------------------------------------STRING
MEDIUMkernel/riscv64/generate_kernel.py537#-----------------------------------------------------------------------STRING
MEDIUMkernel/riscv64/generate_kernel.py568#-----------------------------------------------------------------------STRING
AI Structural Patterns10 hits · 10 pts
SeverityFileLineSnippetContext
LOWbenchmark/pybench/benchmarks/bench_blas.py22CODE
LOWbenchmark/pybench/benchmarks/bench_blas.py42CODE
LOWbenchmark/pybench/benchmarks/bench_blas.py61CODE
LOWbenchmark/pybench/benchmarks/bench_blas.py82CODE
LOWbenchmark/pybench/benchmarks/bench_blas.py110CODE
LOWbenchmark/pybench/benchmarks/bench_blas.py143CODE
LOWbenchmark/pybench/benchmarks/bench_blas.py166CODE
LOWbenchmark/pybench/benchmarks/bench_blas.py190CODE
LOWbenchmark/pybench/benchmarks/bench_blas.py216CODE
LOWbenchmark/pybench/benchmarks/bench_blas.py250CODE
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWbenchmark/pybench/openblas_wrap/generate_f2pymod.py69CODE
LOWbenchmark/pybench/openblas_wrap/generate_f2pymod.py141CODE
LOWbenchmark/pybench/openblas_wrap/generate_f2pymod.py225CODE
LOWlapack-netlib/lapack_testing.py101CODE
LOWkernel/riscv64/generate_kernel.py76CODE
LOWkernel/riscv64/generate_kernel.py171CODE
LOWkernel/riscv64/generate_kernel.py330CODE
LOWkernel/riscv64/generate_kernel.py450CODE
Unused Imports8 hits · 8 pts
SeverityFileLineSnippetContext
LOWbenchmark/scripts/NUMPY/dgesv.py6CODE
LOWbenchmark/scripts/NUMPY/daxpy.py6CODE
LOWbenchmark/scripts/SCIPY/dsyrk.py6CODE
LOWbenchmark/scripts/SCIPY/ssyrk.py6CODE
LOWlapack-netlib/lapack_testing.py8CODE
LOWlapack-netlib/lapack_testing.py8CODE
LOWlapack-netlib/lapack_testing.py9CODE
LOWkernel/riscv64/generate_kernel.py3CODE
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWbenchmark/pybench/openblas_wrap/generate_f2pymod.py110def find_and_remove_repl_patterns(astr):CODE
LOWkernel/riscv64/generate_kernel.py76def generate_gemm_kernel_inner_real( settings, dest, M, N, vlen, a_regs ):CODE
LOWkernel/riscv64/generate_kernel.py171def generate_gemm_kernel_inner_complex( settings, dest, M, N, vlen, a_regs ):CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMlapack-netlib/lapack_testing.py100# Define a function to open the executable (different filenames on unix and Windows)COMMENT