Repository Analysis

meshcore-dev/MeshCore

A new lightweight, hybrid routing mesh protocol for packet radios

4.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of meshcore-dev/MeshCore, a C project with 3,395 GitHub stars. SynthScan v2.0 examined 111,739 lines of code across 840 source files, recording 528 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 4.9 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.9
Adjusted Score
4.9
Raw Score
100%
Time Factor
2026-08-09
Last Push
3.4K
Stars
C
Language
111.7K
Lines of Code
840
Files
528
Pattern Hits
2026-08-09
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 0MEDIUM 10LOW 518

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 528 distinct pattern matches across 4 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 Block513 hits · 513 pts
SeverityFileLineSnippetContext
LOWbuild.sh201# # build specific repeater firmwaresCOMMENT
LOWbuild.sh221# build_firmware "Xiao_S3_WIO_companion_radio_ble"COMMENT
LOWvariants/meshtiny/target.h1#pragma onceCOMMENT
LOWvariants/meshtiny/variant.h21#define PIN_LED1 (35) // Green LEDCOMMENT
LOWvariants/meshtiny/variant.h41#define ENCODER_LEFT PIN_BUTTON2COMMENT
LOWvariants/meshtiny/variant.h61// SPI InterfacesCOMMENT
LOWvariants/meshtiny/variant.h81COMMENT
LOWvariants/wio-tracker-l1/target.h1#pragma onceCOMMENT
LOWvariants/wio-tracker-l1/variant.h21#define PIN_LED (11)COMMENT
LOWvariants/wio-tracker-l1/variant.h41COMMENT
LOWvariants/wio-tracker-l1/variant.h61#define PIN_SPI_MOSI (10)COMMENT
LOWvariants/wio-tracker-l1/variant.h81#define PIN_WIRE_SCL (15)COMMENT
LOWvariants/wio-tracker-l1/variant.h101COMMENT
LOWvariants/gat562_mesh_watch13/target.h1#pragma onceCOMMENT
LOWvariants/gat562_mesh_watch13/variant.h61COMMENT
LOWvariants/gat562_mesh_watch13/variant.h81#define PIN_BUTTON2 (10) COMMENT
LOWvariants/gat562_mesh_watch13/variant.h141 */COMMENT
LOWvariants/gat562_mesh_watch13/variant.h161#define P_LORA_BUSY (46)COMMENT
LOWvariants/heltec_v4_r8/target.h1#pragma onceCOMMENT
LOWvariants/lilygo_tbeam_supreme_SX1262/target.h1#pragma onceCOMMENT
LOWvariants/heltec_t096/target.h1#pragma onceCOMMENT
LOWvariants/heltec_t096/variant.h21COMMENT
LOWvariants/heltec_t096/variant.h41COMMENT
LOWvariants/heltec_t096/variant.h61////////////////////////////////////////////////////////////////////////////////COMMENT
LOWvariants/heltec_t096/variant.h81// #define PIN_BUTTON2 (11)COMMENT
LOWvariants/heltec_t096/variant.h101COMMENT
LOWvariants/heltec_t096/variant.h121#define PIN_SERIAL2_TX (0 + 10)COMMENT
LOWvariants/lilygo_tlora_v2_1/target.h1#pragma onceCOMMENT
LOWvariants/lilygo_tbeam_1w/TBeam1WBoard.h1#pragma onceCOMMENT
LOWvariants/lilygo_tbeam_1w/target.h1#pragma onceCOMMENT
LOWvariants/lilygo_tbeam_1w/variant.h1// LilyGo T-Beam-1W variant.hCOMMENT
LOWvariants/lilygo_tbeam_1w/variant.h21#define BUTTON_PIN 0 // BUTTON 1 (boot)COMMENT
LOWvariants/lilygo_tbeam_1w/variant.h41#define LORA_CS 15COMMENT
LOWvariants/lilygo_tbeam_1w/variant.h61#define SX126X_DIO2_AS_RF_SWITCHCOMMENT
LOWvariants/lilygo_tbeam_1w/variant.h81#define NTC_PIN 14COMMENT
LOWvariants/meshnology_w12/target.h1#pragma onceCOMMENT
LOWvariants/wio-e5-mini/target.h1#pragma onceCOMMENT
LOWvariants/wio-e5-mini/variant.h1#pragma onceCOMMENT
LOWvariants/xiao_nrf52/target.h1#pragma onceCOMMENT
LOWvariants/xiao_nrf52/variant.h21#define PINS_COUNT (33)COMMENT
LOWvariants/xiao_nrf52/variant.h61 // https://wiki.seeedstudio.com/XIAO_BLE#battery-charging-currentCOMMENT
LOWvariants/xiao_nrf52/variant.h81COMMENT
LOWvariants/xiao_nrf52/variant.h101COMMENT
LOWvariants/xiao_nrf52/variant.h121// Lora SPI is on SPI0COMMENT
LOWvariants/xiao_nrf52/variant.h141#define PIN_PDM_PWR (19)COMMENT
LOWvariants/ebyte_eora_s3/target.h1#pragma onceCOMMENT
LOWvariants/heltec_mesh_solar/MeshSolarBoard.h1#pragma onceCOMMENT
LOWvariants/heltec_mesh_solar/target.h1#pragma onceCOMMENT
LOWvariants/heltec_mesh_solar/variant.h21#define NRF_APMCOMMENT
LOWvariants/heltec_mesh_solar/variant.h41// I2C pin definitionCOMMENT
LOWvariants/heltec_mesh_solar/variant.h61// Builtin LEDsCOMMENT
LOWvariants/heltec_mesh_solar/variant.h81// #define BUTTON_PIN2 PIN_BUTTON2COMMENT
LOWvariants/heltec_mesh_solar/variant.h101#define PIN_SPI1_SCK (40)COMMENT
LOWvariants/heltec_mesh_solar/variant.h121// #define PIN_TFT_CS (11)COMMENT
LOWvariants/station_g3_esp32/StationG3Board.h1#pragma onceCOMMENT
LOWvariants/station_g3_esp32/target.h1#pragma onceCOMMENT
LOWvariants/rak3112/target.h1#pragma onceCOMMENT
LOWvariants/rak3112/RAK3112Board.h1#pragma onceCOMMENT
LOWvariants/wio_wm1110/variant.h21#define ADC_MULTIPLIER (2.0F)COMMENT
LOWvariants/wio_wm1110/variant.h41COMMENT
453 more matches not shown…
Decorative Section Separators10 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMvariants/lilygo_tbeam_1w/TBeam1WBoard.h11// VCC (+4.0~+8.0V) ──┬──────────────────► XY16P35 VCC pin 5 (PA direct)COMMENT
MEDIUMvariants/lilygo_tbeam_1w/TBeam1WBoard.h13// │ ┌───────────┐COMMENT
MEDIUMvariants/lilygo_tbeam_1w/TBeam1WBoard.h16// └───────────┘COMMENT
MEDIUMtest/test_mesh_tables/test_simple_mesh_tables.cpp26// ── wasSeen: pure query ───────────────────────────────────────────────────────COMMENT
MEDIUMtest/test_mesh_tables/test_simple_mesh_tables.cpp42// ── markSeen + wasSeen ───────────────────────────────────────────────────────COMMENT
MEDIUMtest/test_mesh_tables/test_simple_mesh_tables.cpp69// ── dup stats ────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/test_mesh_tables/test_simple_mesh_tables.cpp89// ── clear ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/test_config_serializer/test_config_serializer.cpp63// ── saveSerial: basic ───────────────────────────────────────────────────────COMMENT
MEDIUMtest/test_config_serializer/test_config_serializer.cpp104// ── loadSerial: basic ───────────────────────────────────────────────────────COMMENT
MEDIUMtest/test_config_serializer/test_config_serializer.cpp175// ── main ───────────────────────────────────────────────────────COMMENT
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOWbin/uf2conv/uf2conv.py36CODE
LOWbin/uf2conv/uf2conv.py162CODE
LOWbin/uf2conv/uf2conv.py204CODE
LOWbin/uf2conv/uf2conv.py270CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbuild_as_lib.py1CODE