Repository Analysis

vlang/v

Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io

2.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of vlang/v, a V project with 37,706 GitHub stars. SynthScan v2.0 examined 452,740 lines of code across 1181 source files, recording 1237 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 2.5 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).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
37.7K
Stars
V
Language
452.7K
Lines of Code
1.2K
Files
1.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

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 4MEDIUM 14LOW 1219

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 1237 distinct pattern matches across 9 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 Block1205 hits · 1045 pts
SeverityFileLineSnippetContext
LOWcmd/tools/vgret.defaults.toml41 path = 'examples/ttf_font/example_ttf.v'COMMENT
LOWcmd/tools/vgret.defaults.toml61# 'examples/gg/drag_n_drop.v' // Default font, that can be different on different platformsCOMMENT
LOWbench/crypto/ecdsa/ecdsa.c1#include <stdio.h>COMMENT
LOW…aw_benchmark_chart/typescript_vanilla_typeorm/index.ts101// update: update_stopwatchs,COMMENT
LOW…aw_benchmark_chart/typescript_vanilla_typeorm/index.ts121COMMENT
LOWexamples/sokoban/three_boxes.txt1It seems tricky, but it is not ...@Be careful to not get stuck.COMMENT
LOWexamples/sokoban/corners.txt1Push the boxes to the corners of the warehouse.@It is a lot of work...@Have fun.COMMENT
LOWexamples/sokoban/simple.txt1@Use the arrows or WASD keys, to move your player.@Use R to restart the level and N to go to the next level.@To win, movCOMMENT
LOWexamples/sokoban/tr_levels/29.txt1Author: Thinking Rabbit, Level 29COMMENT
LOWexamples/sokoban/tr_levels/15.txt1Author: Thinking Rabbit, Level 15COMMENT
LOWexamples/sokoban/tr_levels/01.txt1Author: Thinking Rabbit, Level 01COMMENT
LOWexamples/sokoban/tr_levels/14.txt1Author: Thinking Rabbit, Level 14COMMENT
LOWexamples/sokoban/tr_levels/28.txt1Author: Thinking Rabbit, Level 28COMMENT
LOWexamples/sokoban/tr_levels/02.txt1Author: Thinking Rabbit, Level 02COMMENT
LOWexamples/sokoban/tr_levels/16.txt1Author: Thinking Rabbit, Level 16COMMENT
LOWexamples/sokoban/tr_levels/17.txt1Author: Thinking Rabbit, Level 17COMMENT
LOWexamples/sokoban/tr_levels/03.txt1Author: Thinking Rabbit, Level 03COMMENT
LOWexamples/sokoban/tr_levels/07.txt1Author: Thinking Rabbit, Level 07COMMENT
LOWexamples/sokoban/tr_levels/13.txt1Author: Thinking Rabbit, Level 13COMMENT
LOWexamples/sokoban/tr_levels/12.txt1Author: Thinking Rabbit, Level 12COMMENT
LOWexamples/sokoban/tr_levels/06.txt1Author: Thinking Rabbit, Level 06COMMENT
LOWexamples/sokoban/tr_levels/10.txt1Author: Thinking Rabbit, Level 10COMMENT
LOWexamples/sokoban/tr_levels/04.txt1Author: Thinking Rabbit, Level 04COMMENT
LOWexamples/sokoban/tr_levels/38.txt1Author: Thinking Rabbit, Level 38COMMENT
LOWexamples/sokoban/tr_levels/39.txt1Author: Thinking Rabbit, Level 39COMMENT
LOWexamples/sokoban/tr_levels/05.txt1Author: Thinking Rabbit, Level 05COMMENT
LOWexamples/sokoban/tr_levels/11.txt1Author: Thinking Rabbit, Level 11COMMENT
LOWexamples/sokoban/tr_levels/49.txt1Author: Thinking Rabbit, Level 49COMMENT
LOWexamples/sokoban/tr_levels/48.txt1Author: Thinking Rabbit, Level 48COMMENT
LOWexamples/sokoban/tr_levels/43.txt1Author: Thinking Rabbit, Level 43COMMENT
LOWexamples/sokoban/tr_levels/42.txt1Author: Thinking Rabbit, Level 42COMMENT
LOWexamples/sokoban/tr_levels/40.txt1Author: Thinking Rabbit, Level 40COMMENT
LOWexamples/sokoban/tr_levels/41.txt1Author: Thinking Rabbit, Level 41COMMENT
LOWexamples/sokoban/tr_levels/45.txt1Author: Thinking Rabbit, Level 45COMMENT
LOWexamples/sokoban/tr_levels/50.txt1Author: Thinking Rabbit, Level 50COMMENT
LOWexamples/sokoban/tr_levels/44.txt1Author: Thinking Rabbit, Level 44COMMENT
LOWexamples/sokoban/tr_levels/46.txt1Author: Thinking Rabbit, Level 46COMMENT
LOWexamples/sokoban/tr_levels/47.txt1Author: Thinking Rabbit, Level 47COMMENT
LOWexamples/sokoban/tr_levels/08.txt1Author: Thinking Rabbit, Level 08COMMENT
LOWexamples/sokoban/tr_levels/34.txt1Author: Thinking Rabbit, Level 34COMMENT
LOWexamples/sokoban/tr_levels/20.txt1Author: Thinking Rabbit, Level 20COMMENT
LOWexamples/sokoban/tr_levels/21.txt1Author: Thinking Rabbit, Level 21COMMENT
LOWexamples/sokoban/tr_levels/35.txt1Author: Thinking Rabbit, Level 35COMMENT
LOWexamples/sokoban/tr_levels/09.txt1Author: Thinking Rabbit, Level 09COMMENT
LOWexamples/sokoban/tr_levels/23.txt1Author: Thinking Rabbit, Level 23COMMENT
LOWexamples/sokoban/tr_levels/37.txt1Author: Thinking Rabbit, Level 37COMMENT
LOWexamples/sokoban/tr_levels/36.txt1Author: Thinking Rabbit, Level 36COMMENT
LOWexamples/sokoban/tr_levels/22.txt1Author: Thinking Rabbit, Level 22COMMENT
LOWexamples/sokoban/tr_levels/26.txt1Author: Thinking Rabbit, Level 26COMMENT
LOWexamples/sokoban/tr_levels/32.txt1Author: Thinking Rabbit, Level 32COMMENT
LOWexamples/sokoban/tr_levels/33.txt1Author: Thinking Rabbit, Level 33COMMENT
LOWexamples/sokoban/tr_levels/27.txt1Author: Thinking Rabbit, Level 27COMMENT
LOWexamples/sokoban/tr_levels/31.txt1Author: Thinking Rabbit, Level 31COMMENT
LOWexamples/sokoban/tr_levels/25.txt1Author: Thinking Rabbit, Level 25COMMENT
LOWexamples/sokoban/tr_levels/19.txt1Author: Thinking Rabbit, Level 19COMMENT
LOWexamples/sokoban/tr_levels/18.txt1Author: Thinking Rabbit, Level 18COMMENT
LOWexamples/sokoban/tr_levels/24.txt1Author: Thinking Rabbit, Level 24COMMENT
LOWexamples/sokoban/tr_levels/30.txt1Author: Thinking Rabbit, Level 30COMMENT
LOW.github/workflows/claude_code_review.yml1name: Claude Code ReviewCOMMENT
LOW.github/workflows/docs_site_ci.yml61 rm -rf docs_siteCOMMENT
1145 more matches not shown…
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHthirdparty/mbedtls/library/error.c186 /* Begin Auto-Generated Code. */COMMENT
HIGHthirdparty/mbedtls/library/error.c528 /* End Auto-Generated Code. */COMMENT
HIGHthirdparty/mbedtls/library/error.c549 /* Begin Auto-Generated Code. */COMMENT
HIGHthirdparty/mbedtls/library/error.c783 /* End Auto-Generated Code. */COMMENT
Self-Referential Comments8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMthirdparty/mbedtls/include/psa/crypto_extra.h1617 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/include/psa/crypto.h962 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/include/psa/crypto.h1325 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/include/psa/crypto.h1385 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/include/psa/crypto.h1734 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/include/psa/crypto.h1797 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/include/psa/crypto.h2252 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/include/psa/crypto.h2322 * -# Initialize the operation object with one of the methods described in theCOMMENT
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWCHANGELOG.md2191- Add a Lorem Ipsum Generator (#26036)CODE
LOWcmd/tools/vdoc/testdata/output_formats/README.md93 payload := base64.url_encode(json.encode(JwtPayload{'1234567890', 'John Doe', 1516239022}).bytes())CODE
LOWcmd/tools/vdoc/testdata/output_formats/main.html72 payload <span class="token operator">:=</span> base64<span class="token punctuation">.</span><span class="token funcCODE
LOWchangelogs0.x/0.5.md3837- Add a Lorem Ipsum Generator (#26036)CODE
LOWdoc/docs.md2652 name: 'John Doe'CODE
LOWthirdparty/sokol/util/sokol_gl.h2739 sg_pipeline dummy_id = { SG_INVALID_ID };CODE
LOWthirdparty/sokol/util/sokol_gl.h2740 return dummy_id;CODE
LOWvlib/crypto/README.md85 base64.url_encode(json.encode(JwtPayload{'1234567890', 'John Doe', 1516239022}).bytes())CODE
LOWvlib/orm/README.md503 name: 'John Doe'CODE
LOWvlib/orm/README.md511 select from Member where name == 'John Doe' limit 1CODE
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMthirdparty/stb_vorbis/stb_vorbis.c51// 1.10 - 2017-03-03 - more robust seeking; fix negative ilog(); clear error in open_memoryCOMMENT
MEDIUMthirdparty/sokol/sokol_gfx.h8203 // enable seamless cubemap sampling (only desktop GL)COMMENT
MEDIUMvlib/net/http/h2spec/run_h2spec.sh6# conformance tester. It connects as a client and runs ~146 cases. This harness:COMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWexamples/1brc/README.md16### Step 1: Create a measurements fileCOMMENT
LOWexamples/1brc/README.md28### Step 2: Run (and time) the solutionCOMMENT
LOWexamples/1brc/README.md50### Step 3: Improve upon the solutionCOMMENT
Excessive Try-Catch Wrapping2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMvlib/hash/crc64/interop/crc64_ref.py59 print(f"Error: invalid hex input: {e}", file=sys.stderr)CODE
MEDIUMvlib/hash/crc64/interop/crc64_ref.py62 print(f"Error: unknown action '{action}'", file=sys.stderr)CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/claude_code_review.yml4# claude-code-action with the `code-review` plugin (multi-agent review thatCOMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWexamples/call_v_from_python/test.py1CODE