AI Slop Code RIsk Monitor

wwwzhouhui/dify-for-dsl

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

8.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for wwwzhouhui/dify-for-dsl, a Python project with 3,877 GitHub stars. SynthScan examined 84,899 lines of code across 305 source files, recording 571 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 8.7 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

8.7
Adjusted Signal
8.7
Raw Pattern Score
100%
Time Factor
2026-10-06
Last Push
3.9K
Stars
Python
Language
84.9K
Lines of Code
305
Files
571
Pattern Hits
2026-10-12
Scan Date
0.13
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 8.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 153 finding(s).

Hallucinated Dependency & Supply Chain Risk 7.2/100 · LOW

Are imports declared and package/API names verified? 107 finding(s).

Agent Over-Engineering Ratio 25.6/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 359 finding(s).

PR Review Velocity Impact 38.3/100 · MEDIUM

Which changes need focused human review? 571 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 40MEDIUM 25LOW 506

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 571 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Excessive Try-Catch Wrapping246 hits · 260 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
MEDIUM⚡py/yewu2edgetts/app.py543 print(f"Error during TTS generation: {str(e)}")CODE
MEDIUM⚡py/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
LOW⚡py/yewu2edgetts/app.py542 except Exception as e:CODE
LOW⚡py/yewu2edgetts/app.py549 except Exception as e:CODE
LOW⚡py/yewu2edgetts/app.py556 except Exception as cleanup_error:CODE
LOW⚡py/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
Empty Error Handlers16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHpy/yewu2videoaddsrt/tools.py54except Exception:CODE
HIGHpy/yewu2videoaddsrt/tools.py174except Exception:CODE
HIGHpy/yewu2videoaddsrt/tools.py269except Exception:CODE
HIGHpy/yewu2videoaddsrt/tools.py110except CouldntDecodeError:CODE
HIGHpy/yewu2videoaddsrt/app.py556except Exception:CODE
HIGHpy/yewu2videoaddsrt/app.py173except Exception:CODE
HIGHpy/yewu2videoaddsrt/app.py225except Exception:CODE
HIGHpy/yewu2videoaddsrt/app.py289except Exception:CODE
HIGHpy/fapiao/fapiaosqd.py306except Exception:CODE
HIGHpy/fapiao/fapiaosqd.py44except Exception:CODE
HIGHpy/fapiao/fapiaosqd.py165except Exception:CODE
HIGHpy/fapiao/fapiaosqd.py186except (ValueError, IndexError):CODE
HIGHpy/geekaiapp/zhongyao1/zhongyao-gradio-app.py55except json.JSONDecodeError:CODE
HIGHpy/geekaiapp/zhongyao1/zhongyao-gradio-app.py74except json.JSONDecodeError:CODE
HIGHpy/geekaiapp/zhongyao1/zhongyao-gradio-app.py64except json.JSONDecodeError:CODE
HIGHmcp/fastapi-mcp-server/jimeng/test_mcp_tools.py325except asyncio.CancelledError:CODE
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
LOW⚡py/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
LOW⚡py/geekaiapp/g_jiekou.py528async def process_data(item: Item1):CODE
LOWdsl/jimeng/picturebooktts.py68async def process_data(item: Item):CODE