AI Slop Code RIsk Monitor

agentscope-ai/agentscope

Build and run agents you can see, understand and trust.

38.3 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for agentscope-ai/agentscope, a Python project with 33,040 GitHub stars. SynthScan examined 303,798 lines of code across 1153 source files, recording 6334 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 38.3 (High 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.

38.3
Adjusted Signal
38.3
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
33.0K
Stars
Python
Language
303.8K
Lines of Code
1.2K
Files
6.3K
Pattern Hits
2026-10-12
Scan Date
0.57
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 44.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 22.0/100 · LOW

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

Agent Over-Engineering Ratio 77.1/100 · CRITICAL

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

PR Review Velocity Impact 86.7/100 · CRITICAL

Which changes need focused human review? 6334 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 3HIGH 654MEDIUM 1314LOW 4363

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 6334 distinct pattern matches across 22 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.

Decorative Section Separators1228 hits · 3904 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/mem0_middleware_test.py199# ----------------------------------------------------------------------COMMENT
MEDIUM⚡tests/mem0_middleware_test.py201# ----------------------------------------------------------------------COMMENT
MEDIUM⚡tests/mem0_middleware_test.py276# ----------------------------------------------------------------------COMMENT
MEDIUM⚡tests/mem0_middleware_test.py278# ----------------------------------------------------------------------COMMENT
MEDIUM⚡tests/mem0_middleware_test.py844# ----------------------------------------------------------------------COMMENT
MEDIUM⚡tests/mem0_middleware_test.py846# ----------------------------------------------------------------------COMMENT
MEDIUMtests/mem0_middleware_test.py38# ----------------------------------------------------------------------COMMENT
MEDIUMtests/mem0_middleware_test.py40# ----------------------------------------------------------------------COMMENT
MEDIUMtests/mem0_middleware_test.py128# ----------------------------------------------------------------------COMMENT
MEDIUMtests/mem0_middleware_test.py130# ----------------------------------------------------------------------COMMENT
MEDIUMtests/mem0_middleware_test.py533# ----------------------------------------------------------------------COMMENT
MEDIUMtests/mem0_middleware_test.py535# ----------------------------------------------------------------------COMMENT
MEDIUMtests/model_ollama_test.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/model_ollama_test.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/model_ollama_test.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/model_ollama_test.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/model_ollama_test.py204# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/model_ollama_test.py206# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/model_ollama_test.py349# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/model_ollama_test.py351# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py210 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py212 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py264 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py266 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py376 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py378 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py456 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py458 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py961 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py963 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py1055 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py1057 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py1327 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/storage_sql_test.py1329 # ------------------------------------------------------------------COMMENT
MEDIUMtests/storage_sql_test.py587 # ------------------------------------------------------------------COMMENT
MEDIUMtests/storage_sql_test.py589 # ------------------------------------------------------------------COMMENT
MEDIUMtests/storage_sql_test.py1354 # ------------------------------------------------------------------COMMENT
MEDIUMtests/storage_sql_test.py1356 # ------------------------------------------------------------------COMMENT
MEDIUMtests/storage_sql_test.py1448 # ------------------------------------------------------------------COMMENT
MEDIUMtests/storage_sql_test.py1450 # ------------------------------------------------------------------COMMENT
MEDIUMtests/formatter_openai_chat_test.py46 # ---------------------------------------------------------------COMMENT
MEDIUMtests/formatter_openai_chat_test.py49 # ---------------------------------------------------------------COMMENT
MEDIUMtests/formatter_openai_chat_test.py110 # ---------------------------------------------------------------COMMENT
MEDIUMtests/formatter_openai_chat_test.py115 # ---------------------------------------------------------------COMMENT
MEDIUMtests/formatter_openai_chat_test.py205 # ---------------------------------------------------------------COMMENT
MEDIUMtests/formatter_openai_chat_test.py211 # ---------------------------------------------------------------COMMENT
MEDIUMtests/formatter_openai_chat_test.py283 # -------------------------------------------------------------------COMMENT
MEDIUMtests/formatter_openai_chat_test.py285 # -------------------------------------------------------------------COMMENT
MEDIUM⚡tests/formatter_openai_chat_test.py622 # -------------------------------------------------------------------COMMENT
MEDIUM⚡tests/formatter_openai_chat_test.py624 # -------------------------------------------------------------------COMMENT
MEDIUMtests/permission_engine_test.py722# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/permission_engine_test.py724# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/backend_opensandbox_test.py32# ── OpenSandbox availability check ─────────────────────────────────COMMENT
MEDIUMtests/backend_opensandbox_test.py62 # ── exec ───────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/backend_opensandbox_test.py93 # ── file I/O ───────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/backend_opensandbox_test.py113 # ── derived filesystem helpers (shell-based) ───────────────────COMMENT
MEDIUMtests/hub_router_test.py266 # ── browse ────────────────────────────────────────────────────COMMENT
MEDIUMtests/hub_router_test.py332 # ── install: MCP ──────────────────────────────────────────────COMMENT
MEDIUMtests/hub_router_test.py576 # ── workspace <-> library ─────────────────────────────────────COMMENT
MEDIUMtests/hub_router_test.py700 # ── install: skill ────────────────────────────────────────────COMMENT
1168 more matches not shown…
Hyper-Verbose Identifiers2570 hits · 2347 pts
SeverityFileLineSnippetContext
LOWtests/embedding_file_cache_test.py77 async def test_zero_limit_evicts_existing_entries_on_overwrite(CODE
LOWtests/embedding_file_cache_test.py93 async def test_rejected_write_still_enforces_file_count(self) -> None:CODE
LOWtests/embedding_file_cache_test.py135 async def test_oversized_entry_is_not_cached_and_keeps_the_cache(CODE
LOWtests/embedding_file_cache_test.py152 async def test_later_entries_are_still_cached_after_an_oversized_one(CODE
LOWtests/embedding_file_cache_test.py163 async def test_size_limit_still_evicts_the_oldest_entries(self) -> None:CODE
LOWtests/embedding_openai_test.py236 async def test_retry_on_transient_error(CODE
LOWtests/classifier_jev_test.py30 async def test_call_translates_all_question_types(CODE
LOWtests/classifier_jev_test.py172 async def test_provider_error_is_raised(self, client_cls: Any) -> None:CODE
LOWtests/classifier_jev_test.py196 async def test_incompatible_sdk_has_clear_error(self) -> None:CODE
LOW⚡tests/mem0_middleware_test.py207 def test_missing_user_id_raises(self) -> None:CODE
LOW⚡tests/mem0_middleware_test.py260 def test_client_alone_does_not_warn(self) -> None:CODE
LOW⚡tests/mem0_middleware_test.py266 def test_only_one_of_chat_or_embedding_without_config_raises(CODE
LOW⚡tests/mem0_middleware_test.py852 async def test_memory_msg_and_tool_hint_both_present(self) -> None:CODE
LOWtests/mem0_middleware_test.py146 def test_list_of_user_msgs_joined(self) -> None:CODE
LOWtests/mem0_middleware_test.py151 def test_resumption_events_return_none(self) -> None:CODE
LOWtests/mem0_middleware_test.py186 def test_plain_list_of_strings(self) -> None:CODE
LOWtests/mem0_middleware_test.py223 def test_neither_client_nor_models_nor_config_raises(self) -> None:CODE
LOWtests/mem0_middleware_test.py231 def test_client_wins_over_other_backend_kwargs_with_warning(CODE
LOWtests/mem0_middleware_test.py304 async def test_retrieve_inject_write(self) -> None:CODE
LOWtests/mem0_middleware_test.py380 async def test_memory_message_lands_after_user_message(self) -> None:CODE
LOWtests/mem0_middleware_test.py415 async def test_no_memories_no_injection(self) -> None:CODE
LOWtests/mem0_middleware_test.py434 async def test_search_failure_does_not_break_reply(self) -> None:CODE
LOWtests/mem0_middleware_test.py451 async def test_scope_search_by_agent_false_drops_agent_id(CODE
LOWtests/mem0_middleware_test.py470 async def test_sync_client_rejected(self) -> None:CODE
LOWtests/mem0_middleware_test.py490 async def test_async_method_wrapped_by_sync_decorator_accepted(CODE
LOWtests/mem0_middleware_test.py567 async def test_tools_listed_and_hint_in_prompt(self) -> None:CODE
LOWtests/mem0_middleware_test.py607 async def test_middleware_does_not_mutate_toolkit(self) -> None:CODE
LOWtests/mem0_middleware_test.py675 async def test_async_search_accepts_per_call_top_k(self) -> None:CODE
LOWtests/mem0_middleware_test.py695 async def test_tools_auto_allow_permission(self) -> None:CODE
LOWtests/mem0_middleware_test.py714 async def test_search_memory_dedupes_across_keywords(self) -> None:CODE
LOWtests/mem0_middleware_test.py736 async def test_search_memory_failure_returns_error_chunk(self) -> None:CODE
LOWtests/mem0_middleware_test.py757 async def test_add_memory_two_tier_fallback(self) -> None:CODE
LOWtests/mem0_middleware_test.py811 async def test_add_memory_does_not_persist_thinking(self) -> None:CODE
LOW⚡tests/tui_test.py418 def test_diff_stats_counts_lines_starting_with_a_marker(self) -> None:CODE
LOW⚡tests/tui_test.py425 async def test_submission_does_not_append_history(self) -> None:CODE
LOW⚡tests/tui_test.py432 async def test_visual_layout_at_supported_terminal_sizes(self) -> None:CODE
LOWtests/tui_test.py112 async def test_update_message_only_compares_the_target(self) -> None:CODE
LOWtests/tui_test.py145 async def test_streaming_delta_does_not_reorder_blocks(self) -> None:CODE
LOWtests/tui_test.py177 async def test_rebuilt_tool_group_keeps_its_place(self) -> None:CODE
LOWtests/tui_test.py222 async def test_mutated_snapshot_preserves_existing_widgets(self) -> None:CODE
LOWtests/tui_test.py251 async def test_snapshot_keeps_expanded_thinking_when_text_changes(CODE
LOWtests/tui_test.py276 async def test_running_thinking_updates_elapsed_title(self) -> None:CODE
LOWtests/tui_test.py297 async def test_hint_uses_shared_disclosure_arrows(self) -> None:CODE
LOWtests/tui_test.py312 async def test_full_snapshot_keeps_unchanged_message_widget(self) -> None:CODE
LOWtests/tui_test.py330 async def test_interleaved_reply_events_are_isolated_by_reply_id(CODE
LOWtests/tui_test.py382 async def test_streaming_text_updates_only_its_block(self) -> None:CODE
LOWtests/tui_test.py561 async def test_running_reply_keeps_composer_available(self) -> None:CODE
LOWtests/tui_test.py593 async def test_ctrl_c_interrupts_running_reply(self) -> None:CODE
LOWtests/tui_test.py622 async def test_explicit_input_disable(self) -> None:CODE
LOWtests/tui_test.py631 async def test_shift_enter_inserts_newline_before_submit(self) -> None:CODE
LOWtests/tui_test.py650 async def test_composer_growth_stops_at_hidden_scroll_cap(self) -> None:CODE
LOWtests/tui_test.py667 async def test_hitl_uses_keyboard_selection_and_restores_draft(CODE
LOWtests/tui_test.py762 async def test_next_hitl_request_keeps_keyboard_focus(self) -> None:CODE
LOWtests/tui_test.py805 async def test_permission_rules_are_embedded_in_always_option(CODE
LOWtests/tui_test.py841 async def test_external_execution_waiting_replaces_composer(self) -> None:CODE
LOWtests/tui_test.py888 async def test_ask_user_collects_schema_valid_answers(self) -> None:CODE
LOWtests/tui_test.py994 async def test_ask_user_accepts_other_text(self) -> None:CODE
LOWtests/tui_test.py1043 async def test_invalid_ask_user_input_returns_error_result(self) -> None:CODE
LOWtests/tui_test.py1079 async def test_edit_tool_uses_authoritative_diff_stats(self) -> None:CODE
LOWtests/tui_test.py1132 async def test_edit_shows_diff_and_read_shows_only_result(self) -> None:CODE
2510 more matches not shown…
Cross-File Repetition383 hits · 1915 pts
SeverityFileLineSnippetContext
HIGHtests/service_cancel_dispatcher_test.py0yield the event loop a few times so spawned tasks make progress.STRING
HIGHtests/service_index_task_consumer_test.py0yield the event loop a few times so spawned tasks make progress.STRING
HIGHtests/service_wakeup_dispatcher_test.py0yield the event loop a few times so spawned tasks make progress.STRING
HIGHtests/model_ollama_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/model_anthropic_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/model_gemini_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/model_dashscope_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/model_volcengine_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/model_deepseek_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/model_openai_response_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/model_moonshot_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/model_openai_chat_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/model_xai_test.py0non-stream text response returns a single chatresponse.STRING
HIGHtests/formatter_openai_chat_test.py0set up shared message fixtures and expected ground-truth dicts.STRING
HIGHtests/formatter_anthropic_test.py0set up shared message fixtures and expected ground-truth dicts.STRING
HIGHtests/formatter_gemini_test.py0set up shared message fixtures and expected ground-truth dicts.STRING
HIGHtests/formatter_dashscope_test.py0set up shared message fixtures and expected ground-truth dicts.STRING
HIGHtests/formatter_moonshot_test.py0set up shared message fixtures and expected ground-truth dicts.STRING
HIGHtests/formatter_openai_response_test.py0set up shared message fixtures and expected ground-truth dicts.STRING
HIGHtests/formatter_openai_chat_test.py0chat formatter produces exact output for various subsets.STRING
HIGHtests/formatter_ollama_test.py0chat formatter produces exact output for various subsets.STRING
HIGHtests/formatter_deepseek_test.py0chat formatter produces exact output for various subsets.STRING
HIGHtests/formatter_anthropic_test.py0chat formatter produces exact output for various subsets.STRING
HIGHtests/formatter_gemini_test.py0chat formatter produces exact output for various subsets.STRING
HIGHtests/formatter_dashscope_test.py0chat formatter produces exact output for various subsets.STRING
HIGHtests/formatter_volcengine_test.py0chat formatter produces exact output for various subsets.STRING
HIGHtests/formatter_moonshot_test.py0chat formatter produces exact output for various subsets.STRING
HIGHtests/formatter_openai_response_test.py0chat formatter produces exact output for various subsets.STRING
HIGHtests/formatter_openai_chat_test.py0multiagent formatter produces exact output for various subsets.STRING
HIGHtests/formatter_ollama_test.py0multiagent formatter produces exact output for various subsets.STRING
HIGHtests/formatter_deepseek_test.py0multiagent formatter produces exact output for various subsets.STRING
HIGHtests/formatter_anthropic_test.py0multiagent formatter produces exact output for various subsets.STRING
HIGHtests/formatter_gemini_test.py0multiagent formatter produces exact output for various subsets.STRING
HIGHtests/formatter_dashscope_test.py0multiagent formatter produces exact output for various subsets.STRING
HIGHtests/formatter_volcengine_test.py0multiagent formatter produces exact output for various subsets.STRING
HIGHtests/formatter_moonshot_test.py0multiagent formatter produces exact output for various subsets.STRING
HIGHtests/formatter_openai_response_test.py0multiagent formatter produces exact output for various subsets.STRING
HIGHtests/formatter_openai_chat_test.py0complex multi-step sequence with interleaved thinking, text, tool calls, and tool results.STRING
HIGHtests/formatter_ollama_test.py0complex multi-step sequence with interleaved thinking, text, tool calls, and tool results.STRING
HIGHtests/formatter_xai_test.py0complex multi-step sequence with interleaved thinking, text, tool calls, and tool results.STRING
HIGHtests/formatter_deepseek_test.py0complex multi-step sequence with interleaved thinking, text, tool calls, and tool results.STRING
HIGHtests/formatter_anthropic_test.py0complex multi-step sequence with interleaved thinking, text, tool calls, and tool results.STRING
HIGHtests/formatter_gemini_test.py0complex multi-step sequence with interleaved thinking, text, tool calls, and tool results.STRING
HIGHtests/formatter_volcengine_test.py0complex multi-step sequence with interleaved thinking, text, tool calls, and tool results.STRING
HIGHtests/formatter_moonshot_test.py0complex multi-step sequence with interleaved thinking, text, tool calls, and tool results.STRING
HIGHtests/formatter_openai_response_test.py0complex multi-step sequence with interleaved thinking, text, tool calls, and tool results.STRING
HIGHtests/formatter_openai_chat_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_ollama_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_xai_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_deepseek_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_anthropic_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_gemini_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_dashscope_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_volcengine_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_moonshot_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_openai_response_test.py0hintblock flushes preceding content and becomes a user message.STRING
HIGHtests/formatter_openai_chat_test.py0multimodal hintblock becomes a single user message with text + image.STRING
HIGHtests/formatter_anthropic_test.py0multimodal hintblock becomes a single user message with text + image.STRING
HIGHtests/formatter_gemini_test.py0multimodal hintblock becomes a single user message with text + image.STRING
HIGHtests/formatter_dashscope_test.py0multimodal hintblock becomes a single user message with text + image.STRING
323 more matches not shown…
Unused Imports999 hits · 896 pts
SeverityFileLineSnippetContext
LOWtests/tool_lazy_annotations_test.py9CODE
LOWtests/rag_vdb_elasticsearch_test.py4CODE
LOWtests/workspace_bubblewrap_test.py5CODE
LOWtests/tts_gemini_test.py79CODE
LOWtests/service_workspace_files_test.py9CODE
LOWtests/a2a_agent_e2e_test.py5CODE
LOWtests/rag_vdb_mongodb_test.py4CODE
LOWsrc/agentscope/__init__.py5CODE
LOWsrc/agentscope/__init__.py5CODE
LOWsrc/agentscope/__init__.py9CODE
LOWsrc/agentscope/__init__.py9CODE
LOWsrc/agentscope/__init__.py10CODE
LOWsrc/agentscope/middleware/_base.py8CODE
LOWsrc/agentscope/middleware/_base.py9CODE
LOWsrc/agentscope/middleware/_base.py10CODE
LOWsrc/agentscope/middleware/_tts_middleware.py18CODE
LOWsrc/agentscope/middleware/_model_router.py15CODE
LOWsrc/agentscope/middleware/__init__.py4CODE
LOWsrc/agentscope/middleware/__init__.py5CODE
LOWsrc/agentscope/middleware/__init__.py6CODE
LOWsrc/agentscope/middleware/__init__.py7CODE
LOWsrc/agentscope/middleware/__init__.py7CODE
LOWsrc/agentscope/middleware/__init__.py7CODE
LOWsrc/agentscope/middleware/__init__.py12CODE
LOWsrc/agentscope/middleware/__init__.py13CODE
LOWsrc/agentscope/middleware/__init__.py14CODE
LOWsrc/agentscope/middleware/__init__.py14CODE
LOWsrc/agentscope/middleware/_rag.py67CODE
LOWsrc/agentscope/middleware/_rag.py68CODE
LOWsrc/agentscope/middleware/_rag.py69CODE
LOWsrc/agentscope/middleware/_rag.py69CODE
LOWsrc/agentscope/middleware/_budget.py12CODE
LOWsrc/agentscope/middleware/_longterm_memory/__init__.py4CODE
LOWsrc/agentscope/middleware/_longterm_memory/__init__.py5CODE
LOWsrc/agentscope/middleware/_longterm_memory/__init__.py6CODE
LOW…iddleware/_longterm_memory/_agentic_memory/__init__.py4CODE
LOW…leware/_longterm_memory/_agentic_memory/_middleware.py8CODE
LOW…leware/_longterm_memory/_agentic_memory/_middleware.py25CODE
LOW…ddleware/_longterm_memory/_mem0/_agentscope_adapter.py32CODE
LOW…ddleware/_longterm_memory/_mem0/_agentscope_adapter.py55CODE
LOW…agentscope/middleware/_longterm_memory/_mem0/_tools.py19CODE
LOW…agentscope/middleware/_longterm_memory/_mem0/_tools.py29CODE
LOW…entscope/middleware/_longterm_memory/_mem0/__init__.py4CODE
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py13CODE
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py40CODE
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py41CODE
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py42CODE
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py43CODE
LOW…agentscope/middleware/_longterm_memory/_mem0/_utils.py8CODE
LOW…agentscope/middleware/_longterm_memory/_reme/_tools.py16CODE
LOW…agentscope/middleware/_longterm_memory/_reme/_tools.py25CODE
LOW…entscope/middleware/_longterm_memory/_reme/__init__.py12CODE
LOW…scope/middleware/_longterm_memory/_reme/_middleware.py33CODE
LOW…scope/middleware/_longterm_memory/_reme/_middleware.py56CODE
LOW…scope/middleware/_longterm_memory/_reme/_middleware.py57CODE
LOW…gentscope/middleware/_longterm_memory/_reme/_config.py15CODE
LOW…agentscope/middleware/_longterm_memory/_reme/_utils.py8CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py15CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py22CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py23CODE
939 more matches not shown…
Docstring Block Structure119 hits · 595 pts
SeverityFileLineSnippetContext
HIGHsrc/agentscope/_utils/_mixin.py11Get a dictionary item through attribute-style access. Args: key (`str`): The requesSTRING
HIGHsrc/agentscope/_utils/_common.py99The given json_str maybe incomplete, e.g. '{"key', or carry arguments whose types don't match the schema, e.g. '{"n"STRING
HIGHsrc/agentscope/app/deps.py41Return the caller's user ID from the ``X-User-ID`` request header. Args: x_user_id (`str`): Value of the ``STRING
HIGHsrc/agentscope/app/deps.py251Return the application-wide knowledge base service. Args: request (`Request`): The incoming FasSTRING
HIGHsrc/agentscope/app/deps.py282Return the application-wide knowledge base manager. Args: request (`Request`): The incoming FasSTRING
HIGHsrc/agentscope/app/deps.py310Return the application-wide blob store. Args: request (`Request`): The incoming FastAPI requestSTRING
HIGHsrc/agentscope/app/deps.py341Return the parser registry configured on the app. Args: request (`Request`): The incoming FastASTRING
HIGHsrc/agentscope/app/deps.py372Return the chunker classes configured on the app. Args: request (`Request`): The incoming FastASTRING
HIGHsrc/agentscope/app/_app.py62Key the hubs by id, rejecting duplicates. Args: hubs (`list | None`): The hubs passed to :func:STRING
HIGHsrc/agentscope/app/middleware/_protocol/_base.py201Deserialize event dictionary to AgentEvent object. Args: event_dict: Dictionary containing event daSTRING
HIGHsrc/agentscope/app/_router/_channel.py97Load a channel and assert the caller owns it. Args: channel_id (`str`): The channel to load. user_iSTRING
HIGHsrc/agentscope/app/_router/_chat.py61Trigger a chat run for the specified session. Events produced during the run are published to the message bus and STRING
HIGHsrc/agentscope/app/_router/_session.py201Return all sessions for an agent as enriched :class:`SessionView` entries. Each entry bundles what the chat UI STRING
HIGHsrc/agentscope/app/_router/_session.py301Create (or resume) a session for a given agent and workspace. At most one session exists per ``(user_id, agent_id, STRING
HIGHsrc/agentscope/app/_router/_session.py432Request interruption of an in-progress reply for a session. Thin HTTP wrapper around :meth:`ChatService.interrupt`;STRING
HIGHsrc/agentscope/app/_router/_session.py475Update the configuration of an existing session. Rejected while a chat run holds the session: the agent snapshots STRING
HIGHsrc/agentscope/app/_router/_session.py701Return the unified :class:`SessionStatus` for a session. Ownership validation, cluster-liveness probing, and parkedSTRING
HIGHsrc/agentscope/app/_router/_credential.py120Replace the payload of an existing credential. Args: credential_id (`str`): The credential to update. STRING
HIGHsrc/agentscope/app/_router/_hub.py40Return the hub under ``hub_id`` or raise 404. Args: hubs (`dict[str, HubT]`): The registered huSTRING
HIGHsrc/agentscope/app/_router/_agent.py180Create and persist a new agent configuration. Args: body (`CreateAgentRequest`): Agent configurSTRING
HIGHsrc/agentscope/app/_router/_agent.py226Partially update an existing agent configuration. Only the fields present in the request body are updated; all otheSTRING
HIGHsrc/agentscope/app/_router/_sop.py126Store a new procedure. Args: body (`CreateSOPRequest`): The procedure to store. user_idSTRING
HIGHsrc/agentscope/app/_router/_sop.py255Answer a step that was waiting on a person. Returns once the verdict is recorded; the run carries on in the bacSTRING
HIGHsrc/agentscope/app/_router/_sop.py339Rewrite a procedure; runs keep the copy they started with. Args: sop_id (`str`): The procedure STRING
HIGHsrc/agentscope/app/_router/_schedule.py74Create a new schedule and hand it to the scheduler. The referenced agent may be either the viewer's own or one sharSTRING
HIGHsrc/agentscope/app/_router/_schedule.py153Partially update a schedule. Fields omitted from the request body keep their current values. Changing ``cron_exSTRING
HIGHsrc/agentscope/app/_router/_schedule.py248Return all sessions triggered by a given schedule. Args: schedule_id (`str`): ID of the schedule. uSTRING
HIGHsrc/agentscope/app/_service/_download_token.py62Return the user a token was granted to, for this path. The path is not read out of the token but re-derived from thSTRING
HIGHsrc/agentscope/app/_service/_knowledge_base.py128Delegate creation to the manager, mapping policy errors. Args: user_id (`str`): TheSTRING
HIGHsrc/agentscope/app/_service/_knowledge_base.py370Persist an uploaded document and enqueue it for indexing. Streams ``stream`` into the blob store (so the bytes STRING
HIGHsrc/agentscope/app/_service/_knowledge_base.py459List documents of a knowledge base, filtered and paginated. Service-mode source of truth: reads from storage, NSTRING
HIGHsrc/agentscope/app/_service/_knowledge_base.py530Batch-fetch documents for status polling. The endpoint backing this method accepts a comma-separated list STRING
HIGHsrc/agentscope/app/_service/_knowledge_base.py577Fetch one document record, or 404. Args: user_id (`str`): The viewer user id — owneSTRING
HIGHsrc/agentscope/app/_service/_knowledge_base.py621List one page of a document's chunks in ``chunk_index`` order. ``page`` / ``page_size`` translate to the dense-STRING
HIGHsrc/agentscope/app/_service/_knowledge_base.py682Open the original uploaded file of a document for streaming. The bytes come straight from the blob store — the STRING
HIGHsrc/agentscope/app/_service/_knowledge_base.py814Search a knowledge base by text query. Args: user_id (`str`): The viewer user id — STRING
HIGHsrc/agentscope/app/_service/_embedding.py29Construct an embedding model from an already-resolved credential. This is the record-in variant used by owner-interSTRING
HIGHsrc/agentscope/app/_service/_embedding.py100Resolve a credential through :class:`ResourceAccessService` and build the corresponding embedding model. Args: STRING
HIGHsrc/agentscope/app/_service/_workspace.py200Return the workspace backing a session. Args: user_id (`str`): The authenticated user ID. STRING
HIGHsrc/agentscope/app/_service/_workspace.py226Report where a session sits and the git state of that place. Args: user_id (`str`): The authenticatSTRING
HIGHsrc/agentscope/app/_service/_workspace.py261Load a session and open the workspace it is bound to. Args: user_id (`str`): The authenticated userSTRING
HIGHsrc/agentscope/app/_service/_workspace.py325Return the user a token was granted to, for this path. The path is not read out of the token but re-derived froSTRING
HIGHsrc/agentscope/app/_service/_workspace.py352Check a manifest and return the skill's root directory name. Args: manifest (`UploadManifest`): TheSTRING
HIGHsrc/agentscope/app/_service/_workspace.py448Emit a tar of the uploaded files, chunk by chunk. Args: manifest (`UploadManifest`): The validated STRING
HIGHsrc/agentscope/app/_service/_mcp_render.py108Turn a card plus the user's answers into a connectable client. Args: card (`MCPCard`): The hub STRING
HIGHsrc/agentscope/app/_service/_credential_binding.py93Open a session and return where the operator must go. Args: user_id (`str`): The operator; only theSTRING
HIGHsrc/agentscope/app/_service/_credential_binding.py131Report the session, advancing it by one step when due. Args: user_id (`str`): Must own the session.STRING
HIGHsrc/agentscope/app/_service/_credential_binding.py244Take the credentials, consuming the session. Args: user_id (`str`): Must own the session. STRING
HIGHsrc/agentscope/app/_service/_credential_binding.py286Resolve a channel type's binding provider. Args: channel_type (`str`): The platform type. STRING
HIGHsrc/agentscope/app/_service/_credential_binding.py317Read a session, returning the raw value for compare-and-set. Args: user_id (`str`): The caller. STRING
HIGHsrc/agentscope/app/_service/_sop.py308Open a run with all of its sessions created up front. Args: user_id (`str`): The owSTRING
HIGHsrc/agentscope/app/_service/_sop.py522File a person's verdict on a step waiting for one. Under the run's lock, so an advance cannot overwrite it. STRING
HIGHsrc/agentscope/app/_service/_sop.py585Carry a run on until it finishes, fails, or waits on someone. Args: user_id (`str`): STRING
HIGHsrc/agentscope/app/_service/_model.py16Build a chat model instance from a stored credential and config. Credentials are resolved through :class:`ResourceASTRING
HIGHsrc/agentscope/app/_service/_model.py84Build a realtime model from a stored credential and config. Args: user_id (`str`): The viewer's user id. STRING
HIGHsrc/agentscope/app/_manager/_chat_run_registry.py43Create and register an asyncio task that runs ``coro``. The task auto-removes from the registry when it finisheSTRING
HIGH…entscope/app/_manager/_scheduler/_scheduler_manager.py333Build the record's cron trigger, rejecting a bad schedule. Writers call this before persisting so an invalid scSTRING
HIGHsrc/agentscope/app/rag/__init__.py51Lazy-load attributes that would cause an import cycle. ``run_worker`` is lazy-imported because :mod:`.index_worker`STRING
HIGHsrc/agentscope/app/rag/index_worker/__main__.py54Import ``module:attribute`` and return the attribute. Args: dotted (`str`): A ``module:attributSTRING
HIGHsrc/agentscope/app/rag/knowledge_base_manager/_base.py133Create a new knowledge base for the given user. Implementations must: 1. validate ``embedding_model_coSTRING
59 more matches not shown…
Cross-Language Confusion88 hits · 551 pts
SeverityFileLineSnippetContext
HIGH⚡tests/builtin_bash_test.py584 "ls && rm -rf /",CODE
HIGH⚡tests/builtin_bash_test.py585 "cd /tmp && rm -rf /usr",CODE
HIGHtests/builtin_bash_test.py245 cmd = "(cd /tmp && ls)"CODE
HIGH⚡tests/permission_engine_test.py599 {"command": "ls -la && rm ~/.bashrc"},CODE
HIGH⚡tests/permission_engine_test.py611 {"command": "ls -la && cat file.txt"},CODE
HIGH⚡tests/permission_engine_test.py622 {"command": "ls -la && git commit -m 'test'"},CODE
HIGHtests/mcp_streamable_http_client_test.py144 "meta": null,STRING
HIGHtests/model_gemini_test.py841 """additionalProperties removed; anyOf[X, null] inlined to X."""STRING
HIGH⚡tests/workspace_local_test.py1302 '"finished_at":null},'CODE
HIGH⚡tests/workspace_local_test.py1305 '"created_at":"2026-01-01T00:00:00","finished_at":null}'CODE
HIGH⚡tests/workspace_local_test.py1308 '"usage":null,'CODE
HIGH⚡tests/workspace_local_test.py1310 '"finished_reason":null,"structured_output":null,'CODE
HIGH⚡tests/workspace_local_test.py1311 '"error":null}'CODE
HIGH⚡tests/workspace_local_test.py1362 '"usage":null,'CODE
HIGH⚡tests/workspace_local_test.py1363 '"finished_at":null,'CODE
HIGH⚡tests/workspace_local_test.py1364 '"finished_reason":null,"structured_output":null,'CODE
HIGH⚡tests/workspace_local_test.py1365 '"error":null}'CODE
HIGH⚡tests/workspace_local_test.py1371 '"created_at":"2026-01-02T00:00:00","finished_at":null}'CODE
HIGH⚡tests/workspace_local_test.py1374 '"usage":null,'CODE
HIGH⚡tests/workspace_local_test.py1376 '"finished_reason":null,"structured_output":null,'CODE
HIGH⚡tests/workspace_local_test.py1377 '"error":null}'CODE
HIGHtests/backend_local_test.py434 ["/bin/sh", "-c", "true && echo chained"],CODE
HIGH⚡tests/tts_dashscope_test.py182 resp = await model.push("ignored")CODE
HIGH⚡tests/tts_dashscope_test.py728 await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py729 await model.push(" world")CODE
HIGH⚡tests/tts_dashscope_test.py755 res = await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py765 await model.push("Hi")CODE
HIGH⚡tests/tts_dashscope_test.py766 await model.push(" there")CODE
HIGH⚡tests/tts_dashscope_test.py770 await model.push(" friend!")CODE
HIGH⚡tests/tts_dashscope_test.py780 await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py783 await model.push(" world")CODE
HIGH⚡tests/tts_dashscope_test.py794 await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py795 await model.push(" world")CODE
HIGH⚡tests/tts_dashscope_test.py839 await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py870 await model.push("Hi")CODE
HIGH⚡tests/tts_dashscope_test.py871 await model.push(" there")CODE
HIGH⚡tests/tts_dashscope_test.py1137 await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py1138 await model.push(" world")CODE
HIGH⚡tests/tts_dashscope_test.py1163 res = await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py1176 await model.push("Hi")CODE
HIGH⚡tests/tts_dashscope_test.py1177 await model.push(" there")CODE
HIGH⚡tests/tts_dashscope_test.py1181 await model.push(" friend!")CODE
HIGH⚡tests/tts_dashscope_test.py1194 await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py1199 await model.push(" world")CODE
HIGH⚡tests/tts_dashscope_test.py1215 await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py1216 await model.push(" world")CODE
HIGH⚡tests/tts_dashscope_test.py1228 res = await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py1273 await model.push("Hello")CODE
HIGH⚡tests/tts_dashscope_test.py1330 await model.push("Hi")CODE
HIGH⚡tests/tts_dashscope_test.py1331 await model.push(" there")CODE
HIGHtests/tts_dashscope_test.py821 await model.push("Hello")CODE
HIGHtests/tts_dashscope_test.py1254 await model.push("Hello")CODE
HIGH⚡tests/backend_applecontainer_test.py95 ["sh", "-c", "echo hello && echo world"],CODE
HIGH⚡tests/backend_applecontainer_test.py98 self.assertEqual(argv[-3:], ["sh", "-c", "echo hello && echo world"])CODE
HIGH⚡tests/permission_bash_parser_test.py86 "npm install && npm run build && npm test",CODE
HIGH⚡tests/permission_bash_parser_test.py100 ("npm run build || echo failed", ["npm run"]),CODE
HIGH⚡tests/permission_bash_parser_test.py101 ("git commit || git status", ["git commit", "git status"]),CODE
HIGH⚡tests/permission_bash_parser_test.py363 "ls -la && cat file.txt",CODE
HIGH⚡tests/permission_bash_parser_test.py364 "git status && git log",CODE
HIGH⚡tests/permission_bash_parser_test.py365 "pwd && ls",CODE
28 more matches not shown…
Empty Error Handlers64 hits · 320 pts
SeverityFileLineSnippetContext
HIGHtests/channel_credential_binding_test.py81except (TimeoutError, asyncio.BrokenBarrierError):CODE
HIGHtests/test_e2e_api.py90except Exception:CODE
HIGHtests/_daytona_live_utils.py46except Exception:CODE
HIGHtests/agent_interrupt_test.py267except asyncio.CancelledError:CODE
HIGHexamples/long_term_memory/mem0/oss_demo.py172except FileNotFoundError:CODE
HIGHsrc/agentscope/_utils/_common.py183except Exception:CODE
HIGH…leware/_longterm_memory/_agentic_memory/_middleware.py630except (asyncio.CancelledError, Exception): # noqa: BLE001CODE
HIGH…scope/middleware/_longterm_memory/_reme/_middleware.py362except (asyncio.CancelledError, Exception): # noqa: BLE001CODE
HIGHsrc/agentscope/app/message_bus/_redis_message_bus.py690except asyncio.CancelledError:CODE
HIGHsrc/agentscope/app/message_bus/_redis_message_bus.py700except Exception: # pylint: disable=broad-exceptCODE
HIGHsrc/agentscope/app/_router/_session.py882except asyncio.CancelledError:CODE
HIGHsrc/agentscope/app/_router/_session.py968except asyncio.CancelledError:CODE
HIGHsrc/agentscope/app/_service/_index_sweeper.py93except asyncio.CancelledError:CODE
HIGHsrc/agentscope/app/_service/_channel.py237except Exception: # pylint: disable=broad-exceptCODE
HIGHsrc/agentscope/app/_service/_webrtc_audio_transport.py313except MediaStreamError:CODE
HIGHsrc/agentscope/app/_service/_chat.py257except (TypeError, ValueError):CODE
HIGHsrc/agentscope/app/_service/_index_task_consumer.py109except asyncio.CancelledError:CODE
HIGHsrc/agentscope/app/_manager/_cancel_dispatcher.py123except asyncio.CancelledError:CODE
HIGHsrc/agentscope/app/_manager/_background_task_manager.py324except RuntimeError:CODE
HIGHsrc/agentscope/app/_manager/_wakeup_dispatcher.py149except asyncio.CancelledError:CODE
HIGHsrc/agentscope/app/_manager/_wakeup_dispatcher.py141except asyncio.CancelledError:CODE
HIGHsrc/agentscope/app/_manager/_wakeup_dispatcher.py399except asyncio.CancelledError:CODE
HIGH…ope/app/_manager/_scheduler/_tools/_schedule_delete.py121except JobLookupError:CODE
HIGHsrc/agentscope/app/rag/index_worker/__init__.py195except NotImplementedError:CODE
HIGHsrc/agentscope/app/channel/_dispatcher.py170except (CODE
HIGHsrc/agentscope/app/channel/_stream.py58except asyncio.CancelledError:CODE
HIGHsrc/agentscope/app/channel/_stream.py121except (CODE
HIGHsrc/agentscope/app/channel/_dingtalk/_channel.py864except TimeoutError:CODE
HIGHsrc/agentscope/app/channel/_dingtalk/_openapi.py892except ValueError:CODE
HIGHsrc/agentscope/app/channel/worker/__init__.py129except NotImplementedError:CODE
HIGHsrc/agentscope/app/channel/_feishu/_channel.py268except RuntimeError:CODE
HIGH…ope/app/workspace_manager/_docker_workspace_manager.py421except (asyncio.CancelledError, Exception):CODE
HIGH…app/workspace_manager/_bubblewrap_workspace_manager.py229except (asyncio.CancelledError, Exception):CODE
HIGH…workspace_manager/_applecontainer_workspace_manager.py247except (asyncio.CancelledError, Exception):CODE
HIGH…pp/workspace_manager/_opensandbox_workspace_manager.py308except (asyncio.CancelledError, Exception):CODE
HIGH…tscope/app/workspace_manager/_k8s_workspace_manager.py304except (asyncio.CancelledError, Exception):CODE
HIGH…pe/app/workspace_manager/_daytona_workspace_manager.py288except (asyncio.CancelledError, Exception):CODE
HIGH…tscope/app/workspace_manager/_e2b_workspace_manager.py428except (asyncio.CancelledError, Exception):CODE
HIGHsrc/agentscope/app/hub/_skill/_claw_hub.py197except ValueError:CODE
HIGHsrc/agentscope/app/hub/_skill/_claw_hub.py206except ValueError:CODE
HIGHsrc/agentscope/app/hub/_skill/_claw_hub.py215except ValueError:CODE
HIGHsrc/agentscope/app/hub/_mcp/_github_hub.py350except ValueError:CODE
HIGHsrc/agentscope/workspace/_base.py1061except (FileNotFoundError, OSError):CODE
HIGHsrc/agentscope/workspace/_gateway_client.py752except Exception:CODE
HIGHsrc/agentscope/workspace/_gateway_client.py723except Exception:CODE
HIGHsrc/agentscope/workspace/_sandboxed_base.py225except Exception:CODE
HIGH…e/workspace/_applecontainer/_applecontainer_backend.py214except OSError:CODE
HIGHsrc/agentscope/workspace/_k8s/_k8s_workspace.py231except Exception:CODE
HIGHsrc/agentscope/workspace/_k8s/_k8s_workspace.py396except ApiException:CODE
HIGHsrc/agentscope/workspace/_k8s/_k8s_workspace.py412except ApiException:CODE
HIGHsrc/agentscope/workspace/_docker/_docker_workspace.py178except Exception:CODE
HIGHsrc/agentscope/workspace/_docker/_docker_workspace.py182except Exception:CODE
HIGHsrc/agentscope/workspace/_docker/_docker_workspace.py189except Exception:CODE
HIGHsrc/agentscope/workspace/_docker/_docker_workspace.py228except Exception:CODE
HIGHsrc/agentscope/workspace/_docker/_docker_workspace.py174except Exception:CODE
HIGHsrc/agentscope/agent/_agent.py2291except asyncio.CancelledError:CODE
HIGHsrc/agentscope/tts/_dashscope/_cosyvoice_model.py204except Exception:CODE
HIGHsrc/agentscope/tts/_dashscope/_cosyvoice_model.py212except Exception:CODE
HIGHsrc/agentscope/tts/_dashscope/_realtime_model.py292except Exception:CODE
HIGHsrc/agentscope/tts/_dashscope/_realtime_model.py299except Exception:CODE
4 more matches not shown…
Excessive Try-Catch Wrapping280 hits · 284 pts
SeverityFileLineSnippetContext
LOWtests/test_e2e_api.py51 except Exception:CODE
LOWtests/test_e2e_api.py90 except Exception:CODE
LOWtests/_daytona_live_utils.py46 except Exception:CODE
LOWscripts/model_examples/run_tests.py87 except Exception:CODE
LOWsrc/agentscope/_utils/_common.py183 except Exception:CODE
LOWsrc/agentscope/_utils/_common.py291 except Exception as e:CODE
LOWsrc/agentscope/middleware/_model_router.py135 except Exception as error:CODE
LOWsrc/agentscope/middleware/_rag.py323 except Exception as e: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/middleware/_rag.py439 except Exception as e: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/middleware/_rag.py980 except Exception: # pylint: disable=broad-exceptCODE
LOW⚡…leware/_longterm_memory/_agentic_memory/_middleware.py776 except Exception:CODE
LOW…leware/_longterm_memory/_agentic_memory/_middleware.py910 except Exception:CODE
LOW…leware/_longterm_memory/_agentic_memory/_middleware.py951 except Exception:CODE
LOW…agentscope/middleware/_longterm_memory/_mem0/_tools.py135 except Exception as e: # noqa: BLE001CODE
LOW…agentscope/middleware/_longterm_memory/_mem0/_tools.py230 except Exception as e: # noqa: BLE001CODE
MEDIUM…scope/middleware/_longterm_memory/_mem0/_middleware.py715def _bg() -> None:CODE
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py343 except Exception as e: # noqa: BLE001CODE
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py707 except Exception as e: # noqa: BLE001CODE
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py734 except Exception as e: # noqa: BLE001CODE
LOW…agentscope/middleware/_longterm_memory/_reme/_tools.py146 except Exception as e: # noqa: BLE001CODE
LOW⚡…scope/middleware/_longterm_memory/_reme/_middleware.py518 except Exception as e: # noqa: BLE001CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py167 except Exception:CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py310 except Exception:CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py434 except Exception:CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py455 except Exception:CODE
LOWsrc/agentscope/app/message_bus/_redis_message_bus.py700 except Exception: # pylint: disable=broad-exceptCODE
LOW…c/agentscope/app/middleware/_team_member_middleware.py91 except Exception: # pylint: disable=broad-exceptCODE
LOW⚡…/agentscope/app/middleware/_tool_offload_middleware.py174 except Exception as exc: # pylint: disable=broad-exceptCODE
LOW…/agentscope/app/middleware/_tool_offload_middleware.py257 except Exception: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_router/_realtime.py291 except Exception as exc:CODE
LOWsrc/agentscope/app/_router/_workspace.py87 except Exception as e:CODE
LOWsrc/agentscope/app/_router/_workspace.py187 except Exception as e:CODE
LOWsrc/agentscope/app/_router/_workspace.py373 except Exception as e: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_knowledge_base.py432 except Exception:CODE
LOWsrc/agentscope/app/_service/_knowledge_base.py898 except Exception: # noqa: BLE001 — cleanup onlyCODE
LOWsrc/agentscope/app/_service/_index_sweeper.py109 except Exception: # noqa: BLE001 — keep the loop aliveCODE
LOWsrc/agentscope/app/_service/_index_sweeper.py143 except Exception: # noqa: BLE001 — keep iteratingCODE
LOWsrc/agentscope/app/_service/_webrtc_session.py190 except Exception as exc:CODE
LOWsrc/agentscope/app/_service/_webrtc_session.py214 except Exception as exc:CODE
LOWsrc/agentscope/app/_service/_webrtc_session.py220 except Exception as exc:CODE
LOWsrc/agentscope/app/_service/_channel.py173 except Exception: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_channel.py237 except Exception: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_chat.py335 except Exception as e:CODE
LOWsrc/agentscope/app/_service/_chat.py405 except Exception as e: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_chat.py429 except Exception as e: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_chat.py573 except Exception: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_chat.py664 except Exception:CODE
LOWsrc/agentscope/app/_service/_chat.py1064 except Exception: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_chat.py1194 except Exception as e: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_chat.py1397 except Exception as e: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_chat.py1650 except Exception as e: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_session.py412 except Exception as e:CODE
LOWsrc/agentscope/app/_service/_session.py559 except Exception as e:CODE
LOWsrc/agentscope/app/_service/_session.py729 except Exception as e: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_workspace.py525 except Exception as exc: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_workspace.py552 except Exception as exc: # pylint: disable=broad-exceptCODE
LOWsrc/agentscope/app/_service/_index_worker.py310 except Exception as exc: # noqa: BLE001 — terminal error sinkCODE
LOW⚡src/agentscope/app/_service/_index_worker.py601 except Exception: # noqa: BLE001 — last-resort logCODE
LOWsrc/agentscope/app/_service/_sop.py390 except Exception:CODE
LOWsrc/agentscope/app/_service/_sop.py425 except Exception: # pylint: disable=broad-exceptCODE
220 more matches not shown…
Deep Nesting174 hits · 156 pts
SeverityFileLineSnippetContext
LOWtests/embedding_file_cache_test.py30CODE
LOWtests/embedding_file_cache_test.py93CODE
LOWtests/builtin_grep_test.py99CODE
LOWtests/model_gemini_test.py1088CODE
LOWtests/realtime_agent_test.py482CODE
LOWtests/rag_parser_test.py1245CODE
LOWtests/rag_parser_test.py1391CODE
LOWtests/rag_parser_test.py1661CODE
LOWtests/rag_parser_test.py2171CODE
LOWtests/builtin_edit_test.py88CODE
LOWtests/workspace_bubblewrap_test.py606CODE
LOWtests/pipeline_team_cleanup_test.py51CODE
LOWtests/compress_tool_result_test.py325CODE
LOWtests/compress_tool_result_test.py481CODE
LOWtests/compress_tool_result_test.py340CODE
LOWtests/compress_tool_result_test.py496CODE
LOWtests/backend_local_test.py372CODE
LOWtests/tts_dashscope_test.py236CODE
LOWtests/tts_dashscope_test.py1570CODE
LOWtests/tts_openai_test.py173CODE
LOWexamples/long_term_memory/agentic_memory/main.py115CODE
LOWexamples/long_term_memory/mem0/oss_demo.py93CODE
LOWexamples/long_term_memory/reme/reme_demo.py127CODE
LOWscripts/model_examples/run_tests.py312CODE
LOWscripts/model_examples/_utils.py15CODE
LOWsrc/agentscope/middleware/_tts_middleware.py51CODE
LOWsrc/agentscope/middleware/_rag.py236CODE
LOWsrc/agentscope/middleware/_rag.py929CODE
LOW…leware/_longterm_memory/_agentic_memory/_middleware.py709CODE
LOW…ddleware/_longterm_memory/_mem0/_agentscope_adapter.py172CODE
LOW…ddleware/_longterm_memory/_mem0/_agentscope_adapter.py191CODE
LOW…agentscope/middleware/_longterm_memory/_mem0/_utils.py55CODE
LOW…agentscope/middleware/_longterm_memory/_reme/_utils.py51CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py70CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py397CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py459CODE
LOWsrc/agentscope/middleware/_tracing/_extractor.py548CODE
LOWsrc/agentscope/middleware/_tracing/_converter.py63CODE
LOWsrc/agentscope/middleware/_tracing/_trace.py137CODE
LOWsrc/agentscope/middleware/_tracing/_utils.py15CODE
LOWsrc/agentscope/pipeline/_goal_pipeline.py93CODE
LOWsrc/agentscope/app/_router/_session.py815CODE
LOWsrc/agentscope/app/_router/_session.py865CODE
LOWsrc/agentscope/app/_service/_webrtc_session.py124CODE
LOWsrc/agentscope/app/_service/_webrtc_audio_transport.py292CODE
LOWsrc/agentscope/app/_service/_webrtc_audio_transport.py319CODE
LOWsrc/agentscope/app/_service/_chat.py786CODE
LOWsrc/agentscope/app/_service/_session.py478CODE
LOWsrc/agentscope/app/_service/_workspace.py567CODE
LOWsrc/agentscope/app/channel/_base.py429CODE
LOWsrc/agentscope/app/channel/_stream.py74CODE
LOWsrc/agentscope/app/channel/_dingtalk/_channel.py208CODE
LOWsrc/agentscope/app/channel/_dingtalk/_channel.py301CODE
LOWsrc/agentscope/app/channel/_discord/_channel.py159CODE
LOWsrc/agentscope/app/channel/_discord/_channel.py306CODE
LOWsrc/agentscope/app/channel/_feishu/_channel.py183CODE
LOWsrc/agentscope/app/channel/_feishu/_channel.py378CODE
LOWsrc/agentscope/app/channel/_feishu/_channel.py557CODE
LOWsrc/agentscope/app/channel/_feishu/_channel.py654CODE
LOWsrc/agentscope/app/hub/_skill/_claw_hub.py277CODE
114 more matches not shown…
Modern Structural Boilerplate127 hits · 128 pts
SeverityFileLineSnippetContext
LOWtests/test_e2e_api.py57def _setup_module() -> None:CODE
LOWtests/service_team_failure_report_test.py78 async def update_session_state(self, *_: object, **__: object) -> None:CODE
LOWtests/webrtc_audio_transport_test.py239 async def update_session_state(self, **kwargs: object) -> None:CODE
LOWtests/webrtc_audio_transport_test.py252 async def update_session_state(self, **kwargs: object) -> None:CODE
LOWtests/service_chat_channel_delivery_test.py147 async def update_session_state(self, *_: object, **__: object) -> None:CODE
LOWtests/service_chat_run_context_test.py65 async def update_session_state(self, *_: object, **__: object) -> None:CODE
LOWtests/backend_applecontainer_test.py303 async def _setup_container(cls) -> None:CODE
LOWsrc/agentscope/__init__.py16__all__ = [CODE
LOWsrc/agentscope/_utils/_common.py32def set_id_factory(factory: Callable[[], str]) -> None:CODE
LOWsrc/agentscope/_utils/_common.py61def set_timestamp_factory(factory: Callable[[], str]) -> None:CODE
LOWsrc/agentscope/middleware/__init__.py16__all__ = [CODE
LOWsrc/agentscope/middleware/_longterm_memory/__init__.py8__all__ = [CODE
LOW…iddleware/_longterm_memory/_agentic_memory/__init__.py6__all__ = ["AgenticMemoryMiddleware"]CODE
LOW…entscope/middleware/_longterm_memory/_mem0/__init__.py6__all__ = ["Mem0Middleware"]CODE
LOW…entscope/middleware/_longterm_memory/_reme/__init__.py14__all__ = [CODE
LOWsrc/agentscope/middleware/_tracing/__init__.py6__all__ = [CODE
LOW⚡src/agentscope/middleware/_tracing/_trace.py73def _set_span_success_status(span: "Span") -> None:CODE
LOW⚡src/agentscope/middleware/_tracing/_trace.py79def _set_span_error_status(span: "Span", e: BaseException) -> None:CODE
LOWsrc/agentscope/pipeline/__init__.py8__all__ = [CODE
LOWsrc/agentscope/credential/__init__.py19__all__ = [CODE
LOWsrc/agentscope/types/__init__.py19__all__ = [CODE
LOWsrc/agentscope/app/__init__.py9__all__ = [CODE
LOWsrc/agentscope/app/message_bus/__init__.py9__all__ = [CODE
LOWsrc/agentscope/app/middleware/__init__.py12__all__ = [CODE
LOWsrc/agentscope/app/middleware/_protocol/__init__.py7__all__ = [CODE
LOWsrc/agentscope/app/_router/__init__.py21__all__ = [CODE
LOWsrc/agentscope/app/_router/_schema/__init__.py109__all__ = [CODE
LOWsrc/agentscope/app/access/__init__.py24__all__ = [CODE
LOWsrc/agentscope/app/_service/_webrtc_session.py248 async def _set_checkpoint_cursor(self, entry_id: str) -> None:CODE
LOWsrc/agentscope/app/_service/_webrtc_audio_transport.py184 def set_input_track(self, track: MediaStreamTrack) -> None:CODE
LOWsrc/agentscope/app/_service/_webrtc_audio_transport.py193 def set_data_channel(self, channel: RTCDataChannel) -> None:CODE
LOWsrc/agentscope/app/_service/_webrtc_audio_transport.py392 def _update_playout(self, payload: dict) -> None:CODE
LOWsrc/agentscope/app/_service/__init__.py33__all__ = [CODE
LOWsrc/agentscope/app/_service/_projectors/__init__.py11__all__ = [CODE
LOWsrc/agentscope/app/_manager/__init__.py11__all__ = [CODE
LOWsrc/agentscope/app/_manager/_scheduler/__init__.py6__all__ = [CODE
LOW…/agentscope/app/_manager/_scheduler/_tools/__init__.py9__all__ = [CODE
LOWsrc/agentscope/app/rag/__init__.py79__all__ = [CODE
LOW…/agentscope/app/rag/knowledge_base_manager/__init__.py25__all__ = [CODE
LOWsrc/agentscope/app/rag/blob_store/__init__.py7__all__ = [CODE
LOWsrc/agentscope/app/storage/__init__.py86__all__ = [CODE
LOWsrc/agentscope/app/storage/_redis_storage.py207 async def _set_with_ttl(self, key: str, value: str) -> None:CODE
LOWsrc/agentscope/app/storage/_sql/__init__.py12__all__ = ["AsyncSQLAlchemyStorage"]CODE
LOWsrc/agentscope/app/storage/_model/__init__.py57__all__ = [CODE
LOWsrc/agentscope/app/channel/__init__.py34__all__ = [CODE
LOWsrc/agentscope/app/channel/_dingtalk/__init__.py6__all__ = ["DingTalkChannel"]CODE
LOWsrc/agentscope/app/channel/_dingtalk/_tools/__init__.py10__all__ = [CODE
LOWsrc/agentscope/app/channel/_tools/__init__.py8__all__ = [CODE
LOWsrc/agentscope/app/channel/_discord/__init__.py5__all__ = ["DiscordChannel"]CODE
LOWsrc/agentscope/app/channel/_feishu/__init__.py5__all__ = ["FeishuChannel"]CODE
LOWsrc/agentscope/app/channel/_feishu/_tools/__init__.py15__all__ = [CODE
LOWsrc/agentscope/app/workspace_manager/__init__.py18__all__ = [CODE
LOWsrc/agentscope/app/_tool/__init__.py41__all__ = [CODE
LOWsrc/agentscope/app/hub/__init__.py21__all__ = [CODE
LOWsrc/agentscope/app/hub/_skill/__init__.py8__all__ = [CODE
LOWsrc/agentscope/app/hub/_mcp/__init__.py8__all__ = [CODE
LOWsrc/agentscope/skill/__init__.py7__all__ = [CODE
LOWsrc/agentscope/tui/_ask_user.py358 def _update_preview(self) -> None:CODE
LOWsrc/agentscope/tui/__init__.py15__all__ = [CODE
LOW⚡src/agentscope/tui/_chat.py109 def set_enabled(self, enabled: bool) -> None:CODE
67 more matches not shown…
Self-Referential Comments37 hits · 114 pts
SeverityFileLineSnippetContext
MEDIUMtests/skill_loader_test.py22 # Create a temporary directory for testingCOMMENT
MEDIUMtests/skill_loader_test.py83 # Create a directory without SKILL.mdCOMMENT
MEDIUMtests/rag_vdb_milvus_lite_test.py79 # Creating an existing collection is a no-opCOMMENT
MEDIUMtests/builtin_grep_test.py24 # Create a temporary directory with test filesCOMMENT
MEDIUM⚡tests/builtin_file_cache_test.py148 # Create a fileCOMMENT
MEDIUM⚡tests/builtin_file_cache_test.py191 # Create a fileCOMMENT
MEDIUM⚡tests/builtin_file_cache_test.py411 # Create a fileCOMMENT
MEDIUMtests/builtin_file_cache_test.py26 # Create a temporary directoryCOMMENT
MEDIUMtests/builtin_file_cache_test.py39 # Create a fileCOMMENT
MEDIUMtests/builtin_file_cache_test.py57 # Create a fileCOMMENT
MEDIUMtests/builtin_file_cache_test.py93 # Create a fileCOMMENT
MEDIUMtests/builtin_file_cache_test.py121 # Create a fileCOMMENT
MEDIUMtests/builtin_file_cache_test.py390 # Create a fileCOMMENT
MEDIUMtests/rag_vdb_qdrant_test.py90 # Creating an existing collection is a no-opCOMMENT
MEDIUMtests/builtin_edit_test.py21 # Create a temporary file for testingCOMMENT
MEDIUMtests/task_tool_test.py312 # Create a taskCOMMENT
MEDIUMtests/task_tool_test.py388 # Create a taskCOMMENT
MEDIUMtests/task_tool_test.py443 # Create a taskCOMMENT
MEDIUMtests/task_tool_test.py498 # Create a taskCOMMENT
MEDIUMtests/task_tool_test.py627 # Create a taskCOMMENT
MEDIUMtests/task_tool_test.py682 # Create a task with initial metadataCOMMENT
MEDIUM⚡tests/workspace_local_test.py855 # Create a valid skillCOMMENT
MEDIUM⚡tests/workspace_local_test.py861 # Create an invalid skill without SKILL.mdCOMMENT
MEDIUMtests/workspace_local_test.py280 # Create a test image data (1x1 red pixel PNG)COMMENT
MEDIUMtests/workspace_local_test.py811 # Create a test skillCOMMENT
MEDIUMtests/workspace_local_test.py874 # Create an invalid skill with malformed frontmatterCOMMENT
MEDIUMtests/toolkit_skill_test.py49 # Create a minimal SKILL.md so LocalSkillLoader can load itCOMMENT
MEDIUMtests/builtin_read_test.py27 # Create a temporary file for testingCOMMENT
MEDIUMtests/rag_vdb_mongodb_test.py364 # Creating an existing collection is a no-opCOMMENT
MEDIUMtests/builtin_glob_test.py23 # Create a temporary directory with test filesCOMMENT
MEDIUMexamples/pipeline/goal/goal_pipeline.py26 # Create the executor agentCOMMENT
MEDIUMexamples/pipeline/goal/goal_pipeline.py45 # Create the verifier agentCOMMENT
MEDIUMsrc/agentscope/app/middleware/_protocol/_base.py75 # Create a new StreamingResponse with the converted streamCOMMENT
MEDIUMsrc/agentscope/workspace/_docker/_docker_workspace.py319 # Create the backend now that the container is running. AllCOMMENT
MEDIUMsrc/agentscope/agent/_agent.py2244 # Create a queue to collect events from all concurrent workers.COMMENT
MEDIUMsrc/agentscope/state/_state.py318 # Create a new assistant message with the current reply IDCOMMENT
MEDIUMsrc/agentscope/tool/_utils.py111 # Create a dynamic model with the function signatureCOMMENT
Modern AI Meta-Vocabulary35 hits · 110 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml133# ------------ RAG ------------COMMENT
MEDIUMpyproject.toml213 # RAG parser tests — used to generate PDF fixtures in-memoryCOMMENT
MEDIUMpyproject.toml239# The Alembic scaffolding for the SQL storage backend lives in theCOMMENT
MEDIUMtests/middleware_rag_test.py604 # embedding model isn't multimodal — the model only saw text.COMMENT
MEDIUMdocs/changelog.md89## RAGCOMMENT
MEDIUMexamples/rag/README.md1# RAG ExamplesCOMMENT
MEDIUMexamples/rag/integrate_with_agent.py177 # ---- Mode 2: agentic ----COMMENT
MEDIUMexamples/long_term_memory/mem0/README.md45# chat + embedding model. mem0 defaults for everything else.COMMENT
MEDIUMscripts/model_examples/README.md17├── openai_chat_multiagent.py # OpenAI Chat Completions – multi-agent conversationCODE
MEDIUM⚡scripts/model_examples/deepseek_call.py30# Example 1: Simple user message (streaming, with chain-of-thought)COMMENT
MEDIUM⚡src/agentscope/middleware/_rag.py346# Shared helpers — used by both the tool (agentic mode) and theCOMMENT
MEDIUMsrc/agentscope/middleware/_rag.py642 # Agent-driven search (agentic mode, the default)STRING
MEDIUM⚡…leware/_longterm_memory/_agentic_memory/_middleware.py766 # Cap each file to avoid flooding the context window.COMMENT
MEDIUM⚡…leware/_longterm_memory/_agentic_memory/_middleware.py779 # Truncate large files to avoid flooding the context window.COMMENT
MEDIUM⚡src/agentscope/app/_service/_chat.py1035 # (own embedding model + vector store), so the middleware canCOMMENT
MEDIUMsrc/agentscope/rag/_parser/_excel.py120 # Local import: openpyxl is an optional RAG dependency.COMMENT
MEDIUM…cope/model/_dashscope/_models/deepseek-v4.1-flash.yaml23 # Max chain-of-thought is 393216 tokens.COMMENT
MEDIUM…agentscope/model/_dashscope/_models/qwen3.6-flash.yaml25 # Max chain-of-thought is independent of max_tokens.COMMENT
MEDIUMsrc/agentscope/model/_dashscope/_models/glm-5.3.yaml17 # Max chain-of-thought is 131072 tokens.COMMENT
MEDIUM…agentscope/model/_dashscope/_models/qwen3.7-flash.yaml25 # Max chain-of-thought is independent of max_tokens.COMMENT
MEDIUM…agentscope/model/_dashscope/_models/qwen3.5-flash.yaml25 # Max chain-of-thought is independent of max_tokens.COMMENT
MEDIUM…agentscope/model/_dashscope/_models/qwen3.8-flash.yaml25 # Max chain-of-thought is 262144 tokens, independent of max_tokens.COMMENT
MEDIUM…c/agentscope/model/_dashscope/_models/qwen3.8-max.yaml25 # Max chain-of-thought is 262144 tokens, independent of max_tokens.COMMENT
MEDIUM…agentscope/model/_moonshot/_models/kimi-k2.7-code.yaml24# which shares the same context window.COMMENT
MEDIUM…/model/_moonshot/_models/kimi-k2.7-code-highspeed.yaml24# which shares the same context window.COMMENT
MEDIUM…/_volcengine/_models/doubao-seed-2-1-turbo-260628.yaml16# The official model list specifies a 256k context window and a 256kCOMMENT
MEDIUM…el/_volcengine/_models/doubao-seed-2-1-pro-260628.yaml16# The official model list specifies a 256k context window and a 256kCOMMENT
MEDIUM…el/_volcengine/_models/doubao-seed-2-1-pro-260915.yaml16# The official model list specifies a 1024k context window and a 256kCOMMENT
MEDIUMsrc/agentscope/model/_xai/_models/grok-4.6.yaml16# the context window, matching the ratio of providers that do publish one.COMMENT
MEDIUM…ope/model/_xai/_models/grok-4.20-multi-agent-0309.yaml14# the context window, matching the ratio of providers that do publish one.COMMENT
MEDIUM…e/model/_xai/_models/grok-4.20-0309-non-reasoning.yaml13# the context window, matching the ratio of providers that do publish one.COMMENT
MEDIUM…scope/model/_xai/_models/grok-4.20-0309-reasoning.yaml14# the context window, matching the ratio of providers that do publish one.COMMENT
MEDIUMsrc/agentscope/model/_xai/_models/grok-build-0.1.yaml14# the context window, matching the ratio of providers that do publish one.COMMENT
MEDIUMsrc/agentscope/model/_xai/_models/grok-4.3.yaml16# the context window, matching the ratio of providers that do publish one.COMMENT
MEDIUMsrc/agentscope/model/_xai/_models/grok-4.5.yaml16# the context window, matching the ratio of providers that do publish one.COMMENT
Verbosity Indicators50 hits · 60 pts
SeverityFileLineSnippetContext
LOWtests/middleware_budget_test.py481 # Step 1: model produces a tool call that requires confirmationCOMMENT
LOW⚡tests/service_agent_interrupt_test.py224 # Step 1: Publish interrupt (simulating API endpoint)COMMENT
LOW⚡tests/service_agent_interrupt_test.py233 # Step 2: Verify agent was interruptedCOMMENT
LOW⚡tests/service_agent_interrupt_test.py240 # Step 3: Verify chat-run task is doneCOMMENT
LOW⚡src/agentscope/agent/_agent.py1094 # Step 1: Checking agent input:COMMENT
LOW⚡src/agentscope/agent/_agent.py1101 # Step 2: Handling agent event if applicableCOMMENT
LOW⚡src/agentscope/agent/_agent.py1135 # Step 3: Enter the reasoning-acting loop until reaching max_itersCOMMENT
LOW⚡src/agentscope/agent/_agent.py1429 # Step 1: Analyze the current contextCOMMENT
LOW⚡src/agentscope/agent/_agent.py1486 # Step 2: Check Time InjectionCOMMENT
LOW⚡src/agentscope/agent/_agent.py1544 # Step 3: Check Plan TasksCOMMENT
LOW⚡src/agentscope/agent/_agent.py1557 # Step 4: Context LengthCOMMENT
LOW⚡src/agentscope/agent/_agent.py1600 # Step 5: Check Repeated Tool ErrorsCOMMENT
LOW⚡src/agentscope/agent/_agent.py2477 # Step 1: Check and parse the tool call input:COMMENT
LOW⚡src/agentscope/agent/_agent.py2519 # Step 2: Check permission by toolkit and permission engineCOMMENT
LOW⚡src/agentscope/agent/_agent.py2528 # Step 3: Handle the permission and execute the tool call if allowedCOMMENT
LOW⚡src/agentscope/agent/_agent.py2621 # Step 4: Delegate raw execution to _acting (middleware hook point)COMMENT
LOW⚡src/agentscope/agent/_agent.py2637 # Step 5: Truncate the tool result if exceedCOMMENT
LOW⚡src/agentscope/agent/_agent.py3508 # Step 1: Check executable and awaiting tool callsCOMMENT
LOW⚡src/agentscope/agent/_agent.py3551 # Step 2: Check structured output if no blocked tool callsCOMMENT
LOW⚡src/agentscope/agent/_agent.py3656 # Step 3: Exit with the final message, or continue reasoningCOMMENT
LOW⚡src/agentscope/permission/_engine.py150 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py157 # Step 2: Ask rules → ASK (with suggestions)COMMENT
LOW⚡src/agentscope/permission/_engine.py168 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py175 # Step 4: Tool's own check_permissionsCOMMENT
LOW⚡src/agentscope/permission/_engine.py194 # Step 5: Allow rules → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py201 # Step 6: Mode fallback → ASK the userCOMMENT
LOW⚡src/agentscope/permission/_engine.py248 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py255 # Step 2: Ask rules → ASK (with suggestions)COMMENT
LOW⚡src/agentscope/permission/_engine.py266 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py273 # Step 4: Tool's own check_permissionsCOMMENT
LOW⚡src/agentscope/permission/_engine.py280 # Step 5: Allow rulesCOMMENT
LOW⚡src/agentscope/permission/_engine.py286 # Step 6: Mode fallback → DENY (invocation is not read-only)COMMENT
LOW⚡src/agentscope/permission/_engine.py330 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py337 # Step 2: Ask rules → ASK (with suggestions)COMMENT
LOW⚡src/agentscope/permission/_engine.py348 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py355 # Step 4: Tool's own check_permissions (working-directory auto-allowCOMMENT
LOW⚡src/agentscope/permission/_engine.py375 # Step 5: Allow rules → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py382 # Step 6: Mode fallback → ASK the userCOMMENT
LOW⚡src/agentscope/permission/_engine.py439 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py446 # Step 2: Ask rules → ASK (honor explicit user intent to be prompted)COMMENT
LOW⚡src/agentscope/permission/_engine.py457 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py464 # Step 4: Tool's own check_permissions — ALLOW / DENY returned;COMMENT
LOW⚡src/agentscope/permission/_engine.py476 # Step 5: Allow rules → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py483 # Step 6: Mode fallback → ALLOW everything else (BYPASS)COMMENT
LOW⚡src/agentscope/permission/_engine.py530 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py537 # Step 2: Ask rules → DENY (converted; no user available to answer)COMMENT
LOW⚡src/agentscope/permission/_engine.py548 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py555 # Step 4: Tool's own check_permissionsCOMMENT
LOW⚡src/agentscope/permission/_engine.py574 # Step 5: Allow rules → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py581 # Step 6: Mode fallback → DENY (no user available to confirm)COMMENT
Structural Annotation Overuse50 hits · 60 pts
SeverityFileLineSnippetContext
LOWtests/middleware_budget_test.py481 # Step 1: model produces a tool call that requires confirmationCOMMENT
LOW⚡tests/service_agent_interrupt_test.py224 # Step 1: Publish interrupt (simulating API endpoint)COMMENT
LOW⚡tests/service_agent_interrupt_test.py233 # Step 2: Verify agent was interruptedCOMMENT
LOW⚡tests/service_agent_interrupt_test.py240 # Step 3: Verify chat-run task is doneCOMMENT
LOW⚡src/agentscope/agent/_agent.py1094 # Step 1: Checking agent input:COMMENT
LOW⚡src/agentscope/agent/_agent.py1101 # Step 2: Handling agent event if applicableCOMMENT
LOW⚡src/agentscope/agent/_agent.py1135 # Step 3: Enter the reasoning-acting loop until reaching max_itersCOMMENT
LOW⚡src/agentscope/agent/_agent.py1429 # Step 1: Analyze the current contextCOMMENT
LOW⚡src/agentscope/agent/_agent.py1486 # Step 2: Check Time InjectionCOMMENT
LOW⚡src/agentscope/agent/_agent.py1544 # Step 3: Check Plan TasksCOMMENT
LOW⚡src/agentscope/agent/_agent.py1557 # Step 4: Context LengthCOMMENT
LOW⚡src/agentscope/agent/_agent.py1600 # Step 5: Check Repeated Tool ErrorsCOMMENT
LOW⚡src/agentscope/agent/_agent.py2477 # Step 1: Check and parse the tool call input:COMMENT
LOW⚡src/agentscope/agent/_agent.py2519 # Step 2: Check permission by toolkit and permission engineCOMMENT
LOW⚡src/agentscope/agent/_agent.py2528 # Step 3: Handle the permission and execute the tool call if allowedCOMMENT
LOW⚡src/agentscope/agent/_agent.py2621 # Step 4: Delegate raw execution to _acting (middleware hook point)COMMENT
LOW⚡src/agentscope/agent/_agent.py2637 # Step 5: Truncate the tool result if exceedCOMMENT
LOW⚡src/agentscope/agent/_agent.py3508 # Step 1: Check executable and awaiting tool callsCOMMENT
LOW⚡src/agentscope/agent/_agent.py3551 # Step 2: Check structured output if no blocked tool callsCOMMENT
LOW⚡src/agentscope/agent/_agent.py3656 # Step 3: Exit with the final message, or continue reasoningCOMMENT
LOW⚡src/agentscope/permission/_engine.py150 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py157 # Step 2: Ask rules → ASK (with suggestions)COMMENT
LOW⚡src/agentscope/permission/_engine.py168 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py175 # Step 4: Tool's own check_permissionsCOMMENT
LOW⚡src/agentscope/permission/_engine.py194 # Step 5: Allow rules → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py201 # Step 6: Mode fallback → ASK the userCOMMENT
LOW⚡src/agentscope/permission/_engine.py248 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py255 # Step 2: Ask rules → ASK (with suggestions)COMMENT
LOW⚡src/agentscope/permission/_engine.py266 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py273 # Step 4: Tool's own check_permissionsCOMMENT
LOW⚡src/agentscope/permission/_engine.py280 # Step 5: Allow rulesCOMMENT
LOW⚡src/agentscope/permission/_engine.py286 # Step 6: Mode fallback → DENY (invocation is not read-only)COMMENT
LOW⚡src/agentscope/permission/_engine.py330 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py337 # Step 2: Ask rules → ASK (with suggestions)COMMENT
LOW⚡src/agentscope/permission/_engine.py348 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py355 # Step 4: Tool's own check_permissions (working-directory auto-allowCOMMENT
LOW⚡src/agentscope/permission/_engine.py375 # Step 5: Allow rules → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py382 # Step 6: Mode fallback → ASK the userCOMMENT
LOW⚡src/agentscope/permission/_engine.py439 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py446 # Step 2: Ask rules → ASK (honor explicit user intent to be prompted)COMMENT
LOW⚡src/agentscope/permission/_engine.py457 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py464 # Step 4: Tool's own check_permissions — ALLOW / DENY returned;COMMENT
LOW⚡src/agentscope/permission/_engine.py476 # Step 5: Allow rules → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py483 # Step 6: Mode fallback → ALLOW everything else (BYPASS)COMMENT
LOW⚡src/agentscope/permission/_engine.py530 # Step 1: Deny rules — highest priority (all modes)COMMENT
LOW⚡src/agentscope/permission/_engine.py537 # Step 2: Ask rules → DENY (converted; no user available to answer)COMMENT
LOW⚡src/agentscope/permission/_engine.py548 # Step 3: Read-only fast path → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py555 # Step 4: Tool's own check_permissionsCOMMENT
LOW⚡src/agentscope/permission/_engine.py574 # Step 5: Allow rules → ALLOWCOMMENT
LOW⚡src/agentscope/permission/_engine.py581 # Step 6: Mode fallback → DENY (no user available to confirm)COMMENT
Redundant / Tautological Comments34 hits · 52 pts
SeverityFileLineSnippetContext
LOW⚡tests/builtin_file_cache_test.py152 # Read the file to cache itCOMMENT
LOW⚡tests/builtin_file_cache_test.py195 # Read the file to cache itCOMMENT
LOW⚡tests/builtin_file_cache_test.py415 # Read the fileCOMMENT
LOWtests/builtin_file_cache_test.py97 # Read the file firstCOMMENT
LOWtests/builtin_file_cache_test.py125 # Read the file firstCOMMENT
LOWtests/builtin_edit_test.py144 # Write file with duplicate contentCOMMENT
LOWtests/builtin_edit_test.py159 # Write file with duplicate contentCOMMENT
LOWsrc/agentscope/skill/_local_loader.py45 # Check if SKILL.md existsCOMMENT
LOWsrc/agentscope/skill/_local_loader.py115 # Check if directory existsCOMMENT
LOWsrc/agentscope/workspace/_local_workspace.py351 # Check if SKILL.md existsCOMMENT
LOW…workspace/_applecontainer/_applecontainer_workspace.py312 # Check if the image is already available locally.COMMENT
LOW…workspace/_applecontainer/_applecontainer_workspace.py395 # Check if the container is already running.COMMENT
LOWsrc/agentscope/embedding/_dashscope/_model.py269 # Check if adding this item would exceed any limit.COMMENT
LOW⚡src/agentscope/agent/_agent.py2482 # Check if the tool is availableCOMMENT
LOWsrc/agentscope/agent/_agent.py1744 # Check if res is an async generator (streaming response)COMMENT
LOWsrc/agentscope/agent/_agent.py2978 # Check if the reserved part has tool results that don't have theCOMMENT
LOWsrc/agentscope/formatter/_gemini_formatter.py49 # Check if media type is supportedCOMMENT
LOWsrc/agentscope/formatter/_anthropic_formatter.py293 # Check if media type is supportedCOMMENT
LOWsrc/agentscope/formatter/_ollama_formatter.py49 # Check if media type is supportedCOMMENT
LOWsrc/agentscope/tool/_base.py477 # Check if filename matches dangerous files (case-insensitive)COMMENT
LOWsrc/agentscope/tool/_base.py484 # Check if any path segment matches dangerous directoriesCOMMENT
LOWsrc/agentscope/tool/_types.py131 # Check if the two definitions are from the same BaseModelCOMMENT
LOWsrc/agentscope/tool/_response.py156 # Check if the last block is also a TextBlockCOMMENT
LOWsrc/agentscope/tool/_builtin/_read.py502 # Read file content via backendCOMMENT
LOWsrc/agentscope/tool/_builtin/_write.py251 # Check if file exists, it must be read first if it existsCOMMENT
LOW⚡src/agentscope/tool/_builtin/_bash_parser.py242 # Check if base command is in safe commandsCOMMENT
LOW⚡src/agentscope/tool/_builtin/_bash_parser.py621 # Check if environment variables are safeCOMMENT
LOW⚡src/agentscope/tool/_builtin/_bash_parser.py625 # Check if the command is a safe command that doesn't need permissionCOMMENT
LOWsrc/agentscope/tool/_builtin/_bash_parser.py175 # Check if it's a compound commandCOMMENT
LOWsrc/agentscope/tool/_builtin/_bash_parser.py226 # Check if it starts with a read-only prefixCOMMENT
LOWsrc/agentscope/tool/_builtin/_bash_parser.py341 # Check if this is a file-manipulating commandCOMMENT
LOWsrc/agentscope/tool/_builtin/_bash_parser.py956 # Check if this node is a dangerous typeCOMMENT
LOWsrc/agentscope/tool/_builtin/_bash.py425 # Check if pattern is a prefix pattern (ends with :*)STRING
LOWsrc/agentscope/tool/_builtin/_bash.py430 # Check if pattern has unescaped wildcardsSTRING
Hallucination Indicators3 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALtests/embedding_gemini_test.py123 model.client.aio.models.embed_content.assert_awaited_once()CODE
CRITICAL⚡tests/tts_gemini_test.py139 self.mock_client.aio.models.generate_content.assert_not_called()CODE
CRITICAL⚡tests/tts_gemini_test.py149 self.mock_client.aio.models.generate_content.assert_not_called()CODE
AI Structural Patterns29 hits · 26 pts
SeverityFileLineSnippetContext
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py143CODE
LOWsrc/agentscope/app/_app.py113CODE
LOWsrc/agentscope/app/_router/_knowledge_base.py312CODE
LOWsrc/agentscope/app/_router/_knowledge_base.py465CODE
LOW…ope/app/_manager/_scheduler/_tools/_schedule_create.py164CODE
LOWsrc/agentscope/app/storage/_base.py369CODE
LOWsrc/agentscope/app/storage/_redis_storage.py884CODE
LOWsrc/agentscope/app/storage/_sql/_storage.py1213CODE
LOW…ope/app/workspace_manager/_docker_workspace_manager.py65CODE
LOW…app/workspace_manager/_bubblewrap_workspace_manager.py40CODE
LOW…workspace_manager/_applecontainer_workspace_manager.py50CODE
LOW…pp/workspace_manager/_opensandbox_workspace_manager.py57CODE
LOW…tscope/app/workspace_manager/_k8s_workspace_manager.py43CODE
LOW…pe/app/workspace_manager/_daytona_workspace_manager.py48CODE
LOW…tscope/app/workspace_manager/_e2b_workspace_manager.py66CODE
LOWsrc/agentscope/app/hub/_skill/_claw_hub.py86CODE
LOWsrc/agentscope/tui/_chat.py458CODE
LOWsrc/agentscope/workspace/_e2b/_e2b_workspace.py75CODE
LOWsrc/agentscope/workspace/_daytona/_daytona_workspace.py79CODE
LOW…workspace/_applecontainer/_applecontainer_workspace.py89CODE
LOWsrc/agentscope/workspace/_k8s/_k8s_workspace.py60CODE
LOW…ntscope/workspace/_bubblewrap/_bubblewrap_workspace.py77CODE
LOW…scope/workspace/_opensandbox/_opensandbox_workspace.py49CODE
LOWsrc/agentscope/workspace/_docker/_docker_workspace.py52CODE
LOWsrc/agentscope/agent/_agent.py120CODE
LOWsrc/agentscope/model/_ollama/_model.py56CODE
LOWsrc/agentscope/model/_openai_chat/_model.py114CODE
LOWsrc/agentscope/tool/_adapters.py54CODE
LOWsrc/agentscope/tool/_builtin/_grep.py320CODE
Over-Commented Block28 hits · 26 pts
SeverityFileLineSnippetContext
LOWpyproject.toml141 "pandas",COMMENT
LOWexamples/long_term_memory/mem0/oss_demo.py201 )COMMENT
LOWexamples/long_term_memory/mem0/oss_demo.py221 #COMMENT
LOWexamples/long_term_memory/reme/reme_demo.py261 # One middleware, shared across both sessions. ReMe is embeddedCOMMENT
LOWexamples/web_ui/frontend/src/vite-env.d.ts1/// <reference types="vite/client" />COMMENT
LOW…ntend/src/components/dialog/WorkingDirectoryDialog.tsx101 // The answer, and the single source of truth: whatever the inputCOMMENT
LOW…amples/web_ui/frontend/src/pages/chat/ChatViewport.tsx201 // panels stacked top→bottom. Open order determines placement.COMMENT
LOW…amples/web_ui/frontend/src/pages/chat/ChatViewport.tsx581 model: modelName,COMMENT
LOW.github/workflows/claim-expiry.yml41 core.notice(`${issues.length} assigned issue(s) to check.`);COMMENT
LOW.github/workflows/github-monitor.yml1# ─────────────────────────────────────────────────────────────────────────────COMMENT
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py301COMMENT
LOWsrc/agentscope/app/_bus_ops.py141# Three helpers implementing one protocol, whose only job is to makeCOMMENT
LOWsrc/agentscope/app/_lifespan.py221 # ---------------- Knowledge-base wiring ----------------COMMENT
LOWsrc/agentscope/app/_router/_chat.py101 # ------------------------------------------------------------------COMMENT
LOWsrc/agentscope/app/_service/_chat.py821COMMENT
LOWsrc/agentscope/app/_service/_chat.py1021 # -------------------------------------------------------------COMMENT
LOWsrc/agentscope/app/_service/_index_worker.py421 user_id,COMMENT
LOWsrc/agentscope/app/storage/_sql/_alembic/alembic.ini1# Alembic configuration for the AgentScope SQL storage backend.COMMENT
LOWsrc/agentscope/app/_tool/_agent_invite.py381 # rules are anchored to the leader's workspace, which theCOMMENT
LOWsrc/agentscope/workspace/_gateway_shim.py21"""COMMENT
LOWsrc/agentscope/workspace/_opensandbox/_constants.py21#: Per-command timeout for first-time bootstrap shell commands.COMMENT
LOWsrc/agentscope/agent/_agent.py1541 injections["timezone"] = self.injection_config.timezoneCOMMENT
LOWsrc/agentscope/agent/_realtime/_agent.py241 # TODO(realtime): tools and instructions are sent once, here.COMMENT
LOWsrc/agentscope/permission/_engine.py261 tool_input,COMMENT
LOWsrc/agentscope/tool/_constants.py61 "fdisk",COMMENT
LOWsrc/agentscope/tool/_constants.py101#COMMENT
LOWsrc/agentscope/tool/_builtin/_backend.py141 Subclasses must implement three abstract primitives — ``exec_shell``,COMMENT
LOWsrc/agentscope/tool/_builtin/_backend.py161 #: .. important::COMMENT
Fake / Example Data24 hits · 24 pts
SeverityFileLineSnippetContext
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json176 "placeholder": "我的智能体"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json234 "placeholder": "简要描述此智能体的专长;允许被邀请时必填。"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json254 "placeholder": "会话名称"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json275 "placeholder": "我的知识库"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json279 "placeholder": "描述知识库用途"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json309 "placeholder": "我的知识库"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json313 "placeholder": "描述知识库用途"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json437 "placeholder": "选择模型",CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json457 "placeholder": "选择 Embedding 模型",CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json466 "placeholder": "选择分块策略",CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json486 "placeholder": "选择维度",CODE
LOWexamples/web_ui/frontend/src/i18n/locales/zh.json490 "placeholder": "选择权限模式",CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json176 "placeholder": "My agent"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json234 "placeholder": "Briefly describe this agent's expertise; required when invitable is on."CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json254 "placeholder": "Session name"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json275 "placeholder": "My knowledge base"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json279 "placeholder": "Describe what this knowledge base is for."CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json309 "placeholder": "My knowledge base"CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json313 "placeholder": "Describe what this knowledge base is for."CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json437 "placeholder": "Select a model",CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json457 "placeholder": "Select an embedding model",CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json466 "placeholder": "Select a chunker",CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json486 "placeholder": "Select a dimension",CODE
LOWexamples/web_ui/frontend/src/i18n/locales/en.json490 "placeholder": "Select permission mode",CODE
Dead Code10 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMtests/realtime_agent_test.py1499CODE
MEDIUMtests/tool_middleware_test.py331CODE
MEDIUMtests/service_inbox_middleware_test.py222CODE
MEDIUMtests/service_inbox_middleware_test.py114CODE
MEDIUMtests/service_inbox_middleware_test.py125CODE
MEDIUMsrc/agentscope/middleware/_base.py99CODE
MEDIUMsrc/agentscope/middleware/_base.py122CODE
MEDIUMsrc/agentscope/middleware/_base.py168CODE
MEDIUMsrc/agentscope/realtime/_base.py179CODE
MEDIUMsrc/agentscope/realtime/_transport/_base.py85CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…scope/middleware/_longterm_memory/_mem0/_middleware.py296 # tools — so just pass through.COMMENT
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWtests/workspace_local_test.py609 {"helper.py": "def helper():\n return 42\n"},STRING