Repository Analysis

HKUDS/ViMax

"ViMax: Agentic Video Generation (Director, Screenwriter, Producer, and Video Generator All-in-One)"

30.0 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of HKUDS/ViMax, a Python project with 11,133 GitHub stars. SynthScan v2.0 examined 19,911 lines of code across 148 source files, recording 441 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 30.0 places this repository in the Strong 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).

30.0
Adjusted Score
30.0
Raw Score
100%
Time Factor
2026-07-13
Last Push
11.1K
Stars
Python
Language
19.9K
Lines of Code
148
Files
441
Pattern Hits
2026-07-14
Scan Date
0.12
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 18MEDIUM 4LOW 419

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 441 distinct pattern matches across 13 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 Identifiers208 hits · 231 pts
SeverityFileLineSnippetContext
LOWui/src/cli.tsx330 function scheduleResponseIdleClear() {CODE
LOWtools/image_orientation.py9def landscape_guard_requested(*, size: Any = None, aspect_ratio: Any = None, enforce_landscape: Any = True, allow_portraCODE
LOWtools/video_generator_doubao_seedance_yunwu_api.py29 async def create_video_generation_task(CODE
LOWtools/video_generator_doubao_seedance_yunwu_api.py132 async def query_video_generation_task(CODE
LOWtools/video_generator_omni_yunwu_api.py90 async def create_video_generation_task(CODE
LOWtools/video_generator_omni_yunwu_api.py156 async def query_video_generation_task(self, task_id: str, model: str) -> str:CODE
LOWtests/test_novel2video_adapter.py24 async def compress_single_novel_chunk(self, semaphore, index, novel_chunk):CODE
LOWtests/test_novel2video_adapter.py58 async def merge_characters_across_scenes_in_event(self, event_idx, scenes):CODE
LOWtests/test_novel2video_adapter.py61 def merge_characters_to_existing_characters_in_novel(self, event_idx, existing_characters_in_novel, characters_in_evCODE
LOWtests/test_novel2video_adapter.py111 async def test_merge_event_characters_uses_scene_character_idx(self):CODE
LOWtests/test_novel2video_adapter.py126 async def test_run_planning_step_suppresses_stdout_stderr_and_warnings(self):CODE
LOWtests/test_novel2video_adapter.py142 async def test_plan_text_artifacts_writes_structured_text_and_progress(self):CODE
LOWtests/test_novel2video_adapter.py192def write_minimal_novel_artifacts(root: Path):CODE
LOWtests/test_novel2video_adapter.py218 async def test_missing_rag_config_returns_tool_error_and_marks_session_error(self):CODE
LOWtests/test_generator_protocol.py24 def test_generate_single_video_accepts_arbitrary_kwargs(self):CODE
LOWtests/test_wrong_output_guards.py39 def test_out_of_order_camera_indices_group_correctly(self):CODE
LOWtests/test_wrong_output_guards.py49 def test_priorities_are_shot_indices_not_camera_indices(self):CODE
LOWtests/test_wrong_output_guards.py67 def test_two_pipelines_do_not_share_events(self):CODE
LOWtests/test_wrong_output_guards.py78 def test_no_class_level_mutable_event_dicts(self):CODE
LOWtests/test_wrong_output_guards.py87 async def test_existing_new_camera_image_is_still_offered_to_selector(self):CODE
LOWtests/test_wrong_output_guards.py139 def test_out_of_range_rejected(self):CODE
LOWtests/test_wrong_output_guards.py153 def test_negative_index_rejected(self):CODE
LOWtests/test_wrong_output_guards.py157 def test_out_of_range_rejected(self):CODE
LOWtests/test_wrong_output_guards.py163 def test_clean_names_unchanged(self):CODE
LOWtests/test_wrong_output_guards.py167 def test_unicode_names_preserved(self):CODE
LOWtests/test_wrong_output_guards.py170 def test_path_separators_removed(self):CODE
LOWtests/test_wrong_output_guards.py174 def test_traversal_neutralized(self):CODE
LOWtests/test_wrong_output_guards.py179 def test_empty_becomes_placeholder(self):CODE
LOWtests/test_robustness.py51 async def test_retries_rate_limit_then_succeeds(self):CODE
LOWtests/test_robustness.py58 async def test_does_not_retry_auth_errors(self):CODE
LOWtests/test_robustness.py65 async def test_gives_up_after_bounded_attempts(self):CODE
LOWtests/test_robustness.py73 async def test_empty_choices_raises_clear_error(self):CODE
LOWtests/test_robustness.py86 async def test_llm_failure_emits_error_and_persists_failed_turn(self):CODE
LOWtests/test_robustness.py104 def test_corrupt_sessions_file_is_backed_up_not_silently_replaced(self):CODE
LOWtests/test_robustness.py115 def test_save_is_atomic_and_leaves_no_temp_files(self):CODE
LOWtests/test_robustness.py122 def test_concurrent_creates_do_not_lose_sessions(self):CODE
LOWtests/test_robustness.py153 def test_every_retry_is_bounded_with_backoff(self):CODE
LOWtests/test_robustness.py201 async def test_reranker_surfaces_http_error_without_retry(self):CODE
LOWtests/test_robustness.py212 async def test_seedream_surfaces_http_error_without_retry(self):CODE
LOWtests/test_main_agent_cli.py69 def test_help_parser_contains_once(self):CODE
LOWtests/test_main_agent_cli.py76 async def test_jsonl_once_outputs_valid_events_with_turn_id(self):CODE
LOWtests/test_main_agent_cli.py88 async def test_stdin_non_tty_is_single_prompt(self):CODE
LOWtests/test_main_agent_cli.py95 async def test_stdin_repl_reads_each_line_as_a_turn(self):CODE
LOWtests/test_main_agent_cli.py103 async def test_session_error_is_clear_before_runtime_load(self):CODE
LOWtests/test_main_agent_cli.py118 async def test_new_session_is_created_before_runtime_load(self):CODE
LOWtests/test_main_agent_cli.py132 async def test_new_session_and_session_are_mutually_exclusive(self):CODE
LOWtests/test_main_agent_cli.py145 async def test_compact_command_outputs_jsonl_without_llm_turn(self):CODE
LOWtests/test_main_agent_cli.py157 async def test_plain_mode_prints_progress_terminal_and_session(self):CODE
LOWtests/test_image_orientation.py11 def test_landscape_guard_requested_defaults_to_all_images(self):CODE
LOWtests/test_image_orientation.py18 def test_portrait_detection_allows_slightly_tall_images(self):CODE
LOWtests/test_image_orientation.py23 def test_portrait_tolerance_env_override(self):CODE
LOWtests/test_crash_regressions.py10 def test_fallback_summary_handles_tool_call_messages(self):CODE
LOWtests/test_crash_regressions.py22 def test_str_uses_existing_fields(self):CODE
LOWtests/test_provider_presets.py17 def test_minimax_preset_exists(self):CODE
LOWtests/test_provider_presets.py20 def test_minimax_preset_base_url(self):CODE
LOWtests/test_provider_presets.py26 def test_minimax_preset_env_key(self):CODE
LOWtests/test_provider_presets.py29 def test_minimax_preset_default_model(self):CODE
LOWtests/test_provider_presets.py32 def test_minimax_preset_has_models_list(self):CODE
LOWtests/test_provider_presets.py38 def test_minimax_preset_temperature_range(self):CODE
LOWtests/test_provider_presets.py47 def test_unknown_provider_passes_through(self):CODE
148 more matches not shown…
Unused Imports138 hits · 138 pts
SeverityFileLineSnippetContext
LOWmain_agent.py1CODE
LOWtools/video_generator_openrouter_api.py2CODE
LOWtools/video_generator_veo_yunwu_api.py2CODE
LOWtools/image_response.py1CODE
LOWtools/__init__.py2CODE
LOWtools/__init__.py2CODE
LOWtools/__init__.py3CODE
LOWtools/__init__.py6CODE
LOWtools/__init__.py7CODE
LOWtools/__init__.py8CODE
LOWtools/__init__.py11CODE
LOWtools/__init__.py14CODE
LOWtools/__init__.py15CODE
LOWtools/__init__.py15CODE
LOWtools/__init__.py16CODE
LOWtools/__init__.py17CODE
LOWtools/__init__.py18CODE
LOWtools/image_orientation.py1CODE
LOWtests/test_robustness.py11CODE
LOWtests/test_script2video_pipeline_guards.py5CODE
LOWtests/test_script2video_pipeline_guards.py5CODE
LOWtests/test_minimax_integration.py15CODE
LOWtests/test_agent_tools.py1CODE
LOWagents/reference_image_selector.py8CODE
LOWagents/scene_extractor.py1CODE
LOWagents/scene_extractor.py5CODE
LOWagents/scene_extractor.py5CODE
LOWagents/scene_extractor.py6CODE
LOWagents/scene_extractor.py6CODE
LOWagents/scene_extractor.py6CODE
LOWagents/scene_extractor.py6CODE
LOWagents/global_information_planner.py1CODE
LOWagents/global_information_planner.py3CODE
LOWagents/global_information_planner.py4CODE
LOWagents/global_information_planner.py4CODE
LOWagents/global_information_planner.py4CODE
LOWagents/global_information_planner.py9CODE
LOWagents/global_information_planner.py10CODE
LOWagents/event_extractor.py1CODE
LOWagents/event_extractor.py3CODE
LOWagents/event_extractor.py9CODE
LOWagents/event_extractor.py9CODE
LOWagents/character_portraits_generator.py1CODE
LOWagents/character_portraits_generator.py2CODE
LOWagents/character_portraits_generator.py3CODE
LOWagents/character_portraits_generator.py4CODE
LOWagents/character_portraits_generator.py5CODE
LOWagents/character_portraits_generator.py6CODE
LOWagents/character_portraits_generator.py7CODE
LOWagents/character_portraits_generator.py8CODE
LOWagents/character_portraits_generator.py8CODE
LOWagents/character_portraits_generator.py9CODE
LOWagents/character_portraits_generator.py9CODE
LOWagents/character_portraits_generator.py9CODE
LOWagents/character_portraits_generator.py11CODE
LOWagents/character_portraits_generator.py11CODE
LOWagents/character_extractor.py1CODE
LOWagents/character_extractor.py2CODE
LOWagents/character_extractor.py5CODE
LOWagents/character_extractor.py6CODE
78 more matches not shown…
Magic Placeholder Names18 hits · 135 pts
SeverityFileLineSnippetContext
HIGHreadme.md426 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md426 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md431 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md431 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md436 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md436 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md461 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md461 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md467 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md467 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md472 api_key: <YOUR_API_KEY>CODE
HIGHreadme.md472 api_key: <YOUR_API_KEY>CODE
HIGHREADME_ZH.md401 api_key: <YOUR_API_KEY>CODE
HIGHREADME_ZH.md401 api_key: <YOUR_API_KEY>CODE
HIGHREADME_ZH.md407 api_key: <YOUR_API_KEY>CODE
HIGHREADME_ZH.md407 api_key: <YOUR_API_KEY>CODE
HIGHREADME_ZH.md412 api_key: <YOUR_API_KEY>CODE
HIGHREADME_ZH.md412 api_key: <YOUR_API_KEY>CODE
Excessive Try-Catch Wrapping28 hits · 30 pts
SeverityFileLineSnippetContext
LOWmain_agent.py136 except Exception as exc:CODE
LOWtools/video_generator_veo_yunwu_api.py121 except Exception as e:CODE
LOWtools/video_generator_veo_yunwu_api.py152 except Exception as e:CODE
LOWtools/video_generator_doubao_seedance_yunwu_api.py107 except Exception as e:CODE
LOWtools/video_generator_doubao_seedance_yunwu_api.py162 except Exception as e:CODE
LOWtools/video_generator_omni_yunwu_api.py124 except Exception as e:CODE
LOWtools/video_generator_omni_yunwu_api.py171 except Exception as e:CODE
LOWagents/reference_image_selector.py185 except Exception as e:CODE
LOWagents/reference_image_selector.py222 except Exception as e:CODE
LOWagents/script_enhancer.py119 except Exception as e:CODE
LOWagents/script_planner.py430 except Exception as e:CODE
LOWpipelines/script2video_pipeline.py164 except Exception:CODE
LOWpipelines/idea2video_pipeline.py183 except Exception as e:CODE
LOWpipelines/idea2video_pipeline.py199 except Exception as e:CODE
LOWutils/video.py21 except Exception as e:CODE
MEDIUMutils/video.py8def download_video(url, save_path):CODE
LOWutils/image.py24 except Exception as e:CODE
MEDIUMutils/image.py12def download_image(url, save_path):CODE
LOWagent_runtime/context_compactor.py145 except Exception:CODE
LOWagent_runtime/tools.py161 except Exception as exc:CODE
LOWagent_runtime/vimax_adapters.py197 except Exception as exc:CODE
LOWagent_runtime/vimax_adapters.py257 except Exception as exc:CODE
LOWagent_runtime/vimax_adapters.py315 except Exception as exc:CODE
LOWagent_runtime/vimax_adapters.py399 except Exception as exc:CODE
LOWagent_runtime/vimax_adapters.py504 except Exception as exc:CODE
LOWagent_runtime/vimax_adapters.py652 except Exception:CODE
LOWagent_runtime/llm.py75 except Exception as exc:CODE
LOWagent_runtime/loop.py72 except Exception as exc:CODE
Over-Commented Block11 hits · 11 pts
SeverityFileLineSnippetContext
LOWagents/global_information_planner.py281 # self,COMMENT
LOWagents/global_information_planner.py301COMMENT
LOWagents/global_information_planner.py321 # # check the output is validCOMMENT
LOWagents/global_information_planner.py341COMMENT
LOWagents/global_information_planner.py361 # character_name=character.identifier_in_novel,COMMENT
LOWpipelines/script2video_pipeline.py201 character_portraits_registry: Optional[Dict[str, Dict[str, Dict[str, str]]]] = None,COMMENT
LOWinterfaces/scene.py41# description="The index of the scene within the event, starting from 0"COMMENT
LOWinterfaces/shot_description.py41 # default=None,COMMENT
LOWinterfaces/shot_description.py61 # False,COMMENT
LOWinterfaces/shot_description.py161 "[Sound Effect] Ambient sound (supermarket background noise, shopping cart wheels rolling)",COMMENT
LOWinterfaces/shot_description.py181 # )COMMENT
Verbosity Indicators7 hits · 10 pts
SeverityFileLineSnippetContext
LOWpipelines/novel2movie_pipeline.py486 # Step 1: Compress the novel textCOMMENT
LOWpipelines/novel2movie_pipeline.py554 # Step 2: Extract events from the compressed novelCOMMENT
LOWpipelines/novel2movie_pipeline.py598 # Step 3: Extract relevant chunks for each eventCOMMENT
LOWpipelines/novel2movie_pipeline.py685 # Step 4: Extract scenes for each event, design the script for each sceneCOMMENT
LOWpipelines/novel2movie_pipeline.py751 # Step 5: Merge characters from scene-level to event-level, then to novel-levelCOMMENT
LOWpipelines/novel2movie_pipeline.py845 # Step 6: Generate the portrait for all characters in the novelCOMMENT
LOWpipelines/novel2movie_pipeline.py963 # Step 7: Generate video for each sceneCOMMENT
Structural Annotation Overuse7 hits · 10 pts
SeverityFileLineSnippetContext
LOWpipelines/novel2movie_pipeline.py486 # Step 1: Compress the novel textCOMMENT
LOWpipelines/novel2movie_pipeline.py554 # Step 2: Extract events from the compressed novelCOMMENT
LOWpipelines/novel2movie_pipeline.py598 # Step 3: Extract relevant chunks for each eventCOMMENT
LOWpipelines/novel2movie_pipeline.py685 # Step 4: Extract scenes for each event, design the script for each sceneCOMMENT
LOWpipelines/novel2movie_pipeline.py751 # Step 5: Merge characters from scene-level to event-level, then to novel-levelCOMMENT
LOWpipelines/novel2movie_pipeline.py845 # Step 6: Generate the portrait for all characters in the novelCOMMENT
LOWpipelines/novel2movie_pipeline.py963 # Step 7: Generate video for each sceneCOMMENT
Deep Nesting11 hits · 10 pts
SeverityFileLineSnippetContext
LOWmain_agent.py41CODE
LOWpipelines/script2video_pipeline.py323CODE
LOWpipelines/novel2movie_pipeline.py73CODE
LOWpipelines/novel2movie_pipeline.py479CODE
LOWpipelines/novel2movie_pipeline.py626CODE
LOWutils/rate_limiter.py39CODE
LOWagent_runtime/tools.py187CODE
LOWagent_runtime/tools.py196CODE
LOWagent_runtime/tools.py288CODE
LOWagent_runtime/vimax_adapters.py666CODE
LOWagent_runtime/loop.py43CODE
Decorative Section Separators2 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMutils/provider_presets.py15# ---------------------------------------------------------------------------COMMENT
MEDIUMutils/provider_presets.py17# ---------------------------------------------------------------------------COMMENT
Modern Structural Boilerplate8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/__init__.py21__all__ = [CODE
LOWagents/__init__.py8__all__ = [CODE
LOWutils/provider_presets.py13logger = logging.getLogger(__name__)CODE
LOWagent_runtime/vimax_adapters.py440 def _update_session_metadata(self, session_id: str, *, idea: str, user_requirement: str, style: str) -> None:CODE
LOWagent_runtime/__init__.py3__all__ = ["AgentLoop", "SessionIndex", "ToolRegistry", "build_runtime"]CODE
LOWagent_runtime/session_index.py153 def update_stage(self, session_id: str, stage: str, summary: str = "") -> None:CODE
LOWagent_runtime/session_index.py177 def update_compaction(self, session_id: str, result: dict[str, Any]) -> None:CODE
LOWinterfaces/__init__.py10__all__ = [CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtools/video_generator_veo_google_api.py105 # Check if operation completed successfullyCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWagents/global_information_planner.py353 # parser = None # no need to parse the output, just return the textCOMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/video_generator_omni_yunwu_api.py13CODE