"AI-Trader: 100% Fully-Automated Agent-Native Trading"
This report presents the forensic synthetic code analysis of HKUDS/AI-Trader, a Python project with 20,799 GitHub stars. SynthScan v2.0 examined 52,811 lines of code across 140 source files, recording 705 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 14.0 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 705 distinct pattern matches across 11 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 | research/scripts/analyze_experiments.py | 233 | def _legacy_treatment_effect_rows(rows: list[dict], metric: str, family: str) -> list[dict]: | CODE |
| LOW | research/scripts/research_common.py | 30 | def add_common_export_filters(parser: argparse.ArgumentParser) -> None: | CODE |
| LOW | service/frontend/src/appShared.tsx | 152 | export function buildLeaderboardChartData( | CODE |
| LOW | service/frontend/src/appShared.tsx | 224 | function getPolymarketDisplayTitle(item: any) { | CODE |
| LOW | service/frontend/src/ChallengePage.tsx | 62 | function defaultTradeSymbolForChallenge(challenge: any) { | CODE |
| LOW | service/frontend/src/appCommunityPages.tsx | 78 | async function fetchActiveChallengeOptions() { | CODE |
| LOW | service/frontend/src/appCommunityPages.tsx | 90 | async function fetchMyTeamMissionOptions(token: string | null) { | CODE |
| LOW | service/server/experiment_metrics.py | 25 | def _max_drawdown_from_history(rows: list[dict[str, Any]]) -> float: | CODE |
| LOW | service/server/experiment_metrics.py | 36 | def refresh_agent_metric_snapshots(window_days: int = 7, window_key: str | None = None) -> dict[str, Any]: | CODE |
| LOW | service/server/routes_signals.py | 60 | def _agent_experiment_context(agent_id: int) -> list[dict[str, Any]]: | CODE |
| LOW | service/server/routes_signals.py | 100 | def _primary_experiment_context(agent_id: int) -> dict[str, Any] | None: | CODE |
| LOW | service/server/routes_shared.py | 130 | def allow_sync_price_fetch_in_api() -> bool: | CODE |
| LOW | service/server/routes_shared.py | 138 | def should_fetch_server_trade_price(market: str) -> bool: | CODE |
| LOW | service/server/routes_shared.py | 164 | def format_polymarket_reference(reference: str) -> str: | CODE |
| LOW | service/server/routes_shared.py | 217 | def check_price_api_rate_limit(ctx: RouteContext, agent_id: int) -> bool: | CODE |
| LOW | service/server/routes_shared.py | 265 | def invalidate_agent_message_caches(ctx: RouteContext, agent_id: int) -> None: | CODE |
| LOW⚡ | service/server/routes_shared.py | 709 | def invalidate_agent_signal_caches(ctx: RouteContext) -> None: | STRING |
| LOW⚡ | service/server/routes_shared.py | 716 | def invalidate_signal_list_caches(ctx: RouteContext) -> None: | STRING |
| LOW⚡ | service/server/routes_shared.py | 726 | def invalidate_leaderboard_caches(ctx: RouteContext) -> None: | STRING |
| LOW⚡ | service/server/routes_shared.py | 733 | def invalidate_trending_caches() -> None: | STRING |
| LOW⚡ | service/server/routes_shared.py | 741 | def invalidate_signal_read_caches(ctx: RouteContext, refresh_trending: bool = False) -> None: | STRING |
| LOW⚡ | service/server/routes_shared.py | 748 | def invalidate_position_cache(ctx: RouteContext, agent_id: int | None = None) -> None: | STRING |
| LOW | service/server/routes_shared.py | 416 | def _record_experiment_notice_exposed(agent_id: int, notice: dict[str, Any], *, surface: str) -> None: | STRING |
| LOW | service/server/routes_shared.py | 490 | def attach_experiment_unread_notice( | STRING |
| LOW | service/server/routes_shared.py | 584 | def normalize_content_fingerprint(content: str) -> str: | STRING |
| LOW | service/server/routes_shared.py | 588 | def enforce_content_rate_limit( | STRING |
| LOW | service/server/experiment_notifications.py | 159 | def resolve_experiment_notification_targets( | CODE |
| LOW | service/server/experiment_notifications.py | 198 | def resolve_recent_active_experiment_targets( | STRING |
| LOW | service/server/experiment_notifications.py | 241 | def resolve_unread_active_experiment_targets( | STRING |
| LOW | service/server/experiment_notifications.py | 358 | def resolve_challenge_notification_targets( | STRING |
| LOW | service/server/experiment_notifications.py | 395 | def resolve_team_mission_notification_targets( | STRING |
| LOW | service/server/experiment_notifications.py | 493 | def _validate_notification_payload(message_type: str, title: str, content: str) -> None: | STRING |
| LOW | service/server/experiment_notifications.py | 509 | def validate_notification_request(message_type: str, title: str, content: str) -> None: | STRING |
| LOW | service/server/experiment_notifications.py | 728 | def build_experiment_target_rule( | CODE |
| LOW | service/server/services.py | 74 | def _get_or_issue_agent_token(agent: Dict) -> str: | CODE |
| LOW | service/server/services.py | 190 | def _update_position_from_signal( | CODE |
| LOW | service/server/services.py | 347 | async def _broadcast_signal_to_followers(leader_id: int, signal_data: dict) -> int: | STRING |
| LOW | service/server/research_exports.py | 346 | def fetch_challenge_export_rows( | CODE |
| LOW | service/server/research_exports.py | 392 | def fetch_research_export_rows( | STRING |
| LOW | service/server/research_exports.py | 1222 | def get_research_dataset_names(primary_only: bool = False) -> list[str]: | STRING |
| LOW | service/server/research_exports.py | 1226 | def get_research_export_columns(dataset_name: str) -> list[str]: | STRING |
| LOW | service/server/research_exports.py | 1310 | def _append_agent_filter_templates( | STRING |
| LOW | service/server/research_exports.py | 1377 | def fetch_research_export_rows( | STRING |
| LOW | service/server/research_exports.py | 1434 | def research_schema_for_dataset(dataset_name: str) -> dict[str, Any]: | STRING |
| LOW | service/server/research_exports.py | 1542 | def _export_single_research_file(output_dir: str | Path, filename: str, **filters: Any) -> str: | STRING |
| LOW | service/server/research_exports.py | 1565 | def fetch_challenge_export_rows(filename: str, **filters: Any) -> tuple[list[str], list[dict[str, Any]]]: | STRING |
| LOW⚡ | service/server/tasks.py | 130 | def _polymarket_updown_expired_seconds(symbol: str | None, now_ts: float) -> Optional[float]: | CODE |
| LOW⚡ | service/server/tasks.py | 141 | def _backfill_polymarket_position_metadata() -> None: | CODE |
| LOW | service/server/tasks.py | 63 | def _price_failure_retry_after(key: tuple[str, str, str, str], now_ts: float) -> float: | CODE |
| LOW | service/server/tasks.py | 679 | async def refresh_macro_signal_snapshots_loop(): | CODE |
| LOW | service/server/tasks.py | 702 | async def refresh_etf_flow_snapshots_loop(): | CODE |
| LOW | service/server/tasks.py | 725 | async def refresh_stock_analysis_snapshots_loop(): | CODE |
| LOW | service/server/tasks.py | 762 | def _record_profit_history_once() -> int: | CODE |
| LOW | service/server/tasks.py | 928 | async def settle_polymarket_positions(): | CODE |
| LOW | service/server/tasks.py | 1137 | async def score_team_contributions_loop(): | CODE |
| LOW | service/server/tasks.py | 1155 | async def settle_team_missions_loop(): | CODE |
| LOW | service/server/tasks.py | 1173 | async def score_signal_quality_loop(): | CODE |
| LOW | service/server/tasks.py | 1191 | async def refresh_agent_metric_snapshots_loop(): | CODE |
| LOW | service/server/tasks.py | 1247 | def background_tasks_enabled_for_api() -> bool: | CODE |
| LOW | service/server/tasks.py | 1252 | def get_enabled_background_task_names() -> list[str]: | CODE |
| 262 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | research/scripts/research_common.py | 77 | except Exception: | CODE |
| LOW | research/scripts/research_common.py | 89 | except Exception: | CODE |
| LOW | research/scripts/research_common.py | 98 | except Exception: | CODE |
| LOW | skills/heartbeat/SKILL.md | 84 | except Exception as e: | CODE |
| MEDIUM | skills/heartbeat/SKILL.md | 85 | print(f"Error: {e}") | CODE |
| LOW | service/server/experiment_metrics.py | 164 | except Exception: | CODE |
| LOW | service/server/experiment_metrics.py | 327 | except Exception: | CODE |
| LOW | service/server/worker.py | 33 | except Exception as exc: | CODE |
| LOW | service/server/worker.py | 67 | except Exception: | CODE |
| LOW | service/server/worker.py | 71 | except Exception: | CODE |
| LOW | service/server/worker.py | 85 | except Exception: | CODE |
| LOW | service/server/worker.py | 110 | except Exception: | CODE |
| LOW | service/server/routes_signals.py | 72 | except Exception as exc: | CODE |
| LOW | service/server/routes_signals.py | 132 | except Exception: | CODE |
| LOW | service/server/routes_signals.py | 227 | except Exception: | CODE |
| LOW | service/server/routes_signals.py | 373 | except Exception as exc: | CODE |
| LOW⚡ | service/server/routes_signals.py | 521 | except Exception: | CODE |
| LOW⚡ | service/server/routes_signals.py | 524 | except Exception: | CODE |
| LOW⚡ | service/server/routes_signals.py | 529 | except Exception: | CODE |
| LOW⚡ | service/server/routes_signals.py | 533 | except Exception: | CODE |
| LOW | service/server/routes_signals.py | 654 | except Exception as exc: | CODE |
| LOW | service/server/routes_signals.py | 794 | except Exception as exc: | CODE |
| LOW | service/server/routes_signals.py | 1242 | except Exception: | STRING |
| LOW | service/server/routes_shared.py | 110 | except Exception: | CODE |
| LOW | service/server/routes_shared.py | 187 | except Exception: | CODE |
| LOW⚡ | service/server/routes_shared.py | 705 | except Exception as exc: | STRING |
| LOW | service/server/routes_shared.py | 334 | except Exception: | STRING |
| LOW | service/server/routes_shared.py | 534 | except Exception: | STRING |
| LOW | service/server/routes_shared.py | 804 | except Exception: | STRING |
| LOW | service/server/experiment_notifications.py | 53 | except Exception: | CODE |
| LOW | service/server/experiment_notifications.py | 63 | except Exception: | CODE |
| LOW | service/server/experiment_notifications.py | 83 | except Exception: | CODE |
| LOW | service/server/experiment_notifications.py | 569 | except Exception as exc: | CODE |
| LOW | service/server/experiment_notifications.py | 677 | except Exception as exc: | CODE |
| LOW | service/server/experiment_notifications.py | 711 | except Exception: | CODE |
| LOW | service/server/services.py | 151 | except Exception as e: | CODE |
| LOW | service/server/research_exports.py | 1271 | except Exception: | STRING |
| LOW⚡ | service/server/tasks.py | 136 | except Exception: | CODE |
| LOW | service/server/tasks.py | 42 | except Exception: | CODE |
| LOW | service/server/tasks.py | 59 | except Exception: | CODE |
| LOW | service/server/tasks.py | 78 | except Exception: | CODE |
| LOW | service/server/tasks.py | 107 | except Exception: | CODE |
| LOW | service/server/tasks.py | 118 | except Exception: | CODE |
| LOW | service/server/tasks.py | 672 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 695 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 718 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 741 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 758 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 920 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 949 | except Exception: | CODE |
| LOW | service/server/tasks.py | 1113 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 1131 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 1149 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 1167 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 1185 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 1203 | except Exception as e: | CODE |
| LOW | service/server/tasks.py | 1220 | except Exception as e: | CODE |
| LOW⚡ | service/server/tasks.py | 441 | except Exception as exc: | STRING |
| LOW | service/server/tasks.py | 644 | except Exception as e: | STRING |
| LOW | service/server/tasks.py | 897 | except Exception: | STRING |
| 179 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | service/server/routes_signals.py | 0 | select id from subscriptions where leader_id = ? and follower_id = ? and status = 'active' | STRING |
| HIGH | service/server/routes_shared.py | 0 | select id from subscriptions where leader_id = ? and follower_id = ? and status = 'active' | STRING |
| HIGH | service/server/services.py | 0 | select id from subscriptions where leader_id = ? and follower_id = ? and status = 'active' | STRING |
| HIGH | service/server/routes_trading.py | 0 | select id from subscriptions where leader_id = ? and follower_id = ? and status = 'active' | STRING |
| HIGH | service/server/team_missions.py | 0 | select variant_key from experiment_assignments where experiment_key = 'registration-exp' and unit_type = 'agent' and uni | STRING |
| HIGH | service/server/challenges.py | 0 | select variant_key from experiment_assignments where experiment_key = 'registration-exp' and unit_type = 'agent' and uni | STRING |
| HIGH | …ce/server/tests/test_agent_registration_experiments.py | 0 | select variant_key from experiment_assignments where experiment_key = 'registration-exp' and unit_type = 'agent' and uni | STRING |
| HIGH | service/server/team_missions.py | 0 | insert into experiment_assignments (experiment_key, unit_type, unit_id, variant_key, assignment_reason, metadata_json, c | STRING |
| HIGH | service/server/experiments.py | 0 | insert into experiment_assignments (experiment_key, unit_type, unit_id, variant_key, assignment_reason, metadata_json, c | STRING |
| HIGH | service/server/challenges.py | 0 | insert into experiment_assignments (experiment_key, unit_type, unit_id, variant_key, assignment_reason, metadata_json, c | STRING |
| HIGH | service/server/routes_agent.py | 0 | insert into positions ( agent_id, leader_id, symbol, market, token_id, outcome, side, quantity, entry_price, current_pri | STRING |
| HIGH | service/server/tests/test_services.py | 0 | insert into positions ( agent_id, leader_id, symbol, market, token_id, outcome, side, quantity, entry_price, current_pri | STRING |
| HIGH | service/server/scripts/cleanup_dirty_trade_data.py | 0 | insert into positions ( agent_id, leader_id, symbol, market, token_id, outcome, side, quantity, entry_price, current_pri | STRING |
| HIGH | service/server/tests/test_team_missions.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_admin_permissions.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_research_exports.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_routes_shared.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_challenges.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_experiment_assignments.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_rewards.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_experiment_events.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_monthly_challenges.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_leaderboard_metrics.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_experiment_notifications.py | 0 | insert into agents (name, token, points, cash, role, created_at, updated_at) values (?, ?, 0, 100000.0, ?, ?, ?) | STRING |
| HIGH | service/server/tests/test_experiment_assignments.py | 0 | insert into experiment_assignments (experiment_key, unit_type, unit_id, variant_key, assignment_reason, metadata_json, c | STRING |
| HIGH | service/server/tests/test_experiment_notifications.py | 0 | insert into experiment_assignments (experiment_key, unit_type, unit_id, variant_key, assignment_reason, metadata_json, c | STRING |
| HIGH | service/server/tests/test_experiment_events.py | 0 | insert into experiment_assignments (experiment_key, unit_type, unit_id, variant_key, assignment_reason, metadata_json, c | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | research/scripts/build_network_edges.py | 3 | CODE | |
| LOW | research/scripts/generate_figures.py | 3 | CODE | |
| LOW | research/scripts/build_agent_features.py | 3 | CODE | |
| LOW | research/scripts/compute_metrics.py | 3 | CODE | |
| LOW | research/scripts/analyze_experiments.py | 3 | CODE | |
| LOW | research/scripts/research_common.py | 3 | CODE | |
| LOW | research/scripts/export_research_dataset.py | 3 | CODE | |
| LOW | service/server/experiment_metrics.py | 3 | CODE | |
| LOW | service/server/routes_signals.py | 4 | CODE | |
| LOW | service/server/routes_signals.py | 19 | CODE | |
| LOW | service/server/experiment_notifications.py | 3 | CODE | |
| LOW | service/server/services.py | 7 | CODE | |
| LOW | service/server/services.py | 11 | CODE | |
| LOW | service/server/research_exports.py | 3 | CODE | |
| LOW | service/server/team_missions.py | 3 | CODE | |
| LOW | service/server/routes_research.py | 3 | CODE | |
| LOW | service/server/database.py | 7 | CODE | |
| LOW | service/server/challenge_scoring.py | 3 | CODE | |
| LOW | service/server/cache.py | 7 | CODE | |
| LOW | service/server/experiment_events.py | 3 | CODE | |
| LOW | service/server/signal_quality.py | 3 | CODE | |
| LOW | service/server/routes_agent.py | 23 | CODE | |
| LOW | service/server/routes_experiments.py | 3 | CODE | |
| LOW | service/server/team_scoring.py | 3 | CODE | |
| LOW | service/server/experiments.py | 3 | CODE | |
| LOW | service/server/utils.py | 10 | CODE | |
| LOW | service/server/utils.py | 12 | CODE | |
| LOW | service/server/utils.py | 12 | CODE | |
| LOW | service/server/permissions.py | 3 | CODE | |
| LOW | service/server/rewards.py | 3 | CODE | |
| LOW | service/server/main.py | 14 | CODE | |
| LOW | service/server/routes_challenges.py | 3 | CODE | |
| LOW | service/server/routes_team_missions.py | 3 | CODE | |
| LOW | service/server/market_intel.py | 10 | CODE | |
| LOW | service/server/team_matching.py | 3 | CODE | |
| LOW | service/server/challenges.py | 3 | CODE | |
| LOW | service/server/tests/test_user_auth_security.py | 3 | CODE | |
| LOW | service/server/tests/test_user_auth_security.py | 4 | CODE | |
| LOW | service/server/scripts/migrate_sqlite_to_postgres.py | 9 | CODE | |
| LOW | service/server/scripts/cleanup_dirty_trade_data.py | 18 | CODE | |
| LOW | service/server/scripts/cleanup_dirty_trade_data.py | 23 | CODE | |
| LOW | service/server/scripts/repair_market_alias_positions.py | 11 | CODE | |
| LOW | service/server/scripts/repair_market_alias_positions.py | 17 | CODE | |
| LOW | service/server/scripts/repair_challenge_trade_prices.py | 11 | CODE | |
| LOW | service/server/scripts/monthly_challenges.py | 9 | CODE | |
| LOW | …e/server/scripts/repair_challenge_polymarket_trades.py | 9 | CODE | |
| LOW | …rvice/server/scripts/send_read_conversion_reminders.py | 4 | CODE | |
| LOW | service/server/scripts/manage_leaderboard_exclusions.py | 15 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | service/server/experiment_metrics.py | 171 | CODE | |
| LOW | service/server/routes_signals.py | 105 | CODE | |
| LOW | service/server/routes_signals.py | 107 | CODE | |
| LOW | service/server/routes_signals.py | 830 | CODE | |
| LOW | service/server/routes_shared.py | 274 | CODE | |
| LOW | service/server/routes_shared.py | 658 | CODE | |
| LOW | service/server/experiment_notifications.py | 621 | CODE | |
| LOW | service/server/services.py | 190 | CODE | |
| LOW | service/server/research_exports.py | 228 | CODE | |
| LOW | service/server/research_exports.py | 1277 | CODE | |
| LOW | service/server/tasks.py | 63 | CODE | |
| LOW | service/server/tasks.py | 239 | CODE | |
| LOW | service/server/tasks.py | 468 | CODE | |
| LOW | service/server/tasks.py | 928 | CODE | |
| LOW | service/server/team_missions.py | 1162 | CODE | |
| LOW | service/server/challenge_scoring.py | 69 | CODE | |
| LOW | service/server/routes_trading.py | 57 | CODE | |
| LOW | service/server/routes_trading.py | 68 | CODE | |
| LOW | service/server/routes_trading.py | 416 | CODE | |
| LOW | service/server/routes_agent.py | 84 | CODE | |
| LOW | service/server/routes_agent.py | 558 | CODE | |
| LOW | service/server/routes_experiments.py | 53 | CODE | |
| LOW | service/server/experiments.py | 749 | CODE | |
| LOW | service/server/price_fetcher.py | 110 | CODE | |
| LOW | service/server/price_fetcher.py | 292 | CODE | |
| LOW | service/server/price_fetcher.py | 461 | CODE | |
| LOW | service/server/price_fetcher.py | 677 | CODE | |
| LOW | service/server/price_fetcher.py | 758 | CODE | |
| LOW | service/server/price_fetcher.py | 853 | CODE | |
| LOW | service/server/rewards.py | 19 | CODE | |
| LOW | service/server/market_intel.py | 473 | CODE | |
| LOW | service/server/market_intel.py | 731 | CODE | |
| LOW | service/server/market_intel.py | 802 | CODE | |
| LOW | service/server/market_intel.py | 823 | CODE | |
| LOW | service/server/challenges.py | 96 | CODE | |
| LOW | service/server/challenges.py | 474 | CODE | |
| LOW | service/server/scripts/migrate_sqlite_to_postgres.py | 132 | CODE | |
| LOW | service/server/scripts/cleanup_dirty_trade_data.py | 311 | CODE | |
| LOW | service/server/scripts/repair_challenge_trade_prices.py | 156 | CODE | |
| LOW | service/server/scripts/repair_challenge_trade_prices.py | 298 | CODE | |
| LOW | service/server/scripts/monthly_challenges.py | 236 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | service/server/experiment_notifications.py | 123 | CODE | |
| LOW | service/server/experiment_notifications.py | 517 | CODE | |
| LOW | service/server/experiment_notifications.py | 621 | CODE | |
| LOW | service/server/research_exports.py | 1324 | CODE | |
| LOW | service/server/research_exports.py | 1377 | CODE | |
| LOW | service/server/research_exports.py | 1498 | CODE | |
| LOW | service/server/routes_research.py | 43 | CODE | |
| LOW | service/server/routes_research.py | 81 | CODE | |
| LOW | service/server/routes_research.py | 111 | CODE | |
| LOW | service/server/routes_research.py | 145 | CODE | |
| LOW | service/server/routes_research.py | 214 | CODE | |
| LOW | service/server/routes_research.py | 227 | CODE | |
| LOW | service/server/routes_research.py | 240 | CODE | |
| LOW | service/server/routes_research.py | 253 | CODE | |
| LOW | service/server/experiment_events.py | 19 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/README_AGENT.md | 11 | ### Step 1: Register (Email Required) | COMMENT |
| LOW | docs/README_AGENT.md | 30 | ### Step 2: Choose Your Mode | COMMENT |
| LOW | skills/ai4trade/SKILL.md | 97 | ### Step 1: Register Your Agent | COMMENT |
| LOW | skills/ai4trade/SKILL.md | 125 | ### Step 2: Use Token to Call APIs | COMMENT |
| LOW | skills/ai4trade/SKILL.md | 141 | ### Step 3: Choose Your Path | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | service/server/worker.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | service/server/challenge_scoring.py | 95 | def update_drawdown(equity: float) -> None: | CODE |
| LOW | service/server/main.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | service/server/scripts/repair_challenge_trade_prices.py | 247 | def update_trade_event(cursor: Any, repair: dict[str, Any]) -> None: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | service/server/scripts/fix_agent_profit.py | 6 | cd service/server && python -c " | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/README_AGENT.md | 16 | -d '{"name": "MyTradingBot", "email": "user@example.com"}' | CODE |
| LOW | docs/README_AGENT_ZH.md | 16 | -d '{"name": "MyTradingBot", "email": "user@example.com"}' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | service/server/services.py | 360 | # For now, we just return the count | STRING |