Repository Analysis

wwwzhouhui/dify-for-dsl

本项目是基于dify开源项目实现的dsl工作流脚本合集

7.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of wwwzhouhui/dify-for-dsl, a Python project with 3,865 GitHub stars. SynthScan v2.0 examined 84,899 lines of code across 305 source files, recording 555 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 7.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).

7.8
Adjusted Score
7.8
Raw Score
100%
Time Factor
2026-08-23
Last Push
3.9K
Stars
Python
Language
84.9K
Lines of Code
305
Files
555
Pattern Hits
2026-08-29
Scan Date
0.08
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 24MEDIUM 25LOW 506

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

Excessive Try-Catch Wrapping246 hits · 262 pts
SeverityFileLineSnippetContext
LOWpy/readme.txt489 except Exception as e:STRING
LOWpy/readme.txt714 except Exception as e:STRING
LOWpy/yewu2googleimgtxt/image-generation-server.py99 except Exception as e:CODE
LOWpy/yewu2googleimgtxt/image-generation-server.py147 except Exception as e:CODE
LOWpy/yewu2googleimgtxt/image-generation-server.py155 except Exception as e:CODE
LOWpy/yewu2googleimgtxt/image-generation-server.py210 except Exception as e:CODE
LOWpy/yewu2googleimgtxt/image-generation-server.py218 except Exception as e:CODE
LOWpy/yewu2story/teststoryvideo.py108 except Exception as e:CODE
LOWpy/yewu2story/testdify.py30 except Exception as e:CODE
LOWpy/yewu2story/utils/utils.py88 except Exception as e:CODE
LOWpy/yewu2story/utils/utils.py217 except Exception:CODE
MEDIUMpy/yewu2story/utils/utils.py85def run():CODE
MEDIUMpy/yewu2story/utils/utils.py210def get_system_locale():CODE
LOWpy/yewu2story/api/video.py58 except Exception as e:CODE
LOWpy/yewu2story/services/llm.py207 except Exception as e:CODE
LOWpy/yewu2story/services/llm.py233 except Exception as e:CODE
LOWpy/yewu2story/services/llm.py333 except Exception as e:CODE
LOWpy/yewu2story/services/voice.py1143 except Exception as e:CODE
LOWpy/yewu2story/services/voice.py1161 except Exception as e:CODE
LOWpy/yewu2story/services/voice.py1264 except Exception as e:CODE
LOWpy/yewu2story/services/voice.py1272 except Exception as e:CODE
LOWpy/yewu2story/services/video.py211 except Exception as e:CODE
LOWpy/yewu2story/services/video.py217 except Exception as e:CODE
LOWpy/yewu2story/services/video.py272 except Exception as e:CODE
LOWpy/yewu2story/services/video.py338 except Exception as e:CODE
LOWpy/yewu2story/services/video.py347 except Exception as e:CODE
MEDIUMpy/yewu2edgetts/app.py543 print(f"Error during TTS generation: {str(e)}")CODE
MEDIUMpy/yewu2edgetts/app.py544 print(f"Error type: {type(e)}")CODE
MEDIUMpy/yewu2edgetts/app.py73 print(f"Error serving favicon: {str(e)}")CODE
MEDIUMpy/yewu2edgetts/app.py233 print(f"Error in get_voices: {str(e)}")CODE
MEDIUMpy/yewu2edgetts/app.py352 print(f"Error in list_voices: {str(e)}")CODE
MEDIUMpy/yewu2edgetts/app.py511 print(f"Error writing subtitle file: {str(e)}")CODE
MEDIUMpy/yewu2edgetts/app.py528 print(f"Error getting audio duration: {str(e)}")CODE
MEDIUMpy/yewu2edgetts/app.py612 print(f"Error getting duration for {filename}: {str(e)}")CODE
MEDIUMpy/yewu2edgetts/app.py652 print(f"Error serving subtitle: {str(e)}")CODE
MEDIUMpy/yewu2edgetts/app.py60def favicon():CODE
MEDIUMpy/yewu2edgetts/app.py104def get_voices():CODE
LOWpy/yewu2edgetts/app.py542 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py549 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py556 except Exception as cleanup_error:CODE
LOWpy/yewu2edgetts/app.py562 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py72 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py232 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py351 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py510 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py527 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py595 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py611 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py623 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py651 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py689 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py702 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py708 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py726 except Exception as e:CODE
LOWpy/yewu2edgetts/app.py783 except Exception as e:CODE
LOWpy/yewu2videoaddsrt/tools.py54 except Exception:CODE
LOWpy/yewu2videoaddsrt/tools.py78 except Exception as e:CODE
LOWpy/yewu2videoaddsrt/tools.py174 except Exception:CODE
LOWpy/yewu2videoaddsrt/tools.py269 except Exception:CODE
LOWpy/yewu2videoaddsrt/tools.py287 except Exception as e:CODE
186 more matches not shown…
Unused Imports102 hits · 102 pts
SeverityFileLineSnippetContext
LOWpy/yewu2googleimgtxt/image-generation-server.py1CODE
LOWpy/yewu2googleimgtxt/image-generation-client.py4CODE
LOWpy/yewu2googleimgtxt/image-generation-client.py74CODE
LOWpy/yewu2videoaddsrt/cfg.py1CODE
LOWpy/yewu2videoaddsrt/cfg.py2CODE
LOWpy/fapiao/fapiaosqd.py17CODE
LOWpy/geekaiapp/filters/remove_italic.py7CODE
LOWpy/geekaiapp/filters/remove_italic.py7CODE
LOWpy/geekaiapp/wenshengtu1/config.py1CODE
LOWpy/geekaiapp/wenshengtu1/config.py3CODE
LOWpy/geekaiapp/wenshengtu1/jm1_gradio.py12CODE
LOWpy/geekaiapp/wenshengtu1/jm1_gradio.py13CODE
LOWpy/geekaiapp/tts1/tts1_jiekou.py2CODE
LOWpy/geekaiapp/tts1/tts1_jiekou.py4CODE
LOWpy/geekaiapp/tts1/tts1_jiekou.py6CODE
LOWpy/geekaiapp/tts1/tts1_jiekou.py18CODE
LOWpy/geekaiapp/tts1/tts1_jiekou.py18CODE
LOWpy/geekaiapp/tts1/tts1_gradio.py4CODE
LOWpy/geekaiapp/tts1/tts1_gradio.py5CODE
LOWpy/geekaiapp/zhongyao1/zhongyao-mcp-server.py2CODE
LOWpy/geekaiapp/zhongyao1/zhongyao-mcp-server.py3CODE
LOWpy/geekaiapp/zhongyao1/zhongyao-mcp-server.py3CODE
LOWpy/geekaiapp/zhongyao1/zhongyao-mcp-server.py3CODE
LOWpy/geekaiapp/danci1/danci1_jiekou.py4CODE
LOWpy/geekaiapp/danci1/danci1_jiekou.py5CODE
LOWpy/geekaiapp/danci1/danci1_jiekou.py9CODE
LOWpy/geekaiapp/danci1/danci1_gradio.py7CODE
LOWpy/geekaiapp/danci1/danci1_gradio.py7CODE
LOWpy/geekaiapp/danci1/danci1_gradio.py7CODE
LOWpy/geekaiapp/danci1/danci1_gradio.py13CODE
LOWpy/geekaiapp/laTex1/latex_mcp_jiekou.py9CODE
LOWpy/geekaiapp/laTex1/latex_gradio.py7CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_gradio.py5CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_gradio.py6CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_jiekou.py3CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_jiekou.py9CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_jiekou2.py3CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_jiekou2.py9CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_mcp_jiekou.py5CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_mcp_jiekou.py12CODE
LOWmcp/FastMCP/doubao_mcp_ai_server.py5CODE
LOWmcp/FastMCP/doubao_mcp_ai_server.py6CODE
LOWmcp/FastMCP/doubao_mcp_ai_server.py6CODE
LOWmcp/FastMCP/doubao_mcp_ai_server2.py5CODE
LOWmcp/FastMCP/doubao_mcp_ai_server2.py6CODE
LOWmcp/FastMCP/doubao_mcp_ai_server2.py6CODE
LOWmcp/FastMCP/zhongyao-mcp-server.py2CODE
LOWmcp/FastMCP/zhongyao-mcp-server.py3CODE
LOWmcp/FastMCP/zhongyao-mcp-server.py3CODE
LOWmcp/FastMCP/zhongyao-mcp-server.py3CODE
LOWdsl/google/gemini2/image-generation-server.py7CODE
LOWdsl/google/gemini2/image-generation-client.py2CODE
LOWdsl/google/gemini2/image-generation-client.py3CODE
LOWdsl/google/gemini2/image-generation-client.py4CODE
LOWdsl/jimeng/picturebooktts.py1CODE
LOWdsl/jimeng/picturebooktts.py1CODE
LOWdsl/difyforgitee/test_hidream_e1_client2.py2CODE
LOWdsl/difyforgitee/test_hidream_e1_client2.py3CODE
LOWdsl/difyforgitee/test_hidream_e1_client2.py4CODE
LOWdsl/difyforgitee/giteeapiforall.py10CODE
42 more matches not shown…
Cross-File Repetition17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHpy/yewu2excelhtml/test_dify.py0<!doctype html> <html lang="zh-cn"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, iniSTRING
HIGHdsl/makehtml/test_dify.py0<!doctype html> <html lang="zh-cn"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, iniSTRING
HIGHpy/yewu2excelhtml/test_client.py0<!doctype html> <html lang="zh-cn"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, iniSTRING
HIGHdsl/makehtml/test_client.py0<!doctype html> <html lang="zh-cn"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, iniSTRING
HIGHpy/geekaiapp/g_utils.py0generates text-to-speech audio using the edge tts api and uploads it to tencent cloud cos.STRING
HIGHpy/geekaiapp/g_jiekou.py0generates text-to-speech audio using the edge tts api and uploads it to tencent cloud cos.STRING
HIGHpy/geekaiapp/tts1/tts1_jiekou.py0generates text-to-speech audio using the edge tts api and uploads it to tencent cloud cos.STRING
HIGHdsl/jimeng/picturebooktts.py0generates text-to-speech audio using the edge tts api and uploads it to tencent cloud cos.STRING
HIGHdsl/edgetts/edgetts_service.py0generates text-to-speech audio using the edge tts api and uploads it to tencent cloud cos.STRING
HIGHpy/geekaiapp/g_jiekou.py0换脸api接口 - source_image: 源图片(包含要提取的人脸) - target_image: 目标图片(需要被替换人脸的图片)STRING
HIGHpy/geekaiapp/beartAI_face_swap.py0换脸api接口 - source_image: 源图片(包含要提取的人脸) - target_image: 目标图片(需要被替换人脸的图片)STRING
HIGHpy/geekaiapp/beartAIfaceswap1/bf_jiekou.py0换脸api接口 - source_image: 源图片(包含要提取的人脸) - target_image: 目标图片(需要被替换人脸的图片)STRING
HIGHpy/geekaiapp/beartAIfaceswap1/bf_jiekou2.py0换脸api接口 - source_image: 源图片(包含要提取的人脸) - target_image: 目标图片(需要被替换人脸的图片)STRING
HIGHdsl/beartAI/beartAI_face_swap.py0换脸api接口 - source_image: 源图片(包含要提取的人脸) - target_image: 目标图片(需要被替换人脸的图片)STRING
HIGHpy/geekaiapp/zhongyao1/zhongyao-gradio-app.py0请以json格式返回关于"{yaocai}"的中药材信息,包含以下字段: 1. name: 药材名称 2. property: 药性(寒、热、温、凉) 3. taste: 药味(酸、苦、甘、辛、咸) 4. meridian: 归经 5. fSTRING
HIGHpy/geekaiapp/zhongyao1/zhongyao-mcp-server.py0请以json格式返回关于"{yaocai}"的中药材信息,包含以下字段: 1. name: 药材名称 2. property: 药性(寒、热、温、凉) 3. taste: 药味(酸、苦、甘、辛、咸) 4. meridian: 归经 5. fSTRING
HIGHmcp/FastMCP/zhongyao-mcp-server.py0请以json格式返回关于"{yaocai}"的中药材信息,包含以下字段: 1. name: 药材名称 2. property: 药性(寒、热、温、凉) 3. taste: 药味(酸、苦、甘、辛、咸) 4. meridian: 归经 5. fSTRING
Deep Nesting73 hits · 69 pts
SeverityFileLineSnippetContext
LOWpy/yewu2googleimgtxt/image-generation-server.py104CODE
LOWpy/yewu2googleimgtxt/image-generation-server.py161CODE
LOWpy/yewu2googleimgtxt/image-generation-client.py7CODE
LOWpy/yewu2googleimgtxt/image-generation-client.py37CODE
LOWpy/yewu2story/utils/utils.py221CODE
LOWpy/yewu2story/services/llm.py118CODE
LOWpy/yewu2story/services/llm.py142CODE
LOWpy/yewu2story/services/llm.py287CODE
LOWpy/yewu2story/services/voice.py74CODE
LOWpy/yewu2story/services/voice.py1118CODE
LOWpy/yewu2story/services/video.py101CODE
LOWpy/yewu2story/services/video.py281CODE
LOWpy/yewu2edgetts/app.py237CODE
LOWpy/yewu2edgetts/app.py363CODE
LOWpy/yewu2edgetts/app.py600CODE
LOWpy/yewu2edgetts/app.py667CODE
LOWpy/yewu2videoaddsrt/tools.py59CODE
LOWpy/yewu2videoaddsrt/tools.py535CODE
LOWpy/yewu2videoaddsrt/app.py64CODE
LOWpy/fapiao/fapiaosqd.py501CODE
LOWpy/fapiao/fapiaosqd.py31CODE
LOWpy/fapiao/fapiaosqd.py80CODE
LOWpy/yewu2jmvideo/jimeng_video_service.py59CODE
LOWpy/geekaiapp/g_utils.py232CODE
LOWpy/geekaiapp/g_utils.py296CODE
LOWpy/geekaiapp/g_utils.py395CODE
LOWpy/geekaiapp/jimeng_video_service.py74CODE
LOWpy/geekaiapp/g_jiekou.py654CODE
LOWpy/geekaiapp/g_jiekou.py918CODE
LOWpy/geekaiapp/g_jiekou.py977CODE
LOWpy/geekaiapp/beartAI_face_swap.py102CODE
LOWpy/geekaiapp/beartAI_face_swap.py161CODE
LOWpy/geekaiapp/filters/remove_italic.py9CODE
LOWpy/geekaiapp/wenshengtu1/jm1_gradio.py376CODE
LOWpy/geekaiapp/wenshengtu1/jm1_gradio.py464CODE
LOWpy/geekaiapp/tts1/tts1_gradio.py51CODE
LOWpy/geekaiapp/tts1/tts1_gradio.py102CODE
LOWpy/geekaiapp/danci1/danci1_gradio.py110CODE
LOWpy/geekaiapp/laTex1/latex_mcp_jiekou.py130CODE
LOWpy/geekaiapp/laTex1/latex_mcp_jiekou.py142CODE
LOWpy/geekaiapp/laTex1/latex_gradio.py180CODE
LOWpy/geekaiapp/markdown2map/marp1_gradio.py308CODE
LOWmcp/FastMCP/doubao_mcp_ai_server.py79CODE
LOWmcp/FastMCP/doubao_mcp_ai_server.py190CODE
LOWmcp/FastMCP/doubao_mcp_ai_server2.py79CODE
LOWmcp/FastMCP/doubao_mcp_ai_server2.py190CODE
LOWmcp/fastapi-mcp-server/jimeng/test_mcp_tools.py22CODE
LOWmcp/fastapi-mcp-server/jimeng/test_mcp_tools.py57CODE
LOWmcp/fastapi-mcp-server/jimeng/test_mcp_tools.py169CODE
LOWmcp/fastapi-mcp-server/jimeng/test_mcp_tools.py204CODE
LOWmcp/fastapi-mcp-server/jimeng/jimeng_video_service.py115CODE
LOWdsl/google/gemini2/image-generation-server.py89CODE
LOWdsl/google/gemini2/image-generation-server.py145CODE
LOWdsl/google/gemini2/image-generation-client.py7CODE
LOWdsl/google/gemini2/image-generation-client.py37CODE
LOWdsl/jimeng/jimeng_video_service.py108CODE
LOWdsl/difyforgitee/giteeapiforall.py232CODE
LOWdsl/difyforsiliconflow/bizyair/getcomfyuifastapi.py65CODE
LOWdsl/beartAI/beartAI_face_swap.py78CODE
LOWdsl/beartAI/beartAI_face_swap.py137CODE
13 more matches not shown…
Hyper-Verbose Identifiers42 hits · 39 pts
SeverityFileLineSnippetContext
LOWpy/readme.txt583def generate_timestamp_filenameforaudio(extension='mp3'):STRING
LOWpy/yewu2googleimgtxt/image-generation-server.py64def generate_timestamp_filename(extension='png'):CODE
LOWpy/yewu2story/utils/utils.py96def time_convert_seconds_to_hmsm(seconds) -> str:CODE
LOWpy/yewu2story/utils/utils.py127def split_string_by_punctuations(s):STRING
LOWpy/yewu2story/utils/utils.py161def split_string_by_punctuations_new(text: str) -> List[str]:STRING
LOWpy/yewu2story/services/llm.py211 async def generate_story_with_images(self, request: StoryGenerationRequest) -> List[Dict[str, Any]]:CODE
LOWpy/yewu2story/services/voice.py33def split_string_by_punctuations(s):CODE
LOWpy/yewu2edgetts/app.py744async def general_exception_handler(request: Request, exc: Exception):CODE
LOWpy/yewu2videoaddsrt/tools.py528def get_current_time_as_yymmddhhmmss(format='hms'):CODE
LOWpy/fapiao/fapiaosqd.py80 def extract_invoice_applications(self, rows_data: List[List[str]]) -> List[Dict[str, Any]]:CODE
LOWpy/fapiao/fapiaosqd.py290def create_enhanced_invoice_preview(applications: List[Dict]) -> str:CODE
LOWpy/yewu2excelhtml/makehtmlapi.py67def generate_timestamp_filename(extension='html'):CODE
LOWpy/geekaiapp/g_utils.py320def generate_timestamp_filenameforaudio(extension='mp3'):STRING
LOWpy/geekaiapp/g_utils.py555def generate_timestamp_filename_for_video(extension='mp4'):CODE
LOWpy/geekaiapp/g_utils.py591def generate_timestamp_filename_for_image(extension='jpg'):CODE
LOWpy/geekaiapp/g_jiekou.py516async def make_ai_txt_picture_audio(data: List[Item1]):CODE
LOWmcp/fastapi-mcp-server/jimeng/jimeng_video_service.py70def generate_timestamp_filename_for_video(extension='mp4'):CODE
LOWdsl/makehtml/makehtmlapi.py55def generate_timestamp_filename(extension='html'):CODE
LOWdsl/office/word/test_md_to_docx_client.py4def test_md_to_docx_conversion():CODE
LOWdsl/google/gemini2/image-generation-server.py52def generate_timestamp_filename(extension='png'):CODE
LOWdsl/jimeng/jimeng_video_service.py63def generate_timestamp_filename_for_video(extension='mp4'):CODE
LOWdsl/jimeng/picturebooktts.py95def generate_timestamp_filenameforaudio(extension='mp3'):CODE
LOWdsl/difyforgitee/giteeapiforall.py54def generate_timestamp_filename(extension='png'):CODE
LOWdsl/difyforgitee/giteeapiforall.py60def generate_timestamp_filenameforaudio(extension='mp3'):CODE
LOWdsl/difyforgitee/giteeapiforall.py171async def generate_image_to_imagefile(file: UploadFile = File(...)):CODE
LOWdsl/difyforgitee/giteeapifordify.py32def generate_timestamp_filename(extension='png'):CODE
LOWdsl/difyforgitee/dify中创建并使用自定义工具-gitee绘画.md464def generate_timestamp_filename(extension='png'):CODE
LOWdsl/utils/cos_utils.py7def generate_timestamp_filenameforaudio(extension='mp3'):CODE
LOWdsl/difyforsiliconflow/siliconflowmakevideofastapi.py51def generate_timestamp_filenameforaudio(extension='mp3'):CODE
LOWdsl/beartAI/beartAI_face_swap.py189def generate_timestamp_filename_for_image(extension='jpg'):CODE
LOWdsl/db/student/test_score_api.py25def test_get_class_average_scores():CODE
LOWdsl/db/student/test_score_api.py40def test_get_course_top_students():CODE
LOWdsl/story/utils/utils.py96def time_convert_seconds_to_hmsm(seconds) -> str:CODE
LOWdsl/story/utils/utils.py127def split_string_by_punctuations(s):STRING
LOWdsl/story/utils/utils.py161def split_string_by_punctuations_new(text: str) -> List[str]:STRING
LOWdsl/story/services/llm.py206 async def generate_story_with_images(self, request: StoryGenerationRequest) -> List[Dict[str, Any]]:CODE
LOWdsl/story/services/voice.py35def split_string_by_punctuations(s):CODE
LOWdsl/akshare/stock_analysis_api.py116def _truncate_json_for_logging(json_obj, max_length=500):CODE
LOWdsl/akshare/stock_analysis_api.py229def calculate_bollinger_bands(series, period, std_dev):CODE
LOWdsl/akshare/stock_analysis_client.py61def display_technical_summary(technical_summary):CODE
LOWdsl/akshare/testakshare.py83def calculate_bollinger_bands(series, period, std_dev):CODE
LOWdsl/akshare/testakshare.py140def _truncate_json_for_logging(json_obj, max_length=500):CODE
Modern Structural Boilerplate32 hits · 32 pts
SeverityFileLineSnippetContext
LOWpy/yewu2googleimgtxt/image-generation-server.py48logger = logging.getLogger(__name__)CODE
LOWpy/yewu2videoaddsrt/cfg.py21logger = logging.getLogger(__name__)CODE
LOWpy/yewu2excelhtml/makehtmlapi.py42logger = logging.getLogger(__name__)CODE
LOWpy/yewu2jmvideo/jimeng_video_service.py18logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/g_utils.py21logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/jimeng_video_service.py20logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/g_jiekou.py70logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/beartAI_face_swap.py18logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/wenshengtu1/config.py15logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/wenshengtu1/jm1_jiekou.py21logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/tts1/tts1_jiekou.py28logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/danci1/danci1_jiekou.py25logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/danci1/danci1_gradio.py18logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/laTex1/latex_mcp_jiekou.py28logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/laTex1/latex_gradio.py18logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/laTex1/latex_jiekou.py24logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_gradio.py22logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_jiekou.py23logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_jiekou2.py23logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/beartAIfaceswap1/bf_mcp_jiekou.py23logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/markdown2map/marp1_jiekou.py23logger = logging.getLogger(__name__)CODE
LOWpy/geekaiapp/markdown2map/marp1_gradio.py35logger = logging.getLogger(__name__)CODE
LOWmcp/fastapi-mcp-server/jimeng/jimeng_video_service.py18logger = logging.getLogger(__name__)CODE
LOWdsl/makehtml/makehtmlapi.py34logger = logging.getLogger(__name__)CODE
LOWdsl/office/word/md_to_docx_server.py13logger = logging.getLogger(__name__)CODE
LOWdsl/google/gemini2/image-generation-server.py39logger = logging.getLogger(__name__)CODE
LOWdsl/jimeng/jimeng_video_service.py17logger = logging.getLogger(__name__)CODE
LOWdsl/jimeng/picturebooktts.py59logger = logging.getLogger(__name__)CODE
LOWdsl/difyforgitee/giteeapiforall.py27logger = logging.getLogger(__name__) # <--- 新增CODE
LOWdsl/difyforsiliconflow/bizyair/getcomfyuifastapi.py35logger = logging.getLogger(__name__)CODE
LOWdsl/beartAI/beartAI_face_swap.py18logger = logging.getLogger(__name__)CODE
LOWdsl/zhipu/zhiputexttovideoapi.py14logger = logging.getLogger(__name__)CODE
Over-Commented Block26 hits · 24 pts
SeverityFileLineSnippetContext
LOWpy/docker-compose.yml21 # TENCENT_REGION: ${TENCENT_REGION:-ap-nanjing}COMMENT
LOWpy/yewu2story/teststoryvideo.py1import timeCOMMENT
LOWpy/yewu2videoaddsrt/tools.py181 # f'{dirname}/{CAIJIAN_HEBING}',COMMENT
LOWpy/yewu2videoaddsrt/tools.py221 f'{dirname}/shortvideo.mp4'COMMENT
LOWpy/yewu2jmvideo/jimeng_video_service.py21COMMENT
LOWpy/geekaiapp/g_utils.py81os.makedirs(ip_md, exist_ok=True) COMMENT
LOWpy/geekaiapp/g_utils.py101 print(f"Marp 的路径是: {marp_path}")COMMENT
LOWpy/geekaiapp/g_jiekou.py41app = FastAPI(debug=True)COMMENT
LOWpy/geekaiapp/g_jiekou.py1061# \setCJKmainfont{SimSun} % 设置中文字体COMMENT
LOWpy/geekaiapp/g_jiekou.py1081# # 转换并获取输出路径COMMENT
LOWpy/geekaiapp/danci1/danci1_jiekou.py101# {COMMENT
LOWpy/geekaiapp/danci1/danci1_jiekou.py121# ]COMMENT
LOWpy/geekaiapp/markdown2map/marp1_jiekou.py101# 测试COMMENT
LOWpy/geekaiapp/markdown2map/marp1_jiekou.py121# - 数组COMMENT
LOWpy/geekaiapp/markdown2map/marp1_jiekou.py141# - returnCOMMENT
LOWpy/geekaiapp/markdown2map/marp1_jiekou.py161# - 接口与抽象类的区别COMMENT
LOWpy/geekaiapp/markdown2map/marp1_jiekou.py181# - HashMapCOMMENT
LOWpy/geekaiapp/markdown2map/marp1_jiekou.py201# ### 字符流COMMENT
LOWpy/geekaiapp/markdown2map/marp1_jiekou.py221# ### 泛型的概念COMMENT
LOWpy/geekaiapp/markdown2map/marp1_jiekou.py241# - 执行SQL语句COMMENT
LOWdsl/crawl4ai/aibase_craw4fastapi.py1# import jsonCOMMENT
LOWdsl/crawl4ai/aibase_craw4fastapi.py21# # 过滤出符合新闻详情页的链接COMMENT
LOWdsl/crawl4ai/aibase_craw4fastapi.py41# },COMMENT
LOWdsl/crawl4ai/aibase_craw4fastapi.py61# bypass_cache=True, # 忽略缓存,确保获取最新内容COMMENT
LOWdsl/crawl4ai/aibase_craw4fastapi.py81# # 循环处理每个新闻URLCOMMENT
LOWdsl/difyforsiliconflow/bizyair/getcomfyuifastapi.py101 return output_imagesCOMMENT
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHpy/yewu2story/testdify.py32arg1 = '{"success":true,"data":{"video_url":"https://dify-1258720957.cos.ap-nanjing.myqcloud.com/videos/video20250318220CODE
HIGHpy/geekaiapp/wenshengtu1/jm1_gradio.py268 if (modal && modalImg && imageUrls_{unique_id}[index]) {{CODE
HIGHdsl/story/testdify.py32arg1 = '{"success":true,"data":{"video_url":"https://dify-1258720957.cos.ap-nanjing.myqcloud.com/videos/video20250318220CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpy/yewu2story/services/llm.py289生成 LLM 响应 Args: messages: 消息列表 response_format: 响应格式,默认为 json_object Returns: STRING
HIGHdsl/story/services/llm.py281生成 LLM 响应 Args: messages: 消息列表 response_format: 响应格式,默认为 json_object Returns: STRING
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpy/geekaiapp/readme.md78 "image_api_key": "your-api-key",CODE
HIGHpy/geekaiapp/tts1/README.md29MICROSOFT_API_KEY=your_api_keyCODE
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWpy/yewu2story/teststoryvideo.py23CODE
LOWpy/yewu2story/utils/utils.py158CODE
LOWpy/yewu2story/services/voice.py71CODE
LOWdsl/story/teststoryvideo.py13CODE
LOWdsl/story/utils/utils.py158CODE
LOWdsl/story/services/voice.py73CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWmcp/fastapi-mcp-server/jimeng/test_mcp_tools.py126 # Check if we got a valid responseCOMMENT
LOWmcp/fastapi-mcp-server/jimeng/test_mcp_tools.py273 # Check if we got a valid responseCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpy/geekaiapp/g_jiekou.py528async def process_data(item: Item1):CODE
LOWdsl/jimeng/picturebooktts.py68async def process_data(item: Item):CODE