Vulkan Quake port based on QuakeSpasm
This report presents the forensic synthetic code analysis of Novum/vkQuake, a C project with 2,211 GitHub stars. SynthScan v2.0 examined 290,027 lines of code across 403 source files, recording 1206 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 3.1 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).
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.
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 1206 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Quake/q_stdinc.h | 61 | #include "msinttypes/stdint.h" | COMMENT |
| LOW | Quake/q_stdinc.h | 161 | #define PATH_MAX MAXPATHLEN | COMMENT |
| LOW | Quake/q_stdinc.h | 181 | COMMENT | |
| LOW | Quake/q_stdinc.h | 201 | #elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 3)) | COMMENT |
| LOW | Quake/q_stdinc.h | 221 | #endif | COMMENT |
| LOW | Quake/q_stdinc.h | 241 | #endif | COMMENT |
| LOW | Quake/lodepng.h | 101 | #define LODEPNG_COMPILE_CRC | COMMENT |
| LOW | Quake/protocol.h | 21 | */ | COMMENT |
| LOW | Quake/protocol.h | 41 | #define PRFL_EDICTSCALE (1 << 5) | COMMENT |
| LOW | Quake/protocol.h | 61 | #define U_ORIGIN1 (1 << 1) | COMMENT |
| LOW | Quake/protocol.h | 81 | #define U_MODEL2 (1 << 18) // 1 byte, this is .modelindex & 0xFF00 (second byte) | COMMENT |
| LOW | Quake/protocol.h | 101 | #define UF_PREDINFO (1u << 6) /*ent is predicted, probably a player*/ | COMMENT |
| LOW | Quake/protocol.h | 121 | #define UF_TRAILEFFECT (1u << 22) /*attaches custom particle trails to entities, woo.*/ | COMMENT |
| LOW | Quake/protocol.h | 141 | #define UFP_WEAPONFRAME_OLD (1u << 7) // no longer used. just a stat now that I rewrote stat deltas. | COMMENT |
| LOW | Quake/protocol.h | 161 | #define SU_EXTEND1 (1 << 15) // another byte to follow | COMMENT |
| LOW | Quake/protocol.h | 181 | // spike | COMMENT |
| LOW | Quake/protocol.h | 201 | // spike | COMMENT |
| LOW | Quake/protocol.h | 221 | COMMENT | |
| LOW | Quake/protocol.h | 241 | #define svc_updatestat 3 // [byte] [long] | COMMENT |
| LOW | Quake/protocol.h | 261 | #define svc_updatecolors 17 // [byte] [byte] | COMMENT |
| LOW | Quake/protocol.h | 281 | // johnfitz -- PROTOCOL_FITZQUAKE -- new server messages | COMMENT |
| LOW | Quake/protocol.h | 301 | #define svc_achievement 52 // [string] id | COMMENT |
| LOW | Quake/protocol.h | 321 | #define svcdp_entities 57 | COMMENT |
| LOW | Quake/protocol.h | 341 | #define clc_disconnect 2 | COMMENT |
| LOW | Quake/common.c | 21 | */ | COMMENT |
| LOW | Quake/bspfile.h | 21 | */ | COMMENT |
| LOW | Quake/bspfile.h | 41 | #define MAX_MAP_MARKSURFACES 65535 | COMMENT |
| LOW | Quake/bspfile.h | 81 | COMMENT | |
| LOW | Quake/bspfile.h | 161 | #define CONTENTS_SOLID -2 | COMMENT |
| LOW | Quake/glquake.h | 41 | // r_local.h -- private refresh defs | COMMENT |
| LOW | Quake/glquake.h | 181 | } vulkan_memory_type_t; | COMMENT |
| LOW | Quake/miniz.c | 3121 | #define MZ_FOPEN mz_fopen | COMMENT |
| LOW | Quake/miniz.c | 3141 | #endif | COMMENT |
| LOW | Quake/miniz.c | 3161 | #define MZ_FWRITE fwrite | COMMENT |
| LOW | Quake/miniz.c | 3181 | #define MZ_FILE_STAT stat64 | COMMENT |
| LOW | Quake/miniz.c | 3201 | COMMENT | |
| LOW | Quake/net.h | 81 | // returns 2 if an unreliable message was received | COMMENT |
| LOW | Quake/snd_mpg123.c | 21 | COMMENT | |
| LOW | Quake/quakever.h | 21 | #ifndef QUAKEVER_H | COMMENT |
| LOW | Quake/quakever.h | 41 | #define VKQUAKE_VERSION 1.35 | COMMENT |
| LOW | Quake/stb_image_write.h | 161 | #ifndef _CRT_NONSTDC_NO_DEPRECATE | COMMENT |
| LOW | Quake/stb_image_write.h | 181 | #endif | COMMENT |
| LOW | Quake/stb_image_resize.h | 201 | #ifdef STB_IMAGE_RESIZE_STATIC | COMMENT |
| LOW | Quake/stb_image_resize.h | 221 | // * colorspace is linear or sRGB as specified by function name | COMMENT |
| LOW | Quake/stb_image_resize.h | 261 | STBIR_EDGE_REFLECT = 2, | COMMENT |
| LOW | Quake/stb_image_resize.h | 321 | ////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | Quake/stb_image_resize.h | 361 | // | COMMENT |
| LOW | Quake/stb_image_resize.h | 381 | #define STBIR_MALLOC(size, c) ((void)(c), malloc (size)) | COMMENT |
| LOW | Quake/stb_image_resize.h | 401 | #define STBIR__NOTUSED(v) (void)sizeof (v) | COMMENT |
| LOW | Quake/stb_image_resize.h | 421 | COMMENT | |
| LOW | Quake/snd_codec.c | 21 | * with this program; if not, write to the Free Software Foundation, Inc., | COMMENT |
| LOW | Quake/mdfour.c | 61 | /* NOTE: This code makes no attempt to be fast! | COMMENT |
| LOW | Quake/sv_main.c | 161 | // #define UF_UNUSED UF_EXTEND2 /**/ | COMMENT |
| LOW | Quake/sys_sdl_win.c | 21 | COMMENT | |
| LOW | Quake/cfgfile.h | 21 | COMMENT | |
| LOW | Quake/mem.c | 21 | COMMENT | |
| LOW | Quake/mem.c | 41 | #undef snprintf | COMMENT |
| LOW | Quake/net_wins.c | 41 | #ifndef IPV6_V6ONLY | COMMENT |
| LOW | Quake/tasks.h | 81 | COMMENT | |
| LOW | Quake/net_dgrm.c | 21 | COMMENT | |
| 1139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Quake/mimalloc/prim/osx/alloc-override-zone.c | 403 | // it seems less robust than using interpose. | COMMENT |
| LOW | Windows/SDL3/include/SDL3/SDL_main_impl.h | 134 | #else /* platforms that use a standard main() and just call SDL_RunApp(), like iOS and 3DS */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Quake/pr_ext.c | 47 | // one funky way is to allocate a single large buffer and just concatenate it for more tempstring space. don't forget to | COMMENT |
| LOW | Quake/lodepng.c | 72 | lodepng source code. Don't forget to remove "static" if you copypaste them | CODE |
| LOW | Windows/SDL3/include/SDL3/SDL_process.h | 39 | * Don't forget to call SDL_DestroyProcess() to clean up, whether the process | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Quake/mimalloc/bitmap.c | 370 | // TODO: implement mi_bchunk_xsetNX instead of setNX | COMMENT |
| LOW | Quake/mimalloc/options.c | 619 | // TODO: implement ourselves to reduce dependencies on the C runtime | COMMENT |