Repository Analysis

linyqh/NarratoAI

利用AI大模型,一键解说并剪辑视频; Using AI models to automatically provide commentary and edit videos with a single click.

22.8 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of linyqh/NarratoAI, a Python project with 10,290 GitHub stars. SynthScan v2.0 examined 47,272 lines of code across 164 source files, recording 1063 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 22.8 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).

22.8
Adjusted Score
22.8
Raw Score
100%
Time Factor
2026-07-12
Last Push
10.3K
Stars
Python
Language
47.3K
Lines of Code
164
Files
1.1K
Pattern Hits
2026-07-14
Scan Date
0.10
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 16MEDIUM 15LOW 1032

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 1063 distinct pattern matches across 9 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 Identifiers452 hits · 444 pts
SeverityFileLineSnippetContext
LOWwebui.py160def _render_generation_status(task: dict | None) -> str:CODE
LOWwebui.py375def get_voice_name_for_tts_engine(tts_engine: str) -> str:CODE
LOWwebui.py411def get_jianying_export_params(draft_name=None) -> VideoClipParams:CODE
LOWwebui.py456def _render_jianying_export_status():CODE
LOWwebui.py468def _render_jianying_export_dialog():CODE
LOWwebui.py614def render_export_jianying_button():STRING
LOWapp/config/audio_config.py89 def get_audio_processing_config(cls) -> Dict[str, Any]:CODE
LOWapp/config/audio_config.py168def get_recommended_volumes_for_content(content_type: str = 'mixed') -> Dict[str, float]:CODE
LOWapp/config/config.py23def normalize_tts_engine_name(tts_engine: str) -> str:CODE
LOWapp/config/config.py27def normalize_indextts_voice_prefix(voice_name: str) -> str:CODE
LOWapp/config/test_config_bootstrap_unittest.py18 def test_load_config_bootstraps_webui_llm_defaults(self):CODE
LOWapp/config/test_config_bootstrap_unittest.py105 def test_ui_keeps_full_model_name_and_openai_provider(self):CODE
LOWapp/config/test_config_bootstrap_unittest.py114 def test_normalize_only_strips_openai_prefix(self):CODE
LOWapp/config/defaults.py52def merge_missing_app_defaults(app_config: dict | None = None) -> dict:CODE
LOWapp/config/defaults.py60def normalize_openai_compatible_model_name(CODE
LOWapp/config/defaults.py72def get_openai_compatible_ui_values(CODE
LOWapp/utils/script_generator.py499 def calculate_duration_and_word_count(self, time_range: str) -> int:CODE
LOWapp/utils/ffmpeg_detector.py225def _parse_ffmpeg_table_names(output: str) -> set[str]:CODE
LOWapp/utils/ffmpeg_detector.py267def _detect_hardware_encoding(ffmpeg_path: str, encoders: set[str]) -> dict[str, Any]:CODE
LOWapp/utils/qwenvl_analyzer.py64 async def _generate_content_with_retry(self, prompt: str, batch: List[PIL.Image.Image]):CODE
LOWapp/utils/video_processor.py261 def _collect_extracted_frame_paths(output_dir: str) -> List[str]:CODE
LOWapp/utils/video_processor.py269 def _cleanup_fast_path_artifacts(output_dir: str) -> None:CODE
LOWapp/utils/video_processor.py277 def _extract_single_frame_optimized(self, timestamp: float, output_path: str,CODE
LOWapp/utils/video_processor.py89 def extract_frames_by_interval(self, output_dir: str, interval_seconds: float = 5.0,CODE
LOWapp/utils/video_processor.py188 def extract_frames_by_interval_with_fallback(self, output_dir: str, interval_seconds: float = 5.0) -> List[str]:CODE
LOWapp/utils/video_processor.py205 def _extract_frames_fast_path(self, output_dir: str, interval_seconds: float = 5.0) -> List[str]:CODE
LOWapp/utils/video_processor.py310 def _try_extract_with_software_decode(self, timestamp: float, output_path: str) -> bool:CODE
LOWapp/utils/video_processor.py338 def _try_extract_with_hwaccel(self, timestamp: float, output_path: str, hw_accel: List[str]) -> bool:CODE
LOWapp/utils/video_processor.py371 def _try_extract_with_software(self, timestamp: float, output_path: str) -> bool:CODE
LOWapp/utils/video_processor.py400 def _try_extract_with_ultra_compatibility(self, timestamp: float, output_path: str) -> bool:CODE
LOWapp/utils/video_processor.py584 def extract_frames_by_interval_ultra_compatible(self, output_dir: str, interval_seconds: float = 5.0) -> List[int]:CODE
LOWapp/utils/video_processor.py675 def _extract_frame_ultra_compatible(self, timestamp: float, output_path: str) -> bool:CODE
LOWapp/utils/test_ffmpeg_detector_unittest.py41 def test_discover_includes_configured_path(self):CODE
LOWapp/utils/test_ffmpeg_detector_unittest.py59 def test_validate_reports_hardware_and_subtitle_support(self):CODE
LOWapp/utils/utils.py191def time_convert_seconds_to_hmsm(seconds) -> str:CODE
LOWapp/utils/utils.py244def split_string_by_punctuations(s):STRING
LOWapp/utils/ffmpeg_utils.py118def check_ffmpeg_installation() -> bool:CODE
LOWapp/utils/ffmpeg_utils.py252def detect_hardware_acceleration() -> Dict[str, Union[bool, str, List[str], None]]:CODE
LOWapp/utils/ffmpeg_utils.py440def _detect_macos_acceleration(supported_hwaccels: str) -> None:CODE
LOWapp/utils/ffmpeg_utils.py470def _detect_windows_acceleration(supported_hwaccels: str) -> None:CODE
LOWapp/utils/ffmpeg_utils.py639def _detect_linux_acceleration(supported_hwaccels: str) -> None:CODE
LOWapp/utils/ffmpeg_utils.py806def get_ffmpeg_hwaccel_encoder() -> Optional[str]:CODE
LOWapp/utils/ffmpeg_utils.py834def is_ffmpeg_hwaccel_available() -> bool:CODE
LOWapp/utils/ffmpeg_utils.py862def get_optimal_ffmpeg_encoder() -> str:CODE
LOWapp/utils/ffmpeg_utils.py881def get_ffmpeg_command_with_hwaccel(input_path: str, output_path: str, **kwargs) -> List[str]:CODE
LOWapp/utils/ffmpeg_utils.py925def test_ffmpeg_compatibility() -> Dict[str, any]:CODE
LOWapp/utils/openai_base_url_security.py49def _is_well_formed_http_base_url(base_url: str) -> bool:CODE
LOWapp/utils/openai_base_url_security.py62def is_trusted_openai_compatible_base_url(base_url: Optional[str]) -> bool:CODE
LOWapp/utils/openai_base_url_security.py88def openai_compatible_base_url_warning(base_url: Optional[str]) -> str:CODE
LOWapp/utils/openai_base_url_security.py101def validate_openai_compatible_base_url(base_url: Optional[str]) -> Optional[str]:CODE
LOWapp/services/clip_video.py48def _calculate_ffmpeg_duration(start_time: str, end_time: str) -> str:CODE
LOWapp/services/clip_video.py61def _normalize_video_origin_paths(CODE
LOWapp/services/clip_video.py104def _resolve_script_video_path(script_item: Dict, video_origin_paths: List[str]) -> str:CODE
LOWapp/services/clip_video.py178def check_hardware_acceleration() -> Optional[str]:CODE
LOWapp/services/clip_video.py329def execute_ffmpeg_with_fallback(CODE
LOWapp/services/clip_video.py444def try_compatibility_fallback(CODE
LOWapp/services/clip_video.py651def _process_narration_only_segment(CODE
LOWapp/services/clip_video.py703def _process_original_audio_segment(CODE
LOWapp/services/clip_video.py798def _build_ffmpeg_command_with_audio_control(CODE
LOWapp/services/task.py59def _is_auto_transcription_enabled(params: VideoClipParams) -> bool:CODE
392 more matches not shown…
Excessive Try-Catch Wrapping326 hits · 316 pts
SeverityFileLineSnippetContext
LOWwebui.py99 except Exception as e:CODE
LOWwebui.py286 except Exception as e:CODE
LOWwebui.py355 except Exception as e:CODE
LOWwebui.py582 except Exception as e:STRING
LOWwebui.py603 except Exception as e:STRING
LOWwebui.py666 except Exception as e:CODE
LOWwebui.py689 except Exception as e:CODE
MEDIUMwebui.py143def _safe_int(value, default=0):CODE
LOWapp/config/config.py71 except Exception as e:CODE
LOWapp/config/config.py98 except Exception as e:CODE
LOWapp/config/ffmpeg_config.py115 except Exception as e:CODE
LOWapp/config/ffmpeg_config.py197 except Exception:CODE
LOWapp/config/ffmpeg_config.py258 except Exception:CODE
LOWapp/utils/script_generator.py37 except Exception as e:CODE
LOWapp/utils/script_generator.py77 except Exception as e:CODE
LOWapp/utils/script_generator.py113 except Exception as e:CODE
LOWapp/utils/script_generator.py188 except Exception as e:CODE
LOWapp/utils/script_generator.py300 except Exception as e:CODE
LOWapp/utils/script_generator.py341 except Exception as e:CODE
LOWapp/utils/script_generator.py380 except Exception as e:CODE
LOWapp/utils/script_generator.py422 except Exception as e:CODE
LOWapp/utils/script_generator.py556 except Exception as e:CODE
LOWapp/utils/script_generator.py613 except Exception as e:CODE
LOWapp/utils/script_generator.py639 except Exception as e:CODE
LOWapp/utils/ffmpeg_detector.py93 except Exception as exc:CODE
LOWapp/utils/ffmpeg_detector.py159 except Exception as exc:CODE
LOWapp/utils/ffmpeg_detector.py184 except Exception:CODE
LOWapp/utils/ffmpeg_detector.py239 except Exception as exc:CODE
LOWapp/utils/qwenvl_analyzer.py48 except Exception as e:CODE
LOWapp/utils/qwenvl_analyzer.py98 except Exception as e:CODE
LOWapp/utils/qwenvl_analyzer.py182 except Exception as e:CODE
LOWapp/utils/qwenvl_analyzer.py203 except Exception as e:CODE
LOWapp/utils/qwenvl_analyzer.py259 except Exception as e:CODE
LOWapp/utils/video_processor.py199 except Exception as exc:CODE
LOWapp/utils/video_processor.py440 except Exception as e:CODE
LOWapp/utils/video_processor.py446 except Exception:CODE
LOWapp/utils/video_processor.py488 except Exception:CODE
LOWapp/utils/video_processor.py493 except Exception:CODE
LOWapp/utils/video_processor.py538 except Exception as e:CODE
LOWapp/utils/video_processor.py579 except Exception as e:CODE
LOWapp/utils/video_processor.py720 except Exception as e:CODE
LOWapp/utils/video_processor.py726 except Exception:CODE
LOWapp/utils/video_processor.py737 except Exception as e:CODE
LOWapp/utils/utils.py61 except Exception as e:CODE
LOWapp/utils/utils.py183 except Exception as e:CODE
LOWapp/utils/utils.py291 except Exception as e:STRING
LOWapp/utils/utils.py552 except Exception as e:STRING
LOWapp/utils/utils.py608 except Exception as e:STRING
LOWapp/utils/utils.py659 except Exception as e:CODE
LOWapp/utils/utils.py676 except Exception as e:CODE
LOWapp/utils/utils.py695 except Exception as e:CODE
MEDIUMapp/utils/utils.py33def to_json(obj):CODE
MEDIUMapp/utils/utils.py180def run():CODE
MEDIUMapp/utils/utils.py284def get_system_locale():CODE
LOWapp/utils/check_script.py122 except Exception as e:CODE
LOWapp/utils/ffmpeg_utils.py99 except Exception as e:CODE
LOWapp/utils/ffmpeg_utils.py114 except Exception as e:CODE
LOWapp/utils/ffmpeg_utils.py177 except Exception as e:CODE
LOWapp/utils/ffmpeg_utils.py247 except Exception as e:CODE
LOWapp/utils/ffmpeg_utils.py287 except Exception as e:CODE
266 more matches not shown…
Unused Imports106 hits · 102 pts
SeverityFileLineSnippetContext
LOWapp/config/__init__.py7CODE
LOWapp/config/defaults.py3CODE
LOWapp/config/ffmpeg_config.py6CODE
LOWapp/utils/ffmpeg_detector.py3CODE
LOWapp/utils/video_processor.py23CODE
LOWapp/utils/ffmpeg_utils.py9CODE
LOWapp/models/schema.py3CODE
LOWapp/services/task.py1CODE
LOWapp/services/task.py5CODE
LOWapp/services/task.py10CODE
LOWapp/services/material.py6CODE
LOWapp/services/subtitle_text.py13CODE
LOWapp/services/short_drama_narration_validation.py6CODE
LOWapp/services/subtitle_corrector.py3CODE
LOWapp/services/subtitle_corrector.py9CODE
LOWapp/services/subtitle_merger.py13CODE
LOWapp/services/video_service.py1CODE
LOWapp/services/video_service.py4CODE
LOWapp/services/fun_asr_subtitle.py7CODE
LOWapp/services/update_script.py13CODE
LOWapp/services/audio_normalizer.py14CODE
LOWapp/services/audio_normalizer.py15CODE
LOWapp/services/audio_normalizer.py15CODE
LOWapp/services/audio_normalizer.py17CODE
LOWapp/services/llm.py5CODE
LOWapp/services/llm.py14CODE
LOWapp/services/llm.py15CODE
LOWapp/services/llm.py24CODE
LOWapp/services/subtitle.py1CODE
LOWapp/services/generate_narration_script.py14CODE
LOWapp/services/generate_narration_script.py19CODE
LOWapp/services/voice.py1CODE
LOWapp/services/voice.py13CODE
LOWapp/services/generate_video.py34CODE
LOWapp/services/tavily_search.py3CODE
LOWapp/services/subtitle_translator.py3CODE
LOWapp/services/youtube_service.py8CODE
LOWapp/services/audio_merger.py2CODE
LOWapp/services/audio_merger.py4CODE
LOWapp/services/audio_merger.py5CODE
LOWapp/services/audio_merger.py7CODE
LOWapp/services/audio_merger.py7CODE
LOWapp/services/video.py5CODE
LOWapp/services/video.py7CODE
LOWapp/services/video.py19CODE
LOWapp/services/documentary/__init__.py1CODE
LOWapp/services/documentary/__init__.py1CODE
LOWapp/services/documentary/__init__.py5CODE
LOWapp/services/llm/test_twelvelabs_provider_unittest.py15CODE
LOWapp/services/llm/openai_compatible_provider.py26CODE
LOWapp/services/llm/config_validator.py7CODE
LOWapp/services/llm/config_validator.py12CODE
LOWapp/services/llm/validators.py9CODE
LOWapp/services/llm/__init__.py18CODE
LOWapp/services/llm/__init__.py19CODE
LOWapp/services/llm/__init__.py19CODE
LOWapp/services/llm/__init__.py19CODE
LOWapp/services/llm/__init__.py20CODE
LOWapp/services/llm/__init__.py20CODE
LOWapp/services/llm/__init__.py21CODE
46 more matches not shown…
Deep Nesting113 hits · 89 pts
SeverityFileLineSnippetContext
LOWwebui.py209CODE
LOWwebui.py468CODE
LOWwebui.py474CODE
LOWwebui.py251CODE
LOWapp/config/ffmpeg_config.py99CODE
LOWapp/utils/script_generator.py198CODE
LOWapp/utils/script_generator.py434CODE
LOWapp/utils/script_generator.py572CODE
LOWapp/utils/qwenvl_analyzer.py102CODE
LOWapp/utils/video_processor.py400CODE
LOWapp/utils/video_processor.py675CODE
LOWapp/utils/utils.py33CODE
LOWapp/utils/utils.py295CODE
LOWapp/utils/utils.py573CODE
LOWapp/utils/utils.py612CODE
LOWapp/utils/utils.py36CODE
LOWapp/utils/check_script.py5CODE
LOWapp/utils/ffmpeg_utils.py138CODE
LOWapp/utils/ffmpeg_utils.py183CODE
LOWapp/utils/ffmpeg_utils.py252CODE
LOWapp/utils/ffmpeg_utils.py403CODE
LOWapp/utils/ffmpeg_utils.py470CODE
LOWapp/utils/ffmpeg_utils.py639CODE
LOWapp/utils/ffmpeg_utils.py925CODE
LOWapp/services/clip_video.py189CODE
LOWapp/services/clip_video.py245CODE
LOWapp/services/clip_video.py329CODE
LOWapp/services/clip_video.py798CODE
LOWapp/services/clip_video.py880CODE
LOWapp/services/clip_video.py1011CODE
LOWapp/services/task.py132CODE
LOWapp/services/task.py308CODE
LOWapp/services/task.py604CODE
LOWapp/services/material.py39CODE
LOWapp/services/material.py93CODE
LOWapp/services/material.py190CODE
LOWapp/services/material.py323CODE
LOWapp/services/material.py525CODE
LOWapp/services/merger_video.py280CODE
LOWapp/services/merger_video.py313CODE
LOWapp/services/merger_video.py511CODE
LOWapp/services/merger_video.py30CODE
LOWapp/services/jianying_task.py110CODE
LOWapp/services/jianying_task.py275CODE
LOWapp/services/subtitle_merger.py62CODE
LOWapp/services/fun_asr_subtitle.py309CODE
LOWapp/services/fun_asr_subtitle.py681CODE
LOWapp/services/update_script.py90CODE
LOWapp/services/llm.py115CODE
LOWapp/services/llm.py138CODE
LOWapp/services/llm.py478CODE
LOWapp/services/llm.py532CODE
LOWapp/services/subtitle.py23CODE
LOWapp/services/subtitle.py197CODE
LOWapp/services/subtitle.py254CODE
LOWapp/services/generate_narration_script.py25CODE
LOWapp/services/voice.py84CODE
LOWapp/services/voice.py1147CODE
LOWapp/services/voice.py1398CODE
LOWapp/services/voice.py1460CODE
53 more matches not shown…
Docstring Block Structure16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHapp/services/upload_validation.py27 验证文件路径是否存在且有效 Args: file_path: 待验证的文件路径 label: 文件类型标签(用于错误提示) allowed_exts: 允许的文件扩展名元组STRING
HIGHapp/services/upload_validation.py69 解析字幕输入源,确保只有一个有效来源 Args: subtitle_content: 字幕文本内容 subtitle_file_path: 字幕文件路径(推荐) srt_pSTRING
HIGHapp/services/llm/validators.py20 验证JSON输出格式 Args: output: 待验证的输出字符串 schema: JSON Schema (可选) STRING
HIGHapp/services/llm/validators.py91 验证解说文案输出格式 Args: output: 待验证的解说文案输出 Returns: 解析后的STRING
HIGHapp/services/llm/validators.py179 验证字幕分析输出格式 Args: output: 待验证的字幕分析输出 Returns: 验证后的STRING
HIGHapp/services/llm/unified_service.py30 分析图片内容 Args: images: 图片路径列表或PIL图片对象列表 prompt: 分析提示词 providSTRING
HIGHapp/services/llm/unified_service.py73 生成文本内容 Args: prompt: 用户提示词 system_prompt: 系统提示词 provider: STRING
HIGHapp/services/llm/unified_service.py149 生成解说文案 Args: prompt: 提示词 provider: 文本模型提供商名称 temperature: STRING
HIGHapp/services/llm/unified_service.py200 分析字幕内容 Args: subtitle_content: 字幕内容 provider: 文本模型提供商名称 teSTRING
HIGHapp/services/llm/manager.py93 获取视觉模型提供商实例 Args: provider_name: 提供商名称,如果不指定则从配置中获取 Returns: 视觉模型提供商实STRING
HIGHapp/services/llm/manager.py158 获取文本模型提供商实例 Args: provider_name: 提供商名称,如果不指定则从配置中获取 Returns: 文本模型提供商实STRING
HIGHapp/services/SDP/generate_script_short.py113生成视频混剪脚本(向后兼容版本) Args: srt_path: 字幕文件路径(向后兼容参数,可选) api_key: API密钥 model_name: 模型名称 STRING
HIGHapp/services/SDP/utils/utils.py10加载并解析SRT文件(使用 pysrt 库,支持多种编码和格式) Args: file_path: SRT文件路径 Returns: 字幕内容列表,格式: [ STRING
HIGHapp/services/SDP/utils/utils.py84从字符串内容解析SRT(用于直接传入字幕内容,无需依赖文件路径) Args: srt_content: SRT格式的字幕文本内容 Returns: 字幕内容列表,格式同 load_srt STRING
HIGHapp/services/prompts/template.py32 渲染模板 Args: template: 模板字符串 parameters: 参数字典 ReturSTRING
HIGHapp/services/prompts/manager.py39 获取渲染后的提示词 Args: category: 分类 name: 名称 version: 版本(可选,默认使用最STRING
AI Structural Patterns22 hits · 19 pts
SeverityFileLineSnippetContext
LOWapp/utils/utils.py275CODE
LOWapp/utils/utils.py508CODE
LOWapp/services/fun_asr_subtitle.py897CODE
LOWapp/services/subtitle_translator.py239CODE
LOWapp/services/subtitle_translator.py342CODE
LOWapp/services/script_service.py12CODE
LOWapp/services/documentary/frame_analysis_service.py37CODE
LOWapp/services/documentary/frame_analysis_service.py97CODE
LOWapp/services/llm/validators.py69CODE
LOWapp/services/llm/migration_adapter.py235CODE
LOWapp/services/SDE/short_drama_explanation.py833CODE
LOWapp/services/SDE/short_drama_explanation.py894CODE
LOWapp/services/SDE/short_drama_explanation.py955CODE
LOWapp/services/SDE/short_drama_explanation.py988CODE
LOWapp/services/SDE/short_drama_explanation.py1025CODE
LOWapp/services/SDP/generate_script_short.py14CODE
LOWapp/services/SDP/generate_script_short.py97CODE
LOW…p/services/SDP/utils/step1_subtitle_analyzer_openai.py192CODE
LOWwebui/tools/generate_short_summary.py272CODE
LOWwebui/tools/generate_short_summary.py351CODE
LOWwebui/tools/generate_short_summary.py460CODE
LOWwebui/tools/generate_script_short.py36CODE
Over-Commented Block15 hits · 14 pts
SeverityFileLineSnippetContext
LOWconfig.example.toml21 # 常用视觉模型示例:COMMENT
LOWconfig.example.toml61 text_openai_max_tokens = 65536COMMENT
LOWconfig.example.toml81 # Together AI: https://api.together.xyz/settings/api-keysCOMMENT
LOWrequirements.txt21Pillow>=10.3.0COMMENT
LOWapp/config/__init__.py61 colorize=True,COMMENT
LOWapp/models/schema.py61COMMENT
LOWapp/models/schema.py81#COMMENT
LOWapp/services/task.py381 # logger.info(f"\n\n使用 {subtitle_provider} 生成字幕")COMMENT
LOWapp/services/llm.py801 )COMMENT
LOWapp/services/subtitle.py441 extract_audio_and_create_subtitle(video_file, subtitle_file)COMMENT
LOWapp/services/subtitle.py461 # # if gemini_subtitle_file:COMMENT
LOWapp/services/generate_narration_script.py241 # print(markdown_output)COMMENT
LOWapp/services/generate_narration_script.py261 # with open(narration_file, 'w', encoding='utf-8') as f:COMMENT
LOWwebui/components/basic_settings.py1041 # )COMMENT
LOWwebui/i18n/__init__.py1# 空文件,用于标记包 COMMENT
Modern Structural Boilerplate12 hits · 12 pts
SeverityFileLineSnippetContext
LOWapp/services/documentary/__init__.py9__all__ = [CODE
LOWapp/services/llm/__init__.py26__all__ = [CODE
LOWapp/services/llm/providers/__init__.py45__all__ = [CODE
LOWapp/services/prompts/registry.py114 def set_default_version(self, category: str, name: str, version: str) -> None:CODE
LOWapp/services/prompts/__init__.py29__all__ = [CODE
LOWapp/services/prompts/short_drama_narration/__init__.py49__all__ = [CODE
LOWapp/services/prompts/documentary/__init__.py29__all__ = [CODE
LOWapp/services/prompts/short_drama_editing/__init__.py34__all__ = [CODE
LOWapp/services/prompts/film_tv_narration/__init__.py40__all__ = [CODE
LOWwebui/__init__.py13__all__ = [CODE
LOWwebui/utils/vision_analyzer.py5logger = logging.getLogger(__name__)CODE
LOWwebui/components/__init__.py7__all__ = [CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwebui.py280 def run_task():CODE