AI Slop Code RIsk Monitor

Zeyi-Lin/HivisionIDPhotos

⚡️HivisionIDPhotos: a lightweight and efficient AI ID photos tools. 一个轻量级的AI证件照制作算法。

5.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Zeyi-Lin/HivisionIDPhotos, a Python project with 21,617 GitHub stars. SynthScan examined 10,148 lines of code across 57 source files, recording 56 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 5.8 (Moderate 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.

5.8
Adjusted Signal
5.8
Raw Pattern Score
100%
Time Factor
2026-07-03
Last Push
21.6K
Stars
Python
Language
10.1K
Lines of Code
57
Files
56
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 16.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 8.0/100 · LOW

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

Agent Over-Engineering Ratio 10.5/100 · LOW

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

PR Review Velocity Impact 25.6/100 · MEDIUM

Which changes need focused human review? 56 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 2LOW 54

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 56 distinct pattern matches across 10 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.

AI Structural Patterns11 hits · 11 pts
SeverityFileLineSnippetContext
LOWdeploy_api.py45CODE
LOWdeploy_api.py239CODE
LOWdeploy_api.py316CODE
LOWdemo/processor.py28CODE
LOWdemo/processor.py672CODE
LOWhivision/utils.py317CODE
LOWhivision/creator/__init__.py52CODE
LOWhivision/creator/context.py15CODE
LOWhivision/creator/tensor2numpy.py20CODE
LOWhivision/creator/tensor2numpy.py41CODE
LOWhivision/plugin/watermark.py25CODE
Unused Imports9 hits · 9 pts
SeverityFileLineSnippetContext
LOWhivision/__init__.py1CODE
LOWhivision/__init__.py1CODE
LOWhivision/__init__.py1CODE
LOWhivision/creator/human_matting.py385CODE
LOWhivision/creator/choose_handler.py1CODE
LOWhivision/creator/choose_handler.py2CODE
LOWhivision/creator/retinaface/__init__.py1CODE
LOWhivision/plugin/beauty/grind_skin.py3CODE
LOWhivision/plugin/beauty/__init__.py1CODE
Fake / Example Data6 hits · 8 pts
SeverityFileLineSnippetContext
LOWdemo/ui.py273 "placeholder"CODE
LOWdemo/ui.py498 placeholder=LOCALES["watermark_text"][language]["placeholder"],CODE
LOW⚡demo/locales.py359 "placeholder": "up to 20 characters",CODE
LOW⚡demo/locales.py364 "placeholder": "最多20个字符",CODE
LOW⚡demo/locales.py369 "placeholder": "最大20文字",CODE
LOW⚡demo/locales.py374 "placeholder": "최대 20자",CODE
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWdemo/ui.py22CODE
LOWdemo/processor.py243CODE
LOWdemo/processor.py533CODE
LOWhivision/utils.py35CODE
LOWhivision/utils.py97CODE
LOWhivision/creator/choose_handler.py15CODE
LOWhivision/creator/face_detector.py79CODE
LOWhivision/creator/retinaface/prior_box.py19CODE
Hyper-Verbose Identifiers10 hits · 7 pts
SeverityFileLineSnippetContext
LOWdemo/ui.py319 def update_watermark_text_visibility(choice, language):CODE
LOWdemo/processor.py323 def _handle_photo_generation_error(self, language):CODE
LOWhivision/utils.py319def add_background_with_image(input_image: np.ndarray, background_image: np.ndarray) -> np.ndarray:CODE
LOWhivision/creator/human_matting.py91def extract_human_modnet_photographic_portrait_matting(ctx: Context):STRING
LOWhivision/creator/human_matting.py119# def extract_human_birefnet_portrait(ctx: Context):STRING
LOWhivision/creator/human_matting.py127def extract_human_birefnet_lite(ctx: Context):STRING
LOWhivision/creator/human_matting.py228def get_modnet_matting_photographic_portrait_matting(STRING
LOWhivision/creator/human_matting.py354def get_birefnet_portrait_matting(input_image, checkpoint_path, ref_size=512):STRING
LOWhivision/creator/face_detector.py79def detect_face_face_plusplus(ctx: Context):STRING
LOWhivision/plugin/beauty/base_adjust.py9def adjust_brightness_contrast_sharpen_saturation(CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMhivision/utils.py63 # Create a BytesIO object to hold the image data in memoryCOMMENT
MEDIUMhivision/utils.py124 # Create a BytesIO object to hold the image data in memoryCOMMENT
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdemo/locales.py1# Copyright 2024 the LlamaFactory team.COMMENT
LOWhivision/plugin/beauty/thin_face.py161 # def localTranslationWarpNumpy(self, srcImg, startP: np.matrix, endP: np.matrix, radius: float):COMMENT
LOWhivision/plugin/beauty/thin_face.py181 # H, W, C = self.thinImage.shape # 获取图像的形状COMMENT
LOWhivision/plugin/beauty/thin_face.py301# input_image = cv2.imread("test_image/4.jpg", -1)COMMENT
Excessive Try-Catch Wrapping4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdeploy_api.py272 except Exception as e:CODE
LOWdeploy_api.py305 except Exception as e:CODE
LOWhivision/creator/human_matting.py65 except Exception as e:STRING
LOWhivision/creator/retinaface/inference.py70 except Exception as e:CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhivision/utils.py72 # Check if the image size is within the target sizeCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWhivision/__init__.py4__all__ = ["IDCreator", "IDParams", "IDResult", "utils", "error"]CODE