Repository Analysis

hero8152/Infinite-Canvas

Supports comfyui/API calls/modelscope calls

6.8 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,123 GitHub stars. SynthScan v2.0 examined 102,257 lines of code across 83 source files, recording 1109 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 6.8 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).

6.8
Adjusted Score
6.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.1K
Stars
Python
Language
102.3K
Lines of Code
83
Files
1.1K
Pattern Hits
2026-07-14
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 19LOW 1088

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 1109 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 Identifiers773 hits · 477 pts
SeverityFileLineSnippetContext
LOWmain.py143 async def broadcast_asset_library_updated(self, updated_at: int = 0):CODE
LOWmain.py659def runninghub_wallet_key_env():CODE
LOWmain.py662def volcengine_access_key_env():CODE
LOWmain.py665def volcengine_secret_key_env():CODE
LOWmain.py695def runninghub_wallet_key_value() -> str:CODE
LOWmain.py699def volcengine_access_key_value() -> str:CODE
LOWmain.py703def volcengine_secret_key_value() -> str:CODE
LOWmain.py707def volcengine_provider_api_key(explicit_key: str = "") -> str:CODE
LOWmain.py1141def locked_recommended_provider_rule(provider_id="", name="", base_url=""):CODE
LOWmain.py1155def apply_locked_recommended_model_rules(base_url="", grouped=None):CODE
LOWmain.py4413def codex_output_url_from_path(path):CODE
LOWmain.py5090def gemini_cli_reference_note(reference_images=None):CODE
LOWmain.py5100async def gemini_cli_reference_paths(reference_images=None):CODE
LOWmain.py5103def gemini_cli_image_size_instruction(size="", model=""):CODE
LOWmain.py5714def jimeng_transition_duration(total_duration, transition_count):CODE
LOWmain.py5722def jimeng_video_model_version(model):CODE
LOWmain.py6685def parse_asset_classification_text(text):CODE
LOWmain.py6698def _read_local_upload_classification(filename):CODE
LOWmain.py6708def _write_local_upload_classification(filename, classification):CODE
LOWmain.py6713def asset_classification_prompt(extra_prompt=""):CODE
LOWmain.py6719async def classify_image_with_provider(abs_path, provider_id="", model="", ms_model="", prompt=""):CODE
LOWmain.py6732async def classify_asset_image_best_effort(abs_path, provider_id="", model="", ms_model="", prompt=""):CODE
LOWmain.py6739def migrate_asset_library_into_dirs():CODE
LOWmain.py6786def asset_library_workflow_category(lib, library_id="", category_id=""):CODE
LOWmain.py7025def normalize_prompt_category_id(category="custom"):CODE
LOWmain.py7029def normalize_prompt_library_item(item):CODE
LOWmain.py7500def attachment_embedded_image_data_urls(refs, max_images=4):CODE
LOWmain.py7610def volcengine_video_duration(duration) -> int:CODE
LOWmain.py7617def volcengine_video_resolution(value: str) -> str:CODE
LOWmain.py7627def probe_local_audio_duration_seconds(value: str) -> Optional[float]:CODE
LOWmain.py9167def rewrite_runninghub_file_url(url):CODE
LOWmain.py9178def runninghub_extract_outputs(data):CODE
LOWmain.py9252def runninghub_is_workflow_link_value(value):CODE
LOWmain.py9260def runninghub_workflow_node_info_list(workflow_json):CODE
LOWmain.py10505def image_size_from_reference(ref):CODE
LOWmain.py10518def chat_requested_image_count(message):CODE
LOWmain.py10528def chat_split_parallel_prompts(prompt, count):CODE
LOWmain.py10979def _local_upload_safe_folder(path_value):CODE
LOWmain.py10983def _local_upload_safe_folder_name(name):CODE
LOWmain.py10990def _local_upload_safe_file_stem(name):CODE
LOWmain.py10998def _local_upload_caption_path(filename):CODE
LOWmain.py11001def _read_local_upload_caption(filename):CODE
LOWmain.py11051def _local_upload_folder_node(path="", name="全部上传"):CODE
LOWmain.py11061def _local_upload_tree_and_items():CODE
LOWmain.py12331def volcengine_task_probe_url(base_url: str):CODE
LOWmain.py12339async def probe_volcengine_task_endpoint(client, base_url: str, api_key: str):CODE
LOWmain.py12356def openai_compat_root_for_probe(base_url: str):CODE
LOWmain.py12364async def probe_openai_compat_bearer_endpoint(client, base_url: str, api_key: str):CODE
LOWmain.py12386async def probe_openai_models_endpoint(client, base_url: str, api_key: str):CODE
LOWmain.py13702async def generate_lingjing_openai_video(client, payload, provider, base_url, requested_model):CODE
LOWmain.py15063async def rename_asset_library_category(category_id: str, payload: AssetLibraryRenameRequest):CODE
LOWmain.py15073async def delete_asset_library_category(category_id: str, library_id: str = ""):CODE
LOWmain.py16695def runninghub_workflow_store_path() -> str:CODE
LOWmain.py16698def load_runninghub_workflow_store():CODE
LOWmain.py16708def save_runninghub_workflow_store(store):CODE
LOWmain.py16713def runninghub_workflow_config_has_payload(cfg):CODE
LOWmain.py16718def runninghub_static_workflow_entry(workflow_id: str):CODE
LOWmain.py16728def runninghub_static_workflow_config(workflow_id: str):CODE
LOWmain.py16857def runninghub_select_workflow_config(local_cfg, provider_cfg, workflow_id: str = ""):CODE
LOWmain.py456def ensure_runtime_config_files():CODE
713 more matches not shown…
Excessive Try-Catch Wrapping242 hits · 158 pts
SeverityFileLineSnippetContext
MEDIUMmain.py3054def get_comfy_history(comfy_address, prompt_id):CODE
MEDIUMmain.py3150def load_projects():CODE
MEDIUMmain.py3826def extract_image(data):CODE
MEDIUMmain.py4158def remember_stream_images_from(value):CODE
MEDIUMmain.py5381def jimeng_poll_seconds(default=JIMENG_DEFAULT_POLL_SECONDS):CODE
MEDIUMmain.py6732def classify_asset_image_best_effort(abs_path, provider_id="", model="", ms_modeCODE
MEDIUMmain.py6882def shared_folders_load():CODE
MEDIUMmain.py7352def _xlsx_shared_strings(archive):CODE
MEDIUMmain.py7610def volcengine_video_duration(duration) -> int:CODE
MEDIUMmain.py7909def apimart_video_duration(duration) -> int:CODE
MEDIUMmain.py7916def apimart_veo31_duration(duration) -> int:CODE
MEDIUMmain.py9834def normalize_seed_uint32(value):CODE
MEDIUMmain.py9876def _num(raw, default):CODE
MEDIUMmain.py10780def stream_remote():CODE
MEDIUMmain.py11151def _sniff_image_ext(path):CODE
MEDIUMmain.py13525def agnes_video_frame_count(duration, fps=24):CODE
MEDIUMmain.py13657def yuli_video_seconds(duration) -> str:CODE
MEDIUMmain.py14487def 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.py1147 except Exception:CODE
LOWmain.py3519 except Exception:CODE
LOWmain.py3522 except Exception:CODE
LOWmain.py3525 except Exception:CODE
LOWmain.py4409 except Exception:CODE
LOWmain.py4419 except Exception:CODE
LOWmain.py5710 except Exception:CODE
LOWmain.py5718 except Exception:CODE
LOWmain.py6693 except Exception:CODE
LOWmain.py6705 except Exception:CODE
LOWmain.py6735 except Exception as exc:CODE
LOWmain.py6744 except Exception as exc:CODE
LOWmain.py6778 except Exception as exc:CODE
LOWmain.py6783 except Exception as exc:CODE
LOWmain.py7021 except Exception as e:CODE
LOWmain.py7494 except Exception as exc:CODE
LOWmain.py7496 except Exception as exc:CODE
LOWmain.py7613 except Exception:CODE
LOWmain.py9173 except Exception:CODE
LOWmain.py9248 except Exception:CODE
LOWmain.py10514 except Exception as exc:CODE
LOWmain.py11041 except Exception:CODE
LOWmain.py12346 except Exception:CODE
LOWmain.py12376 except Exception:CODE
LOWmain.py12391 except Exception:CODE
LOWmain.py13677 except Exception:CODE
LOWmain.py13686 except Exception:CODE
LOWmain.py13695 except Exception:CODE
LOWmain.py15055 except Exception as exc:CODE
LOWmain.py16705 except Exception:CODE
LOWmain.py16862 except Exception:CODE
LOWmain.py16866 except Exception:CODE
LOWmain.py116 except Exception as e:CODE
LOWmain.py125 except Exception as e:CODE
LOWmain.py211 except Exception as e:CODE
LOWmain.py312except Exception:CODE
182 more matches not shown…
Deep Nesting84 hits · 42 pts
SeverityFileLineSnippetContext
LOWmain.py467CODE
LOWmain.py668CODE
LOWmain.py787CODE
LOWmain.py1089CODE
LOWmain.py1420CODE
LOWmain.py1555CODE
LOWmain.py1807CODE
LOWmain.py2161CODE
LOWmain.py2333CODE
LOWmain.py2838CODE
LOWmain.py2868CODE
LOWmain.py3040CODE
LOWmain.py3276CODE
LOWmain.py3359CODE
LOWmain.py3381CODE
LOWmain.py3721CODE
LOWmain.py3826CODE
LOWmain.py3985CODE
LOWmain.py4119CODE
LOWmain.py4981CODE
LOWmain.py5123CODE
LOWmain.py5289CODE
LOWmain.py5933CODE
LOWmain.py6108CODE
LOWmain.py6739CODE
LOWmain.py6944CODE
LOWmain.py6965CODE
LOWmain.py7294CODE
LOWmain.py7393CODE
LOWmain.py7424CODE
LOWmain.py7472CODE
LOWmain.py7513CODE
LOWmain.py7675CODE
LOWmain.py7730CODE
LOWmain.py8066CODE
LOWmain.py8128CODE
LOWmain.py8173CODE
LOWmain.py8387CODE
LOWmain.py8605CODE
LOWmain.py9178CODE
LOWmain.py9260CODE
LOWmain.py9388CODE
LOWmain.py9605CODE
LOWmain.py9666CODE
LOWmain.py9980CODE
LOWmain.py10222CODE
LOWmain.py10791CODE
LOWmain.py10819CODE
LOWmain.py11103CODE
LOWmain.py11158CODE
LOWmain.py11226CODE
LOWmain.py11370CODE
LOWmain.py11396CODE
LOWmain.py11800CODE
LOWmain.py12184CODE
LOWmain.py12490CODE
LOWmain.py12603CODE
LOWmain.py12748CODE
LOWmain.py12965CODE
LOWmain.py13310CODE
24 more matches not shown…
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHmain.py5473 ". ~/.profile >/dev/null 2>&1 || true; . ~/.bashrc >/dev/null 2>&1 || true; "CODE
HIGHmain.py5474 "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.py6576CODE
Unused Imports1 hit · 0 pts
SeverityFileLineSnippetContext
LOWmain.py13CODE