SuperTux source code
This report presents the forensic synthetic code analysis of SuperTux/supertux, a C++ project with 3,117 GitHub stars. SynthScan v2.0 examined 161,095 lines of code across 1116 source files, recording 1206 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 7.6 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 1206 distinct pattern matches across 7 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 | CMakeLists.txt | 1 | # | COMMENT |
| LOW | CMakeLists.txt | 21 | # | COMMENT |
| LOW | tools/bwrap-supertux.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/upload_supertux_wiki.sh | 1 | #! /bin/bash | COMMENT |
| LOW | tools/font-add-border.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/sexpr.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/build-addon-index.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/png_recompress.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/bootstrap-android-project.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/levelconverter-0.1.3_0.2.0.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/levelconverter-0.1.3_0.2.0.pl | 21 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | COMMENT |
| LOW | tools/scripting_docs_gen/class.hpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/util.cpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/CMakeLists.txt | 1 | # SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/parser.hpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/writer.hpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/util.hpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/parser.cpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/main.cpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/writer.cpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/darwin/makebundle.pl | 1 | #!/opt/local/bin/perl | COMMENT |
| LOW | tools/tilemanager/Tile.cs | 21 | /// <remarks> | COMMENT |
| LOW | tests/unit/reader_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/ifile_stream_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/string_util_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/uid_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/rectf_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/rect_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/md5_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/sizef_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/object_option_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/file_system_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/collision_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/version_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/size_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/aatriangle_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/dynamic_scoped_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/random_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/st_assert.hpp | 1 | // st_assert.hpp - Assert function for tests | COMMENT |
| LOW | tests/unit/util/colorspace_oklab.cpp | 1 | // SuperTux | COMMENT |
| LOW | mk/emscripten/AL/al.h | 1 | #ifndef OPENAL_AL_H__ | COMMENT |
| LOW | mk/emscripten/AL/al.h | 21 | #define AL_EXPONENT_DISTANCE 0xD005 | COMMENT |
| LOW | mk/emscripten/AL/al.h | 41 | #define AL_LINEAR_DISTANCE 0xD003 | COMMENT |
| LOW | mk/emscripten/AL/al.h | 61 | #define AL_SEC_OFFSET 0x1024 | COMMENT |
| LOW | mk/emscripten/AL/alc.h | 1 | #ifndef OPENAL_ALC_H__ | COMMENT |
| LOW | mk/emscripten/AL/alc.h | 21 | #define ALC_EXT_CAPTURE 1 | COMMENT |
| LOW | .github/workflows/windows.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/scripting.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/wasm.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/lint.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/translation_templates.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/macos.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/translations.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/flatpak.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/freebsd.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/android.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/gnulinux.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/gnulinux.yml | 201 | run: | | COMMENT |
| LOW | .github/workflows/wiki.yml | 1 | # SuperTux | COMMENT |
| LOW | external/SDL_SavePNG/savepng.c | 1 | /* | COMMENT |
| 1135 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/object/powerup.cpp | 118 | // Older levels utilize hardcoded behaviour from the chosen sprite | COMMENT |
| MEDIUM | src/object/weak_block.cpp | 40 | // Older levels utilize hardcoded behaviour from the "linked" property. | COMMENT |
| MEDIUM | src/supertux/tile_set_parser.cpp | 322 | // b) so that the resulting 'tiles' entry is more robust, | COMMENT |
| MEDIUM | src/supertux/savegame.cpp | 302 | // But i'd really love to actually utilize this save list here, but for now we | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CMakeLists.txt | 23 | # ------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/sexpr.py | 23 | CODE | |
| LOW | tools/build-addon-index.py | 93 | CODE | |
| LOW | tools/build-addon-index.py | 36 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/levelconverter-0.1.3_0.2.0.pl | 28 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/badguy/stumpy.cpp | 130 | // TODO: Handle exception or add relevant logic here. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/build-addon-index.py | 108 | except Exception as e: | CODE |