A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物
This report presents the forensic synthetic code analysis of 666ghj/MiroFish, a Python project with 68,510 GitHub stars. SynthScan v2.0 examined 46,542 lines of code across 74 source files, recording 380 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 9.1 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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.
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.
The scanner identified 380 distinct pattern matches across 15 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/app/utils/file_parser.py | 42 | except Exception: | CODE |
| LOW | backend/app/utils/file_parser.py | 51 | except Exception: | CODE |
| LOW | backend/app/utils/file_parser.py | 155 | except Exception as e: | CODE |
| LOW | backend/app/utils/retry.py | 226 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 84 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 117 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 154 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 231 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 333 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 355 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 486 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 599 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 633 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 747 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 779 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 808 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 861 | except Exception: | CODE |
| LOW | backend/app/api/simulation.py | 871 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 981 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1019 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1112 | except Exception: | CODE |
| LOW | backend/app/api/simulation.py | 1129 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1217 | except Exception: | CODE |
| LOW | backend/app/api/simulation.py | 1249 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1285 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1314 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1366 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1440 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1557 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1635 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1694 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1754 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1855 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1909 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1949 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 1976 | except Exception as e: | CODE |
| LOW | backend/app/api/simulation.py | 2056 | except Exception as e: | STRING |
| LOW | backend/app/api/simulation.py | 2131 | except Exception as e: | STRING |
| LOW | backend/app/api/simulation.py | 2262 | except Exception as e: | STRING |
| LOW | backend/app/api/simulation.py | 2400 | except Exception as e: | STRING |
| LOW | backend/app/api/simulation.py | 2503 | except Exception as e: | STRING |
| LOW | backend/app/api/simulation.py | 2575 | except Exception as e: | STRING |
| LOW | backend/app/api/simulation.py | 2640 | except Exception as e: | STRING |
| LOW | backend/app/api/simulation.py | 2710 | except Exception as e: | STRING |
| LOW | backend/app/api/graph.py | 250 | except Exception as e: | CODE |
| LOW | backend/app/api/graph.py | 495 | except Exception as e: | CODE |
| LOW | backend/app/api/graph.py | 524 | except Exception as e: | CODE |
| LOW | backend/app/api/graph.py | 589 | except Exception as e: | CODE |
| LOW | backend/app/api/graph.py | 617 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 174 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 194 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 267 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 310 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 349 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 389 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 435 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 461 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 558 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 601 | except Exception as e: | CODE |
| LOW | backend/app/api/report.py | 652 | except Exception as e: | CODE |
| 102 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/app/utils/file_parser.py | 6 | CODE | |
| LOW | backend/app/utils/file_parser.py | 8 | CODE | |
| LOW | backend/app/utils/__init__.py | 5 | CODE | |
| LOW | backend/app/utils/__init__.py | 6 | CODE | |
| LOW | backend/app/utils/__init__.py | 7 | CODE | |
| LOW | backend/app/utils/__init__.py | 7 | CODE | |
| LOW | backend/app/utils/__init__.py | 7 | CODE | |
| LOW | backend/app/utils/__init__.py | 7 | CODE | |
| LOW | backend/app/utils/zep_paging.py | 7 | CODE | |
| LOW | backend/app/models/__init__.py | 5 | CODE | |
| LOW | backend/app/models/__init__.py | 5 | CODE | |
| LOW | backend/app/models/__init__.py | 6 | CODE | |
| LOW | backend/app/models/__init__.py | 6 | CODE | |
| LOW | backend/app/models/__init__.py | 6 | CODE | |
| LOW | backend/app/models/project.py | 13 | CODE | |
| LOW | backend/app/api/simulation.py | 15 | CODE | |
| LOW | backend/app/api/__init__.py | 11 | CODE | |
| LOW | backend/app/api/__init__.py | 12 | CODE | |
| LOW | backend/app/api/__init__.py | 13 | CODE | |
| LOW | backend/app/api/report.py | 12 | CODE | |
| LOW | backend/app/services/report_agent.py | 14 | CODE | |
| LOW | backend/app/services/report_agent.py | 17 | CODE | |
| LOW | backend/app/services/report_agent.py | 25 | CODE | |
| LOW | backend/app/services/report_agent.py | 25 | CODE | |
| LOW | backend/app/services/report_agent.py | 25 | CODE | |
| LOW | backend/app/services/report_agent.py | 25 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 10 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 15 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 21 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 25 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 25 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 1125 | CODE | |
| LOW | backend/app/services/text_processor.py | 5 | CODE | |
| LOW | backend/app/services/__init__.py | 5 | CODE | |
| LOW | backend/app/services/__init__.py | 6 | CODE | |
| LOW | backend/app/services/__init__.py | 7 | CODE | |
| LOW | backend/app/services/__init__.py | 8 | CODE | |
| LOW | backend/app/services/__init__.py | 8 | CODE | |
| LOW | backend/app/services/__init__.py | 8 | CODE | |
| LOW | backend/app/services/__init__.py | 9 | CODE | |
| LOW | backend/app/services/__init__.py | 9 | CODE | |
| LOW | backend/app/services/__init__.py | 10 | CODE | |
| LOW | backend/app/services/__init__.py | 10 | CODE | |
| LOW | backend/app/services/__init__.py | 10 | CODE | |
| LOW | backend/app/services/__init__.py | 11 | CODE | |
| LOW | backend/app/services/__init__.py | 11 | CODE | |
| LOW | backend/app/services/__init__.py | 11 | CODE | |
| LOW | backend/app/services/__init__.py | 11 | CODE | |
| LOW | backend/app/services/__init__.py | 11 | CODE | |
| LOW | backend/app/services/__init__.py | 11 | CODE | |
| LOW | backend/app/services/__init__.py | 19 | CODE | |
| LOW | backend/app/services/__init__.py | 19 | CODE | |
| LOW | backend/app/services/__init__.py | 19 | CODE | |
| LOW | backend/app/services/__init__.py | 19 | CODE | |
| LOW | backend/app/services/__init__.py | 19 | CODE | |
| LOW | backend/app/services/__init__.py | 26 | CODE | |
| LOW | backend/app/services/__init__.py | 26 | CODE | |
| LOW | backend/app/services/__init__.py | 26 | CODE | |
| LOW | backend/app/services/__init__.py | 31 | CODE | |
| LOW | backend/app/services/__init__.py | 31 | CODE | |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/app/utils/file_parser.py | 161 | CODE | |
| LOW | backend/app/api/simulation.py | 240 | CODE | |
| LOW | backend/app/api/simulation.py | 643 | CODE | |
| LOW | backend/app/api/simulation.py | 817 | CODE | |
| LOW | backend/app/api/simulation.py | 1029 | CODE | |
| LOW | backend/app/api/simulation.py | 1139 | CODE | |
| LOW | backend/app/api/simulation.py | 1452 | CODE | |
| LOW | backend/app/services/report_agent.py | 956 | CODE | |
| LOW | backend/app/services/report_agent.py | 1221 | CODE | |
| LOW | backend/app/services/report_agent.py | 2019 | CODE | |
| LOW | backend/app/services/report_agent.py | 2132 | CODE | |
| LOW | backend/app/services/report_agent.py | 2301 | CODE | |
| LOW | backend/app/services/report_agent.py | 2500 | CODE | |
| LOW | backend/app/services/report_agent.py | 2521 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 482 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 584 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 825 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 1103 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 1187 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 1288 | CODE | |
| LOW | backend/app/services/simulation_runner.py | 1319 | CODE | |
| LOW | backend/app/services/zep_tools.py | 304 | CODE | |
| LOW | backend/app/services/zep_tools.py | 464 | CODE | |
| LOW | backend/app/services/zep_tools.py | 546 | CODE | |
| LOW | backend/app/services/zep_tools.py | 1485 | CODE | |
| LOW | backend/app/services/zep_tools.py | 1505 | CODE | |
| LOW | backend/app/services/oasis_profile_generator.py | 286 | CODE | |
| LOW | backend/app/services/oasis_profile_generator.py | 414 | CODE | |
| LOW | backend/app/services/oasis_profile_generator.py | 497 | CODE | |
| LOW | backend/app/services/oasis_profile_generator.py | 774 | CODE | |
| LOW | backend/app/services/oasis_profile_generator.py | 851 | CODE | |
| LOW | backend/app/services/oasis_profile_generator.py | 889 | CODE | |
| LOW | backend/app/services/simulation_manager.py | 463 | CODE | |
| LOW | backend/app/services/simulation_ipc.py | 117 | CODE | |
| LOW | backend/app/services/zep_entity_reader.py | 215 | CODE | |
| LOW | backend/app/services/graph_builder.py | 294 | CODE | |
| LOW | backend/app/services/graph_builder.py | 347 | CODE | |
| LOW | backend/app/services/graph_builder.py | 403 | CODE | |
| LOW | backend/app/services/zep_graph_memory_updater.py | 137 | CODE | |
| LOW | backend/app/services/zep_graph_memory_updater.py | 364 | CODE | |
| LOW | backend/app/services/zep_graph_memory_updater.py | 435 | CODE | |
| LOW | backend/app/services/zep_graph_memory_updater.py | 531 | CODE | |
| LOW | backend/app/services/simulation_config_generator.py | 434 | CODE | |
| LOW | backend/app/services/simulation_config_generator.py | 728 | CODE | |
| LOW | backend/app/services/simulation_config_generator.py | 908 | CODE | |
| LOW | backend/scripts/run_reddit_simulation.py | 523 | CODE | |
| LOW | backend/scripts/run_parallel_simulation.py | 749 | CODE | |
| LOW | backend/scripts/run_parallel_simulation.py | 857 | CODE | |
| LOW | backend/scripts/run_parallel_simulation.py | 938 | CODE | |
| LOW | backend/scripts/run_parallel_simulation.py | 1101 | CODE | |
| LOW | backend/scripts/run_parallel_simulation.py | 1293 | CODE | |
| LOW | backend/scripts/run_parallel_simulation.py | 1492 | CODE | |
| LOW | backend/scripts/run_parallel_simulation.py | 416 | CODE | |
| LOW | backend/scripts/run_twitter_simulation.py | 531 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/app/services/simulation_runner.py | 0 | select user_id, info, created_at from trace where action = ? and user_id = ? order by created_at desc limit 1 | STRING |
| HIGH | backend/scripts/run_reddit_simulation.py | 0 | select user_id, info, created_at from trace where action = ? and user_id = ? order by created_at desc limit 1 | STRING |
| HIGH | backend/scripts/run_parallel_simulation.py | 0 | select user_id, info, created_at from trace where action = ? and user_id = ? order by created_at desc limit 1 | STRING |
| HIGH | backend/scripts/run_twitter_simulation.py | 0 | select user_id, info, created_at from trace where action = ? and user_id = ? order by created_at desc limit 1 | STRING |
| HIGH | backend/scripts/run_reddit_simulation.py | 0 | 过滤掉 camel-ai 关于 max_tokens 的警告(我们故意不设置 max_tokens,让模型自行决定) | STRING |
| HIGH | backend/scripts/run_parallel_simulation.py | 0 | 过滤掉 camel-ai 关于 max_tokens 的警告(我们故意不设置 max_tokens,让模型自行决定) | STRING |
| HIGH | backend/scripts/run_twitter_simulation.py | 0 | 过滤掉 camel-ai 关于 max_tokens 的警告(我们故意不设置 max_tokens,让模型自行决定) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | backend/requirements.txt | 1 | # =========================================== | COMMENT |
| MEDIUM⚡ | backend/requirements.txt | 3 | # =========================================== | COMMENT |
| MEDIUM⚡ | backend/requirements.txt | 6 | # =========================================== | COMMENT |
| MEDIUM | backend/app/services/report_agent.py | 470 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | backend/app/services/report_agent.py | 472 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | backend/app/services/report_agent.py | 860 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | backend/app/services/report_agent.py | 862 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | backend/scripts/run_parallel_simulation.py | 28 | # ============================================================ | COMMENT |
| MEDIUM | backend/scripts/run_parallel_simulation.py | 31 | # ============================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/app/api/simulation.py | 28 | def optimize_interview_prompt(prompt: str) -> str: | CODE |
| LOW | backend/app/api/simulation.py | 240 | def _check_simulation_prepared(simulation_id: str) -> tuple: | CODE |
| LOW | backend/app/api/simulation.py | 817 | def _get_report_id_for_simulation(simulation_id: str) -> str: | CODE |
| LOW | backend/app/api/simulation.py | 1029 | def get_simulation_profiles_realtime(simulation_id: str): | CODE |
| LOW | backend/app/api/simulation.py | 1139 | def get_simulation_config_realtime(simulation_id: str): | CODE |
| LOW | backend/app/api/simulation.py | 1295 | def download_simulation_config(simulation_id: str): | CODE |
| LOW | backend/app/api/simulation.py | 1324 | def download_simulation_script(script_name: str): | CODE |
| LOW | backend/app/api/report.py | 984 | def get_graph_statistics_tool(): | CODE |
| LOW | backend/app/services/report_agent.py | 258 | def log_section_full_complete( | CODE |
| LOW | backend/app/services/report_agent.py | 1928 | def _get_report_markdown_path(cls, report_id: str) -> str: | CODE |
| LOW | backend/app/services/simulation_runner.py | 694 | def _check_all_platforms_completed(cls, state: SimulationRunState) -> bool: | CODE |
| LOW | backend/app/services/simulation_runner.py | 1659 | def _get_interview_history_from_db( | CODE |
| LOW | backend/app/services/zep_tools.py | 1485 | def _clean_tool_call_response(response: str) -> str: | CODE |
| LOW | backend/app/services/zep_tools.py | 1551 | def _select_agents_for_interview( | CODE |
| LOW | backend/app/services/zep_tools.py | 1634 | def _generate_interview_questions( | CODE |
| LOW | backend/app/services/zep_tools.py | 1683 | def _generate_interview_summary( | CODE |
| LOW | backend/app/services/oasis_profile_generator.py | 212 | def generate_profile_from_entity( | CODE |
| LOW | backend/app/services/oasis_profile_generator.py | 497 | def _generate_profile_with_llm( | CODE |
| LOW | backend/app/services/oasis_profile_generator.py | 677 | def _build_individual_persona_prompt( | CODE |
| LOW | backend/app/services/oasis_profile_generator.py | 774 | def _generate_profile_rule_based( | CODE |
| LOW | backend/app/services/oasis_profile_generator.py | 851 | def generate_profiles_from_entities( | CODE |
| LOW | backend/app/services/oasis_profile_generator.py | 726 | def _build_group_persona_prompt( | STRING |
| LOW | backend/app/services/zep_graph_memory_updater.py | 166 | def _describe_dislike_comment(self) -> str: | CODE |
| LOW | backend/app/services/zep_graph_memory_updater.py | 271 | def _get_platform_display_name(self, platform: str) -> str: | CODE |
| LOW | backend/app/services/simulation_config_generator.py | 728 | def _assign_initial_post_agents( | CODE |
| LOW | backend/app/services/simulation_config_generator.py | 813 | def _generate_agent_configs_batch( | CODE |
| LOW | backend/app/services/simulation_config_generator.py | 908 | def _generate_agent_config_by_rule(self, entity: EntityNode) -> Dict[str, Any]: | CODE |
| LOW | backend/scripts/run_reddit_simulation.py | 469 | def _get_active_agents_for_round( | CODE |
| LOW | backend/scripts/run_parallel_simulation.py | 141 | def init_logging_for_simulation(simulation_dir: str): | CODE |
| LOW | backend/scripts/run_parallel_simulation.py | 317 | async def _interview_single_platform(self, agent_id: int, prompt: str, platform: str) -> Dict[str, Any]: | CODE |
| LOW | backend/scripts/run_parallel_simulation.py | 633 | def get_agent_names_from_config(config: Dict[str, Any]) -> Dict[int, str]: | CODE |
| LOW | backend/scripts/run_parallel_simulation.py | 657 | def fetch_new_actions_from_db( | CODE |
| LOW | backend/scripts/run_parallel_simulation.py | 1040 | def get_active_agents_for_round( | STRING |
| LOW | backend/scripts/run_twitter_simulation.py | 462 | def _get_active_agents_for_round( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/app/services/report_agent.py | 957 | 执行工具调用 Args: tool_name: 工具名称 parameters: 工具参数 report_conte | STRING |
| HIGH | backend/app/services/simulation_runner.py | 1436 | 采访单个Agent Args: simulation_id: 模拟ID agent_id: Agent ID prompt: 采访问 | STRING |
| HIGH | backend/app/services/simulation_runner.py | 1499 | 批量采访多个Agent Args: simulation_id: 模拟ID interviews: 采访列表,每个元素包含 {"agent_id": int | STRING |
| HIGH | backend/app/services/simulation_ipc.py | 124 | 发送命令并等待响应 Args: command_type: 命令类型 args: 命令参数 timeout: 超时时 | STRING |
| HIGH | backend/app/services/simulation_config_generator.py | 255 | 智能生成完整的模拟配置(分步生成) Args: simulation_id: 模拟ID project_id: 项目ID | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | backend/app/services/zep_tools.py | 981 | # Step 1: 使用LLM生成子问题 | COMMENT |
| LOW⚡ | backend/app/services/zep_tools.py | 991 | # Step 2: 对每个子问题进行语义搜索 | COMMENT |
| LOW⚡ | backend/app/services/zep_tools.py | 1071 | # Step 4: 构建所有关系链(不限制数量) | COMMENT |
| LOW⚡ | backend/app/services/zep_tools.py | 1474 | # Step 6: 生成采访摘要 | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1026 | # Step 3: 从边中提取相关实体UUID,只获取这些实体的信息(不获取全部节点) | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1316 | # Step 1: 读取人设文件 | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1327 | # Step 2: 使用LLM选择要采访的Agent(返回agent_id列表) | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1339 | # Step 3: 生成采访问题(如果没有提供) | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1365 | # Step 4: 调用真实的采访API(不指定platform,默认双平台同时采访) | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1395 | # Step 5: 解析API返回结果,构建AgentInterview对象 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | backend/app/services/zep_tools.py | 981 | # Step 1: 使用LLM生成子问题 | COMMENT |
| LOW⚡ | backend/app/services/zep_tools.py | 991 | # Step 2: 对每个子问题进行语义搜索 | COMMENT |
| LOW⚡ | backend/app/services/zep_tools.py | 1071 | # Step 4: 构建所有关系链(不限制数量) | COMMENT |
| LOW⚡ | backend/app/services/zep_tools.py | 1474 | # Step 6: 生成采访摘要 | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1026 | # Step 3: 从边中提取相关实体UUID,只获取这些实体的信息(不获取全部节点) | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1316 | # Step 1: 读取人设文件 | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1327 | # Step 2: 使用LLM选择要采访的Agent(返回agent_id列表) | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1339 | # Step 3: 生成采访问题(如果没有提供) | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1365 | # Step 4: 调用真实的采访API(不指定platform,默认双平台同时采访) | COMMENT |
| LOW | backend/app/services/zep_tools.py | 1395 | # Step 5: 解析API返回结果,构建AgentInterview对象 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 121 | LLM_API_KEY=your_api_key | CODE |
| HIGH | README-ZH.md | 121 | LLM_API_KEY=your_api_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/app/utils/__init__.py | 9 | __all__ = ['FileParser', 'LLMClient', 't', 'get_locale', 'set_locale', 'get_language_instruction'] | CODE |
| LOW | backend/app/models/__init__.py | 8 | __all__ = ['TaskManager', 'TaskStatus', 'Project', 'ProjectStatus', 'ProjectManager'] | CODE |
| LOW | backend/app/services/__init__.py | 40 | __all__ = [ | CODE |
| LOW | backend/app/services/ontology_generator.py | 13 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/app/api/simulation.py | 1790 | "result": null, | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | frontend/package-lock.json | 1963 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/app/services/simulation_runner.py | 1100 | CODE | |
| LOW | backend/app/services/ontology_generator.py | 226 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/requirements.txt | 1 | # =========================================== | COMMENT |