Repository Analysis

hero8152/Infinite-Canvas

Supports comfyui/API calls/modelscope calls

7.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of hero8152/Infinite-Canvas, a Python project with 2,953 GitHub stars. SynthScan v2.0 examined 109,168 lines of code across 86 source files, recording 1258 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 7.2 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).

7.2
Adjusted Score
7.2
Raw Score
100%
Time Factor
2026-08-28
Last Push
3.0K
Stars
Python
Language
109.2K
Lines of Code
86
Files
1.3K
Pattern Hits
2026-08-29
Scan Date
0.02
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 2MEDIUM 22LOW 1234

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

Hyper-Verbose Identifiers891 hits · 553 pts
SeverityFileLineSnippetContext
LOWmain.py143 async def broadcast_asset_library_updated(self, updated_at: int = 0):CODE
LOWmain.py714def runninghub_wallet_key_env():CODE
LOWmain.py717def volcengine_access_key_env():CODE
LOWmain.py720def volcengine_secret_key_env():CODE
LOWmain.py750def runninghub_wallet_key_value() -> str:CODE
LOWmain.py754def volcengine_access_key_value() -> str:CODE
LOWmain.py758def volcengine_secret_key_value() -> str:CODE
LOWmain.py762def volcengine_provider_api_key(explicit_key: str = "") -> str:CODE
LOWmain.py1206def locked_recommended_provider_rule(provider_id="", name="", base_url=""):CODE
LOWmain.py1220def apply_locked_recommended_model_rules(base_url="", grouped=None):CODE
LOWmain.py2343def update_backup_manifest_path(backup_dir: str) -> str:CODE
LOWmain.py2346def read_update_backup_manifest(backup_dir: str) -> Dict[str, Any]:CODE
LOWmain.py2354def write_update_backup_manifest(backup_dir: str, payload: Dict[str, Any]) -> None:CODE
LOWmain.py4760def is_tudou_async_image_mode(provider, model=""):CODE
LOWmain.py4766def is_tudou_async_image_model(model):CODE
LOWmain.py4769def tudou_image_model_for_request(model):CODE
LOWmain.py4994def codex_output_url_from_path(path):CODE
LOWmain.py5671def gemini_cli_reference_note(reference_images=None):CODE
LOWmain.py5681async def gemini_cli_reference_paths(reference_images=None):CODE
LOWmain.py5684def gemini_cli_image_size_instruction(size="", model=""):CODE
LOWmain.py5994def jimeng_video_submit_poll_seconds():CODE
LOWmain.py6375def jimeng_transition_duration(total_duration, transition_count):CODE
LOWmain.py6383def jimeng_multiframe_transition_prompts(prompt, segments):CODE
LOWmain.py6628def jimeng_normalize_upscale_resolution(value):CODE
LOWmain.py6632async def generate_jimeng_upscale_image(reference_images, resolution_type):CODE
LOWmain.py7043async def get_asset_classification_prompt():CODE
LOWmain.py7052async def update_asset_classification_prompt(payload: Dict[str, str]):CODE
LOWmain.py7056def media_preview_cache_paths(path: str, width: int):CODE
LOWmain.py7484def load_asset_classification_prompt():CODE
LOWmain.py7495def save_asset_classification_prompt(text):CODE
LOWmain.py7587def parse_asset_classification_text(text):CODE
LOWmain.py7600def _read_local_upload_classification(filename):CODE
LOWmain.py7610def _write_local_upload_classification(filename, classification):CODE
LOWmain.py7615def asset_classification_prompt(extra_prompt=""):CODE
LOWmain.py7622async def classify_image_with_provider(abs_path, provider_id="", model="", ms_model="", prompt=""):CODE
LOWmain.py7635async def classify_asset_image_best_effort(abs_path, provider_id="", model="", ms_model="", prompt=""):CODE
LOWmain.py7642def migrate_asset_library_into_dirs():CODE
LOWmain.py7689def asset_library_workflow_category(lib, library_id="", category_id=""):CODE
LOWmain.py7928def normalize_prompt_category_id(category="custom"):CODE
LOWmain.py7932def normalize_prompt_library_item(item):CODE
LOWmain.py8403def attachment_embedded_image_data_urls(refs, max_images=4):CODE
LOWmain.py8513def volcengine_video_duration(duration) -> int:CODE
LOWmain.py8520def volcengine_video_resolution(value: str) -> str:CODE
LOWmain.py8530def probe_local_audio_duration_seconds(value: str) -> Optional[float]:CODE
LOWmain.py10076def rewrite_runninghub_file_url(url):CODE
LOWmain.py10087def runninghub_extract_outputs(data):CODE
LOWmain.py10179def runninghub_is_workflow_link_value(value):CODE
LOWmain.py10187def runninghub_workflow_node_info_list(workflow_json):CODE
LOWmain.py10522def runninghub_size_for_aspect(aspect_ratio, fallback="1280x720"):CODE
LOWmain.py10532def runninghub_is_image_to_video(value):CODE
LOWmain.py10537def runninghub_apply_schema_defaults(body, params):CODE
LOWmain.py11461def image_size_from_reference(ref):CODE
LOWmain.py11474def chat_requested_image_count(message):CODE
LOWmain.py11484def chat_split_parallel_prompts(prompt, count):CODE
LOWmain.py12017def _local_upload_safe_folder(path_value):CODE
LOWmain.py12021def _local_upload_safe_folder_name(name):CODE
LOWmain.py12028def _local_upload_safe_file_stem(name):CODE
LOWmain.py12036def _local_upload_caption_path(filename):CODE
LOWmain.py12039def _read_local_upload_caption(filename):CODE
LOWmain.py12089def _local_upload_folder_node(path="", name="全部上传"):CODE
831 more matches not shown…
Excessive Try-Catch Wrapping263 hits · 171 pts
SeverityFileLineSnippetContext
MEDIUMmain.py3493def get_comfy_history(comfy_address, prompt_id):CODE
MEDIUMmain.py3589def load_projects():CODE
MEDIUMmain.py4286def extract_image(data):CODE
MEDIUMmain.py4618def remember_stream_images_from(value):CODE
MEDIUMmain.py5988def jimeng_poll_seconds(default=JIMENG_DEFAULT_POLL_SECONDS):CODE
MEDIUMmain.py7484def load_asset_classification_prompt():CODE
MEDIUMmain.py7635def classify_asset_image_best_effort(abs_path, provider_id="", model="", ms_modeCODE
MEDIUMmain.py7785def shared_folders_load():CODE
MEDIUMmain.py8255def _xlsx_shared_strings(archive):CODE
MEDIUMmain.py8513def volcengine_video_duration(duration) -> int:CODE
MEDIUMmain.py8812def apimart_video_duration(duration) -> int:CODE
MEDIUMmain.py8819def apimart_veo31_duration(duration) -> int:CODE
MEDIUMmain.py10151def log_runninghub_error(stage, raw=None, **extra):CODE
MEDIUMmain.py10766def normalize_seed_uint32(value):CODE
MEDIUMmain.py10808def _num(raw, default):CODE
MEDIUMmain.py11733def stream_remote():CODE
MEDIUMmain.py12189def _sniff_image_ext(path):CODE
MEDIUMmain.py14903def agnes_video_frame_count(duration, fps=24):CODE
MEDIUMmain.py15035def yuli_video_seconds(duration) -> str:CODE
MEDIUMmain.py15263def tudou_snap_choice(value, choices, default):CODE
MEDIUMmain.py16198def smart_canvas_prompt_templates():CODE
LOWmain.py139 except Exception as e:CODE
LOWmain.py151 except Exception as e:CODE
LOWmain.py160 except Exception as e:CODE
LOWmain.py188 except Exception as exc:CODE
LOWmain.py193 except Exception as exc:CODE
LOWmain.py198 except Exception as exc:CODE
LOWmain.py1202 except Exception:CODE
LOWmain.py1212 except Exception:CODE
LOWmain.py2351 except Exception:CODE
LOWmain.py3962 except Exception:CODE
LOWmain.py3965 except Exception:CODE
LOWmain.py3968 except Exception:CODE
LOWmain.py4990 except Exception:CODE
LOWmain.py5000 except Exception:CODE
LOWmain.py5991 except Exception:CODE
LOWmain.py5998 except Exception:CODE
LOWmain.py6369 except Exception:CODE
LOWmain.py6379 except Exception:CODE
LOWmain.py6623 except Exception:CODE
LOWmain.py7491 except Exception as exc:CODE
LOWmain.py7595 except Exception:CODE
LOWmain.py7607 except Exception:CODE
LOWmain.py7638 except Exception as exc:CODE
LOWmain.py7647 except Exception as exc:CODE
LOWmain.py7681 except Exception as exc:CODE
LOWmain.py7686 except Exception as exc:CODE
LOWmain.py7924 except Exception as e:CODE
LOWmain.py8397 except Exception as exc:CODE
LOWmain.py8399 except Exception as exc:CODE
LOWmain.py8516 except Exception:CODE
LOWmain.py10082 except Exception:CODE
LOWmain.py10175 except Exception:CODE
LOWmain.py11470 except Exception as exc:CODE
LOWmain.py12079 except Exception:CODE
LOWmain.py13395 except Exception:CODE
LOWmain.py13425 except Exception:CODE
LOWmain.py13440 except Exception:CODE
LOWmain.py15055 except Exception:CODE
LOWmain.py15064 except Exception:CODE
203 more matches not shown…
Deep Nesting94 hits · 47 pts
SeverityFileLineSnippetContext
LOWmain.py519CODE
LOWmain.py723CODE
LOWmain.py842CODE
LOWmain.py1146CODE
LOWmain.py1363CODE
LOWmain.py1567CODE
LOWmain.py1702CODE
LOWmain.py1954CODE
LOWmain.py2455CODE
LOWmain.py2645CODE
LOWmain.py3239CODE
LOWmain.py3277CODE
LOWmain.py3307CODE
LOWmain.py3479CODE
LOWmain.py3715CODE
LOWmain.py3798CODE
LOWmain.py3820CODE
LOWmain.py4176CODE
LOWmain.py4286CODE
LOWmain.py4445CODE
LOWmain.py4579CODE
LOWmain.py5562CODE
LOWmain.py5704CODE
LOWmain.py5870CODE
LOWmain.py6029CODE
LOWmain.py6292CODE
LOWmain.py6335CODE
LOWmain.py6655CODE
LOWmain.py6841CODE
LOWmain.py7484CODE
LOWmain.py7642CODE
LOWmain.py7847CODE
LOWmain.py7868CODE
LOWmain.py8197CODE
LOWmain.py8296CODE
LOWmain.py8327CODE
LOWmain.py8375CODE
LOWmain.py8416CODE
LOWmain.py8578CODE
LOWmain.py8633CODE
LOWmain.py8969CODE
LOWmain.py9031CODE
LOWmain.py9076CODE
LOWmain.py9290CODE
LOWmain.py9508CODE
LOWmain.py10087CODE
LOWmain.py10187CODE
LOWmain.py10315CODE
LOWmain.py10537CODE
LOWmain.py10598CODE
LOWmain.py10912CODE
LOWmain.py11092CODE
LOWmain.py11172CODE
LOWmain.py11744CODE
LOWmain.py11829CODE
LOWmain.py11857CODE
LOWmain.py12141CODE
LOWmain.py12196CODE
LOWmain.py12264CODE
LOWmain.py12408CODE
34 more matches not shown…
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHmain.py6096 ". ~/.profile >/dev/null 2>&1 || true; . ~/.bashrc >/dev/null 2>&1 || true; "CODE
HIGHmain.py6097 "DREAMINA_BIN=$(command -v dreamina || find \"$HOME\" -maxdepth 4 -type f -name dreamina 2>/dev/null | head CODE
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWstatic/klein.html300 <div id="placeholder" class="text-center space-y-4 opacity-20">CODE
LOWstatic/klein.html513 const placeholder = document.getElementById('placeholder');CODE
LOWstatic/klein.html592 const placeholder = document.getElementById('placeholder');CODE
LOWstatic/online.html199 <div id="placeholder" class="text-center space-y-4 opacity-20"><i data-lucide="layout" class="w-12 hCODE
LOWstatic/online.html622 const btn = document.getElementById('genBtn'), loader = document.getElementById('loader'), placeholder = docCODE
LOWstatic/js/i18n-core.js45 el.setAttribute('placeholder', t(el.dataset.i18nPlaceholder));CODE
Dead Code1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMmain.py7455CODE
Unused Imports1 hit · 0 pts
SeverityFileLineSnippetContext
LOWmain.py13CODE