The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs and CPUs via OpenCL. Free for non-commercial use.
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/defines.hpp | 1 | #pragma once | COMMENT |
| LOW | src/defines.hpp | 21 | //#define MOVING_BOUNDARIES // enables moving solids: set solid cells to TYPE_S and set their velocity u unequal to zero | COMMENT |
| LOW | src/defines.hpp | 41 | #define GRAPHICS_RAYTRACING_TRANSMITTANCE 0.25f // transmitted light fraction in raytracing graphics ("0.25f" = 1/4 of l | COMMENT |
| LOW | src/defines.hpp | 61 | COMMENT | |
| LOW | src/defines.hpp | 81 | #undef MOVING_BOUNDARIES | COMMENT |
| LOW | src/defines.hpp | 101 | #define UPDATE_FIELDS // update (rho, u, T) in every LBM step | COMMENT |
| LOW | src/setup.cpp | 1 | #include "setup.hpp" | COMMENT |
| LOW | src/graphics.cpp | 401 | //case 'C': key_C = !key_C; break; | COMMENT |
| LOW | src/lodepng.hpp | 61 | #ifndef LODEPNG_NO_COMPILE_ENCODER | COMMENT |
| LOW | src/lodepng.hpp | 81 | you can define the functions lodepng_free, lodepng_malloc and lodepng_realloc in your | COMMENT |
| LOW | src/setup.hpp | 1 | #pragma once | COMMENT |
| LOW | src/utilities.hpp | 1 | #pragma once | COMMENT |
| LOW | src/utilities.hpp | 21 | #include <iostream> | COMMENT |
| LOW | src/utilities.hpp | 41 | #define max_short ((short)32767) | COMMENT |
| LOW | src/utilities.hpp | 3161 | } | COMMENT |
| LOW | src/utilities.hpp | 3181 | #define UTILITIES_CONSOLE_COLOR | COMMENT |
| LOW | src/opencl.hpp | 1 | #pragma once | COMMENT |
| LOW | src/lbm.cpp | 801 | } | COMMENT |
| LOW | src/lbm.cpp | 821 | #endif // SURFACE | COMMENT |
| LOW | src/lbm.cpp | 861 | #ifndef MOVING_BOUNDARIES | COMMENT |
| LOW | src/kernel.hpp | 21 | // full catalogue: https://www.khronos.org/files/opencl30-reference-guide.pdf | COMMENT |
| LOW | src/kernel.hpp | 41 | #define kernel | COMMENT |
| LOW | src/kernel.hpp | 61 | #define atomic_or(p,x) // (*p)=(*p)|x | COMMENT |
| LOW | src/kernel.hpp | 81 | #define max(x,y) | COMMENT |
| LOW | src/kernel.hpp | 101 | #define copysign(x,y) // x with sign changed to sign of y | COMMENT |
| LOW | src/kernel.hpp | 121 | #define isinf(x) // test for infinity | COMMENT |
| LOW | src/kernel.hpp | 141 | #define signbit(x) // test for sign bit | COMMENT |
| LOW | src/kernel.hpp | 161 | #define fast_distance(x,y) // |y-x| | COMMENT |
| LOW | src/kernel.hpp | 181 | #define double16 | COMMENT |
| LOW | src/kernel.hpp | 201 | #define long16 | COMMENT |
| LOW | src/kernel.hpp | 221 | #define ulong2 | COMMENT |
| LOW | src/kernel.hpp | 241 | #define as_double2(x) | COMMENT |
| LOW | src/kernel.hpp | 261 | #define as_int8(x) | COMMENT |
| LOW | src/kernel.hpp | 281 | #define as_uint(x) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 21 | COMMENT | |
| LOW | src/OpenCL/include/CL/cl_platform.h | 61 | #define CL_API_PREFIX_USER | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 81 | #define CL_API_SUFFIX_DEPRECATED | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 101 | #define CL_API_PREFIX__VERSION_1_1_DEPRECATED CL_API_PREFIX_COMMON CL_API_PREFIX_DEPRECATED | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 121 | #define CL_API_SUFFIX__VERSION_2_1_DEPRECATED CL_API_SUFFIX_COMMON | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 161 | typedef double cl_double; | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 181 | #define CL_LONG_MIN ((cl_long) -0x7FFFFFFFFFFFFFFFLL - 1LL) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 201 | #define CL_HALF_RADIX 2 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 221 | #define CL_M_LN10 2.30258509299404568402 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 261 | typedef uint32_t cl_uint; | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 281 | #define CL_UINT_MAX 0xffffffffU | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 301 | #define CL_HALF_MIN_10_EXP -4 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 321 | #define CL_M_LOG10E 0.43429448190325182765 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 341 | #define CL_M_1_PI_F 0.318309886f | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 381 | #if defined( __VEC__ ) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 401 | #if defined( __SSE__ ) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 441 | #endif | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 481 | #define __CL_UINT2__ 1 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 501 | #define __CL_DOUBLE4__ 1 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 521 | COMMENT | |
| LOW | src/OpenCL/include/CL/cl_platform.h | 1401 | #endif | COMMENT |
| LOW | src/OpenCL/include/CL/cl_version.h | 21 | #if !defined(CL_TARGET_OPENCL_VERSION) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_version.h | 41 | #endif | COMMENT |
| LOW | src/OpenCL/include/CL/cl_version.h | 61 | /* Allow deprecated APIs for older OpenCL versions. */ | COMMENT |
| LOW | src/OpenCL/include/CL/opencl.h | 21 | extern "C" { | COMMENT |
| LOW | src/OpenCL/include/CL/cl_ext.h | 81 | #define CL_COMMAND_BUFFER_SIMULTANEOUS_USE_KHR (1 << 0) | COMMENT |
| 292 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/lodepng.cpp | 69 | lodepng source code. Don't forget to remove "static" if you copypaste them | CODE |
| LOW | src/opencl.hpp | 27 | | Don't forget to reboot after installation! Press Enter to exit. | | CODE |