Repository Analysis

ravachol/kew

Music for the Shell. kew is an immersive and fast music player that allows you to listen to music with privacy.

3.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ravachol/kew, a C project with 2,876 GitHub stars. SynthScan v2.0 examined 89,537 lines of code across 190 source files, recording 223 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 3.7 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).

3.7
Adjusted Score
3.7
Raw Score
100%
Time Factor
2026-07-13
Last Push
2.9K
Stars
C
Language
89.5K
Lines of Code
190
Files
223
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 45LOW 178

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 223 distinct pattern matches across 6 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.

Decorative Section Separators44 hits · 177 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release-windows-manual.yml43 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml45 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml51 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml53 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml61 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml63 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml90 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml92 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml98 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml100 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml106 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml108 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml140 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml142 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml151 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml153 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml20 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml22 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml77 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml79 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml121 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows-manual.yml123 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml41 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml43 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml49 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml51 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml59 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml61 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml88 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml90 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml96 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml98 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml104 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml106 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml119 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml121 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml129 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml131 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml140 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml142 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml17 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml19 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml75 # -------------------------COMMENT
MEDIUM.github/workflows/release-windows.yml77 # -------------------------COMMENT
Over-Commented Block174 hits · 145 pts
SeverityFileLineSnippetContext
LOWinclude/compat/buildinfo.h1#ifndef KEW_BUILD_CONFIG_HCOMMENT
LOWinclude/compat/buildinfo.h21COMMENT
LOWinclude/compat/ulog.h1#ifndef ULOG_HCOMMENT
LOWinclude/compat/compat_errno.h1#ifndef COMPAT_ERRNOCOMMENT
LOWinclude/compat/futils/futils.h1#ifndef FUTILS_HCOMMENT
LOWinclude/nestegg/nestegg.c1/*COMMENT
LOWinclude/nestegg/nestegg.c21#define ID_DOCTYPE_VERSION 0x4287COMMENT
LOWinclude/nestegg/nestegg.c41COMMENT
LOWinclude/nestegg/nestegg.c61COMMENT
LOWinclude/nestegg/nestegg.c81#define ID_STEREO_MODE 0x53b8COMMENT
LOWinclude/nestegg/nestegg.c101#define ID_CUE_POINT 0xbbCOMMENT
LOWinclude/nestegg/nestegg.c121#define ID_MATRIX_COEFFICIENTS 0x55b1COMMENT
LOWinclude/nestegg/nestegg.c161#define SIMPLE_BLOCK_FLAGS_KEYFRAME (1 << 7)COMMENT
LOWinclude/nestegg/nestegg.h61*/COMMENT
LOWinclude/nestegg/nestegg.h81#define NESTEGG_VIDEO_STEREO_TOP_BOTTOM 3 /**< Track is top-bottom stereo video. Left first. */COMMENT
LOWinclude/stb_image/stb_image_resize2.h401typedef uint32_t stbir_uint32;COMMENT
LOWinclude/stb_image/stb_image_resize2.h421//COMMENT
LOWinclude/stb_image/stb_image_resize2.h541// * Separate input and output data typesCOMMENT
LOWinclude/stb_image/stb_image_resize2.h641STBIRDEF int stbir_set_non_pm_alpha_speed_over_quality( STBIR_RESIZE * resize, int non_pma_alpha_speed_over_quality );COMMENT
LOWinclude/stb_image/stb_image_resize2.h661STBIRDEF int stbir_resize_extended( STBIR_RESIZE * resize );COMMENT
LOWinclude/stb_image/stb_image_resize2.h681// Note that you MUST call stbir_build_samplers_with_splits before stbir_resize_extended_split!COMMENT
LOWinclude/stb_image/stb_image_resize2.h701//COMMENT
LOWinclude/stb_image/stb_image_resize2.h721// return optional_output; // return the optional buffer that we filledCOMMENT
LOWinclude/stb_image/stb_image_resize2.h781#endif // STBIR_INCLUDE_STB_IMAGE_RESIZE2_HCOMMENT
LOWinclude/stb_image/stb_image_resize2.h801#elseCOMMENT
LOWinclude/stb_image/stb_image_resize2.h821#endifCOMMENT
LOWinclude/stb_image/stb_image_resize2.h841#endifCOMMENT
LOWinclude/stb_image/stb_image_resize2.h881 STBIRI_AR_PM = 16,COMMENT
LOWinclude/stb_image/stb_image_resize2.h1161 return (unsigned char) ((bias + scale*t) >> 16);COMMENT
LOWinclude/stb_image/stb_image_resize2.h1181COMMENT
LOWinclude/stb_image/stb_image_resize2.h1201 #define STBIR_AVX2COMMENT
LOWinclude/stb_image/stb_image_resize2.h1221#endifCOMMENT
LOWinclude/stb_image/stb_image_resize2.h1241 #elseCOMMENT
LOWinclude/stb_image/stb_image_resize2.h1261#elseCOMMENT
LOWinclude/stb_image/stb_image_resize2.h1281#endifCOMMENT
LOWinclude/stb_image/stb_image_resize2.h1301#endifCOMMENT
LOWinclude/stb_image/stb_image_resize2.h1321 #define stbir__simdf_load2( out, ptr ) (out) = _mm_castsi128_ps( _mm_loadl_epi64( (__m128i*)(ptr)) ) // top values canCOMMENT
LOWinclude/stb_image/stb_image_resize2.h1361 out1 = _mm_unpackhi_epi16( ireg, zero ); \COMMENT
LOWinclude/stb_image/stb_image_resize2.h1381 #define stbir__simdf_madd1( out, add, mul1, mul2 ) (out) = _mm_fmadd_ss( mul1, mul2, add )COMMENT
LOWinclude/stb_image/stb_image_resize2.h1401COMMENT
LOWinclude/stb_image/stb_image_resize2.h1461 #if defined(_MSC_VER) && !defined(__clang__)COMMENT
LOWinclude/stb_image/stb_image_resize2.h1501 #include <immintrin.h>COMMENT
LOWinclude/stb_image/stb_image_resize2.h1641COMMENT
LOWinclude/stb_image/stb_image_resize2.h1661COMMENT
LOWinclude/stb_image/stb_image_resize2.h1721 #define stbir__simdf_load1( out, ptr ) (out) = vld1q_dup_f32( (float const*)(ptr) ) // top values can be random (not dCOMMENT
LOWinclude/stb_image/stb_image_resize2.h1761 { \COMMENT
LOWinclude/stb_image/stb_image_resize2.h1781 #define stbir__simdf_madd( out, add, mul1, mul2 ) (out) = vfmaq_f32( add, mul1, mul2 )COMMENT
LOWinclude/stb_image/stb_image_resize2.h1921COMMENT
LOWinclude/stb_image/stb_image_resize2.h1981 #define stbir_simdi_castf( reg ) (reg)COMMENT
LOWinclude/stb_image/stb_image_resize2.h2021 v128_t tmp = wasm_u16x8_extend_low_u8x16(ireg); \COMMENT
LOWinclude/stb_image/stb_image_resize2.h2041 #define stbir__simdf_add_mem( out, reg, ptr ) (out) = wasm_f32x4_add( reg, wasm_v128_load( (void const*)(ptr) )COMMENT
LOWinclude/stb_image/stb_image_resize2.h2121 #define STBIR__SIMDF_CONST(var, x) stbir__simdf var = (v128_t)(stbir__f32x4){ x, x, x, x }COMMENT
LOWinclude/stb_image/stb_image_resize2.h2141 return wasm_f32x4_extract_lane( wasm_f32x4_ceil( wasm_f32x4_splat(x) ), 0);COMMENT
LOWinclude/stb_image/stb_image_resize2.h2161 #define stbir__simdfX_madd stbir__simdf8_maddCOMMENT
LOWinclude/stb_image/stb_image_resize2.h2181 static const stbir__simdf8 STBIR_simd_point58 = { 0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5 };COMMENT
LOWinclude/stb_image/stb_image_resize2.h2201 #define stbir__simdfX_1a1a stbir__simdf_1a1aCOMMENT
LOWinclude/stb_image/stb_image_resize2.h2541#define stbir__simdf_0123to0001( out, reg ) (out) = stbir__simdf_swiz( reg, 0,0,0,1 )COMMENT
LOWinclude/stb_image/stb_image_resize2.h2781#define STBIR_PROFILE_START_ll( info, wh ) { stbir_uint64 wh##thiszonetime = STBIR_PROFILE_FUNC(); stbir_uint64 * wh##saCOMMENT
LOWinclude/stb_image/stb_image_resize2.h2801#define STBIR_ONLY_PROFILE_SET_SPLIT_INFOCOMMENT
LOWinclude/stb_image/stb_image_resize2.h2821#define STBIR_CEILF(x) ((float)ceil((float)(x)))COMMENT
114 more matches not shown…
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/ubuntu.yml44 # Create an empty libraryCOMMENT
Redundant / Tautological Comments2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/claude_security_review.yml63 # Read file with size limit for cost controlCOMMENT
LOW.github/workflows/claude_security_review.yml161 # Print resultsSTRING
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpages/changes.html721<li><p>You can now quit with Esc. Handy when you are in search view, because pressing &#8216;q&#8217; will just add thatCODE
Excessive Try-Catch Wrapping1 hit · 0 pts
SeverityFileLineSnippetContext
LOW.github/workflows/claude_security_review.yml117 except Exception as e:STRING