OptiScaler bridges upscaling/frame gen across GPUs. Supports DLSS2+/XeSS/FSR2+ inputs, replaces native upscalers, enables FSR-FG/XeFG on non-FG titles. Supports Nukem mod for DLSSG-to-FSR3 FG.
This report presents the forensic synthetic code analysis of optiscaler/OptiScaler, a C++ project with 9,232 GitHub stars. SynthScan v2.0 examined 320,025 lines of code across 627 source files, recording 1288 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 3.7 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 1288 distinct pattern matches across 10 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 | .github/workflows/just_build.yml | 1 | # This workflow uses actions that are not certified by GitHub. | COMMENT |
| LOW | .github/workflows/just_build_no_signature.yml | 1 | # This workflow uses actions that are not certified by GitHub. | COMMENT |
| LOW | .github/workflows/test.yml | 1 | # This workflow uses actions that are not certified by GitHub. | COMMENT |
| LOW | .github/workflows/release_debug.yml | 1 | # This workflow uses actions that are not certified by GitHub. | COMMENT |
| LOW | external/freetype/freetype/ftwinfnt.h | 161 | #define FT_WinFNT_ID_CP936 134 | COMMENT |
| LOW | external/freetype/freetype/freetype.h | 961 | /* values instead */ | COMMENT |
| LOW | external/freetype/freetype/freetype.h | 1421 | #define FT_FACE_FLAG_MULTIPLE_MASTERS ( 1L << 8 ) | COMMENT |
| LOW | external/freetype/freetype/freetype.h | 3501 | #define FT_LOAD_RENDER ( 1L << 2 ) | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 141 | * | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 161 | #define TT_MAC_ID_TAMIL 14 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 301 | COMMENT | |
| LOW | external/freetype/freetype/ttnameid.h | 321 | #define TT_MAC_LANGID_CHINESE_TRADITIONAL 19 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 341 | #define TT_MAC_LANGID_SLOVAK 39 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 361 | #define TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT 57 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 381 | #define TT_MAC_LANGID_BURMESE 77 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 401 | #define TT_MAC_LANGID_CATALAN 130 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 441 | * however, we only provide macros for language identifiers present in | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 461 | #define TT_MS_LANGID_ARABIC_LEBANON 0x3001 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 481 | #define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 501 | #define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140A | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 521 | #define TT_MS_LANGID_FRENCH_CANADA 0x0C0C | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 541 | #define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 561 | #define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 581 | #define TT_MS_LANGID_SAMI_NORTHERN_NORWAY 0x043B | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 601 | #define TT_MS_LANGID_BENGALI_BANGLADESH 0x0845 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 621 | #define TT_MS_LANGID_SINHALA_SRI_LANKA 0x045B | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 641 | #define TT_MS_LANGID_YI_PRC 0x0478 | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 661 | #define TT_MS_LANGID_CATALAN_SPAIN \ | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 681 | #define TT_MS_LANGID_FRENCH_CAMEROON 0x2C0C | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 701 | #define TT_MS_LANGID_SORBIAN_GERMANY \ | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 721 | #define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN \ | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 741 | TT_MS_LANGID_GALICIAN_GALICIAN | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 761 | #define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA \ | COMMENT |
| LOW | external/freetype/freetype/ttnameid.h | 801 | /* the following values are from the OpenType spec */ | COMMENT |
| LOW | external/freetype/freetype/ftgxval.h | 81 | #define FT_VALIDATE_feat_INDEX 0 | COMMENT |
| LOW | external/freetype/freetype/tttags.h | 21 | COMMENT | |
| LOW | external/freetype/freetype/tttags.h | 41 | #define TTAG_bsln FT_MAKE_TAG( 'b', 's', 'l', 'n' ) | COMMENT |
| LOW | external/freetype/freetype/tttags.h | 61 | #define TTAG_GDEF FT_MAKE_TAG( 'G', 'D', 'E', 'F' ) | COMMENT |
| LOW | external/freetype/freetype/tttags.h | 81 | #define TTAG_MMFX FT_MAKE_TAG( 'M', 'M', 'F', 'X' ) | COMMENT |
| LOW | external/freetype/freetype/tttags.h | 101 | #define TTAG_ttc FT_MAKE_TAG( 't', 't', 'c', ' ' ) | COMMENT |
| LOW | external/freetype/freetype/ftimage.h | 441 | * Please refer to the description of the 'SCANTYPE' instruction in the | COMMENT |
| LOW | external/freetype/freetype/ftimage.h | 461 | #define ft_outline_owner FT_OUTLINE_OWNER | COMMENT |
| LOW | external/freetype/freetype/config/integer-types.h | 41 | #else | COMMENT |
| LOW | external/freetype/freetype/config/integer-types.h | 221 | #define FT_INT64 __int64 | COMMENT |
| LOW | external/freetype/freetype/config/ftstdlib.h | 61 | COMMENT | |
| LOW | external/freetype/freetype/config/ftstdlib.h | 81 | /************************************************************************** | COMMENT |
| LOW | external/freetype/freetype/config/ftheader.h | 801 | COMMENT | |
| LOW | external/freetype/freetype/config/mac-support.h | 41 | /* Classic MacOS compilers */ | COMMENT |
| LOW | external/freetype/freetype/config/public-macros.h | 121 | */ | COMMENT |
| LOW | external/streamline1/sl1.h | 181 | //! Reserved for future expansion, must be set to null | COMMENT |
| LOW | external/streamline1/sl1.h | 281 | //! @return false if SL is not supported on the system true otherwise. | COMMENT |
| LOW | external/streamline1/sl1.h | 301 | //! @param adapterBitMask Optional bit-mask specifying which adapter supports the give feature | COMMENT |
| LOW | external/streamline1/sl1.h | 321 | //! Sets the specified feature to either enabled or disabled state. | COMMENT |
| LOW | external/streamline1/sl1.h | 341 | //! @param tag Specific tag for the resource | COMMENT |
| LOW | external/streamline1/sl1.h | 361 | //! Sets feature specific constants. | COMMENT |
| LOW | external/streamline1/sl1.h | 381 | //! @param settings Pointer to the returned feature specific settings | COMMENT |
| LOW | external/streamline1/sl1.h | 401 | //! | COMMENT |
| LOW | external/streamline1/sl1.h | 421 | //! @return false if feature event cannot be injected in the command buffer or if device has not been created yet, t | COMMENT |
| LOW | external/streamline1/sl1_consts.h | 141 | //! Optional - Specifies matrix transformation describing lens distortion in clip space. | COMMENT |
| LOW | external/latencyflex/latencyflex.h | 1 | // Copyright 2021 Tatsuyuki Ishi | COMMENT |
| 1197 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | OptiScaler/Util.cpp | 429 | // Step 1: Get the size of the version information | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 439 | // Step 2: Allocate buffer and get the version information | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 447 | // Step 3: Extract the version information | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 567 | // Step 1: Get monitor handle | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 572 | // Step 2: Get monitor device name | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 579 | // Step 3: Query active display mode | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | OptiScaler/Util.cpp | 429 | // Step 1: Get the size of the version information | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 439 | // Step 2: Allocate buffer and get the version information | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 447 | // Step 3: Extract the version information | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 567 | // Step 1: Get monitor handle | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 572 | // Step 2: Get monitor device name | COMMENT |
| LOW⚡ | OptiScaler/Util.cpp | 579 | // Step 3: Query active display mode | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | external/freetype/freetype/fterrors.h | 78 | * Here is a simple example. | COMMENT |
| MEDIUM | external/freetype/freetype/freetype.h | 1385 | * for demonstration purposes. | COMMENT |
| LOW | OptiScaler/Util.cpp | 23 | /// Don't forget to add #pragma intrinsic(_ReturnAddress) | COMMENT |
| LOW | OptiScaler/misc/Quirks.h | 65 | // Don't forget to add the new entry to printQuirks | COMMENT |
| MEDIUM | OptiScaler/include/imgui/imgui_widgets.cpp | 7113 | // Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | OptiScaler/include/imgui/imgui_demo.cpp | 7514 | ImGui::TextWrapped("Lorem ipsum dolor sit amet"); | CODE |
| LOW⚡ | OptiScaler/include/imgui/imgui_demo.cpp | 7514 | ImGui::TextWrapped("Lorem ipsum dolor sit amet"); | CODE |
| LOW⚡ | OptiScaler/include/imgui/imgui_demo.cpp | 7516 | ImGui::Text("Lorem ipsum dolor sit amet"); | CODE |
| LOW⚡ | OptiScaler/include/imgui/imgui_demo.cpp | 7516 | ImGui::Text("Lorem ipsum dolor sit amet"); | CODE |
| LOW | OptiScaler/include/imgui/imgui_demo.cpp | 9354 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i | CODE |
| LOW | OptiScaler/include/imgui/imgui_demo.cpp | 9354 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i | CODE |
| LOW | OptiScaler/include/imgui/imgui_demo.cpp | 10344 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | OptiScaler/include/imgui/imgui_demo.cpp | 10344 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup_linux.sh | 59 | # Check if OptiScaler.dll exists | COMMENT |
| LOW | setup_linux.sh | 152 | # Check if file already exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup_linux.sh | 349 | # Create the uninstaller | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | OptiScaler/framegen/nvngx/Nvngx_FG.h | 67 | // Essentially a check to see if we are using Artur's mod for nvngx fg | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | OptiScaler/include/imgui/imgui_impl_win32.cpp | 1039 | // Borrowed from GLFW's function updateFramebufferTransparency() in src/win32_window.c | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | OptiScaler/shaders/shader_tools/create_header.py | 4 | CODE |