Repository Analysis

ProjectPhysX/FluidX3D

The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs and CPUs via OpenCL. Free for non-commercial use.

5.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ProjectPhysX/FluidX3D, a C++ project with 5,165 GitHub stars. SynthScan v2.0 examined 57,293 lines of code across 45 source files, recording 354 pattern matches distributed across 2 syntactic categories. The overall adjusted score of 5.0 places this repository in the Low AI signal 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).

5.0
Adjusted Score
5.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.2K
Stars
C++
Language
57.3K
Lines of Code
45
Files
354
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

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 0LOW 354

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 354 distinct pattern matches across 2 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 Block352 hits · 286 pts
SeverityFileLineSnippetContext
LOWsrc/defines.hpp1#pragma onceCOMMENT
LOWsrc/defines.hpp21//#define MOVING_BOUNDARIES // enables moving solids: set solid cells to TYPE_S and set their velocity u unequal to zeroCOMMENT
LOWsrc/defines.hpp41#define GRAPHICS_RAYTRACING_TRANSMITTANCE 0.25f // transmitted light fraction in raytracing graphics ("0.25f" = 1/4 of lCOMMENT
LOWsrc/defines.hpp61COMMENT
LOWsrc/defines.hpp81#undef MOVING_BOUNDARIESCOMMENT
LOWsrc/defines.hpp101#define UPDATE_FIELDS // update (rho, u, T) in every LBM stepCOMMENT
LOWsrc/setup.cpp1#include "setup.hpp"COMMENT
LOWsrc/graphics.cpp401 //case 'C': key_C = !key_C; break;COMMENT
LOWsrc/lodepng.hpp61#ifndef LODEPNG_NO_COMPILE_ENCODERCOMMENT
LOWsrc/lodepng.hpp81you can define the functions lodepng_free, lodepng_malloc and lodepng_realloc in yourCOMMENT
LOWsrc/setup.hpp1#pragma onceCOMMENT
LOWsrc/utilities.hpp1#pragma onceCOMMENT
LOWsrc/utilities.hpp21#include <iostream>COMMENT
LOWsrc/utilities.hpp41#define max_short ((short)32767)COMMENT
LOWsrc/utilities.hpp3161}COMMENT
LOWsrc/utilities.hpp3181#define UTILITIES_CONSOLE_COLORCOMMENT
LOWsrc/opencl.hpp1#pragma onceCOMMENT
LOWsrc/lbm.cpp801 }COMMENT
LOWsrc/lbm.cpp821#endif // SURFACECOMMENT
LOWsrc/lbm.cpp861#ifndef MOVING_BOUNDARIESCOMMENT
LOWsrc/kernel.hpp21// full catalogue: https://www.khronos.org/files/opencl30-reference-guide.pdfCOMMENT
LOWsrc/kernel.hpp41#define kernelCOMMENT
LOWsrc/kernel.hpp61#define atomic_or(p,x) // (*p)=(*p)|xCOMMENT
LOWsrc/kernel.hpp81#define max(x,y)COMMENT
LOWsrc/kernel.hpp101#define copysign(x,y) // x with sign changed to sign of yCOMMENT
LOWsrc/kernel.hpp121#define isinf(x) // test for infinityCOMMENT
LOWsrc/kernel.hpp141#define signbit(x) // test for sign bitCOMMENT
LOWsrc/kernel.hpp161#define fast_distance(x,y) // |y-x|COMMENT
LOWsrc/kernel.hpp181#define double16COMMENT
LOWsrc/kernel.hpp201#define long16COMMENT
LOWsrc/kernel.hpp221#define ulong2COMMENT
LOWsrc/kernel.hpp241#define as_double2(x)COMMENT
LOWsrc/kernel.hpp261#define as_int8(x)COMMENT
LOWsrc/kernel.hpp281#define as_uint(x)COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h21COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h61#define CL_API_PREFIX_USERCOMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h81 #define CL_API_SUFFIX_DEPRECATEDCOMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h101 #define CL_API_PREFIX__VERSION_1_1_DEPRECATED CL_API_PREFIX_COMMON CL_API_PREFIX_DEPRECATEDCOMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h121 #define CL_API_SUFFIX__VERSION_2_1_DEPRECATED CL_API_SUFFIX_COMMONCOMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h161typedef double cl_double;COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h181#define CL_LONG_MIN ((cl_long) -0x7FFFFFFFFFFFFFFFLL - 1LL)COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h201#define CL_HALF_RADIX 2COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h221#define CL_M_LN10 2.30258509299404568402COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h261typedef uint32_t cl_uint;COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h281#define CL_UINT_MAX 0xffffffffUCOMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h301#define CL_HALF_MIN_10_EXP -4COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h321#define CL_M_LOG10E 0.43429448190325182765COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h341#define CL_M_1_PI_F 0.318309886fCOMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h381#if defined( __VEC__ )COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h401#if defined( __SSE__ )COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h441 #endifCOMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h481 #define __CL_UINT2__ 1COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h501 #define __CL_DOUBLE4__ 1COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h521COMMENT
LOWsrc/OpenCL/include/CL/cl_platform.h1401#endifCOMMENT
LOWsrc/OpenCL/include/CL/cl_version.h21#if !defined(CL_TARGET_OPENCL_VERSION)COMMENT
LOWsrc/OpenCL/include/CL/cl_version.h41#endifCOMMENT
LOWsrc/OpenCL/include/CL/cl_version.h61/* Allow deprecated APIs for older OpenCL versions. */COMMENT
LOWsrc/OpenCL/include/CL/opencl.h21extern "C" {COMMENT
LOWsrc/OpenCL/include/CL/cl_ext.h81#define CL_COMMAND_BUFFER_SIMULTANEOUS_USE_KHR (1 << 0)COMMENT
292 more matches not shown…
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/lodepng.cpp69lodepng source code. Don't forget to remove "static" if you copypaste themCODE
LOWsrc/opencl.hpp27| Don't forget to reboot after installation! Press Enter to exit. |CODE