AI Slop Code RIsk Monitor

666ghj/MiroFish

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

14.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for 666ghj/MiroFish, a Python project with 77,875 GitHub stars. SynthScan examined 57,761 lines of code across 104 source files, recording 610 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 14.5 (Moderate pattern signal); it is not an authorship estimate.

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

14.5
Adjusted Signal
14.5
Raw Pattern Score
100%
Time Factor
2026-10-01
Last Push
77.9K
Stars
Python
Language
57.8K
Lines of Code
104
Files
610
Pattern Hits
2026-10-12
Scan Date
0.61
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 22.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 7.8/100 · LOW

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

Agent Over-Engineering Ratio 42.2/100 · MEDIUM

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

PR Review Velocity Impact 56.0/100 · HIGH

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 63MEDIUM 12LOW 535

Directory Score Breakdown

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

Pattern Findings

The scanner identified 610 distinct pattern matches across 16 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.

Empty Error Handlers46 hits · 230 pts
SeverityFileLineSnippetContext
HIGHtests/test_local_star_count_fetch.py30except BrokenPipeError:CODE
HIGHbackend/app/utils/file_parser.py32except UnicodeDecodeError:CODE
HIGHbackend/app/utils/file_parser.py42except Exception:CODE
HIGHbackend/app/utils/file_parser.py51except Exception:CODE
HIGHbackend/app/api/simulation.py48except Exception:CODE
HIGHbackend/app/api/simulation.py1150except Exception:CODE
HIGHbackend/app/api/simulation.py1264except Exception:CODE
HIGHbackend/app/services/report_agent.py1089except json.JSONDecodeError:CODE
HIGHbackend/app/services/report_agent.py1104except json.JSONDecodeError:CODE
HIGHbackend/app/services/report_agent.py1115except json.JSONDecodeError:CODE
HIGHbackend/app/services/report_agent.py1800except Exception:CODE
HIGHbackend/app/services/simulation_runner.py756except Exception:CODE
HIGHbackend/app/services/simulation_runner.py762except Exception:CODE
HIGHbackend/app/services/simulation_runner.py1005except ProcessLookupError:CODE
HIGHbackend/app/services/simulation_runner.py874except json.JSONDecodeError:CODE
HIGHbackend/app/services/simulation_runner.py701except Exception:CODE
HIGHbackend/app/services/simulation_runner.py1535except Exception:CODE
HIGHbackend/app/services/oasis_profile_generator.py690except:CODE
HIGHbackend/app/services/simulation_ipc.py184except OSError:CODE
HIGHbackend/app/services/simulation_ipc.py377except OSError:CODE
HIGHbackend/app/services/simulation_ipc.py168except OSError:CODE
HIGHbackend/app/services/zep_graph_memory_updater.py437except Empty:CODE
HIGHbackend/app/services/simulation_config_generator.py532except:CODE
HIGHbackend/scripts/run_reddit_simulation.py765except SystemExit:CODE
HIGHbackend/scripts/run_reddit_simulation.py211except OSError:CODE
HIGHbackend/scripts/run_reddit_simulation.py94except OSError:CODE
HIGHbackend/scripts/run_reddit_simulation.py518except Exception:CODE
HIGHbackend/scripts/run_reddit_simulation.py676except asyncio.TimeoutError:CODE
HIGHbackend/scripts/run_parallel_simulation.py898except Exception:CODE
HIGHbackend/scripts/run_parallel_simulation.py933except Exception:CODE
HIGHbackend/scripts/run_parallel_simulation.py979except Exception:CODE
HIGHbackend/scripts/run_parallel_simulation.py1690except SystemExit:CODE
HIGHbackend/scripts/run_parallel_simulation.py297except OSError:CODE
HIGHbackend/scripts/run_parallel_simulation.py1087except Exception:CODE
HIGHbackend/scripts/run_parallel_simulation.py1697except Exception:CODE
HIGHbackend/scripts/run_parallel_simulation.py1202except Exception:CODE
HIGHbackend/scripts/run_parallel_simulation.py1401except Exception:CODE
HIGHbackend/scripts/run_parallel_simulation.py1623except asyncio.TimeoutError:CODE
HIGHbackend/scripts/run_twitter_simulation.py777except SystemExit:CODE
HIGHbackend/scripts/run_twitter_simulation.py211except OSError:CODE
HIGHbackend/scripts/run_twitter_simulation.py94except OSError:CODE
HIGHbackend/scripts/run_twitter_simulation.py526except Exception:CODE
HIGHbackend/scripts/run_twitter_simulation.py688except asyncio.TimeoutError:CODE
HIGHscripts/star_history.py886except OverflowError:CODE
HIGHscripts/star_history.py890except OverflowError:CODE
HIGHscripts/star_history.py1342except OSError:CODE
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 · 145 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 · 67 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 · 48 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
MEDIUM⚡backend/requirements.txt1# ===========================================COMMENT
MEDIUM⚡backend/requirements.txt3# ===========================================COMMENT
MEDIUM⚡backend/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
LOW⚡backend/app/services/zep_tools.py979 # Step 1: 使用LLM生成子问题COMMENT
LOW⚡backend/app/services/zep_tools.py989 # Step 2: 对每个子问题进行语义搜索COMMENT
LOW⚡backend/app/services/zep_tools.py1069 # Step 4: 构建所有关系链(不限制数量)COMMENT
LOW⚡backend/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
HIGH⚡backend/tests/test_profile_field_normalization.py16 assert _coerce_to_str({"unexpected": None}) == '{"unexpected": null}'CODE
Structural Annotation Overuse10 hits · 17 pts
SeverityFileLineSnippetContext
LOW⚡backend/app/services/zep_tools.py979 # Step 1: 使用LLM生成子问题COMMENT
LOW⚡backend/app/services/zep_tools.py989 # Step 2: 对每个子问题进行语义搜索COMMENT
LOW⚡backend/app/services/zep_tools.py1069 # Step 4: 构建所有关系链(不限制数量)COMMENT
LOW⚡backend/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