AI Slop Code RIsk Monitor

hajimehoshi/ebiten

A dead simple 2D game engine for Go

4.6 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for hajimehoshi/ebiten, a Go project with 13,547 GitHub stars. SynthScan examined 242,180 lines of code across 981 source files, recording 1129 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 4.6 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.6
Adjusted Signal
4.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
13.5K
Stars
Go
Language
242.2K
Lines of Code
981
Files
1.1K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 20.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1129 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 0.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 0 finding(s).

PR Review Velocity Impact 20.8/100 · LOW

Which changes need focused human review? 1129 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 0MEDIUM 1LOW 1128

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1129 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block1126 hits · 1112 pts
SeverityFileLineSnippetContext
LOWgeom_test.go1// Copyright 2014 Hajime HoshiCOMMENT
LOWgenerate.go1// Copyright 2015 Hajime HoshiCOMMENT
LOWgenerate.go21//COMMENT
LOWwindow.go1// Copyright 2019 The Ebiten AuthorsCOMMENT
LOWwindow.go41 WindowResizingModeOnlyFullscreenEnabled WindowResizingModeType = WindowResizingModeType(ui.WindowResizingModeOnlyFullscCOMMENT
LOWwindow.go61// SetWindowDecorated does nothing if the platform is not a desktop.COMMENT
LOWwindow.go81//COMMENT
LOWwindow.go121 mode = ui.WindowResizingModeEnabledCOMMENT
LOWwindow.go141//COMMENT
LOWwindow.go161//COMMENT
LOWwindow.go201// WindowSize returns the window size on desktops.COMMENT
LOWwindow.go261func IsWindowFloating() bool {COMMENT
LOWwindow.go281func MaximizeWindow() {COMMENT
LOWwindow.go301//COMMENT
LOWwindow.go321//COMMENT
LOWwindow.go341// the game can know whether the window is being closed or not by IsWindowBeingClosed.COMMENT
LOWwindow.go361COMMENT
LOWcolorm.go1// Copyright 2014 Hajime HoshiCOMMENT
LOWcolorm.go21)COMMENT
LOWcolorm.go121}COMMENT
LOWcolorm.go141}COMMENT
LOWshader_test.go1// Copyright 2020 The Ebiten AuthorsCOMMENT
LOWmousebuttons.go1// Copyright 2015 Hajime HoshiCOMMENT
LOWgameforui.go1// Copyright 2014 Hajime HoshiCOMMENT
LOWmonitor.go1// Copyright 2023 The Ebitengine AuthorsCOMMENT
LOWmonitor.go21// MonitorType represents a monitor available to the system.COMMENT
LOWmonitor.go41//COMMENT
LOWshader.go1// Copyright 2020 The Ebiten AuthorsCOMMENT
LOWebiten_test.go1// Copyright 2024 The Ebitengine AuthorsCOMMENT
LOWstencilbuffer_test.go1// Copyright 2026 The Ebitengine AuthorsCOMMENT
LOWimagetobytes_test.go1// Copyright 2016 The Ebiten AuthorsCOMMENT
LOWcolormode.go1// Copyright 2026 The Ebitengine AuthorsCOMMENT
LOWcolormode.go41//COMMENT
LOWrun.go1// Copyright 2014 Hajime HoshiCOMMENT
LOWrun.go41 // An actual TPS is available by ActualTPS(), and the result might slightly differ from your expected TPS,COMMENT
LOWrun.go61 // Draw draws the game screen by one frame.COMMENT
LOWrun.go81 // It is ensured that Layout is invoked before Update is called in the first frame.COMMENT
LOWrun.go121 // private prevents other packages from implementing this interface.COMMENT
LOWrun.go141const DefaultTPS = clock.DefaultTPSCOMMENT
LOWrun.go181}COMMENT
LOWrun.go201//COMMENT
LOWrun.go221// On browsers, it is strongly recommended to use iframe if you embed an Ebitengine application in your website.COMMENT
LOWrun.go241func RunGame(game Game) error {COMMENT
LOWrun.go261 // The default (zero) value is false, which means that the window is not transparent.COMMENT
LOWrun.go281 // The default (zero) value is false, which means that the single thread mode is disabled.COMMENT
LOWrun.go301 // ApplePressAndHoldEnabled indicates whether the press-and-hold feature is enabled or not.COMMENT
LOWrun.go321 // `ebitenginevmguest` build tag, the environment variable EBITENGINE_VM_ENDPOINT is used instead.COMMENT
LOWrun.go341// If game implements FinalScreenDrawer, its DrawFinalScreen is called after Draw.COMMENT
LOWrun.go401 if s == nil {COMMENT
LOWrun.go421// ScreenSizeInFullscreen must be called on the main thread before ebiten.RunGame, and is concurrent-safe afterCOMMENT
LOWrun.go441// CursorModeCaptured hides the system cursor and locks it to the window.COMMENT
LOWrun.go461//COMMENT
LOWrun.go481// SetFullscreen does nothing on mobiles.COMMENT
LOWrun.go501//COMMENT
LOWrun.go521func SetRunnableOnUnfocused(runnableOnUnfocused bool) {COMMENT
LOWrun.go561}COMMENT
LOWrun.go581 // The game's Update is called based on the specified TPS.COMMENT
LOWrun.go601//COMMENT
LOWrun.go661// SyncWithFPS is a special TPS value that means TPS syncs with FPS.COMMENT
LOWrun.go701// SetScreenTransparent sets the state if the window is transparent.COMMENT
1066 more matches not shown…
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexp/vmhost/guestsession.go1419 // The guest releases a session before starting the next one, but be robust to a missing end: a newCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinternal/atlas/image_test.go918// TODO: Add tests to extend image on an atlas out of the main loopCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinternal/glfw/glx_context_linbsd.go334 // NOTE: This function must not call any X11 functions, as it is calledCOMMENT