Repository Analysis

optiscaler/OptiScaler

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.

3.7 Likely human-written View on GitHub

Analysis Overview

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).

3.7
Adjusted Score
3.7
Raw Score
100%
Time Factor
2026-07-12
Last Push
9.2K
Stars
C++
Language
320.0K
Lines of Code
627
Files
1.3K
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

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.

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 5LOW 1283

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 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.

Over-Commented Block1257 hits · 1114 pts
SeverityFileLineSnippetContext
LOW.github/workflows/just_build.yml1# This workflow uses actions that are not certified by GitHub.COMMENT
LOW.github/workflows/just_build_no_signature.yml1# This workflow uses actions that are not certified by GitHub.COMMENT
LOW.github/workflows/test.yml1# This workflow uses actions that are not certified by GitHub.COMMENT
LOW.github/workflows/release_debug.yml1# This workflow uses actions that are not certified by GitHub.COMMENT
LOWexternal/freetype/freetype/ftwinfnt.h161#define FT_WinFNT_ID_CP936 134COMMENT
LOWexternal/freetype/freetype/freetype.h961 /* values instead */COMMENT
LOWexternal/freetype/freetype/freetype.h1421#define FT_FACE_FLAG_MULTIPLE_MASTERS ( 1L << 8 )COMMENT
LOWexternal/freetype/freetype/freetype.h3501#define FT_LOAD_RENDER ( 1L << 2 )COMMENT
LOWexternal/freetype/freetype/ttnameid.h141 *COMMENT
LOWexternal/freetype/freetype/ttnameid.h161#define TT_MAC_ID_TAMIL 14COMMENT
LOWexternal/freetype/freetype/ttnameid.h301COMMENT
LOWexternal/freetype/freetype/ttnameid.h321#define TT_MAC_LANGID_CHINESE_TRADITIONAL 19COMMENT
LOWexternal/freetype/freetype/ttnameid.h341#define TT_MAC_LANGID_SLOVAK 39COMMENT
LOWexternal/freetype/freetype/ttnameid.h361#define TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT 57COMMENT
LOWexternal/freetype/freetype/ttnameid.h381#define TT_MAC_LANGID_BURMESE 77COMMENT
LOWexternal/freetype/freetype/ttnameid.h401#define TT_MAC_LANGID_CATALAN 130COMMENT
LOWexternal/freetype/freetype/ttnameid.h441 * however, we only provide macros for language identifiers present inCOMMENT
LOWexternal/freetype/freetype/ttnameid.h461#define TT_MS_LANGID_ARABIC_LEBANON 0x3001COMMENT
LOWexternal/freetype/freetype/ttnameid.h481#define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409COMMENT
LOWexternal/freetype/freetype/ttnameid.h501#define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140ACOMMENT
LOWexternal/freetype/freetype/ttnameid.h521#define TT_MS_LANGID_FRENCH_CANADA 0x0C0CCOMMENT
LOWexternal/freetype/freetype/ttnameid.h541#define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419COMMENT
LOWexternal/freetype/freetype/ttnameid.h561#define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425COMMENT
LOWexternal/freetype/freetype/ttnameid.h581#define TT_MS_LANGID_SAMI_NORTHERN_NORWAY 0x043BCOMMENT
LOWexternal/freetype/freetype/ttnameid.h601#define TT_MS_LANGID_BENGALI_BANGLADESH 0x0845COMMENT
LOWexternal/freetype/freetype/ttnameid.h621#define TT_MS_LANGID_SINHALA_SRI_LANKA 0x045BCOMMENT
LOWexternal/freetype/freetype/ttnameid.h641#define TT_MS_LANGID_YI_PRC 0x0478COMMENT
LOWexternal/freetype/freetype/ttnameid.h661#define TT_MS_LANGID_CATALAN_SPAIN \COMMENT
LOWexternal/freetype/freetype/ttnameid.h681#define TT_MS_LANGID_FRENCH_CAMEROON 0x2C0CCOMMENT
LOWexternal/freetype/freetype/ttnameid.h701#define TT_MS_LANGID_SORBIAN_GERMANY \COMMENT
LOWexternal/freetype/freetype/ttnameid.h721#define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN \COMMENT
LOWexternal/freetype/freetype/ttnameid.h741 TT_MS_LANGID_GALICIAN_GALICIANCOMMENT
LOWexternal/freetype/freetype/ttnameid.h761#define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA \COMMENT
LOWexternal/freetype/freetype/ttnameid.h801 /* the following values are from the OpenType spec */COMMENT
LOWexternal/freetype/freetype/ftgxval.h81#define FT_VALIDATE_feat_INDEX 0COMMENT
LOWexternal/freetype/freetype/tttags.h21COMMENT
LOWexternal/freetype/freetype/tttags.h41#define TTAG_bsln FT_MAKE_TAG( 'b', 's', 'l', 'n' )COMMENT
LOWexternal/freetype/freetype/tttags.h61#define TTAG_GDEF FT_MAKE_TAG( 'G', 'D', 'E', 'F' )COMMENT
LOWexternal/freetype/freetype/tttags.h81#define TTAG_MMFX FT_MAKE_TAG( 'M', 'M', 'F', 'X' )COMMENT
LOWexternal/freetype/freetype/tttags.h101#define TTAG_ttc FT_MAKE_TAG( 't', 't', 'c', ' ' )COMMENT
LOWexternal/freetype/freetype/ftimage.h441 * Please refer to the description of the 'SCANTYPE' instruction in theCOMMENT
LOWexternal/freetype/freetype/ftimage.h461#define ft_outline_owner FT_OUTLINE_OWNERCOMMENT
LOWexternal/freetype/freetype/config/integer-types.h41#elseCOMMENT
LOWexternal/freetype/freetype/config/integer-types.h221#define FT_INT64 __int64COMMENT
LOWexternal/freetype/freetype/config/ftstdlib.h61COMMENT
LOWexternal/freetype/freetype/config/ftstdlib.h81 /**************************************************************************COMMENT
LOWexternal/freetype/freetype/config/ftheader.h801COMMENT
LOWexternal/freetype/freetype/config/mac-support.h41 /* Classic MacOS compilers */COMMENT
LOWexternal/freetype/freetype/config/public-macros.h121 */COMMENT
LOWexternal/streamline1/sl1.h181 //! Reserved for future expansion, must be set to nullCOMMENT
LOWexternal/streamline1/sl1.h281 //! @return false if SL is not supported on the system true otherwise.COMMENT
LOWexternal/streamline1/sl1.h301 //! @param adapterBitMask Optional bit-mask specifying which adapter supports the give featureCOMMENT
LOWexternal/streamline1/sl1.h321 //! Sets the specified feature to either enabled or disabled state.COMMENT
LOWexternal/streamline1/sl1.h341 //! @param tag Specific tag for the resourceCOMMENT
LOWexternal/streamline1/sl1.h361 //! Sets feature specific constants.COMMENT
LOWexternal/streamline1/sl1.h381 //! @param settings Pointer to the returned feature specific settingsCOMMENT
LOWexternal/streamline1/sl1.h401 //!COMMENT
LOWexternal/streamline1/sl1.h421 //! @return false if feature event cannot be injected in the command buffer or if device has not been created yet, tCOMMENT
LOWexternal/streamline1/sl1_consts.h141 //! Optional - Specifies matrix transformation describing lens distortion in clip space.COMMENT
LOWexternal/latencyflex/latencyflex.h1// Copyright 2021 Tatsuyuki IshiCOMMENT
1197 more matches not shown…
Verbosity Indicators6 hits · 14 pts
SeverityFileLineSnippetContext
LOWOptiScaler/Util.cpp429 // Step 1: Get the size of the version informationCOMMENT
LOWOptiScaler/Util.cpp439 // Step 2: Allocate buffer and get the version informationCOMMENT
LOWOptiScaler/Util.cpp447 // Step 3: Extract the version informationCOMMENT
LOWOptiScaler/Util.cpp567 // Step 1: Get monitor handleCOMMENT
LOWOptiScaler/Util.cpp572 // Step 2: Get monitor device nameCOMMENT
LOWOptiScaler/Util.cpp579 // Step 3: Query active display modeCOMMENT
Structural Annotation Overuse6 hits · 14 pts
SeverityFileLineSnippetContext
LOWOptiScaler/Util.cpp429 // Step 1: Get the size of the version informationCOMMENT
LOWOptiScaler/Util.cpp439 // Step 2: Allocate buffer and get the version informationCOMMENT
LOWOptiScaler/Util.cpp447 // Step 3: Extract the version informationCOMMENT
LOWOptiScaler/Util.cpp567 // Step 1: Get monitor handleCOMMENT
LOWOptiScaler/Util.cpp572 // Step 2: Get monitor device nameCOMMENT
LOWOptiScaler/Util.cpp579 // Step 3: Query active display modeCOMMENT
Slop Phrases5 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMexternal/freetype/freetype/fterrors.h78 * Here is a simple example.COMMENT
MEDIUMexternal/freetype/freetype/freetype.h1385 * for demonstration purposes.COMMENT
LOWOptiScaler/Util.cpp23/// Don't forget to add #pragma intrinsic(_ReturnAddress)COMMENT
LOWOptiScaler/misc/Quirks.h65 // Don't forget to add the new entry to printQuirksCOMMENT
MEDIUMOptiScaler/include/imgui/imgui_widgets.cpp7113// Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image.COMMENT
Fake / Example Data8 hits · 10 pts
SeverityFileLineSnippetContext
LOWOptiScaler/include/imgui/imgui_demo.cpp7514 ImGui::TextWrapped("Lorem ipsum dolor sit amet");CODE
LOWOptiScaler/include/imgui/imgui_demo.cpp7514 ImGui::TextWrapped("Lorem ipsum dolor sit amet");CODE
LOWOptiScaler/include/imgui/imgui_demo.cpp7516 ImGui::Text("Lorem ipsum dolor sit amet");CODE
LOWOptiScaler/include/imgui/imgui_demo.cpp7516 ImGui::Text("Lorem ipsum dolor sit amet");CODE
LOWOptiScaler/include/imgui/imgui_demo.cpp9354 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor iCODE
LOWOptiScaler/include/imgui/imgui_demo.cpp9354 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor iCODE
LOWOptiScaler/include/imgui/imgui_demo.cpp10344 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
LOWOptiScaler/include/imgui/imgui_demo.cpp10344 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsetup_linux.sh59# Check if OptiScaler.dll existsCOMMENT
LOWsetup_linux.sh152 # Check if file already existsCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsetup_linux.sh349# Create the uninstallerCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMOptiScaler/framegen/nvngx/Nvngx_FG.h67 // Essentially a check to see if we are using Artur's mod for nvngx fgCOMMENT
Hyper-Verbose Identifiers1 hit · 2 pts
SeverityFileLineSnippetContext
LOWOptiScaler/include/imgui/imgui_impl_win32.cpp1039// Borrowed from GLFW's function updateFramebufferTransparency() in src/win32_window.cCOMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWOptiScaler/shaders/shader_tools/create_header.py4CODE