Repository Analysis

666ghj/MiroFish

A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物

10.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of 666ghj/MiroFish, a Python project with 71,672 GitHub stars. SynthScan v2.0 examined 57,749 lines of code across 104 source files, recording 564 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 10.7 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).

10.7
Adjusted Score
10.7
Raw Score
100%
Time Factor
2026-08-17
Last Push
71.7K
Stars
Python
Language
57.7K
Lines of Code
104
Files
564
Pattern Hits
2026-08-29
Scan Date
0.16
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 17MEDIUM 12LOW 535

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 564 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.

Hyper-Verbose Identifiers189 hits · 186 pts
SeverityFileLineSnippetContext
LOWtests/test_local_star_history.py98 def test_backfill_writes_hand_computed_completed_daily_history(self):CODE
LOWtests/test_local_star_history.py168 def test_backfill_fails_closed_on_cursor_or_count_inconsistency(self):CODE
LOWtests/test_local_star_history.py219 def test_backfill_accepts_exact_rate_limit_reserve_after_first_page(self):CODE
LOWtests/test_local_star_history.py242 def test_backfill_refuses_dangling_output_symlink(self):CODE
LOWtests/test_local_star_history.py259 def test_initialize_starts_from_one_honest_aggregate_snapshot(self):CODE
LOWtests/test_local_star_history.py282 def test_due_boundary_matches_configured_interval(self):CODE
LOWtests/test_local_star_history.py346 def test_record_before_due_does_not_write(self):CODE
LOWtests/test_local_star_history.py374 def test_record_applies_count_file_without_github_credentials(self):CODE
LOWtests/test_local_star_history.py415 def test_count_file_rejects_symlinks_malformed_and_extreme_values(self):CODE
LOWtests/test_local_star_history.py443 def test_force_same_day_same_count_is_idempotent(self):CODE
LOWtests/test_local_star_history.py469 def test_force_same_day_changed_count_replaces_snapshot(self):CODE
LOWtests/test_local_star_history.py495 def test_new_date_appends_even_when_count_is_unchanged(self):CODE
LOWtests/test_local_star_history.py522 def test_schema_rejects_unknown_identity_fields_and_boolean_counts(self):CODE
LOWtests/test_local_star_history.py553 def test_svg_is_accessible_self_contained_and_deterministic(self):CODE
LOWtests/test_local_star_history.py780 def test_svg_validator_rejects_unreviewed_or_active_content(self):CODE
LOWtests/test_local_star_history.py851 def test_check_detects_svg_tampering(self):CODE
LOWtests/test_local_star_history.py868 def test_graphql_gateway_uses_identity_free_paginated_query(self):CODE
LOWtests/test_local_star_history.py924 def test_graphql_gateway_rejects_malformed_nested_shape(self):STRING
LOWtests/test_local_star_history.py944 def test_graphql_gateway_does_not_echo_failed_command_stderr(self):STRING
LOWtests/test_local_star_count_fetch.py78 def test_fetcher_is_standalone_stdlib_only_and_has_fixed_api(self):CODE
LOWtests/test_local_star_count_fetch.py95 def test_success_stdout_is_only_one_decimal_count(self):CODE
LOWtests/test_local_star_count_fetch.py110 def test_redirect_is_refused_without_forwarding_token(self):CODE
LOWtests/test_local_star_count_fetch.py126 def test_malformed_oversized_and_invalid_counts_are_sanitized(self):CODE
LOWtests/test_local_star_count_fetch.py148 def test_status_and_network_errors_do_not_echo_exception_data(self):CODE
LOWtests/test_local_star_count_fetch.py169 def test_missing_or_newline_token_is_rejected_without_stdout(self):CODE
LOWtests/test_local_star_count_fetch.py185 def test_workflow_keeps_credentials_out_of_record_and_render_steps(self):CODE
LOWtests/test_local_star_count_fetch.py248 def test_workflow_submits_a_verified_pull_request_for_manual_merge(self):CODE
LOWbackend/app/utils/zep.py33def normalize_zep_search_query(query: Any) -> str:CODE
LOWbackend/app/utils/zep.py44def normalize_zep_search_limit(limit: Any) -> int:CODE
LOWbackend/app/utils/llm_client.py27def _is_response_format_unsupported(error: Exception) -> bool:CODE
LOWbackend/app/utils/llm_client.py77def _contains_additional_json_container(content: str) -> bool:CODE
LOWbackend/app/utils/openai_chat_compat.py60def extract_chat_completion_text(response: Any) -> str:CODE
LOWbackend/app/utils/ontology.py26def normalize_ontology_attribute(attribute: Any) -> Optional[Dict[str, Any]]:CODE
LOWbackend/app/utils/ontology.py52def normalize_ontology_attributes(attributes: Any) -> List[Dict[str, Any]]:CODE
LOWbackend/app/utils/ontology.py73def normalize_ontology_source_targets(CODE
LOWbackend/app/models/project.py228 def find_projects_by_graph_id(cls, graph_id: str) -> List[Project]:CODE
LOWbackend/app/api/simulation.py58def optimize_interview_prompt(prompt: str) -> str:CODE
LOWbackend/app/api/simulation.py270def _check_simulation_prepared(simulation_id: str) -> tuple:CODE
LOWbackend/app/api/simulation.py852def _get_report_id_for_simulation(simulation_id: str) -> str:CODE
LOWbackend/app/api/simulation.py1064def get_simulation_profiles_realtime(simulation_id: str):CODE
LOWbackend/app/api/simulation.py1179def get_simulation_config_realtime(simulation_id: str):CODE
LOWbackend/app/api/simulation.py1345def download_simulation_config(simulation_id: str):CODE
LOWbackend/app/api/simulation.py1374def download_simulation_script(script_name: str):CODE
LOWbackend/app/api/graph.py76def _delete_cloud_graph_if_present(graph_id: str | None) -> None:CODE
LOWbackend/app/api/graph.py97def _clear_project_graph_reference(project) -> None:CODE
LOWbackend/app/api/graph.py110def _project_has_active_build(project) -> bool:CODE
LOWbackend/app/api/report.py1103def get_graph_statistics_tool():CODE
LOWbackend/app/services/report_agent.py258 def log_section_full_complete(CODE
LOWbackend/app/services/report_agent.py1975 def _get_report_markdown_path(cls, report_id: str) -> str:CODE
LOWbackend/app/services/simulation_runner.py882 def _check_all_platforms_completed(cls, state: SimulationRunState) -> bool:CODE
LOWbackend/app/services/simulation_runner.py1925 def _get_interview_history_from_db(CODE
LOWbackend/app/services/zep_tools.py1483 def _clean_tool_call_response(response: str) -> str:CODE
LOWbackend/app/services/zep_tools.py1549 def _select_agents_for_interview(CODE
LOWbackend/app/services/zep_tools.py1632 def _generate_interview_questions(CODE
LOWbackend/app/services/zep_tools.py1681 def _generate_interview_summary(CODE
LOWbackend/app/services/oasis_profile_generator.py274 def generate_profile_from_entity(CODE
LOWbackend/app/services/oasis_profile_generator.py540 def _generate_profile_with_llm(CODE
LOWbackend/app/services/oasis_profile_generator.py721 def _build_individual_persona_prompt(CODE
LOWbackend/app/services/oasis_profile_generator.py818 def _generate_profile_rule_based(CODE
LOWbackend/app/services/oasis_profile_generator.py895 def generate_profiles_from_entities(CODE
129 more matches not shown…
Excessive Try-Catch Wrapping176 hits · 152 pts
SeverityFileLineSnippetContext
LOWbackend/app/utils/file_parser.py42 except Exception:CODE
LOWbackend/app/utils/file_parser.py51 except Exception:CODE
LOWbackend/app/utils/file_parser.py155 except Exception as e:CODE
LOWbackend/app/utils/zep.py143 except Exception as error:CODE
LOWbackend/app/utils/retry.py226 except Exception as e:CODE
LOWbackend/app/utils/llm_client.py197 except Exception as error:CODE
LOWbackend/app/api/simulation.py48 except Exception:CODE
LOWbackend/app/api/simulation.py114 except Exception as e:CODE
LOWbackend/app/api/simulation.py147 except Exception as e:CODE
LOWbackend/app/api/simulation.py184 except Exception as e:CODE
LOWbackend/app/api/simulation.py261 except Exception as e:CODE
LOWbackend/app/api/simulation.py363 except Exception as e:CODE
LOWbackend/app/api/simulation.py385 except Exception as e:CODE
LOWbackend/app/api/simulation.py516 except Exception as e:CODE
LOWbackend/app/api/simulation.py634 except Exception as e:CODE
LOWbackend/app/api/simulation.py668 except Exception as e:CODE
LOWbackend/app/api/simulation.py782 except Exception as e:CODE
LOWbackend/app/api/simulation.py814 except Exception as e:CODE
LOWbackend/app/api/simulation.py843 except Exception as e:CODE
LOWbackend/app/api/simulation.py896 except Exception:CODE
LOWbackend/app/api/simulation.py906 except Exception as e:CODE
LOWbackend/app/api/simulation.py1016 except Exception as e:CODE
LOWbackend/app/api/simulation.py1054 except Exception as e:CODE
LOWbackend/app/api/simulation.py1150 except Exception:CODE
LOWbackend/app/api/simulation.py1169 except Exception as e:CODE
LOWbackend/app/api/simulation.py1264 except Exception:CODE
LOWbackend/app/api/simulation.py1299 except Exception as e:CODE
LOWbackend/app/api/simulation.py1335 except Exception as e:CODE
LOWbackend/app/api/simulation.py1364 except Exception as e:CODE
LOWbackend/app/api/simulation.py1416 except Exception as e:CODE
LOWbackend/app/api/simulation.py1490 except Exception as e:CODE
LOWbackend/app/api/simulation.py1641 except Exception as error:CODE
LOWbackend/app/api/simulation.py1779 except Exception as e:CODE
LOWbackend/app/api/simulation.py1846 except Exception as e:CODE
LOWbackend/app/api/simulation.py1914 except Exception as e:CODE
LOWbackend/app/api/simulation.py2015 except Exception as e:CODE
LOWbackend/app/api/simulation.py2069 except Exception as e:CODE
LOWbackend/app/api/simulation.py2109 except Exception as e:CODE
LOWbackend/app/api/simulation.py2136 except Exception as e:CODE
LOWbackend/app/api/simulation.py2216 except Exception as e:STRING
LOWbackend/app/api/simulation.py2293 except Exception as e:STRING
LOWbackend/app/api/simulation.py2424 except Exception as e:STRING
LOWbackend/app/api/simulation.py2562 except Exception as e:STRING
LOWbackend/app/api/simulation.py2665 except Exception as e:STRING
LOWbackend/app/api/simulation.py2737 except Exception as e:STRING
LOWbackend/app/api/simulation.py2802 except Exception as e:STRING
LOWbackend/app/api/simulation.py2872 except Exception as e:STRING
LOWbackend/app/api/graph.py394 except Exception as error:CODE
LOWbackend/app/api/graph.py430 except Exception:CODE
LOWbackend/app/api/graph.py801 except Exception as e:CODE
LOWbackend/app/api/graph.py834 except Exception as e:CODE
LOWbackend/app/api/graph.py899 except Exception as e:CODE
LOWbackend/app/api/graph.py958 except Exception as e:CODE
LOWbackend/app/api/report.py288 except Exception as e:CODE
LOWbackend/app/api/report.py297 except Exception:CODE
LOWbackend/app/api/report.py313 except Exception as e:CODE
LOWbackend/app/api/report.py386 except Exception as e:CODE
LOWbackend/app/api/report.py429 except Exception as e:CODE
LOWbackend/app/api/report.py468 except Exception as e:CODE
LOWbackend/app/api/report.py508 except Exception as e:CODE
116 more matches not shown…
Unused Imports79 hits · 69 pts
SeverityFileLineSnippetContext
LOWbackend/app/utils/file_parser.py6CODE
LOWbackend/app/utils/file_parser.py8CODE
LOWbackend/app/utils/__init__.py5CODE
LOWbackend/app/utils/__init__.py6CODE
LOWbackend/app/utils/__init__.py7CODE
LOWbackend/app/utils/__init__.py7CODE
LOWbackend/app/utils/__init__.py7CODE
LOWbackend/app/utils/__init__.py7CODE
LOWbackend/app/utils/zep.py3CODE
LOWbackend/app/utils/zep_paging.py3CODE
LOWbackend/app/utils/openai_chat_compat.py8CODE
LOWbackend/app/models/__init__.py5CODE
LOWbackend/app/models/__init__.py5CODE
LOWbackend/app/models/__init__.py6CODE
LOWbackend/app/models/__init__.py6CODE
LOWbackend/app/models/__init__.py6CODE
LOWbackend/app/models/project.py13CODE
LOWbackend/app/api/__init__.py11CODE
LOWbackend/app/api/__init__.py12CODE
LOWbackend/app/api/__init__.py13CODE
LOWbackend/app/api/report.py12CODE
LOWbackend/app/services/report_agent.py14CODE
LOWbackend/app/services/report_agent.py17CODE
LOWbackend/app/services/report_agent.py25CODE
LOWbackend/app/services/report_agent.py25CODE
LOWbackend/app/services/report_agent.py25CODE
LOWbackend/app/services/report_agent.py25CODE
LOWbackend/app/services/simulation_runner.py10CODE
LOWbackend/app/services/simulation_runner.py15CODE
LOWbackend/app/services/simulation_runner.py21CODE
LOWbackend/app/services/simulation_runner.py29CODE
LOWbackend/app/services/simulation_runner.py29CODE
LOWbackend/app/services/simulation_runner.py1387CODE
LOWbackend/app/services/zep_tools.py11CODE
LOWbackend/app/services/text_processor.py5CODE
LOWbackend/app/services/__init__.py5CODE
LOWbackend/app/services/__init__.py6CODE
LOWbackend/app/services/__init__.py7CODE
LOWbackend/app/services/__init__.py8CODE
LOWbackend/app/services/__init__.py8CODE
LOWbackend/app/services/__init__.py8CODE
LOWbackend/app/services/__init__.py9CODE
LOWbackend/app/services/__init__.py9CODE
LOWbackend/app/services/__init__.py10CODE
LOWbackend/app/services/__init__.py10CODE
LOWbackend/app/services/__init__.py10CODE
LOWbackend/app/services/__init__.py11CODE
LOWbackend/app/services/__init__.py11CODE
LOWbackend/app/services/__init__.py11CODE
LOWbackend/app/services/__init__.py11CODE
LOWbackend/app/services/__init__.py11CODE
LOWbackend/app/services/__init__.py11CODE
LOWbackend/app/services/__init__.py19CODE
LOWbackend/app/services/__init__.py19CODE
LOWbackend/app/services/__init__.py19CODE
LOWbackend/app/services/__init__.py19CODE
LOWbackend/app/services/__init__.py19CODE
LOWbackend/app/services/__init__.py26CODE
LOWbackend/app/services/__init__.py26CODE
LOWbackend/app/services/__init__.py26CODE
19 more matches not shown…
Deep Nesting65 hits · 50 pts
SeverityFileLineSnippetContext
LOWbackend/app/utils/file_parser.py161CODE
LOWbackend/app/utils/llm_client.py159CODE
LOWbackend/app/utils/openai_chat_compat.py60CODE
LOWbackend/app/api/simulation.py270CODE
LOWbackend/app/api/simulation.py678CODE
LOWbackend/app/api/simulation.py852CODE
LOWbackend/app/api/simulation.py1064CODE
LOWbackend/app/api/simulation.py1179CODE
LOWbackend/app/api/simulation.py1502CODE
LOWbackend/app/api/graph.py266CODE
LOWbackend/app/api/graph.py460CODE
LOWbackend/app/api/report.py33CODE
LOWbackend/app/services/report_agent.py962CODE
LOWbackend/app/services/report_agent.py1260CODE
LOWbackend/app/services/report_agent.py2066CODE
LOWbackend/app/services/report_agent.py2179CODE
LOWbackend/app/services/report_agent.py2348CODE
LOWbackend/app/services/report_agent.py2547CODE
LOWbackend/app/services/report_agent.py2568CODE
LOWbackend/app/services/simulation_runner.py620CODE
LOWbackend/app/services/simulation_runner.py767CODE
LOWbackend/app/services/simulation_runner.py965CODE
LOWbackend/app/services/simulation_runner.py1087CODE
LOWbackend/app/services/simulation_runner.py1365CODE
LOWbackend/app/services/simulation_runner.py1449CODE
LOWbackend/app/services/simulation_runner.py1554CODE
LOWbackend/app/services/simulation_runner.py1585CODE
LOWbackend/app/services/zep_tools.py309CODE
LOWbackend/app/services/zep_tools.py457CODE
LOWbackend/app/services/zep_tools.py542CODE
LOWbackend/app/services/zep_tools.py1483CODE
LOWbackend/app/services/zep_tools.py1503CODE
LOWbackend/app/services/oasis_profile_generator.py34CODE
LOWbackend/app/services/oasis_profile_generator.py58CODE
LOWbackend/app/services/oasis_profile_generator.py348CODE
LOWbackend/app/services/oasis_profile_generator.py457CODE
LOWbackend/app/services/oasis_profile_generator.py540CODE
LOWbackend/app/services/oasis_profile_generator.py818CODE
LOWbackend/app/services/oasis_profile_generator.py895CODE
LOWbackend/app/services/oasis_profile_generator.py933CODE
LOWbackend/app/services/simulation_manager.py483CODE
LOWbackend/app/services/simulation_ipc.py117CODE
LOWbackend/app/services/zep_entity_reader.py221CODE
LOWbackend/app/services/graph_builder.py218CODE
LOWbackend/app/services/graph_builder.py270CODE
LOWbackend/app/services/graph_builder.py407CODE
LOWbackend/app/services/graph_builder.py777CODE
LOWbackend/app/services/zep_graph_memory_updater.py142CODE
LOWbackend/app/services/zep_graph_memory_updater.py410CODE
LOWbackend/app/services/zep_graph_memory_updater.py560CODE
LOWbackend/app/services/simulation_config_generator.py435CODE
LOWbackend/app/services/simulation_config_generator.py730CODE
LOWbackend/app/services/simulation_config_generator.py910CODE
LOWbackend/scripts/run_reddit_simulation.py523CODE
LOWbackend/scripts/run_parallel_simulation.py749CODE
LOWbackend/scripts/run_parallel_simulation.py857CODE
LOWbackend/scripts/run_parallel_simulation.py938CODE
LOWbackend/scripts/run_parallel_simulation.py1101CODE
LOWbackend/scripts/run_parallel_simulation.py1293CODE
LOWbackend/scripts/run_parallel_simulation.py1492CODE
5 more matches not shown…
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHbackend/app/services/simulation_runner.py0select user_id, info, created_at from trace where action = ? and user_id = ? order by created_at desc limit 1STRING
HIGHbackend/scripts/run_reddit_simulation.py0select user_id, info, created_at from trace where action = ? and user_id = ? order by created_at desc limit 1STRING
HIGHbackend/scripts/run_parallel_simulation.py0select user_id, info, created_at from trace where action = ? and user_id = ? order by created_at desc limit 1STRING
HIGHbackend/scripts/run_twitter_simulation.py0select user_id, info, created_at from trace where action = ? and user_id = ? order by created_at desc limit 1STRING
HIGHbackend/scripts/run_reddit_simulation.py0过滤掉 camel-ai 关于 max_tokens 的警告(我们故意不设置 max_tokens,让模型自行决定)STRING
HIGHbackend/scripts/run_parallel_simulation.py0过滤掉 camel-ai 关于 max_tokens 的警告(我们故意不设置 max_tokens,让模型自行决定)STRING
HIGHbackend/scripts/run_twitter_simulation.py0过滤掉 camel-ai 关于 max_tokens 的警告(我们故意不设置 max_tokens,让模型自行决定)STRING
Decorative Section Separators9 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMbackend/requirements.txt1# ===========================================COMMENT
MEDIUMbackend/requirements.txt3# ===========================================COMMENT
MEDIUMbackend/requirements.txt6# ===========================================COMMENT
MEDIUMbackend/app/services/report_agent.py470# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/app/services/report_agent.py472# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/app/services/report_agent.py866# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/app/services/report_agent.py868# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMbackend/scripts/run_parallel_simulation.py28# ============================================================COMMENT
MEDIUMbackend/scripts/run_parallel_simulation.py31# ============================================================COMMENT
Docstring Block Structure5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHbackend/app/services/report_agent.py963 执行工具调用 Args: tool_name: 工具名称 parameters: 工具参数 report_conteSTRING
HIGHbackend/app/services/simulation_runner.py1702 采访单个Agent Args: simulation_id: 模拟ID agent_id: Agent ID prompt: 采访问STRING
HIGHbackend/app/services/simulation_runner.py1765 批量采访多个Agent Args: simulation_id: 模拟ID interviews: 采访列表,每个元素包含 {"agent_id": intSTRING
HIGHbackend/app/services/simulation_ipc.py124 发送命令并等待响应 Args: command_type: 命令类型 args: 命令参数 timeout: 超时时STRING
HIGHbackend/app/services/simulation_config_generator.py256 智能生成完整的模拟配置(分步生成) Args: simulation_id: 模拟ID project_id: 项目ID STRING
Verbosity Indicators10 hits · 18 pts
SeverityFileLineSnippetContext
LOWbackend/app/services/zep_tools.py979 # Step 1: 使用LLM生成子问题COMMENT
LOWbackend/app/services/zep_tools.py989 # Step 2: 对每个子问题进行语义搜索COMMENT
LOWbackend/app/services/zep_tools.py1069 # Step 4: 构建所有关系链(不限制数量)COMMENT
LOWbackend/app/services/zep_tools.py1472 # Step 6: 生成采访摘要COMMENT
LOWbackend/app/services/zep_tools.py1024 # Step 3: 从边中提取相关实体UUID,只获取这些实体的信息(不获取全部节点)COMMENT
LOWbackend/app/services/zep_tools.py1314 # Step 1: 读取人设文件COMMENT
LOWbackend/app/services/zep_tools.py1325 # Step 2: 使用LLM选择要采访的Agent(返回agent_id列表)COMMENT
LOWbackend/app/services/zep_tools.py1337 # Step 3: 生成采访问题(如果没有提供)COMMENT
LOWbackend/app/services/zep_tools.py1363 # Step 4: 调用真实的采访API(不指定platform,默认双平台同时采访)COMMENT
LOWbackend/app/services/zep_tools.py1393 # Step 5: 解析API返回结果,构建AgentInterview对象COMMENT
Cross-Language Confusion3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHbackend/app/api/simulation.py1950 "result": null,STRING
HIGHbackend/app/services/ontology_generator.py447 # occasionally emit a bare string, null, or another scalar.COMMENT
HIGHbackend/tests/test_profile_field_normalization.py16 assert _coerce_to_str({"unexpected": None}) == '{"unexpected": null}'CODE
Structural Annotation Overuse10 hits · 17 pts
SeverityFileLineSnippetContext
LOWbackend/app/services/zep_tools.py979 # Step 1: 使用LLM生成子问题COMMENT
LOWbackend/app/services/zep_tools.py989 # Step 2: 对每个子问题进行语义搜索COMMENT
LOWbackend/app/services/zep_tools.py1069 # Step 4: 构建所有关系链(不限制数量)COMMENT
LOWbackend/app/services/zep_tools.py1472 # Step 6: 生成采访摘要COMMENT
LOWbackend/app/services/zep_tools.py1024 # Step 3: 从边中提取相关实体UUID,只获取这些实体的信息(不获取全部节点)COMMENT
LOWbackend/app/services/zep_tools.py1314 # Step 1: 读取人设文件COMMENT
LOWbackend/app/services/zep_tools.py1325 # Step 2: 使用LLM选择要采访的Agent(返回agent_id列表)COMMENT
LOWbackend/app/services/zep_tools.py1337 # Step 3: 生成采访问题(如果没有提供)COMMENT
LOWbackend/app/services/zep_tools.py1363 # Step 4: 调用真实的采访API(不指定platform,默认双平台同时采访)COMMENT
LOWbackend/app/services/zep_tools.py1393 # Step 5: 解析API返回结果,构建AgentInterview对象COMMENT
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHREADME.md121LLM_API_KEY=your_api_keyCODE
HIGHREADME-ZH.md121LLM_API_KEY=your_api_keyCODE
Modern Structural Boilerplate5 hits · 5 pts
SeverityFileLineSnippetContext
LOWbackend/app/utils/__init__.py9__all__ = ['FileParser', 'LLMClient', 't', 'get_locale', 'set_locale', 'get_language_instruction']CODE
LOWbackend/app/utils/llm_client.py16logger = logging.getLogger(__name__)CODE
LOWbackend/app/models/__init__.py8__all__ = ['TaskManager', 'TaskStatus', 'Project', 'ProjectStatus', 'ProjectManager']CODE
LOWbackend/app/services/__init__.py40__all__ = [CODE
LOWbackend/app/services/ontology_generator.py19logger = logging.getLogger(__name__)CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMfrontend/package-lock.json2010 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWbackend/app/services/simulation_runner.py1362CODE
LOWbackend/app/services/ontology_generator.py248CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbackend/requirements.txt1# ===========================================COMMENT