为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。
This report summarizes scanner evidence for binary-husky/gpt_academic, a Python project with 71,733 GitHub stars. SynthScan examined 108,969 lines of code across 413 source files, recording 1523 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 20.1 (Elevated 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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-27.
Can maintainers explain intent, assumptions, and trade-offs? 519 finding(s).
Are imports declared and package/API names verified? 554 finding(s).
Are wrappers, guards, and repeated structures necessary? 670 finding(s).
Which changes need focused human review? 1523 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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.
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.
The scanner identified 1523 distinct pattern matches across 24 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | toolbox.py | 17 | CODE | |
| LOW | toolbox.py | 18 | CODE | |
| LOW | toolbox.py | 19 | CODE | |
| LOW | toolbox.py | 20 | CODE | |
| LOW | toolbox.py | 21 | CODE | |
| LOW | toolbox.py | 22 | CODE | |
| LOW | toolbox.py | 24 | CODE | |
| LOW | toolbox.py | 25 | CODE | |
| LOW | toolbox.py | 26 | CODE | |
| LOW | toolbox.py | 27 | CODE | |
| LOW | toolbox.py | 28 | CODE | |
| LOW | toolbox.py | 29 | CODE | |
| LOW | toolbox.py | 30 | CODE | |
| LOW | toolbox.py | 31 | CODE | |
| LOW | toolbox.py | 32 | CODE | |
| LOW | toolbox.py | 33 | CODE | |
| LOW | toolbox.py | 34 | CODE | |
| LOW | toolbox.py | 35 | CODE | |
| LOW | toolbox.py | 36 | CODE | |
| LOW | toolbox.py | 37 | CODE | |
| LOW | toolbox.py | 40 | CODE | |
| LOW | crazy_functional.py | 17 | CODE | |
| LOW | crazy_functional.py | 36 | CODE | |
| LOW | crazy_functional.py | 48 | CODE | |
| LOW | main.py | 62 | CODE | |
| LOW | shared_utils/fastapi_server.py | 211 | CODE | |
| LOW | shared_utils/advanced_markdown_format.py | 3 | CODE | |
| LOW | shared_utils/advanced_markdown_format.py | 13 | CODE | |
| LOW | shared_utils/connect_void_terminal.py | 1 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 21 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 22 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 25 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 29 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 31 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 32 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 32 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 34 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 36 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 36 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 39 | CODE | |
| LOW | shared_utils/docker_as_service_api.py | 6 | CODE | |
| LOW | shared_utils/colorful.py | 2 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 164 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 190 | CODE | |
| LOW | shared_utils/handle_upload.py | 1 | CODE | |
| LOW | shared_utils/handle_upload.py | 2 | CODE | |
| LOW | shared_utils/handle_upload.py | 3 | CODE | |
| LOW | shared_utils/handle_upload.py | 4 | CODE | |
| LOW | shared_utils/handle_upload.py | 6 | CODE | |
| LOW | shared_utils/handle_upload.py | 7 | CODE | |
| LOW | shared_utils/handle_upload.py | 9 | CODE | |
| LOW | shared_utils/handle_upload.py | 10 | CODE | |
| LOW | shared_utils/key_pattern_manager.py | 3 | CODE | |
| LOW | shared_utils/key_pattern_manager.py | 3 | CODE | |
| LOW | shared_utils/key_pattern_manager.py | 4 | CODE | |
| LOW | shared_utils/cookie_manager.py | 8 | CODE | |
| LOW | shared_utils/cookie_manager.py | 8 | CODE | |
| LOW | shared_utils/cookie_manager.py | 31 | CODE | |
| LOW | shared_utils/cookie_manager.py | 31 | CODE | |
| LOW | request_llms/bridge_spark.py | 3 | CODE | |
| 482 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | toolbox.py | 245 | except Exception as e: | STRING |
| LOW | check_proxy.py | 272 | except Exception: | CODE |
| LOW | shared_utils/fastapi_stream_server.py | 341 | except Exception as e: | CODE |
| LOW | shared_utils/fastapi_stream_server.py | 382 | except Exception as e: | CODE |
| LOW | shared_utils/fastapi_stream_server.py | 579 | except Exception as e: | CODE |
| LOW | shared_utils/docker_as_service_api.py | 76 | except Exception as e: | CODE |
| MEDIUM⚡ | shared_utils/nltk_downloader.py | 1166 | print("Error reading from server: %s" % e) | CODE |
| MEDIUM⚡ | shared_utils/nltk_downloader.py | 1168 | print("Error connecting to server: %s" % e.reason) | CODE |
| MEDIUM | shared_utils/nltk_downloader.py | 1282 | print(f"Error reading <{new_url!r}>:\n {e}") | CODE |
| LOW | shared_utils/nltk_downloader.py | 1281 | except Exception as e: | CODE |
| LOW | shared_utils/nltk_downloader.py | 2252 | except Exception as e: | CODE |
| LOW | shared_utils/nltk_downloader.py | 2428 | except Exception as e: | CODE |
| LOW | shared_utils/nltk_downloader.py | 2432 | except Exception as e: | CODE |
| LOW | shared_utils/doc_loader_dynamic.py | 38 | except Exception as e: | CODE |
| LOW | request_llms/bridge_newbingfree.py | 171 | except Exception: | CODE |
| MEDIUM | request_llms/bridge_newbingfree.py | 62 | def check_dependency(self): | CODE |
| LOW | request_llms/bridge_chatglmft.py | 103 | except Exception as e: | CODE |
| LOW | request_llms/bridge_google_gemini.py | 91 | except Exception as e: | CODE |
| LOW | request_llms/bridge_all.py | 1435 | except Exception as e: | CODE |
| LOW | request_llms/bridge_cohere.py | 231 | except Exception as e: | CODE |
| LOW | request_llms/bridge_ollama.py | 111 | except Exception as e: | CODE |
| LOW | request_llms/bridge_ollama.py | 200 | except Exception as e: | CODE |
| LOW⚡ | request_llms/bridge_deepseekcoder.py | 17 | except Exception as e: | CODE |
| LOW | request_llms/oai_std_model_template.py | 258 | except Exception as e: | CODE |
| LOW | request_llms/oai_std_model_template.py | 419 | except Exception as e: | CODE |
| LOW | request_llms/bridge_chatgpt.py | 396 | except Exception as e: | CODE |
| LOW | request_llms/bridge_chatgpt.py | 416 | except Exception as e: | CODE |
| MEDIUM | request_llms/bridge_chatgpt.py | 408 | def handle_o1_model_special(response, inputs, llm_kwargs, chatbot, history): | CODE |
| LOW | request_llms/bridge_claude.py | 133 | except Exception as e: | CODE |
| LOW | request_llms/bridge_claude.py | 229 | except Exception as e: | CODE |
| LOW | request_llms/bridge_stackclaude.py | 189 | except Exception: | CODE |
| MEDIUM | request_llms/bridge_stackclaude.py | 106 | def check_dependency(self): | CODE |
| LOW | request_llms/bridge_openrouter.py | 355 | except Exception as e: | CODE |
| LOW | request_llms/bridge_openrouter.py | 374 | except Exception as e: | CODE |
| MEDIUM | request_llms/bridge_openrouter.py | 366 | def handle_o1_model_special(response, inputs, llm_kwargs, chatbot, history): | CODE |
| LOW | request_llms/bridge_chatgpt_vision.py | 205 | except Exception as e: | CODE |
| LOW | request_llms/embed_models/bge_llm.py | 90 | except Exception as e: | CODE |
| LOW | docs/models/custom_models.md | 433 | except Exception as e: | CODE |
| LOW | crazy_functions/Paper_Reading.py | 109 | except Exception as e: | CODE |
| LOW | crazy_functions/Paper_Reading.py | 140 | except Exception as e: | CODE |
| LOW | crazy_functions/Paper_Reading.py | 168 | except Exception as e: | CODE |
| LOW | crazy_functions/Paper_Reading.py | 218 | except Exception: | CODE |
| LOW | crazy_functions/Paper_Reading.py | 288 | except Exception as e: | CODE |
| LOW | crazy_functions/Document_Optimize.py | 109 | except Exception as e: | CODE |
| LOW | crazy_functions/Document_Optimize.py | 181 | except Exception as e: | CODE |
| LOW | crazy_functions/Document_Optimize.py | 309 | except Exception as e: | CODE |
| LOW | crazy_functions/Document_Optimize.py | 356 | except Exception as e: | CODE |
| LOW | crazy_functions/Document_Optimize.py | 432 | except Exception as e: | CODE |
| LOW | crazy_functions/Document_Optimize.py | 474 | except Exception as e: | CODE |
| LOW | crazy_functions/Document_Optimize.py | 486 | except Exception as e: | CODE |
| LOW | crazy_functions/Document_Optimize.py | 498 | except Exception as e: | CODE |
| LOW⚡ | crazy_functions/Document_Optimize.py | 516 | except Exception as e: | CODE |
| LOW⚡ | crazy_functions/Document_Optimize.py | 519 | except Exception as e: | CODE |
| LOW | crazy_functions/Latex_Function.py | 269 | except Exception as e: | CODE |
| LOW | crazy_functions/Latex_Function.py | 357 | except Exception as e: | CODE |
| LOW | crazy_functions/Latex_Function.py | 474 | except Exception as e: | CODE |
| LOW | crazy_functions/Rag_Interface.py | 40 | except Exception as e: | CODE |
| LOW | crazy_functions/Audio_Assistant.py | 48 | except Exception as e: | CODE |
| MEDIUM | crazy_functions/Audio_Assistant.py | 40 | def gpt_thread_worker(self, i_say, llm_kwargs, history, sys_prompt, observe_wind | CODE |
| LOW | crazy_functions/Vectorstore_QA.py | 40 | except Exception as e: | STRING |
| 228 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | toolbox.py | 0 | 将对话记录history以markdown格式写入文件中。如果没有指定文件名,则使用当前时间生成文件名。 | STRING |
| HIGH | tests/test_save_chat_to_html.py | 0 | 将对话记录history以markdown格式写入文件中。如果没有指定文件名,则使用当前时间生成文件名。 | STRING |
| HIGH | crazy_functions/Conversation_To_File.py | 0 | 将对话记录history以markdown格式写入文件中。如果没有指定文件名,则使用当前时间生成文件名。 | STRING |
| HIGH | request_llms/bridge_cohere.py | 0 | 该文件中主要包含三个函数 不具备多线程能力的函数: 1. predict: 正常对话时使用,具备完备的交互功能,不可多线程 具备多线程调用能力的函数 2. predict_no_ui_long_connection:支持多线程 | STRING |
| HIGH | request_llms/bridge_ollama.py | 0 | 该文件中主要包含三个函数 不具备多线程能力的函数: 1. predict: 正常对话时使用,具备完备的交互功能,不可多线程 具备多线程调用能力的函数 2. predict_no_ui_long_connection:支持多线程 | STRING |
| HIGH | request_llms/bridge_chatgpt.py | 0 | 该文件中主要包含三个函数 不具备多线程能力的函数: 1. predict: 正常对话时使用,具备完备的交互功能,不可多线程 具备多线程调用能力的函数 2. predict_no_ui_long_connection:支持多线程 | STRING |
| HIGH | request_llms/bridge_openrouter.py | 0 | 该文件中主要包含三个函数 不具备多线程能力的函数: 1. predict: 正常对话时使用,具备完备的交互功能,不可多线程 具备多线程调用能力的函数 2. predict_no_ui_long_connection:支持多线程 | STRING |
| HIGH | request_llms/bridge_chatgpt_vision.py | 0 | 该文件中主要包含三个函数 不具备多线程能力的函数: 1. predict: 正常对话时使用,具备完备的交互功能,不可多线程 具备多线程调用能力的函数 2. predict_no_ui_long_connection:支持多线程 | STRING |
| HIGH | request_llms/bridge_cohere.py | 0 | 发送至chatgpt,流式获取输出。 用于基础的对话功能。 inputs 是本次问询的输入 top_p, temperature是chatgpt的内部调优参数 history 是之前的对话列表(注意无论是inputs还是history,内容 | STRING |
| HIGH | request_llms/bridge_ollama.py | 0 | 发送至chatgpt,流式获取输出。 用于基础的对话功能。 inputs 是本次问询的输入 top_p, temperature是chatgpt的内部调优参数 history 是之前的对话列表(注意无论是inputs还是history,内容 | STRING |
| HIGH | request_llms/oai_std_model_template.py | 0 | 发送至chatgpt,流式获取输出。 用于基础的对话功能。 inputs 是本次问询的输入 top_p, temperature是chatgpt的内部调优参数 history 是之前的对话列表(注意无论是inputs还是history,内容 | STRING |
| HIGH | request_llms/bridge_tgui.py | 0 | 发送至chatgpt,流式获取输出。 用于基础的对话功能。 inputs 是本次问询的输入 top_p, temperature是chatgpt的内部调优参数 history 是之前的对话列表(注意无论是inputs还是history,内容 | STRING |
| HIGH | request_llms/bridge_chatgpt.py | 0 | 发送至chatgpt,流式获取输出。 用于基础的对话功能。 inputs 是本次问询的输入 top_p, temperature是chatgpt的内部调优参数 history 是之前的对话列表(注意无论是inputs还是history,内容 | STRING |
| HIGH | request_llms/bridge_claude.py | 0 | 发送至chatgpt,流式获取输出。 用于基础的对话功能。 inputs 是本次问询的输入 top_p, temperature是chatgpt的内部调优参数 history 是之前的对话列表(注意无论是inputs还是history,内容 | STRING |
| HIGH | request_llms/bridge_openrouter.py | 0 | 发送至chatgpt,流式获取输出。 用于基础的对话功能。 inputs 是本次问询的输入 top_p, temperature是chatgpt的内部调优参数 history 是之前的对话列表(注意无论是inputs还是history,内容 | STRING |
| HIGH | request_llms/bridge_ollama.py | 0 | 发送至chatgpt,等待回复,一次性完成,不显示中间过程。但内部用stream的方法避免中途网线被掐。 inputs: 是本次问询的输入 sys_prompt: 系统静默prompt llm_kwargs: chatgpt的内部调优参数 | STRING |
| HIGH | request_llms/oai_std_model_template.py | 0 | 发送至chatgpt,等待回复,一次性完成,不显示中间过程。但内部用stream的方法避免中途网线被掐。 inputs: 是本次问询的输入 sys_prompt: 系统静默prompt llm_kwargs: chatgpt的内部调优参数 | STRING |
| HIGH | request_llms/bridge_chatgpt.py | 0 | 发送至chatgpt,等待回复,一次性完成,不显示中间过程。但内部用stream的方法避免中途网线被掐。 inputs: 是本次问询的输入 sys_prompt: 系统静默prompt llm_kwargs: chatgpt的内部调优参数 | STRING |
| HIGH | request_llms/bridge_claude.py | 0 | 发送至chatgpt,等待回复,一次性完成,不显示中间过程。但内部用stream的方法避免中途网线被掐。 inputs: 是本次问询的输入 sys_prompt: 系统静默prompt llm_kwargs: chatgpt的内部调优参数 | STRING |
| HIGH | request_llms/bridge_openrouter.py | 0 | 发送至chatgpt,等待回复,一次性完成,不显示中间过程。但内部用stream的方法避免中途网线被掐。 inputs: 是本次问询的输入 sys_prompt: 系统静默prompt llm_kwargs: chatgpt的内部调优参数 | STRING |
| HIGH | tests/test_anim_gen.py | 0 | 对项目中的各个插件进行测试。运行方法:直接运行 python tests/test_plugins.py | STRING |
| HIGH | tests/test_plugins.py | 0 | 对项目中的各个插件进行测试。运行方法:直接运行 python tests/test_plugins.py | STRING |
| HIGH | tests/test_media.py | 0 | 对项目中的各个插件进行测试。运行方法:直接运行 python tests/test_plugins.py | STRING |
| HIGH | tests/test_academic_conversation.py | 0 | 对项目中的各个插件进行测试。运行方法:直接运行 python tests/test_plugins.py | STRING |
| HIGH | tests/test_latex_auto_correct.py | 0 | 对项目中的各个插件进行测试。运行方法:直接运行 python tests/test_plugins.py | STRING |
| HIGH | tests/test_bilibili_down.py | 0 | 对项目中的各个插件进行测试。运行方法:直接运行 python tests/test_plugins.py | STRING |
| HIGH | tests/test_social_helper.py | 0 | 对项目中的各个插件进行测试。运行方法:直接运行 python tests/test_plugins.py | STRING |
| HIGH | tests/test_vector_plugins.py | 0 | 对项目中的各个插件进行测试。运行方法:直接运行 python tests/test_plugins.py | STRING |
| HIGH | docs/plugin_with_secondary_menu.md | 0 | 定义插件的二级选项菜单 第一个参数,名称`main_input`,参数`type`声明这是一个文本框,文本框上方显示`title`,文本框内部显示`description`,`default_value`为默认值; 第二个参数,名称`adv | STRING |
| HIGH | crazy_functions/Internet_GPT_Wrap.py | 0 | 定义插件的二级选项菜单 第一个参数,名称`main_input`,参数`type`声明这是一个文本框,文本框上方显示`title`,文本框内部显示`description`,`default_value`为默认值; 第二个参数,名称`adv | STRING |
| HIGH | crazy_functions/Latex_Function_Wrap.py | 0 | 定义插件的二级选项菜单 第一个参数,名称`main_input`,参数`type`声明这是一个文本框,文本框上方显示`title`,文本框内部显示`description`,`default_value`为默认值; 第二个参数,名称`adv | STRING |
| HIGH | crazy_functions/Document_Conversation_Wrap.py | 0 | 定义插件的二级选项菜单 第一个参数,名称`main_input`,参数`type`声明这是一个文本框,文本框上方显示`title`,文本框内部显示`description`,`default_value`为默认值; 第二个参数,名称`adv | STRING |
| HIGH | crazy_functions/Internet_GPT_Legacy.py | 0 | scrape text from a webpage args: url (str): the url to scrape text from returns: str: the scraped text | STRING |
| HIGH | crazy_functions/Internet_GPT.py | 0 | scrape text from a webpage args: url (str): the url to scrape text from returns: str: the scraped text | STRING |
| HIGH | crazy_functions/Internet_GPT_Bing_Legacy.py | 0 | scrape text from a webpage args: url (str): the url to scrape text from returns: str: the scraped text | STRING |
| HIGH | crazy_functions/Internet_GPT_Legacy.py | 0 | # 高阶功能模板函数示意图:https://mermaid.live/edit#pako:enptk1tvekeyhv8kmattqpvlvoyfccdeeavxuoyssbwie8gyhcilqvolhrbbtawnupegukymedw | STRING |
| HIGH | crazy_functions/Conversation_To_File.py | 0 | # 高阶功能模板函数示意图:https://mermaid.live/edit#pako:enptk1tvekeyhv8kmattqpvlvoyfccdeeavxuoyssbwie8gyhcilqvolhrbbtawnupegukymedw | STRING |
| HIGH | crazy_functions/Math_Animation_Gen.py | 0 | # 高阶功能模板函数示意图:https://mermaid.live/edit#pako:enptk1tvekeyhv8kmattqpvlvoyfccdeeavxuoyssbwie8gyhcilqvolhrbbtawnupegukymedw | STRING |
| HIGH | crazy_functions/Dynamic_Function_Generate.py | 0 | # 高阶功能模板函数示意图:https://mermaid.live/edit#pako:enptk1tvekeyhv8kmattqpvlvoyfccdeeavxuoyssbwie8gyhcilqvolhrbbtawnupegukymedw | STRING |
| HIGH | crazy_functions/Internet_GPT_Bing_Legacy.py | 0 | # 高阶功能模板函数示意图:https://mermaid.live/edit#pako:enptk1tvekeyhv8kmattqpvlvoyfccdeeavxuoyssbwie8gyhcilqvolhrbbtawnupegukymedw | STRING |
| HIGH | crazy_functions/Multi_LLM_Query.py | 0 | # 高阶功能模板函数示意图:https://mermaid.live/edit#pako:enptk1tvekeyhv8kmattqpvlvoyfccdeeavxuoyssbwie8gyhcilqvolhrbbtawnupegukymedw | STRING |
| HIGH | crazy_functions/高级功能函数模板.py | 0 | # 高阶功能模板函数示意图:https://mermaid.live/edit#pako:enptk1tvekeyhv8kmattqpvlvoyfccdeeavxuoyssbwie8gyhcilqvolhrbbtawnupegukymedw | STRING |
| HIGH | crazy_functions/Multi_Agent_Legacy.py | 0 | # 高阶功能模板函数示意图:https://mermaid.live/edit#pako:enptk1tvekeyhv8kmattqpvlvoyfccdeeavxuoyssbwie8gyhcilqvolhrbbtawnupegukymedw | STRING |
| HIGH | crazy_functions/review_fns/conversation_doc/word2pdf.py | 0 | 将word文档转换为pdf 参数: word_path: word文档的路径 pdf_path: 可选,pdf文件的输出路径。如果未指定,将使用与word文档相同的名称和位置 返回: 生成的pdf文件路径 异常: 如果转换失败,将抛出相应异 | STRING |
| HIGH | crazy_functions/paper_fns/file2file_doc/word2pdf.py | 0 | 将word文档转换为pdf 参数: word_path: word文档的路径 pdf_path: 可选,pdf文件的输出路径。如果未指定,将使用与word文档相同的名称和位置 返回: 生成的pdf文件路径 异常: 如果转换失败,将抛出相应异 | STRING |
| HIGH | crazy_functions/doc_fns/conversation_doc/word2pdf.py | 0 | 将word文档转换为pdf 参数: word_path: word文档的路径 pdf_path: 可选,pdf文件的输出路径。如果未指定,将使用与word文档相同的名称和位置 返回: 生成的pdf文件路径 异常: 如果转换失败,将抛出相应异 | STRING |
| HIGH | crazy_functions/review_fns/conversation_doc/word2pdf.py | 0 | 批量转换目录下的所有word文档 参数: word_dir: 包含word文档的目录路径 pdf_dir: 可选,pdf文件的输出目录。如果未指定,将使用与word文档相同的目录 返回: 生成的pdf文件路径列表 | STRING |
| HIGH | crazy_functions/paper_fns/file2file_doc/word2pdf.py | 0 | 批量转换目录下的所有word文档 参数: word_dir: 包含word文档的目录路径 pdf_dir: 可选,pdf文件的输出目录。如果未指定,将使用与word文档相同的目录 返回: 生成的pdf文件路径列表 | STRING |
| HIGH | crazy_functions/doc_fns/conversation_doc/word2pdf.py | 0 | 批量转换目录下的所有word文档 参数: word_dir: 包含word文档的目录路径 pdf_dir: 可选,pdf文件的输出目录。如果未指定,将使用与word文档相同的目录 返回: 生成的pdf文件路径列表 | STRING |
| HIGH | crazy_functions/review_fns/conversation_doc/word2pdf.py | 0 | 将docx对象直接转换为pdf 参数: doc: python-docx的document对象 output_dir: 可选,输出目录。如果未指定,将使用当前目录 返回: 生成的pdf文件路径 | STRING |
| HIGH | crazy_functions/paper_fns/file2file_doc/word2pdf.py | 0 | 将docx对象直接转换为pdf 参数: doc: python-docx的document对象 output_dir: 可选,输出目录。如果未指定,将使用当前目录 返回: 生成的pdf文件路径 | STRING |
| HIGH | crazy_functions/doc_fns/conversation_doc/word2pdf.py | 0 | 将docx对象直接转换为pdf 参数: doc: python-docx的document对象 output_dir: 可选,输出目录。如果未指定,将使用当前目录 返回: 生成的pdf文件路径 | STRING |
| HIGH | …azy_functions/review_fns/data_sources/adsabs_source.py | 0 | 搜索论文 args: query: 搜索关键词 limit: 返回结果数量限制 sort_by: 排序方式 ('relevance', 'date', 'citations') start_year: 起始年份 returns: 论文列表 | STRING |
| HIGH | …azy_functions/review_fns/data_sources/scopus_source.py | 0 | 搜索论文 args: query: 搜索关键词 limit: 返回结果数量限制 sort_by: 排序方式 ('relevance', 'date', 'citations') start_year: 起始年份 returns: 论文列表 | STRING |
| HIGH | …azy_functions/review_fns/data_sources/pubmed_source.py | 0 | 搜索论文 args: query: 搜索关键词 limit: 返回结果数量限制 sort_by: 排序方式 ('relevance', 'date', 'citations') start_year: 起始年份 returns: 论文列表 | STRING |
| HIGH | …/read_fns/unstructured_all/paper_metadata_extractor.py | 0 | 验证文件 args: file_path: 文件路径 max_size_mb: 允许的最大文件大小(mb) returns: path: 验证后的path对象 raises: valueerror: 文件不存在、格式不支持或大小超限 per | STRING |
| HIGH | …c_fns/read_fns/unstructured_all/unstructured_reader.py | 0 | 验证文件 args: file_path: 文件路径 max_size_mb: 允许的最大文件大小(mb) returns: path: 验证后的path对象 raises: valueerror: 文件不存在、格式不支持或大小超限 per | STRING |
| HIGH | …nctions/doc_fns/read_fns/markitdown/markdown_reader.py | 0 | 验证文件 args: file_path: 文件路径 max_size_mb: 允许的最大文件大小(mb) returns: path: 验证后的path对象 raises: valueerror: 文件不存在、格式不支持或大小超限 per | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docker-compose.yml | 1 | ## =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 3 | ## =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 14 | ## =================================================== | COMMENT |
| MEDIUM⚡ | docker-compose.yml | 25 | ## =================================================== | COMMENT |
| MEDIUM⚡ | docker-compose.yml | 27 | ## =================================================== | COMMENT |
| MEDIUM⚡ | docker-compose.yml | 29 | ## =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 78 | ## =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 80 | ## =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 106 | ### =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 108 | ### =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 143 | ### =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 145 | ### =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 176 | ## =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 178 | ## =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 203 | ## =================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 205 | ## =================================================== | COMMENT |
| MEDIUM | multi_language.py | 402 | # -------------------------------------- | COMMENT |
| MEDIUM | multi_language.py | 427 | # -------------------------------------- | COMMENT |
| MEDIUM | shared_utils/nltk_downloader.py | 69 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_chatglmonnx.py | 17 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_chatglmonnx.py | 19 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_chatglmonnx.py | 69 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_chatglmonnx.py | 71 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_internlm.py | 13 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_internlm.py | 15 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_internlm.py | 34 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_internlm.py | 36 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_internlm.py | 200 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_internlm.py | 202 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_chatglm3.py | 9 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_chatglm3.py | 11 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_chatglm3.py | 92 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_chatglm3.py | 94 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_chatglm.py | 10 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_chatglm.py | 12 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_chatglm.py | 75 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_chatglm.py | 77 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_llama2.py | 12 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_llama2.py | 14 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_llama2.py | 87 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_llama2.py | 89 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_deepseekcoder.py | 20 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_deepseekcoder.py | 22 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_deepseekcoder.py | 126 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_deepseekcoder.py | 128 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_chatglm4.py | 13 | # ---------------------------------------------------------------------------------------------------------------------- | STRING |
| MEDIUM | request_llms/bridge_chatglm4.py | 15 | # ---------------------------------------------------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | request_llms/bridge_chatglm4.py | 76 | # ---------------------------------------------------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | request_llms/bridge_chatglm4.py | 78 | # ---------------------------------------------------------------------------------------------------------------------- | STRING |
| MEDIUM | request_llms/chatglmoonx.py | 8 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/chatglmoonx.py | 10 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/chatglmoonx.py | 148 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/chatglmoonx.py | 150 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_qwen_local.py | 9 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | request_llms/bridge_qwen_local.py | 11 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_qwen_local.py | 56 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | request_llms/bridge_qwen_local.py | 58 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_embed.py | 42 | # --------------------- | COMMENT |
| MEDIUM | tests/test_embed.py | 44 | # --------------------- | COMMENT |
| MEDIUM | crazy_functions/Interactive_Func_Template.py | 49 | # --------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | toolbox.py | 215 | def trimmed_format_exc_markdown(): | CODE |
| LOW | toolbox.py | 407 | def file_already_in_downloadzone(file:str, user_path:str): | STRING |
| LOW | toolbox.py | 419 | def promote_file_to_downloadzone(file:str, rename_file:str=None, chatbot:ChatBotWithCookies=None): | STRING |
| LOW | toolbox.py | 890 | def have_any_recent_upload_image_files(chatbot:ChatBotWithCookies, pop:bool=False): | STRING |
| LOW | core_functional.py | 150 | def handle_core_functionality(additional_fn, inputs, history, chatbot): | STRING |
| LOW | check_proxy.py | 47 | def _check_with_backup_source(proxies): | CODE |
| LOW | crazy_functional.py | 767 | def get_multiplex_button_functions(): | CODE |
| LOW | main.py | 268 | def on_theme_dropdown_changed(theme, secret_css): | CODE |
| LOW | multi_language.py | 297 | def extract_chinese_characters(file_path): | CODE |
| LOW | multi_language.py | 317 | def extract_chinese_characters_from_directory(directory_path): | CODE |
| LOW | shared_utils/config_loader.py | 65 | def read_single_conf_with_lru_cache(arg): | CODE |
| LOW | shared_utils/advanced_markdown_format.py | 272 | def markdown_convertion_for_file(txt): | STRING |
| LOW | shared_utils/advanced_markdown_format.py | 403 | def code_block_title_replace_format(match): | STRING |
| LOW | shared_utils/advanced_markdown_format.py | 409 | def get_last_backticks_indent(text): | STRING |
| LOW | shared_utils/advanced_markdown_format.py | 421 | def close_up_code_segment_during_stream(gpt_reply): | STRING |
| LOW | shared_utils/advanced_markdown_format.py | 456 | def special_render_issues_for_mermaid(text): | STRING |
| LOW | shared_utils/advanced_markdown_format.py | 481 | def compat_non_markdown_input(text): | STRING |
| LOW | shared_utils/advanced_markdown_format.py | 506 | def simple_markdown_convertion(text): | STRING |
| LOW | shared_utils/text_mask.py | 24 | def apply_gpt_academic_string_mask(string, mode="show_all"): | CODE |
| LOW | shared_utils/text_mask.py | 46 | def build_gpt_academic_masked_string(text_show_llm="", text_show_render=""): | CODE |
| LOW | shared_utils/text_mask.py | 54 | def apply_gpt_academic_string_mask_langbased(string, lang_reference): | CODE |
| LOW | shared_utils/text_mask.py | 90 | def build_gpt_academic_masked_string_langbased(text_show_english="", text_show_chinese=""): | CODE |
| LOW | shared_utils/connect_void_terminal.py | 39 | def get_plugin_default_kwargs(): | CODE |
| LOW | shared_utils/context_clip_policy.py | 72 | def auto_context_clip_each_message(current, history): | CODE |
| LOW | shared_utils/context_clip_policy.py | 168 | def auto_context_clip_search_optimal(current, history, promote_latest_long_message=False): | CODE |
| LOW | shared_utils/fastapi_stream_server.py | 290 | async def maintain_connection_forever(self, initial_msg: UserInterfaceMsg, websocket: WebSocket, client_id: str): | CODE |
| LOW | shared_utils/map_names.py | 13 | def map_model_to_friendly_names(m): | CODE |
| LOW | shared_utils/map_names.py | 18 | def map_friendly_names_to_model(m): | CODE |
| LOW⚡ | shared_utils/nltk_downloader.py | 1173 | def _simple_interactive_download(self, args): | CODE |
| LOW | shared_utils/nltk_downloader.py | 1203 | def _simple_interactive_update(self): | CODE |
| LOW | shared_utils/nltk_downloader.py | 1254 | def _simple_interactive_config(self): | CODE |
| LOW | shared_utils/handle_upload.py | 33 | def file_manifest_filter_type(file_list, filter_: list = None): | CODE |
| LOW | shared_utils/key_pattern_manager.py | 124 | def select_api_key_for_embed_models(keys, llm_model): | CODE |
| LOW | shared_utils/cookie_manager.py | 5 | def load_web_cookie_cache__fn_builder(customize_btns, cookies, predefined_btns)->Callable: | CODE |
| LOW | shared_utils/cookie_manager.py | 105 | def create_button_with_javascript_callback(btn_value, elem_id, variant, js_callback, input_list, output_list, function, | CODE |
| LOW | request_llms/bridge_spark.py | 16 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list=[], sys_prompt:str="", | CODE |
| LOW | request_llms/bridge_newbingfree.py | 40 | def preprocess_newbing_out_simple(result): | CODE |
| LOW | request_llms/bridge_newbingfree.py | 206 | def predict_no_ui_long_connection( | CODE |
| LOW | request_llms/bridge_chatglmft.py | 141 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list=[], sys_prompt:str="", | CODE |
| LOW | request_llms/bridge_jittorllms_rwkv.py | 109 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list=[], sys_prompt:str="", | CODE |
| LOW⚡ | request_llms/bridge_chatglmonnx.py | 63 | def try_to_import_special_deps(self, **kwargs): | CODE |
| LOW | request_llms/bridge_google_gemini.py | 18 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list=[], sys_prompt:str="", observe_window:list=[ | CODE |
| LOW | request_llms/com_google.py | 62 | def file_manifest_filter_html(file_list, filter_: list = None, md_type=False): | CODE |
| LOW⚡ | request_llms/bridge_internlm.py | 16 | def try_to_import_special_deps(): | CODE |
| LOW⚡ | request_llms/bridge_internlm.py | 44 | def try_to_import_special_deps(self, **kwargs): | CODE |
| LOW | request_llms/com_zhipuglm.py | 79 | def __conversation_message_payload(self, inputs:str, llm_kwargs:dict, history:list, system_prompt:str): | CODE |
| LOW | request_llms/bridge_all.py | 1442 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list, sys_prompt:str, observe_window:list=[], con | CODE |
| LOW | request_llms/bridge_qianfan.py | 77 | def generate_from_baidu_qianfan(inputs, llm_kwargs, history, system_prompt): | CODE |
| LOW | request_llms/bridge_qianfan.py | 123 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list=[], sys_prompt:str="", | CODE |
| LOW | request_llms/bridge_cohere.py | 71 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list=[], sys_prompt:str="", observe_window:list=N | CODE |
| LOW⚡ | request_llms/bridge_chatglm3.py | 84 | def try_to_import_special_deps(self, **kwargs): | CODE |
| LOW⚡ | request_llms/bridge_chatglm.py | 68 | def try_to_import_special_deps(self, **kwargs): | CODE |
| LOW | request_llms/local_llm_class.py | 118 | def try_to_import_special_deps(self, **kwargs): | CODE |
| LOW | request_llms/local_llm_class.py | 216 | def get_local_llm_predict_fns(LLMSingletonClass, model_name, history_format='classic'): | CODE |
| LOW | request_llms/local_llm_class.py | 219 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list=[], sys_prompt:str="", observe_window:li | CODE |
| LOW | request_llms/bridge_ollama.py | 55 | def predict_no_ui_long_connection(inputs, llm_kwargs, history=[], sys_prompt="", observe_window=None, console_silence=Fa | CODE |
| LOW | request_llms/bridge_llama2.py | 52 | def convert_messages_to_prompt(query, history): | CODE |
| LOW⚡ | request_llms/bridge_llama2.py | 80 | def try_to_import_special_deps(self, **kwargs): | CODE |
| LOW | request_llms/bridge_taichu.py | 15 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list=[], sys_prompt:str="", | CODE |
| LOW | request_llms/bridge_jittorllms_llama.py | 109 | def predict_no_ui_long_connection(inputs:str, llm_kwargs:dict, history:list=[], sys_prompt:str="", | CODE |
| 151 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | toolbox.py | 316 | CODE | |
| LOW | toolbox.py | 603 | CODE | |
| LOW | toolbox.py | 956 | CODE | |
| LOW | check_proxy.py | 3 | CODE | |
| LOW | check_proxy.py | 168 | CODE | |
| LOW | main.py | 35 | CODE | |
| LOW | multi_language.py | 59 | CODE | |
| LOW | multi_language.py | 160 | CODE | |
| LOW | multi_language.py | 182 | CODE | |
| LOW | multi_language.py | 295 | CODE | |
| LOW | multi_language.py | 390 | CODE | |
| LOW | multi_language.py | 69 | CODE | |
| LOW | multi_language.py | 297 | CODE | |
| LOW | multi_language.py | 81 | CODE | |
| LOW | shared_utils/config_loader.py | 10 | CODE | |
| LOW | shared_utils/fastapi_server.py | 109 | CODE | |
| LOW | shared_utils/fastapi_server.py | 204 | CODE | |
| LOW | shared_utils/advanced_markdown_format.py | 217 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 290 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 471 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 303 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 345 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 481 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 547 | CODE | |
| LOW | shared_utils/docker_as_service_api.py | 40 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 2406 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 521 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 675 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 744 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 853 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 936 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 1132 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 1173 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 1203 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 1254 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 1652 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 1738 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 1806 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 1895 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 2125 | CODE | |
| LOW | shared_utils/handle_upload.py | 117 | CODE | |
| LOW | request_llms/bridge_chatglmft.py | 54 | CODE | |
| LOW | request_llms/com_skylark2api.py | 69 | CODE | |
| LOW | request_llms/bridge_google_gemini.py | 18 | CODE | |
| LOW | request_llms/com_sparkapi.py | 158 | CODE | |
| LOW | request_llms/com_sparkapi.py | 92 | CODE | |
| LOW | request_llms/bridge_qianfan.py | 50 | CODE | |
| LOW | request_llms/bridge_qianfan.py | 77 | CODE | |
| LOW | request_llms/bridge_cohere.py | 71 | CODE | |
| LOW | request_llms/bridge_cohere.py | 127 | CODE | |
| LOW | request_llms/bridge_cohere.py | 241 | CODE | |
| LOW | request_llms/bridge_cohere.py | 271 | CODE | |
| LOW | request_llms/bridge_chatglm3.py | 19 | CODE | |
| LOW | request_llms/local_llm_class.py | 216 | CODE | |
| LOW | request_llms/local_llm_class.py | 185 | CODE | |
| LOW | request_llms/local_llm_class.py | 219 | CODE | |
| LOW | request_llms/local_llm_class.py | 265 | CODE | |
| LOW | request_llms/bridge_ollama.py | 55 | CODE | |
| LOW | request_llms/bridge_ollama.py | 120 | CODE | |
| LOW | request_llms/bridge_ollama.py | 210 | CODE | |
| 153 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | toolbox.py | 473 | except: | CODE |
| HIGH | multi_language.py | 364 | except: pass | CODE |
| HIGH | shared_utils/nltk_downloader.py | 2470 | except ValueError: | CODE |
| HIGH | request_llms/bridge_all.py | 93 | except: | CODE |
| HIGH | request_llms/bridge_cohere.py | 57 | except: | CODE |
| HIGH | request_llms/bridge_ollama.py | 51 | except: | CODE |
| HIGH | request_llms/oai_std_model_template.py | 65 | except: | CODE |
| HIGH | request_llms/oai_std_model_template.py | 70 | except: | CODE |
| HIGH | request_llms/oai_std_model_template.py | 74 | except: | CODE |
| HIGH | request_llms/com_qwenapi.py | 59 | except: | CODE |
| HIGH | request_llms/bridge_chatgpt.py | 114 | except: | CODE |
| HIGH | request_llms/bridge_stackclaude.py | 83 | except: | CODE |
| HIGH | request_llms/bridge_openrouter.py | 108 | except: | CODE |
| HIGH | request_llms/bridge_chatgpt_vision.py | 58 | except: | CODE |
| HIGH | request_llms/bridge_moonshot.py | 72 | except: | CODE |
| HIGH | crazy_functions/Paper_Reading.py | 218 | except Exception: | CODE |
| HIGH | crazy_functions/Latex_Function.py | 78 | except: | CODE |
| HIGH | crazy_functions/Document_Conversation.py | 462 | except: | CODE |
| HIGH | crazy_functions/Document_Conversation.py | 473 | except: | CODE |
| HIGH | crazy_functions/Document_Conversation.py | 486 | except: | CODE |
| HIGH | crazy_functions/Interactive_Func_Template.py | 60 | except: | CODE |
| HIGH | crazy_functions/latex_fns/latex_actions.py | 543 | except: | CODE |
| HIGH | crazy_functions/latex_fns/latex_actions.py | 571 | except: | CODE |
| HIGH | crazy_functions/latex_fns/latex_actions.py | 107 | except: | CODE |
| HIGH | crazy_functions/review_fns/query_analyzer.py | 362 | except: | CODE |
| HIGH | …y_functions/review_fns/data_sources/elsevier_source.py | 138 | except: | CODE |
| HIGH | …y_functions/review_fns/data_sources/elsevier_source.py | 225 | except: | CODE |
| HIGH | …azy_functions/review_fns/data_sources/scopus_source.py | 92 | except: | CODE |
| HIGH | crazy_functions/rag_fns/rag_file_support.py | 45 | except Exception as e: | CODE |
| HIGH | …zy_functions/paper_fns/document_structure_extractor.py | 400 | except (AttributeError, TypeError): | CODE |
| HIGH | …zy_functions/paper_fns/document_structure_extractor.py | 454 | except (AttributeError, TypeError): | CODE |
| HIGH | crazy_functions/paper_fns/journal_paper_recom.py | 499 | except Exception: | CODE |
| HIGH | …read_fns/unstructured_all/paper_structure_extractor.py | 596 | except (AttributeError, TypeError): | CODE |
| HIGH | …/read_fns/unstructured_all/paper_metadata_extractor.py | 372 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | crazy_functions/review_fns/data_sources/arxiv_source.py | 413 | 获取指定类别的最新论文 通过 RSS feed 获取最新发布的论文,然后批量获取详细信息 Args: category: arXiv类别,例如: | STRING |
| HIGH | crazy_functions/doc_fns/content_folder.py | 102 | 格式化内容 Args: content: 需要格式化的内容 metadata: 类型化的元数据 options: 折叠选项 Retu | STRING |
| HIGH | crazy_functions/doc_fns/read_fns/web_reader.py | 85 | 下载网页内容 Args: url: 网页URL Returns: Optional[str]: 网页HTML内容,失败返回None Rai | STRING |
| HIGH | crazy_functions/doc_fns/read_fns/web_reader.py | 137 | 提取网页文本内容 Args: url: 网页URL Returns: str: 提取的文本内容 Raises: V | STRING |
| HIGH | …read_fns/unstructured_all/paper_structure_extractor.py | 165 | 提取论文的完整结构化信息 Args: file_path: 文件路径 strategy: 提取策略 ("fast" 或 "accurate") Return | STRING |
| HIGH | …/read_fns/unstructured_all/paper_metadata_extractor.py | 88 | 验证文件 Args: file_path: 文件路径 max_size_mb: 允许的最大文件大小(MB) Returns: Pat | STRING |
| HIGH | …/read_fns/unstructured_all/paper_metadata_extractor.py | 152 | 提取论文元数据 Args: file_path: 文件路径 strategy: 提取策略 ("fast" 或 "accurate") Returns: | STRING |
| HIGH | …c_fns/read_fns/unstructured_all/unstructured_reader.py | 99 | 验证文件 Args: file_path: 文件路径 max_size_mb: 允许的最大文件大小(MB) Returns: Pat | STRING |
| HIGH | …c_fns/read_fns/unstructured_all/unstructured_reader.py | 193 | 提取文本 Args: file_path: 文件路径 strategy: 提取策略 ("fast" 或 "accurate") Returns: | STRING |
| HIGH | …nctions/doc_fns/read_fns/markitdown/markdown_reader.py | 105 | 验证文件 Args: file_path: 文件路径 max_size_mb: 允许的最大文件大小(MB) Returns: Pat | STRING |
| HIGH | …nctions/doc_fns/read_fns/markitdown/markdown_reader.py | 173 | 将 PDF 转换为 Markdown Args: file_path: PDF 文件路径 output_path: 输出 Markdown 文件路径,如果为 None 则返回 | STRING |
| HIGH | …nctions/doc_fns/read_fns/markitdown/markdown_reader.py | 250 | 将 PDF 转换为 Markdown 并保存到指定路径 Args: file_path: PDF 文件路径 output_path: 输出 Markdown 文件路径 | STRING |
| HIGH | …nctions/doc_fns/read_fns/markitdown/markdown_reader.py | 270 | 批量转换多个 PDF 文件为 Markdown Args: file_paths: PDF 文件路径列表 output_dir: 输出目录路径 Return | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | toolbox.py | 759 | # Create the name for the zip file | STRING |
| MEDIUM | toolbox.py | 762 | # Create a ZipFile object | STRING |
| MEDIUM | shared_utils/docker_as_service_api.py | 45 | # Create a file-like object from the pickled data | COMMENT |
| MEDIUM | shared_utils/nltk_downloader.py | 768 | # Define a helper function for displaying output: | COMMENT |
| MEDIUM | shared_utils/nltk_downloader.py | 1395 | # Create the main window. | COMMENT |
| MEDIUM | shared_utils/nltk_downloader.py | 1436 | # Create the top-level frame structures | COMMENT |
| MEDIUM | shared_utils/nltk_downloader.py | 1459 | # Create the tabs | COMMENT |
| MEDIUM | shared_utils/nltk_downloader.py | 1468 | # Create the table. | COMMENT |
| MEDIUM | shared_utils/nltk_downloader.py | 1572 | # Create a menu to control which columns of the table are | COMMENT |
| MEDIUM | shared_utils/nltk_downloader.py | 1587 | # Create a sort menu | COMMENT |
| MEDIUM | shared_utils/nltk_downloader.py | 2069 | # Create a new data server object for the download operation, | COMMENT |
| MEDIUM | request_llms/bridge_chatglmft.py | 17 | # Create an argparse.ArgumentParser instance | COMMENT |
| MEDIUM⚡ | crazy_functions/gen_fns/gen_fns_shared.py | 34 | # Create a spec for the module | COMMENT |
| MEDIUM | crazy_functions/gen_fns/gen_fns_shared.py | 58 | # Create a spec for the module | COMMENT |
| MEDIUM | crazy_functions/latex_fns/latex_toolbox.py | 667 | # Create a new PDF file to store the merged pages | STRING |
| MEDIUM | crazy_functions/latex_fns/latex_toolbox.py | 683 | # Create a new empty page with double width | STRING |
| MEDIUM | crazy_functions/latex_fns/latex_toolbox.py | 867 | # Create a new PDF file to store the merged pages | STRING |
| MEDIUM | crazy_functions/latex_fns/latex_toolbox.py | 883 | # Create a new empty page with double width | STRING |
| MEDIUM | crazy_functions/diagram_fns/file_tree.py | 95 | # Create the root node | STRING |
| MEDIUM | crazy_functions/rag_fns/llama_index_worker.py | 81 | # This function is for debugging | STRING |
| MEDIUM | crazy_functions/rag_fns/milvus_worker.py | 93 | # This function is for debugging | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | themes/waifu_plugin/jquery-ui.min.js | 6 | (function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){function e(t){for(var e= | CODE |
| CRITICAL⚡ | themes/waifu_plugin/jquery-ui.min.js | 9 | }},_updateDatepicker:function(e){this.maxRows=4,m=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e | CODE |
| CRITICAL | themes/waifu_plugin/jquery.min.js | 4 | },cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config.py | 61 | # "moonshot-v1-128k", "moonshot-v1-32k", "moonshot-v1-8k", | COMMENT |
| LOW | .pre-commit-config.yaml | 21 | --ignore-init-module-imports | COMMENT |
| LOW | crazy_functional.py | 321 | # "Group": "学术", | COMMENT |
| LOW | crazy_functional.py | 661 | # "AutoGenMulti_Agent_Legacy终端(仅供测试)": { | COMMENT |
| LOW | crazy_functional.py | 721 | "Function": HotReload(快速论文解读), | COMMENT |
| LOW | docker-compose.yml | 1 | ## =================================================== | COMMENT |
| LOW | docker-compose.yml | 21 | # ports: | COMMENT |
| LOW | docker-compose.yml | 61 | # devices: | COMMENT |
| LOW | shared_utils/logging.py | 61 | COMMENT | |
| LOW | shared_utils/cookie_manager.py | 81 | history = gr.Textbox(visible=False, elem_id="history-ng") | COMMENT |
| LOW | request_llms/bridge_deepseekcoder.py | 121 | # 🏃♂️🏃♂️🏃♂️ 主进程执行 | COMMENT |
| LOW | tests/test_plugins.py | 21 | COMMENT | |
| LOW | tests/test_plugins.py | 41 | # plugin_test(plugin='crazy_functions.Markdown_Translate->Markdown中译英', main_input="README.md") | COMMENT |
| LOW | tests/test_media.py | 21 | COMMENT | |
| LOW | tests/test_media.py | 41 | # plugin_test(plugin='crazy_functions.Markdown_Translate->Markdown中译英', main_input="README.md") | COMMENT |
| LOW | tests/test_academic_conversation.py | 21 | # plugin_test( | COMMENT |
| LOW | tests/test_embed.py | 21 | # # 'llm_model': "text-embedding-3-small" | COMMENT |
| LOW | tests/test_embed.py | 41 | # Context information is below. | COMMENT |
| LOW | tests/test_embed.py | 61 | COMMENT | |
| LOW | tests/test_embed.py | 581 | # rag_worker.add_text_to_vector_store(r"I see that the (0.6.0) index persisted on disk contains: docstore.json, index_st | COMMENT |
| LOW | crazy_functions/Latex_Function.py | 521 | # yield from update_ui_latest_msg(f"发现重复上传,请查收结果(压缩包)...", chatbot=chatbot, history=history) | COMMENT |
| LOW | crazy_functions/Latex_Project_Translate_Legacy.py | 61 | # if language == 'en': | COMMENT |
| LOW | crazy_functions/review_fns/data_sources/arxiv_source.py | 521 | COMMENT | |
| LOW | crazy_functions/review_fns/data_sources/arxiv_source.py | 541 | # print(f"作者: {', '.join(paper.authors)}") | COMMENT |
| LOW | crazy_functions/review_fns/data_sources/arxiv_source.py | 561 | # ["Bengio"], | COMMENT |
| LOW | crazy_functions/review_fns/data_sources/arxiv_source.py | 581 | # for i, paper in enumerate(recent_papers, 1): | COMMENT |
| LOW | …s/doc_fns/read_fns/unstructured_all/unstructured_md.py | 61 | traceback.print_exc() | COMMENT |
| LOW | …s/doc_fns/read_fns/unstructured_all/unstructured_md.py | 81 | # output_dir.mkdir(parents=True, exist_ok=True) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | request_llms/embed_models/bge_llm.py | 35 | - If any criteria is not met or unclear, return false | CODE |
| HIGH | crazy_functions/review_fns/prompts/arxiv_prompts.py | 297 | - Queries only asking for recent/latest papers WITHOUT mentioning arXiv should return false | CODE |
| HIGH | themes/gui_toolbar.py | 38 | _js="""(fontfamily)=>{gpt_academic_gradio_saveload("save", "elem_fontfamily", "js_fontfamily", fontf | CODE |
| HIGH | themes/gui_toolbar.py | 40 | _js="""(fontsize)=>{gpt_academic_gradio_saveload("save", "elem_fontsize", "js_fontsize", fontsize); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | shared_utils/docker_as_service_api.py | 62 | # Check if the request was successful | COMMENT |
| LOW | shared_utils/nltk_downloader.py | 891 | # Check if the file has the correct size. | COMMENT |
| LOW | shared_utils/nltk_downloader.py | 899 | # Check if the file's checksum matches | COMMENT |
| LOW | shared_utils/nltk_downloader.py | 940 | # Check if the index is already up-to-date. If so, do nothing. | COMMENT |
| LOW | shared_utils/nltk_downloader.py | 1067 | # Check if we are on GAE where we cannot write into filesystem. | COMMENT |
| LOW | shared_utils/nltk_downloader.py | 1071 | # Check if we have sufficient permissions to install in a | COMMENT |
| LOW | shared_utils/nltk_downloader.py | 2113 | # Check if we've been told to kill ourselves: | COMMENT |
| LOW | request_llms/bridge_qianfan.py | 17 | # Check if result is already cached and not expired | COMMENT |
| LOW | request_llms/edge_gpt_free.py | 466 | # Check if websocket is closed | COMMENT |
| LOW | crazy_functions/latex_fns/latex_actions.py | 383 | # Check if xelatex is installed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | request_llms/embed_models/bridge_all_embed.py | 17 | # text-embedding-3-small Increased performance over 2nd generation ada embedding model | 1,536 | COMMENT |
| MEDIUM⚡ | request_llms/embed_models/bridge_all_embed.py | 24 | # text-embedding-3-large Most capable embedding model for both english and non-english tasks | 3,072 | COMMENT |
| MEDIUM⚡ | request_llms/embed_models/bridge_all_embed.py | 31 | # text-embedding-ada-002 Most capable 2nd generation embedding model, replacing 16 first generation models | 1 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/models/custom_models.md | 36 | API_KEY = "your-api-key" | CODE |
| HIGH | docs/models/custom_models.md | 141 | NEWMODEL_API_KEY = "your-api-key-here" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/translate_english.json | 125 | "填写之前不要忘记把USE_PROXY改成True": "Don't forget to change USE_PROXY to True before filling in", | CODE |
| MEDIUM⚡ | crazy_functions/gen_fns/gen_fns_shared.py | 39 | # Now you can use the module | COMMENT |
| MEDIUM | crazy_functions/gen_fns/gen_fns_shared.py | 63 | # Now you can use the module | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nctions/review_fns/paper_processor/paper_llm_ranker.py | 15 | def _update_paper_metrics(self, papers: List[PaperMetadata]) -> None: | CODE |
| LOW | crazy_functions/doc_fns/content_folder.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | crazy_functions/doc_fns/read_fns/excel_reader.py | 45 | def _setup_logging(self) -> None: | CODE |
| LOW | crazy_functions/doc_fns/read_fns/web_reader.py | 56 | def _setup_logging(self) -> None: | CODE |
| LOW | …read_fns/unstructured_all/paper_structure_extractor.py | 122 | def _setup_logging(self) -> None: | CODE |
| LOW | …/read_fns/unstructured_all/paper_metadata_extractor.py | 74 | def _setup_logging(self) -> None: | CODE |
| LOW | …c_fns/read_fns/unstructured_all/unstructured_reader.py | 85 | def _setup_logging(self) -> None: | CODE |
| LOW | …nctions/doc_fns/read_fns/markitdown/markdown_reader.py | 72 | def _setup_logging(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | toolbox.py | 348 | CODE | |
| LOW | shared_utils/fastapi_server.py | 272 | CODE | |
| LOW | shared_utils/fastapi_stream_server.py | 528 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 208 | CODE | |
| LOW | shared_utils/nltk_downloader.py | 744 | CODE | |
| LOW | request_llms/com_zhipuglm.py | 122 | CODE | |
| LOW | request_llms/com_sparkapi.py | 225 | CODE | |
| LOW | crazy_functions/review_fns/query_processor.py | 64 | CODE | |
| LOW | crazy_functions/review_fns/data_sources/base_source.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ons/review_fns/conversation_doc/reference_formatter.py | 92 | bibtex_text = "% This file was automatically generated by GPT-Academic\n" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crazy_functions/Latex_Function.py | 187 | # Step 1: Send PDF file for processing | COMMENT |
| LOW | crazy_functions/Latex_Function.py | 203 | # Step 2: Check processing status | COMMENT |
| LOW | crazy_functions/Latex_Function.py | 217 | # Step 3: Save results to local files | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crazy_functions/Latex_Function.py | 187 | # Step 1: Send PDF file for processing | COMMENT |
| LOW | crazy_functions/Latex_Function.py | 203 | # Step 2: Check processing status | COMMENT |
| LOW | crazy_functions/Latex_Function.py | 217 | # Step 3: Save results to local files | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | request_llms/local_llm_class.py | 104 | CODE | |
| MEDIUM | request_llms/local_llm_class.py | 105 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crazy_functions/pdf_fns/report_template.html | 6 | !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&defi | CODE |
| LOW | themes/theme.js | 32 | styleElement.setAttribute('data-loaded-css', 'placeholder'); | CODE |
| LOW⚡ | themes/waifu_plugin/jquery-ui.min.js | 6 | (function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){function e(t){for(var e= | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crazy_functions/review_fns/handlers/paper_handler.py | 248 | analysis_prompt = f"""Please provide a comprehensive analysis of the following paper: | CODE |