Repository Analysis

modelscope/FunClip

FunASR-powered video transcription, subtitle generation, and LLM-assisted clipping tool with a local Gradio UI.

16.3 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of modelscope/FunClip, a Python project with 6,094 GitHub stars. SynthScan v2.0 examined 4,481 lines of code across 40 source files, recording 67 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 16.3 places this repository in the Moderate 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).

16.3
Adjusted Score
16.3
Raw Score
100%
Time Factor
2026-07-29
Last Push
6.1K
Stars
Python
Language
4.5K
Lines of Code
40
Files
67
Pattern Hits
2026-08-02
Scan Date
0.00
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 0MEDIUM 1LOW 66

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 67 distinct pattern matches across 4 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 Identifiers55 hits · 59 pts
SeverityFileLineSnippetContext
LOWfunclip/videoclipper.py92def _normalize_recognition_result(result):CODE
LOWfunclip/llm/twelvelabs_api.py40def _normalize_pegasus_timestamps(text):CODE
LOWtests/test_funasr_requirement.py7def test_funasr_minimum_version_matches_current_model_paths():CODE
LOWtests/test_funasr_requirement.py16def test_readmes_explain_upgrade_for_existing_installs():CODE
LOWtests/test_funasr_requirement.py27def test_readmes_route_edge_asr_users_to_gguf_runtime():CODE
LOWtests/test_funasr_requirement.py39def test_english_readme_avoids_visible_typo_regressions():CODE
LOWtests/test_github_templates.py7def test_issue_templates_collect_funclip_repro_details():CODE
LOWtests/test_github_templates.py33def test_pull_request_template_keeps_validation_visible():CODE
LOWtests/test_github_templates.py48def test_contributing_guide_documents_local_validation_path():CODE
LOWtests/test_minimax_api.py22 def test_minimax_prefix_uses_global_base_url(self):CODE
LOWtests/test_minimax_api.py42 def test_minimax_api_key_falls_back_to_env(self):CODE
LOWtests/test_minimax_api.py57 def test_minimax_api_base_env_overrides_region(self):CODE
LOWtests/test_minimax_api.py70 def test_empty_minimax_model_raises(self):CODE
LOWtests/test_minimax_api.py74 def test_missing_minimax_key_does_not_fall_back_to_openai_key(self):CODE
LOWtests/test_release_contract.py32def _create_fixture_repository(repository):CODE
LOWtests/test_release_contract.py53def test_release_version_and_public_download_routes_are_in_sync():CODE
LOWtests/test_release_contract.py67def test_release_notes_define_installation_and_asset_boundaries():CODE
LOWtests/test_release_contract.py79def test_tag_workflow_builds_and_publishes_all_release_assets():CODE
LOWtests/test_release_contract.py111def test_release_builder_creates_reproducible_scoped_archives(tmp_path):CODE
LOWtests/test_release_contract.py171def test_release_builder_rejects_non_commit_refs(tmp_path):CODE
LOWtests/test_release_contract.py202def test_release_builder_supports_cross_filesystem_outputs(tmp_path):CODE
LOWtests/test_openai_api.py18 def test_atlascloud_prefix_uses_atlas_base_url(self):CODE
LOWtests/test_openai_api.py38 def test_atlascloud_api_key_falls_back_to_env(self):CODE
LOWtests/test_openai_api.py53 def test_empty_atlascloud_model_raises(self):CODE
LOWtests/test_minimax_launch_integration.py16 def test_openai_compatible_route_preserves_prompt_roles(self):CODE
LOWtests/test_minimax_launch_integration.py43 def test_dropdown_only_lists_documented_minimax_models(self):CODE
LOWtests/test_litellm_api.py45 def test_no_prefix_passes_through(self):CODE
LOWtests/test_litellm_api.py66 def test_api_key_omitted_when_empty(self):CODE
LOWtests/test_litellm_api.py73 def test_system_content_included(self):CODE
LOWtests/test_litellm_api.py83 def test_system_content_skipped_when_empty(self):CODE
LOWtests/test_litellm_api.py92 def test_empty_choices_returns_empty(self):CODE
LOWtests/test_litellm_api.py99 def test_null_content_returns_empty(self):CODE
LOWtests/test_litellm_api.py130 def test_empty_model_after_strip_raises(self):CODE
LOWtests/test_community_links.py17def test_community_section_has_stable_discussions_fallback(CODE
LOWtests/test_canonical_qwenaudio_links.py35def test_legacy_owner_matcher_covers_repository_api_and_charts():CODE
LOWtests/test_canonical_qwenaudio_links.py63def test_tracked_files_use_qwenaudio_for_canonical_github_repositories():CODE
LOWtests/test_duplicate_text_matching.py41 def test_audio_clip_keeps_all_repeated_matches_without_offsets(self, _generate_srt):CODE
LOWtests/test_duplicate_text_matching.py61 def test_video_clip_keeps_all_repeated_matches_without_offsets(self, _generate_srt):CODE
LOWtests/test_duplicate_text_matching.py90 def test_audio_clip_formats_offset_warning_for_repeated_matches(CODE
LOWtests/test_duplicate_text_matching.py107 def test_audio_clip_accepts_explicit_timestamps_without_text_matching(CODE
LOWtests/test_duplicate_text_matching.py129 def test_video_clip_includes_offset_warning_for_repeated_matches(CODE
LOWtests/test_twelvelabs_pegasus.py21 def test_http_url_becomes_url_context_without_upload(self):CODE
LOWtests/test_twelvelabs_pegasus.py27 def test_missing_local_file_raises(self):CODE
LOWtests/test_twelvelabs_pegasus.py31 def test_default_prompt_requests_parseable_segment_format(self):CODE
LOWtests/test_twelvelabs_pegasus.py45 def test_decimal_and_integer_ranges_feed_existing_parser(self):CODE
LOWtests/test_twelvelabs_pegasus.py62 def test_existing_srt_range_is_unchanged(self):CODE
LOWtests/test_twelvelabs_pegasus.py70 def test_invalid_ranges_do_not_create_clips(self):CODE
LOWtests/test_twelvelabs_pegasus.py91 def test_analyze_public_url_returns_text(self):CODE
LOWtests/test_recognition_result_compat.py28 def test_fun_asr_nano_result_without_sentence_info_or_raw_text_still_builds_state(self):CODE
LOWtests/test_recognition_result_compat.py47 def test_none_sentence_timestamp_falls_back_to_top_level_timestamp(self):CODE
LOWtests/test_recognition_result_compat.py64 def test_sensevoice_rich_tags_are_removed_from_text_and_srt(self):CODE
LOWtests/test_recognition_result_compat.py84 def test_long_token_level_sentence_is_split_into_subtitle_chunks(self):CODE
LOWtests/test_model_selection.py18 def test_fun_asr_nano_is_selected_independently_of_language(self):CODE
LOWtests/test_model_selection.py36 def test_sensevoice_is_selected_independently_of_language(self):CODE
LOWtests/test_model_selection.py51 def test_paraformer_keeps_language_specific_model_mapping(self):CODE
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWfunclip/videoclipper.py164CODE
LOWfunclip/videoclipper.py269CODE
LOWfunclip/llm/openai_api.py16CODE
LOWfunclip/utils/subtitle_utils.py69CODE
LOWfunclip/utils/argparse_tools.py30CODE
LOWfunclip/utils/trans_utils.py88CODE
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWfunclip/videoclipper.py15CODE
LOWfunclip/launch.py6CODE
LOWfunclip/llm/g4f_openai_api.py4CODE
LOWfunclip/test/imagemagick_test.py1CODE
LOWfunclip/test/imagemagick_test.py3CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMfunclip/launch.py82 # Create a temporary fileCOMMENT