AI Slop Code RIsk Monitor

iflytek/astron-agent

Enterprise-grade, commercial-friendly agentic workflow platform for building next-generation SuperAgents.

7.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for iflytek/astron-agent, a Java project with 8,888 GitHub stars. SynthScan examined 669,672 lines of code across 3582 source files, recording 3719 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 7.8 (Moderate pattern signal); it is not an authorship estimate.

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

7.8
Adjusted Signal
7.8
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
8.9K
Stars
Java
Language
669.7K
Lines of Code
3.6K
Files
3.7K
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 20.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.4/100 · LOW

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

Agent Over-Engineering Ratio 24.2/100 · LOW

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

PR Review Velocity Impact 32.7/100 · MEDIUM

Which changes need focused human review? 3719 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 54HIGH 133MEDIUM 216LOW 3316

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 3719 distinct pattern matches across 27 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.

Hyper-Verbose Identifiers2256 hits · 2247 pts
SeverityFileLineSnippetContext
LOWdocker/astronAgent/casdoor/test_certificate_config.py9 def test_templates_use_the_upstream_generated_builtin_certificate(self):CODE
LOW…astronAgent/casdoor/password-storage/test_passwords.py34 def test_duplicate_or_unexpected_organization_owner_is_rejected(self):CODE
LOW…astronAgent/casdoor/password-storage/test_passwords.py44 def test_plain_and_inherited_accounts_keep_their_password(self):CODE
LOW⚡…astronAgent/casdoor/password-storage/test_passwords.py56 def test_identical_passwords_receive_different_salts(self):CODE
LOW⚡…astronAgent/casdoor/password-storage/test_passwords.py62 def test_second_migration_preserves_hashes(self):CODE
LOW⚡…astronAgent/casdoor/password-storage/test_passwords.py71 def test_existing_bcrypt_with_inherited_type_is_not_rehashed(self):CODE
LOW⚡…astronAgent/casdoor/password-storage/test_passwords.py79 def test_external_only_accounts_are_not_given_a_password(self):CODE
LOW⚡…astronAgent/casdoor/password-storage/test_passwords.py85 def test_invalid_and_ambiguous_states_block_migration(self):CODE
LOW…astronAgent/casdoor/password-storage/test_passwords.py97 def test_master_and_default_passwords_require_operator_review(self):CODE
LOW…astronAgent/casdoor/password-storage/test_passwords.py105 def test_verifier_rejects_plain_accounts_even_with_strong_org_policy(self):CODE
LOW…tronAgent/casdoor/password-storage/test_integration.py148 def test_real_initialization_migration_login_and_restart(self):CODE
LOW⚡docker/astronAgent/scripts/verify_security_contract.py491 def networked_credential_init(CODE
LOW⚡docker/astronAgent/scripts/verify_security_contract.py496 def readonly_credential_init_volume(CODE
LOW⚡docker/astronAgent/scripts/verify_security_contract.py501 def writable_generated_consumer(CODE
LOW⚡docker/astronAgent/scripts/verify_security_contract.py506 def wrong_generated_file_path(CODE
LOW⚡docker/astronAgent/scripts/verify_security_contract.py513 def inline_generated_credential(CODE
LOW⚡docker/astronAgent/scripts/verify_security_contract.py518 def missing_credential_init_dependency(CODE
LOW⚡docker/astronAgent/scripts/verify_security_contract.py525 def wrong_credential_init_dependency(CODE
LOWdocker/astronAgent/scripts/verify_security_contract.py540 def missing_hub_app_api_binding(CODE
LOWdocker/astronAgent/scripts/verify_security_contract.py557 def wrong_hub_healthcheck_endpoint(CODE
LOWdocker/astronAgent/scripts/verify_security_contract.py696def exercise_shell_credential_lifecycle(config: Mapping[str, Any]) -> None:CODE
LOWdocker/astronAgent/scripts/verify_security_contract.py972def exercise_credential_lifecycle(compose_file: Path) -> None:STRING
LOWcore/memory/database/main.py63async def rep_initialize_extensions() -> None:CODE
LOWcore/memory/database/main.py129 async def global_validation_exception_handler(CODE
LOWcore/memory/database/main.py196async def _get_host_ip_from_hostname_command() -> str | None:CODE
LOWcore/memory/database/main.py212def _get_host_ip_from_gethostbyname() -> str | None:CODE
LOWcore/memory/database/main.py224def _get_host_ip_from_getaddrinfo() -> str | None:CODE
LOWcore/memory/database/repository/middleware/manager.py76 def _validate_service_creation(self, service_name: ServiceType) -> None:CODE
LOW…/database/repository/middleware/database/db_manager.py118 async def _create_database_if_not_exists(self) -> None:CODE
LOW…e/repository/middleware/adapters/postgresql_adapter.py213 async def create_database_if_not_exists(self, base_url: str, db_name: str) -> None:CODE
LOW⚡…e/repository/middleware/adapters/postgresql_adapter.py342 def get_alembic_version_table_schema(self) -> Optional[str]:CODE
LOW⚡…e/repository/middleware/adapters/postgresql_adapter.py345 def get_alembic_include_schemas(self) -> bool:CODE
LOW…tabase/repository/middleware/adapters/mysql_adapter.py156 async def create_database_if_not_exists(self, base_url: str, db_name: str) -> None:CODE
LOW…tabase/repository/middleware/adapters/mysql_adapter.py268 def get_alembic_version_table_schema(self) -> Optional[str]:CODE
LOW…tabase/repository/middleware/adapters/mysql_adapter.py272 def get_alembic_include_schemas(self) -> bool:CODE
LOW…tabase/repository/middleware/adapters/mysql_adapter.py285 def _validate_mysql_identifier(self, identifier: str) -> str:CODE
LOW…memory/database/repository/middleware/adapters/base.py40 async def create_database_if_not_exists(self, base_url: str, db_name: str) -> None:CODE
LOW…memory/database/repository/middleware/adapters/base.py88 def get_alembic_version_table_schema(self) -> Optional[str]:CODE
LOW…memory/database/repository/middleware/adapters/base.py92 def get_alembic_include_schemas(self) -> bool:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py512def test_collect_update_keys_invalid() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py522def test_collect_columns_and_keys() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py532def test_collect_functions_names() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1167def test_is_datetime_type_timestamp() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1172def test_is_datetime_type_datetime() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1177def test_is_datetime_type_varchar() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1182def test_is_datetime_type_empty_string() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1187def test_is_datetime_type_none() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1197def test_convert_value_if_datetime_matching_format() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1208def test_convert_value_if_datetime_no_mapping() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1218def test_convert_value_if_datetime_non_datetime_column() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1233def test_is_boolean_type_boolean() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1240def test_is_boolean_type_tinyint() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1246def test_is_boolean_type_non_boolean() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1253def test_convert_value_if_boolean_true() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1263def test_convert_value_if_boolean_false() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1273def test_convert_value_if_boolean_non_boolean_column() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1286def test_is_numeric_value_int() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1291def test_is_numeric_value_float() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1296def test_is_numeric_value_digit_string() -> None:CODE
LOW⚡core/memory/database/tests/test_exec_dml.py1301def test_is_numeric_value_non_numeric_string() -> None:CODE
2196 more matches not shown…
Decorative Section Separators140 hits · 524 pts
SeverityFileLineSnippetContext
MEDIUM.pre-commit-config.yaml1# =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml4# =============================================================================COMMENT
MEDIUM⚡.pre-commit-config.yaml18# =============================================================================COMMENT
MEDIUM⚡.pre-commit-config.yaml25 # =============================================================================COMMENT
MEDIUM⚡.pre-commit-config.yaml27 # =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml39 # =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml41 # =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml213 # =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml215 # =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml232 # =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml234 # =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml265 # =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml267 # =============================================================================COMMENT
MEDIUM⚡.pre-commit-config.yaml284 # =============================================================================COMMENT
MEDIUM⚡.pre-commit-config.yaml286 # =============================================================================COMMENT
MEDIUM⚡.pre-commit-config.yaml293 # =============================================================================COMMENT
MEDIUM⚡.pre-commit-config.yaml295 # =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml315# =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml317# =============================================================================COMMENT
MEDIUMdocker/ragflow/entrypoint.sh5# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/ragflow/entrypoint.sh7# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/ragflow/entrypoint.sh44# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/ragflow/entrypoint.sh48# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/ragflow/entrypoint.sh131# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/ragflow/entrypoint.sh133# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/ragflow/entrypoint.sh146# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/ragflow/entrypoint.sh148# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/ragflow/entrypoint.sh174# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/ragflow/entrypoint.sh176# -----------------------------------------------------------------------------COMMENT
MEDIUMdocker/astronAgent/docker-compose.yaml2 # ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose.yaml4 # ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose.yaml356 # ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose.yaml358 # ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose.yaml777 # ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose.yaml779 # ============================================================================COMMENT
MEDIUM⚡docker/astronAgent/docker-compose.yaml920# ============================================================================COMMENT
MEDIUM⚡docker/astronAgent/docker-compose.yaml922# ============================================================================COMMENT
MEDIUM⚡docker/astronAgent/docker-compose.yaml927# ============================================================================COMMENT
MEDIUM⚡docker/astronAgent/docker-compose.yaml929# ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose-auth.yml84# ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose-auth.yml86# ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose-with-auth-rpa.yaml1# ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose-with-auth-rpa.yaml4# ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose-with-auth-rpa.yaml28# ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose-with-auth-rpa.yaml30# ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose-with-auth.yaml1# ============================================================================COMMENT
MEDIUMdocker/astronAgent/docker-compose-with-auth.yaml3# ============================================================================COMMENT
MEDIUM⚡core/memory/database/tests/test_exec_dml.py1162# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_exec_dml.py1164# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_exec_dml.py1192# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_exec_dml.py1194# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_exec_dml.py1228# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_exec_dml.py1230# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_exec_dml.py1281# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_exec_dml.py1283# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_retry.py12# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_retry.py14# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_retry.py48# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_retry.py50# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡core/memory/database/tests/test_db_operator.py476# ---------------------------------------------------------------------------COMMENT
80 more matches not shown…
Hallucination Indicators54 hits · 455 pts
SeverityFileLineSnippetContext
CRITICALcore/agent/tests/test_base_llm_model.py97 model.llm.chat.completions.create.assert_called_once_with(CODE
CRITICALcore/agent/tests/test_base_llm_model.py118 model.llm.chat.completions.create.assert_awaited_once_with(CODE
CRITICALcore/agent/tests/test_base_llm_model.py139 model.llm.chat.completions.create.assert_awaited_once_with(CODE
CRITICALcore/agent/tests/test_base_llm_model.py167 model.llm.chat.completions.create.assert_awaited_once_with(CODE
CRITICALcore/agent/tests/test_base_llm_model.py187 model.llm.chat.completions.create.assert_awaited_once_with(CODE
CRITICAL…flytek/astron/console/commons/util/AuthStringUtil.java189 return cn.hutool.core.codec.Base64.encode(rawHmac);CODE
CRITICAL…sole/hub/service/chat/springai/AgentSseBridgeTest.java49 org.junit.jupiter.api.Assertions.assertTrue(bridge.isManagedSearchTrace());CODE
CRITICAL…sole/hub/service/chat/springai/AgentSseBridgeTest.java50 org.junit.jupiter.api.Assertions.assertTrue(bridge.getTraceResult().length() > 0);CODE
CRITICAL…/publish/impl/McpServiceImplBusinessExceptionTest.java57 new com.iflytek.astron.console.commons.entity.bot.UserLangChainInfo());CODE
CRITICAL…b/service/wechat/impl/WechatThirdpartyServiceImpl.java173 Map<String, String> ticketMsg = com.iflytek.astron.console.hub.util.wechat.WXBizMsgParse.parseTicketMsg(decrCODE
CRITICAL…sole/hub/service/workflow/impl/BotMaasServiceImpl.java247 String uid = com.iflytek.astron.console.commons.util.RequestContextUtil.getUID();CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java1306 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.post(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java1320 okHttpMock.verify(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.post(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java1563 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java1598 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java1631 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java1665 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2129 threadMock.when(() -> cn.hutool.core.thread.ThreadUtil.execute(any(Runnable.class)))CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2138 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2175 threadMock.when(() -> cn.hutool.core.thread.ThreadUtil.execute(any(Runnable.class)))CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2215 threadMock.when(() -> cn.hutool.core.thread.ThreadUtil.execute(any(Runnable.class)))CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2223 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2272 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2297 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2317 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2324 okHttpMock.verify(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.clasCODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2348 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.post(anyString(), any(Map.classCODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2371 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.post(anyString(), any(Map.classCODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2378 okHttpMock.verify(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.post(anyString(), any(Map.claCODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2517 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2521 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2551 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2555 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2586 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2596 okHttpMock.verify(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2843 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(anyString(), any(Map.class)CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2891 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2901 okHttpMock.verify(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2920 okHttpMock.when(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…console/toolkit/service/knowledge/RepoServiceTest.java2930 okHttpMock.verify(() -> com.iflytek.astron.console.toolkit.util.OkHttpUtil.get(CODE
CRITICAL…workflow/WorkflowServiceProtocolAuthorizationTest.java208 new com.iflytek.astron.console.commons.entity.bot.UserLangChainInfo();CODE
CRITICAL…on/console/toolkit/service/model/ModelServiceTest.java395 new com.iflytek.astron.console.commons.entity.user.UserInfo();STRING
CRITICAL…on/console/toolkit/service/model/ModelServiceTest.java419 new com.iflytek.astron.console.commons.entity.user.UserInfo();STRING
CRITICAL…on/console/toolkit/service/model/ModelServiceTest.java443 new com.iflytek.astron.console.commons.entity.user.UserInfo();STRING
CRITICAL…on/console/toolkit/service/model/ModelServiceTest.java463 new com.iflytek.astron.console.commons.entity.user.UserInfo();STRING
CRITICAL…on/console/toolkit/service/model/ModelServiceTest.java488 new com.iflytek.astron.console.commons.entity.user.UserInfo();STRING
CRITICAL…on/console/toolkit/service/model/ModelServiceTest.java515 new com.iflytek.astron.console.commons.entity.user.UserInfo();STRING
CRITICAL…on/console/toolkit/service/model/ModelServiceTest.java679 rsa.when(() -> com.iflytek.astron.console.toolkit.util.idata.RSAUtil.loadPrivateKey(anyString()))STRING
CRITICAL…on/console/toolkit/service/model/ModelServiceTest.java681 rsa.when(() -> com.iflytek.astron.console.toolkit.util.idata.RSAUtil.decryptByPrivateKeyBase64(eq("ENCRYPTEDSTRING
CRITICAL…on/console/toolkit/service/model/ModelServiceTest.java935 com.iflytek.astron.console.toolkit.entity.table.model.ModelCategory cat = new com.iflytek.astron.console.toolkitSTRING
CRITICAL…va/com/iflytek/astron/console/toolkit/util/S3Util.java351 // Deprecated: use com.iflytek.astron.console.commons.util.S3ClientUtil.generatePresignedPutUrl()COMMENT
CRITICAL…/console/toolkit/service/workflow/WorkflowService.java214 @org.springframework.beans.factory.annotation.Value("${mcp-server.file-path}")CODE
CRITICAL…/console/toolkit/service/workflow/WorkflowService.java1829 com.iflytek.astron.console.toolkit.entity.core.workflow.node.Value v = new com.iflytek.astron.console.toCODE
CRITICAL…/console/toolkit/service/workflow/WorkflowService.java1875 com.iflytek.astron.console.toolkit.entity.core.workflow.node.Value v = new com.iflytek.astron.console.toCODE
Excessive Try-Catch Wrapping383 hits · 382 pts
SeverityFileLineSnippetContext
LOW…cker/astronAgent/casdoor/password-storage/passwords.py179 except Exception:CODE
LOW…cker/astronAgent/casdoor/password-storage/passwords.py248 except Exception:CODE
LOWdocker/astronAgent/scripts/verify_security_contract.py1141 except Exception:STRING
LOWcore/memory/database/main.py103 except Exception as e: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/main.py190 except Exception as e: # pylint: disable=broad-exceptCODE
LOW…re/memory/database/repository/middleware/initialize.py20 except Exception as exc:CODE
LOW…/database/repository/middleware/database/db_manager.py154 except Exception as e:CODE
LOW…e/repository/middleware/database/database_migration.py52 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…e/repository/middleware/adapters/postgresql_adapter.py311 except Exception as e:CODE
LOW…e/repository/middleware/adapters/postgresql_adapter.py320 except Exception as e:CODE
LOW⚡…e/repository/middleware/adapters/postgresql_adapter.py332 except Exception as restore_error:CODE
LOW…tabase/repository/middleware/adapters/mysql_adapter.py256 except Exception as restore_error:CODE
LOWcore/memory/database/utils/retry.py62 except Exception as e:CODE
LOWcore/memory/database/api/v1/exec_dml.py805 except Exception as parse_error: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/exec_dml.py933 except Exception as col_type_error: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/exec_dml.py1058 except Exception as unexpected_error: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/exec_dml.py1093 except Exception as mapping_error:CODE
LOWcore/memory/database/api/v1/exec_dml.py1111 except Exception as exec_error: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/exec_dml.py1144 except Exception as schema_error: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/exec_dml.py1205 except Exception as parse_error: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/db_operator.py118 except Exception as e: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/db_operator.py173 except Exception as e: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/db_operator.py240 except Exception as e: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/db_operator.py264 except Exception as e: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/db_operator.py360 except Exception as e: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/exec_ddl.py328 except Exception as parse_error: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/exec_ddl.py384 except Exception as error:CODE
LOWcore/memory/database/api/v1/exec_ddl.py404 except Exception as exec_error:CODE
LOWcore/memory/database/api/v1/exec_ddl.py484 except Exception as unexpected_error: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/common.py57 except Exception as e: # pylint: disable=broad-exceptCODE
LOWcore/memory/database/api/v1/common.py90 except Exception as db_error:CODE
MEDIUMcore/plugin/rpa/run_tests.py35 print("Error output:")CODE
LOWcore/plugin/rpa/infra/xiaowu/tasks.py85 except Exception as e:CODE
LOWcore/plugin/rpa/infra/xiaowu/tasks.py172 except Exception as e:CODE
LOWcore/plugin/rpa/api/app.py57 except Exception as e:CODE
LOWcore/plugin/rpa/api/v1/execution.py58 except Exception as e:CODE
LOWcore/plugin/rpa/doc/API_EXAMPLES.md106 except Exception as e:CODE
LOWcore/plugin/rpa/doc/API_EXAMPLES.md506 except Exception as e:CODE
LOWcore/plugin/rpa/doc/API_EXAMPLES.md565 except Exception as e:CODE
LOWcore/plugin/rpa/doc/API_EXAMPLES.md665 except Exception as e:CODE
LOWcore/plugin/rpa/doc/API_EXAMPLES.md688 except Exception as e:CODE
LOWcore/plugin/link/infra/kafka_telemetry.py61 except Exception as e:CODE
LOW⚡core/plugin/link/infra/tool_exector/process.py76 except Exception:CODE
LOW⚡core/plugin/link/infra/tool_exector/process.py82 except Exception:CODE
LOW⚡core/plugin/link/infra/tool_exector/process.py87 except Exception:CODE
LOWcore/plugin/link/infra/tool_exector/process.py184 except Exception:CODE
LOWcore/plugin/link/infra/tool_exector/process.py262 except Exception as err:CODE
LOWcore/plugin/link/app/start_server.py106 except Exception as e:CODE
LOWcore/plugin/link/tests/conftest.py36except Exception:CODE
LOWcore/plugin/link/tests/conftest.py46except Exception:CODE
LOWcore/plugin/link/tests/test_runner.py41 except Exception as e:CODE
MEDIUMcore/plugin/link/tests/test_runner.py42 print(f"Error running command: {e}")CODE
LOWcore/plugin/link/tests/unit/test_schemas.py190 except Exception:CODE
LOWcore/plugin/link/utils/security/access_interceptor.py177 except Exception:CODE
LOWcore/plugin/link/utils/sid/sid_generator2.py58 except Exception as err:CODE
LOW…e/plugin/link/utils/open_api_schema/response_filter.py49 except Exception:CODE
LOW…e/plugin/link/utils/open_api_schema/schema_validate.py54 except Exception as err:CODE
LOW…e/plugin/link/utils/open_api_schema/schema_validate.py79 except Exception as err:CODE
LOW…e/plugin/link/utils/open_api_schema/schema_validate.py120 except Exception as err:CODE
LOWcore/plugin/link/exceptions/sparklink_exceptions.py105 except Exception as err:CODE
323 more matches not shown…
Cross-File Repetition50 hits · 250 pts
SeverityFileLineSnippetContext
HIGHcore/plugin/link/domain/models/utils.py0retrieve an item from the cache. args: key: the key of the item to retrieve. returns: the value associated with the key,STRING
HIGHcore/common/service/cache/base_cache.py0retrieve an item from the cache. args: key: the key of the item to retrieve. returns: the value associated with the key,STRING
HIGHcore/common/service/cache/redis_cache.py0retrieve an item from the cache. args: key: the key of the item to retrieve. returns: the value associated with the key,STRING
HIGHcore/workflow/extensions/middleware/cache/manager.py0retrieve an item from the cache. args: key: the key of the item to retrieve. returns: the value associated with the key,STRING
HIGHcore/workflow/extensions/middleware/cache/base.py0retrieve an item from the cache. args: key: the key of the item to retrieve. returns: the value associated with the key,STRING
HIGHcore/plugin/link/domain/models/utils.py0inserts or updates a value in the cache. if the existing value and the new value are both dictionaries, they are merged.STRING
HIGHcore/common/service/cache/redis_cache.py0inserts or updates a value in the cache. if the existing value and the new value are both dictionaries, they are merged.STRING
HIGHcore/workflow/extensions/middleware/cache/manager.py0inserts or updates a value in the cache. if the existing value and the new value are both dictionaries, they are merged.STRING
HIGHcore/plugin/link/domain/models/utils.py0remove an item from the cache. args: key: the key of the item to remove.STRING
HIGHcore/common/service/cache/base_cache.py0remove an item from the cache. args: key: the key of the item to remove.STRING
HIGHcore/common/service/cache/redis_cache.py0remove an item from the cache. args: key: the key of the item to remove.STRING
HIGHcore/workflow/extensions/middleware/cache/manager.py0remove an item from the cache. args: key: the key of the item to remove.STRING
HIGHcore/workflow/extensions/middleware/cache/base.py0remove an item from the cache. args: key: the key of the item to remove.STRING
HIGHcore/agent/tests/test_workflow_agent.py0automatically inject environment fixes for all tests. - ensure `sid_generator2` is initialized to avoid `span` constructSTRING
HIGHcore/agent/tests/test_workflow_agent_runner.py0automatically inject environment fixes for all tests. - ensure `sid_generator2` is initialized to avoid `span` constructSTRING
HIGHcore/agent/tests/test_workflow_agent_builder.py0automatically inject environment fixes for all tests. - ensure `sid_generator2` is initialized to avoid `span` constructSTRING
HIGHcore/agent/tests/test_knowledge_plugin.py0automatically inject environment fixes for all tests. - ensure `sid_generator2` is initialized to avoid `span` constructSTRING
HIGHcore/agent/tests/test_base_api.py0automatically inject environment fixes for all tests. - ensure `sid_generator2` is initialized to avoid `span` constructSTRING
HIGHcore/agent/tests/test_base_llm_model.py0automatically inject environment fixes for all tests. - ensure `sid_generator2` is initialized to avoid `span` constructSTRING
HIGHcore/agent/tests/test_plugin_base_link_mcp_workflow.py0automatically inject environment fixes for all tests. - ensure `sid_generator2` is initialized to avoid `span` constructSTRING
HIGHcore/agent/tests/test_base_builder.py0automatically inject environment fixes for all tests. - ensure `sid_generator2` is initialized to avoid `span` constructSTRING
HIGHcore/common/service/cache/base_cache.py0add an item to the cache. args: key: the key of the item. value: the value to cache.STRING
HIGHcore/common/service/cache/redis_cache.py0add an item to the cache. args: key: the key of the item. value: the value to cache.STRING
HIGHcore/workflow/extensions/middleware/cache/manager.py0add an item to the cache. args: key: the key of the item. value: the value to cache.STRING
HIGHcore/workflow/extensions/middleware/cache/base.py0add an item to the cache. args: key: the key of the item. value: the value to cache.STRING
HIGHcore/knowledge/service/impl/sparkdesk_strategy.py0execute rag query args: query: query text doc_ids: document id list repo_ids: knowledge base id list top_k: number of reSTRING
HIGHcore/knowledge/service/impl/aiui_strategy.py0execute rag query args: query: query text doc_ids: document id list repo_ids: knowledge base id list top_k: number of reSTRING
HIGHcore/knowledge/service/impl/cbg_strategy.py0execute rag query args: query: query text doc_ids: document id list repo_ids: knowledge base id list top_k: number of reSTRING
HIGHcore/workflow/infra/providers/llm/chat_ai.py0calculate the number of tokens in the given text. :param text: input text to calculate tokens for :return: number of tokSTRING
HIGH…workflow/infra/providers/llm/openai/openai_chat_llm.py0calculate the number of tokens in the given text. :param text: input text to calculate tokens for :return: number of tokSTRING
HIGH…ow/infra/providers/llm/iflytek_spark/spark_chat_llm.py0calculate the number of tokens in the given text. :param text: input text to calculate tokens for :return: number of tokSTRING
HIGHcore/workflow/infra/audit_system/audit_api/base.py0in llm content security scenarios, filter, detect and identify user input text, images, videos, documents, etc., and proSTRING
HIGH…ow/infra/audit_system/audit_api/mock/mock_audit_api.py0in llm content security scenarios, filter, detect and identify user input text, images, videos, documents, etc., and proSTRING
HIGH…infra/audit_system/audit_api/iflytek/ifly_audit_api.py0in llm content security scenarios, filter, detect and identify user input text, images, videos, documents, etc., and proSTRING
HIGHcore/workflow/infra/audit_system/audit_api/base.py0in llm content security scenarios, filter, detect and identify llm output images, videos, audio, etc., and process and rSTRING
HIGH…ow/infra/audit_system/audit_api/mock/mock_audit_api.py0in llm content security scenarios, filter, detect and identify llm output images, videos, audio, etc., and process and rSTRING
HIGH…infra/audit_system/audit_api/iflytek/ifly_audit_api.py0in llm content security scenarios, filter, detect and identify llm output images, videos, audio, etc., and process and rSTRING
HIGHcore/workflow/infra/audit_system/audit_api/base.py0in llm content security scenarios, filter, detect and identify websites, knowledge bases and other data referenced durinSTRING
HIGH…ow/infra/audit_system/audit_api/mock/mock_audit_api.py0in llm content security scenarios, filter, detect and identify websites, knowledge bases and other data referenced durinSTRING
HIGH…infra/audit_system/audit_api/iflytek/ifly_audit_api.py0in llm content security scenarios, filter, detect and identify websites, knowledge bases and other data referenced durinSTRING
HIGHcore/workflow/engine/nodes/plugin_tool/plugin_node.py0get the success execution status. :return: succeeded status for successful operationsSTRING
HIGH…kflow/engine/nodes/knowledge_pro/knowledge_pro_node.py0get the success execution status. :return: succeeded status for successful operationsSTRING
HIGHcore/workflow/engine/nodes/knowledge/knowledge_node.py0get the success execution status. :return: succeeded status for successful operationsSTRING
HIGH…rkflow/engine/nodes/knowledge/knowledge_expert_node.py0get the success execution status. :return: succeeded status for successful operationsSTRING
HIGHcore/workflow/engine/nodes/pgsql/pgsql_node.py0get the success execution status. :return: succeeded status for successful operationsSTRING
HIGHcore/workflow/engine/nodes/plugin_tool/plugin_node.py0get the failure execution status. :return: failed status for failed operationsSTRING
HIGH…kflow/engine/nodes/knowledge_pro/knowledge_pro_node.py0get the failure execution status. :return: failed status for failed operationsSTRING
HIGHcore/workflow/engine/nodes/knowledge/knowledge_node.py0get the failure execution status. :return: failed status for failed operationsSTRING
HIGH…rkflow/engine/nodes/knowledge/knowledge_expert_node.py0get the failure execution status. :return: failed status for failed operationsSTRING
HIGHcore/workflow/engine/nodes/pgsql/pgsql_node.py0get the failure execution status. :return: failed status for failed operationsSTRING
Empty Error Handlers38 hits · 190 pts
SeverityFileLineSnippetContext
HIGHcore/memory/database/main.py207except (OSError, ValueError):CODE
HIGHcore/memory/database/main.py219except (OSError, socket.gaierror):CODE
HIGHcore/memory/database/main.py233except (OSError, socket.gaierror):CODE
HIGH…e/repository/middleware/adapters/postgresql_adapter.py278except ImportError:CODE
HIGH…e/repository/middleware/adapters/postgresql_adapter.py300except ImportError:CODE
HIGHcore/plugin/rpa/api/app.py55except (ModuleNotFoundError, ImportError):CODE
HIGHcore/plugin/link/infra/tool_exector/process.py184except Exception:CODE
HIGHcore/plugin/link/app/start_server.py104except (ModuleNotFoundError, ImportError):CODE
HIGHcore/plugin/link/tests/conftest.py36except Exception:CODE
HIGHcore/plugin/link/tests/conftest.py46except Exception:CODE
HIGHcore/plugin/link/tests/unit/test_schemas.py318except ValidationError:CODE
HIGHcore/plugin/link/tests/unit/test_schemas.py190except Exception:CODE
HIGHcore/plugin/aitools/app/start_server.py132except KeyboardInterrupt:CODE
HIGHcore/plugin/aitools/app/start_server.py55except (ModuleNotFoundError, ImportError):CODE
HIGHcore/plugin/aitools/utils/config_utils.py236except asyncio.CancelledError:CODE
HIGHcore/plugin/aitools/common/clients/websockets_client.py161except asyncio.CancelledError:CODE
HIGHcore/plugin/aitools/common/clients/websockets_client.py185except asyncio.CancelledError:CODE
HIGHcore/plugin/aitools/service/ise/ise_client.py290except (ValueError, TypeError):CODE
HIGHcore/agent/main.py162except (OSError, ValueError):CODE
HIGHcore/agent/main.py174except (OSError, socket.gaierror):CODE
HIGHcore/agent/main.py188except (OSError, socket.gaierror):CODE
HIGHcore/agent/infra/credentials.py48except OSError:CODE
HIGHcore/agent/api/v1/workflow_agent.py230except asyncio.CancelledError:CODE
HIGHcore/agent/service/plugin/skill_sandbox.py392except Exception:CODE
HIGHcore/agent/service/plugin/skill_sandbox.py458except Exception:CODE
HIGHcore/common/otlp/trace/langfuse.py921except (TypeError, ValueError):CODE
HIGH…rkflow/tests/engine/callbacks/test_callback_handler.py806except asyncio.CancelledError:CODE
HIGH…rkflow/tests/engine/callbacks/test_callback_handler.py1148except asyncio.CancelledError:CODE
HIGH…rkflow/tests/engine/callbacks/test_callback_handler.py730except asyncio.CancelledError:CODE
HIGH…rkflow/tests/engine/callbacks/test_callback_handler.py761except asyncio.CancelledError:CODE
HIGH…rkflow/tests/engine/callbacks/test_callback_handler.py945except asyncio.CancelledError:CODE
HIGHcore/workflow/utils/credentials.py70except OSError:CODE
HIGHcore/workflow/service/chat_service.py436except asyncio.CancelledError:CODE
HIGH…orkflow/engine/nodes/code/executor/e2b/e2b_executor.py380except Exception:CODE
HIGH…orkflow/engine/nodes/code/executor/e2b/e2b_executor.py446except Exception:CODE
HIGHcore/workflow/engine/nodes/loop/loop_node.py213except Exception:CODE
HIGHhelm/astron-agent/tests/verify_tenant_bootstrap.py372except VerificationError:CODE
HIGHhelm/astron-agent/tests/verify_tenant_bootstrap.py394except VerificationError:CODE
Unused Imports183 hits · 172 pts
SeverityFileLineSnippetContext
LOWcore/memory/database/repository/middleware/manager.py8CODE
LOWcore/memory/database/repository/middleware/manager.py9CODE
LOW…ry/database/repository/middleware/adapters/__init__.py3CODE
LOWcore/memory/database/exceptions/e.py5CODE
LOWcore/memory/database/api/__init__.py8CODE
LOWcore/memory/database/api/v1/__init__.py9CODE
LOWcore/memory/database/api/v1/__init__.py9CODE
LOWcore/memory/database/api/v1/__init__.py9CODE
LOWcore/memory/database/api/v1/__init__.py14CODE
LOWcore/memory/database/api/v1/__init__.py15CODE
LOWcore/memory/database/alembic/env.py23CODE
LOWcore/memory/database/alembic/env.py24CODE
LOWcore/plugin/rpa/tests/unit/test_main.py7CODE
LOWcore/plugin/rpa/tests/unit/test_main.py9CODE
LOWcore/plugin/rpa/tests/unit/test_main.py10CODE
LOWcore/plugin/rpa/tests/unit/test_main.py11CODE
LOWcore/plugin/rpa/tests/unit/test_main.py11CODE
LOWcore/plugin/rpa/tests/unit/test_main.py14CODE
LOWcore/plugin/rpa/tests/unit/test_main.py15CODE
LOWcore/plugin/rpa/tests/unit/utils/urls/test_url_util.py9CODE
LOWcore/plugin/rpa/tests/unit/utils/log/test_logger.py7CODE
LOWcore/plugin/rpa/tests/unit/utils/log/test_logger.py8CODE
LOWcore/plugin/rpa/tests/unit/utils/log/test_logger.py12CODE
LOWcore/plugin/rpa/tests/unit/api/test_app.py7CODE
LOWcore/plugin/rpa/tests/unit/api/test_app.py8CODE
LOWcore/plugin/rpa/tests/unit/api/v1/test_execution.py8CODE
LOWcore/plugin/rpa/tests/unit/api/v1/test_execution.py9CODE
LOW…in/rpa/tests/unit/api/schemas/test_execution_schema.py7CODE
LOW…in/rpa/tests/unit/api/schemas/test_execution_schema.py7CODE
LOW…e/plugin/rpa/tests/unit/service/xiaowu/test_process.py8CODE
LOW…e/plugin/rpa/tests/unit/service/xiaowu/test_process.py9CODE
LOWcore/plugin/rpa/tests/unit/consts/test_const.py7CODE
LOW…e/plugin/rpa/tests/integration/test_api_integration.py9CODE
LOW…e/plugin/rpa/tests/integration/test_api_integration.py14CODE
LOWcore/plugin/link/utils/sid/sid_generator2.py7CODE
LOW…e/plugin/link/utils/open_api_schema/response_filter.py1CODE
LOWcore/plugin/link/alembic/env.py7CODE
LOWcore/plugin/link/domain/models/utils.py25CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py12CODE
LOWcore/plugin/link/consts/const.py32CODE
LOWcore/plugin/link/consts/const.py32CODE
LOWcore/plugin/link/consts/const.py32CODE
LOWcore/plugin/link/consts/const.py32CODE
LOWcore/plugin/link/consts/const.py32CODE
LOWcore/plugin/link/consts/const.py42CODE
LOWcore/plugin/link/consts/const.py42CODE
123 more matches not shown…
Deep Nesting172 hits · 162 pts
SeverityFileLineSnippetContext
LOWdocker/astronAgent/casdoor/test_certificate_config.py9CODE
LOW…cker/astronAgent/casdoor/password-storage/passwords.py66CODE
LOW…cker/astronAgent/casdoor/password-storage/passwords.py143CODE
LOWdocker/astronAgent/scripts/verify_security_contract.py213CODE
LOWcore/memory/database/main.py224CODE
LOW…e/repository/middleware/database/database_migration.py26CODE
LOWcore/memory/database/tests/test_exec_dml.py350CODE
LOWcore/memory/database/tests/test_db_operator.py148CODE
LOWcore/memory/database/tests/test_db_operator.py221CODE
LOWcore/memory/database/tests/test_db_operator.py383CODE
LOWcore/memory/database/tests/test_exec_ddl.py123CODE
LOWcore/memory/database/utils/retry.py42CODE
LOWcore/memory/database/utils/retry.py55CODE
LOWcore/memory/database/utils/retry.py57CODE
LOWcore/memory/database/api/v1/exec_dml.py637CODE
LOWcore/memory/database/api/v1/exec_dml.py668CODE
LOWcore/memory/database/api/v1/exec_dml.py1070CODE
LOWcore/memory/database/api/v1/db_operator.py280CODE
LOWcore/memory/database/api/v1/exec_ddl.py44CODE
LOWcore/memory/database/api/v1/exec_ddl.py120CODE
LOWcore/memory/database/api/v1/exec_ddl.py180CODE
LOWcore/plugin/rpa/main.py41CODE
LOWcore/plugin/rpa/infra/xiaowu/tasks.py93CODE
LOWcore/plugin/rpa/tests/test_runner.py289CODE
LOWcore/plugin/rpa/tests/test_runner.py169CODE
LOWcore/plugin/rpa/tests/unit/api/v1/test_health_check.py83CODE
LOWcore/plugin/link/main.py45CODE
LOWcore/plugin/link/infra/kafka_telemetry.py68CODE
LOWcore/plugin/link/infra/tool_crud/process.py148CODE
LOWcore/plugin/link/infra/tool_crud/process.py183CODE
LOWcore/plugin/link/infra/tool_exector/process.py281CODE
LOWcore/plugin/link/infra/tool_exector/process.py304CODE
LOWcore/plugin/link/tests/test_runner.py140CODE
LOWcore/plugin/link/tests/unit/test_domain_models.py249CODE
LOWcore/plugin/link/tests/unit/test_domain_models.py441CODE
LOWcore/plugin/link/tests/unit/test_main.py125CODE
LOWcore/plugin/link/tests/unit/test_main.py148CODE
LOW…e/plugin/link/utils/open_api_schema/schema_validate.py96CODE
LOW…e/plugin/link/utils/open_api_schema/schema_validate.py135CODE
LOWcore/plugin/link/utils/open_api_schema/schema_parser.py59CODE
LOWcore/plugin/link/service/enterprise/extension.py34CODE
LOW…/plugin/link/service/community/tools/mcp/mcp_server.py165CODE
LOW…/plugin/link/service/community/tools/mcp/mcp_server.py264CODE
LOW…link/service/community/tools/http/management_server.py317CODE
LOW…link/service/community/tools/http/management_server.py387CODE
LOW…/link/service/community/tools/http/execution_server.py230CODE
LOWcore/plugin/link/domain/models/utils.py341CODE
LOWcore/plugin/link/domain/models/utils.py373CODE
LOWcore/plugin/aitools/platform_account_config.py60CODE
LOWcore/plugin/aitools/utils/oss_utils.py15CODE
LOW…aitools/service/ocr_llm/req_ase_ability_ocr_service.py84CODE
LOW…aitools/service/ocr_llm/req_ase_ability_ocr_service.py123CODE
LOW…aitools/service/ocr_llm/req_ase_ability_ocr_service.py196CODE
LOWcore/plugin/aitools/service/ise/ise_client.py50CODE
LOWcore/plugin/aitools/service/ise/ise_client.py89CODE
LOWcore/plugin/aitools/service/ise/ise_client.py390CODE
LOWcore/agent/main.py179CODE
LOWcore/agent/tests/test_workflow_agent_builder.py127CODE
LOWcore/agent/tests/test_workflow_agent_builder.py172CODE
LOWcore/agent/api/v1/base_api.py189CODE
112 more matches not shown…
Docstring Block Structure30 hits · 150 pts
SeverityFileLineSnippetContext
HIGHcore/memory/database/domain/entity/general.py33 Safely parse and execute SQL with automatic parameter binding. Args: session: SQLAlchemy AsyncSession STRING
HIGHcore/plugin/link/infra/tool_exector/http_auth.py135 Parse a URL into its components. Args: requset_url (str): The URL to parse Returns: Url: STRING
HIGHcore/plugin/link/infra/tool_exector/process.py227Execute the HTTP request with proper authentication and validation. Args: span: Tracing span for reSTRING
HIGHcore/plugin/link/domain/models/utils.py319Get a field value from a Redis hash. Args: name: The hash name. key: The field key withSTRING
HIGHcore/plugin/link/domain/models/utils.py342Delete one or more fields from a Redis hash. Args: name: The hash name. *key: Variable STRING
HIGHcore/plugin/link/domain/models/utils.py374Get all field-value pairs from a Redis hash. Args: name: The hash name. Returns: STRING
HIGHcore/knowledge/infra/desk/sparkdesk.py25 Asynchronously execute SparkDesk knowledge base query. Args: query: Query string repo_ids: KnoSTRING
HIGHcore/knowledge/infra/desk/sparkdesk.py52 Asynchronously send request to SparkDesk API (using aiohttp) Args: body: Request body data metSTRING
HIGHcore/knowledge/infra/xinghuo/xinghuo.py27 Upload file to Xinghuo knowledge base. Args: url: File URL or path wiki_split_extends: Wiki spSTRING
HIGHcore/knowledge/infra/xinghuo/xinghuo.py79 Perform chunking processing on documents. Args: file_id: File ID cut_off: Cutoff character lisSTRING
HIGHcore/knowledge/infra/xinghuo/xinghuo.py150 Get document chunk content. Args: file_id: File ID Returns: List of document chunk contenSTRING
HIGHcore/knowledge/infra/xinghuo/xinghuo.py391 Send asynchronous request to Xinghuo knowledge base API. Args: body: Request body data url: ReSTRING
HIGHcore/knowledge/infra/xinghuo/xinghuo.py533 Process form HTTP response Args: resp: HTTP response object url: Request URL span_contSTRING
HIGHcore/knowledge/infra/xinghuo/xinghuo.py606 Send form request to Xinghuo knowledge base API (using native aiohttp). Args: body: Request body data STRING
HIGHcore/knowledge/infra/aiui/aiui.py109 Parse document Args: file_url: File URL resource_type: Resource type **kwargs: Other pSTRING
HIGHcore/knowledge/infra/aiui/aiui.py257 Send request to AIUI service Args: post_body: Request body url: URL method: HTTP methoSTRING
HIGHcore/knowledge/infra/ragflow/ragflow_client.py493 Upload document to the specified dataset. Resolution strategy: - When ``dataset_id`` is non-empty, resolveSTRING
HIGHcore/knowledge/infra/ragflow/ragflow_client.py677 Fetch all chunks for a single document by paginating through the RAGFlow API. Uses the server-reported ``totalSTRING
HIGHcore/knowledge/infra/ragflow/ragflow_client.py1084 Wait for RAGFlow to reach a terminal document parsing state. RAGFlow exposes ``run`` as the authoritative statSTRING
HIGHcore/knowledge/utils/verification.py12 Check if parameters are non-empty. Args: *args: List of parameters to check Returns: boolSTRING
HIGHcore/knowledge/api/v1/api.py92 Unified handling of RAG operations, response logging, metric counting, and exception handling. Args: sSTRING
HIGHcore/knowledge/service/rag_strategy_factory.py30 Get the corresponding strategy instance based on ragType. Args: ragType: The RAG type idenSTRING
HIGHcore/knowledge/service/impl/sparkdesk_strategy.py52 Split file into multiple chunks Args: fileUrl: File url length_range: Length rSTRING
HIGHcore/knowledge/service/impl/sparkdesk_strategy.py76 Save chunks to knowledge base Args: doc_id: Document ID group: Group name STRING
HIGHcore/knowledge/service/impl/sparkdesk_strategy.py104 Update chunks Args: doc_id: Document ID group: Group name uid: UseSTRING
HIGHcore/knowledge/service/impl/sparkdesk_strategy.py127 Delete chunks Args: doc_id: Document ID chunk_ids: Chunk ID list *STRING
HIGHcore/knowledge/service/impl/sparkdesk_strategy.py146 Query all chunks of a document Args: doc_id: Document ID **kwargs: Other paramSTRING
HIGHcore/knowledge/service/impl/sparkdesk_strategy.py162 Query document name information Args: doc_id: Document ID **kwargs: Other paraSTRING
HIGHcore/knowledge/service/impl/ragflow_strategy.py1006 Delete knowledge chunks using RAGFlow. Args: docId: Document ID chunkIds: ListSTRING
HIGHcore/knowledge/service/impl/cbg_strategy.py302 Delete chunks Args: docId: Document ID chunkIds: Chunk ID list **kSTRING
Modern Structural Boilerplate94 hits · 102 pts
SeverityFileLineSnippetContext
LOWcore/memory/database/repository/middleware/base.py26 def set_ready(self) -> None:CODE
LOW…ry/database/repository/middleware/adapters/__init__.py5__all__ = ["get_adapter"]CODE
LOWcore/memory/database/api/__init__.py10__all__ = ["CustomException"]CODE
LOWcore/memory/database/api/v1/__init__.py17__all__ = [CODE
LOWcore/memory/database/domain/entity/schema.py10async def set_search_path_by_schema(session: AsyncSession, schema: str) -> None:CODE
LOWcore/plugin/rpa/utils/log/logger.py27def set_log(log_level: Optional[str] = None, log_path: Optional[str] = None) -> None:CODE
LOWcore/plugin/rpa/api/app.py134 def set_config() -> None:CODE
LOWcore/plugin/rpa/consts/const.py33__all__ = [CODE
LOWcore/plugin/link/infra/tool_crud/process.py91 def update_tools(self, tool_info: List[Dict[str, Any]]) -> None:CODE
LOWcore/plugin/link/consts/const.py97__all__ = [CODE
LOWcore/plugin/aitools/utils/otlp_utils.py16def update_span(response: BaseResponse, span: Optional[SpanLike] = None) -> None:CODE
LOWcore/plugin/aitools/common/clients/adapters.py33 def set_attribute(self, key: str, value: object) -> None:CODE
LOWcore/plugin/aitools/common/clients/adapters.py36 def set_attributes(self, attr: Dict) -> None:CODE
LOW⚡core/plugin/aitools/common/clients/adapters.py69 def set_attribute(self, key: str, value: object) -> None:CODE
LOW⚡core/plugin/aitools/common/clients/adapters.py72 def set_attributes(self, attr: Dict) -> None:CODE
LOW⚡core/plugin/aitools/common/clients/adapters.py109 def set_attribute(self, key: str, value: object) -> None:CODE
LOW⚡core/plugin/aitools/common/clients/adapters.py113 def set_attributes(self, attr: Dict) -> None:CODE
LOWcore/plugin/aitools/common/clients/adapters.py144 def set_attribute(self, key: str, value: object) -> None:CODE
LOWcore/plugin/aitools/common/clients/adapters.py147 def set_attributes(self, attr: Dict) -> None:CODE
LOWcore/agent/tests/test_app_auth.py43def _setup_test_environment(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWcore/agent/tests/test_workflow_agent.py43def _setup_test_environment() -> None:CODE
LOWcore/agent/tests/test_skill_plugin.py106def _setup_test_environment(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWcore/agent/tests/test_workflow_agent_runner.py30def _setup_test_environment() -> None:CODE
LOWcore/agent/tests/test_workflow_agent_builder.py40def _setup_test_environment() -> None:CODE
LOWcore/agent/tests/test_knowledge_plugin.py33def _setup_test_environment() -> None:CODE
LOWcore/agent/tests/test_base_api.py32def _setup_test_environment() -> None:CODE
LOWcore/agent/tests/test_base_llm_model.py37def _setup_test_environment(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWcore/agent/tests/test_plugin_base_link_mcp_workflow.py38def _setup_test_environment(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWcore/agent/tests/test_base_builder.py49def _setup_test_environment() -> None:CODE
LOWcore/agent/tests/test_runner_base_and_chat_cot.py48def _setup_test_environment(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWcore/common/settings/polaris.py42 def _set_cookie(self, session: requests.Session) -> None:CODE
LOWcore/common/settings/polaris.py57 def set_env(configs_content: str) -> None:CODE
LOWcore/common/health/__init__.py3__all__ = ["create_health_router"]CODE
LOWcore/common/otlp/metrics/meter.py52 def set_label(self, key: str, value: str) -> None:CODE
LOW⚡core/common/otlp/log_trace/node_log.py102 def set_next_node_id(self, next_id: str) -> None:CODE
LOW⚡core/common/otlp/log_trace/node_log.py110 def set_first_frame_duration(self) -> None:CODE
LOW⚡core/common/otlp/log_trace/node_log.py119 def set_node_first_cost_time(self, cost_time: float) -> None:CODE
LOW⚡core/common/otlp/log_trace/node_log.py127 def set_start(self) -> None:CODE
LOW⚡core/common/otlp/log_trace/node_log.py135 def set_end(self) -> None:CODE
LOWcore/common/otlp/log_trace/node_trace_log.py68 def set_end(self) -> None:CODE
LOWcore/common/otlp/log_trace/node_trace_log.py81 def set_status(self, code: int, message: str) -> None:CODE
LOWcore/common/otlp/trace/span_instance.py160 def set_status(self, status: Status) -> None:CODE
LOWcore/common/otlp/trace/span_instance.py185 def set_code(self, code: int, node_log: Optional[NodeLog] = None) -> None:CODE
LOWcore/common/otlp/trace/langfuse.py1083__all__ = [CODE
LOWcore/common/otlp/trace/span.py117 def set_status(self, status: Status) -> None:CODE
LOWcore/common/otlp/trace/span.py138 def set_code(self, code: int, node_log: Optional[NodeLog] = None) -> None:CODE
LOWcore/common/service/base.py23 def set_ready(self) -> None:CODE
LOWcore/knowledge/infra/__init__.py10__all__ = [CODE
LOWcore/knowledge/infra/desk/__init__.py10__all__ = [CODE
LOWcore/knowledge/infra/xinghuo/__init__.py23__all__ = [CODE
LOWcore/knowledge/infra/aiui/__init__.py19__all__ = [CODE
LOWcore/knowledge/infra/ragflow/ragflow_utils.py30logger = logging.getLogger(__name__)CODE
LOWcore/knowledge/infra/ragflow/__init__.py26__all__ = [CODE
LOWcore/knowledge/infra/ragflow/ragflow_client.py32logger = logging.getLogger(__name__)CODE
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py39 def _setup_mock_data(self) -> None:CODE
LOWcore/knowledge/exceptions/__init__.py16__all__ = [CODE
LOWcore/knowledge/service/__init__.py12__all__ = [CODE
LOWcore/knowledge/service/impl/__init__.py12__all__ = [CODE
LOWcore/knowledge/service/impl/ragflow_strategy.py22logger = logging.getLogger(__name__)CODE
LOWcore/knowledge/domain/__init__.py11__all__ = [CODE
34 more matches not shown…
Redundant / Tautological Comments54 hits · 84 pts
SeverityFileLineSnippetContext
LOWdocker/ragflow/migration.sh80 # Check if any of our target volumes are used by this containerCOMMENT
LOWdocker/ragflow/migration.sh135 # Check if any containers are using the volumesCOMMENT
LOW⚡docker/ragflow/migration.sh183 # Check if any containers are using the volumesCOMMENT
LOW⚡docker/ragflow/migration.sh186 # Check if backup folder existsCOMMENT
LOW⚡docker/ragflow/migration.sh192 # Check if all backup files existCOMMENT
LOWdocker/ragflow/migration.sh267 # Check if Docker is availableCOMMENT
LOWdocker/ragflow/launch_backend_service.sh12 # Check if .env file existsCOMMENT
LOWcore/memory/database/repository/middleware/getters.py26 # Set search_path to admin schema each time a session is obtainedCOMMENT
LOWcore/memory/database/api/v1/exec_dml.py729 # Check if name is emptyCOMMENT
LOWcore/memory/database/api/v1/exec_ddl.py249 # Check if name is emptyCOMMENT
LOW⚡core/plugin/rpa/tests/unit/api/v1/test_health_check.py88 # Check if the function has been registered with the routerCOMMENT
LOW⚡core/plugin/link/tests/unit/test_infra_fixed.py210 # Check if the instance has expected attributesCOMMENT
LOWcore/plugin/link/utils/security/access_interceptor.py30 # Check if any domain in blacklist is present in URLCOMMENT
LOWcore/plugin/link/utils/security/access_interceptor.py142 # Check if IP is blacklistedCOMMENT
LOWcore/plugin/link/utils/security/access_interceptor.py146# Check if it's a loopback addressCOMMENT
LOWcore/plugin/link/utils/security/access_interceptor.py171 # Check if it's a loopback address (IPv4: 127.0.0.0/8, IPv6: ::1/128)COMMENT
LOW…link/service/community/tools/http/management_server.py367 if tool_info: # Check if tool_info is not NoneCODE
LOW…aitools/service/ocr_llm/req_ase_ability_ocr_service.py101 # Check if it is a title rowCOMMENT
LOW…e/plugin/aitools/service/dial_test/dial_test_client.py179 # Print resultsCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py637 # Check if it's an error returnCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py759 # Check if save was successfulCOMMENT
LOWcore/knowledge/service/rag_strategy_factory.py47 # Check if the class is abstractCOMMENT
LOWcore/knowledge/service/rag_strategy_factory.py81 # Check if the class is abstractCOMMENT
LOWcore/knowledge/service/impl/ragflow_strategy.py596 # Check if chunk already existsCOMMENT
LOW…flow/infra/providers/llm/iflytek_spark/spark_fc_llm.py114 # Check if it's a quick repair: if the last character of sid is '1', it's a quick repairCOMMENT
LOW…flow/infra/providers/llm/iflytek_spark/spark_fc_llm.py170 # Check if it's a quick repair: if the last character of sid is '1', it's a quick repairCOMMENT
LOWcore/workflow/cache/event_registry.py273 # Check if retries field existsCOMMENT
LOW…rkflow/tests/engine/callbacks/test_callback_handler.py208 # Check if response was put in queueCOMMENT
LOW…rkflow/tests/engine/callbacks/test_callback_handler.py933 # Add node to queueCOMMENT
LOWcore/workflow/extensions/otlp/trace/span.py241 # Check if content exceeds size limitCOMMENT
LOWcore/workflow/extensions/otlp/trace/span.py277 # Check if content exceeds size limitCOMMENT
LOWcore/workflow/extensions/otlp/trace/span.py311 # Check if content exceeds size limitCOMMENT
LOWcore/workflow/extensions/otlp/trace/span.py347 # Check if content exceeds size limitCOMMENT
LOWcore/workflow/extensions/fastapi/middleware/auth.py174 # Check if the path is in the exclude pathsCOMMENT
LOWcore/workflow/service/license_service.py23 # Check if license already exists for this app and groupCOMMENT
LOWcore/workflow/service/auth_service.py64 # Check if workflow is published or not taken off from all platformsCOMMENT
LOWcore/workflow/service/audit_service.py45 # Check if this is an empty end frame that needs auditCOMMENT
LOWcore/workflow/service/audit_service.py186 # Check if this is the final responseCOMMENT
LOWcore/workflow/service/publish_service.py85 # Check if tenant has permission to publish to target platformCOMMENT
LOWcore/workflow/service/publish_service.py95 # Check if tenant has permission for workflow's source platformCOMMENT
LOWcore/workflow/service/publish_service.py271 # Check if a workflow with the same group_id and version already existsCOMMENT
LOWcore/workflow/engine/dsl_engine.py262 # Check if first token has been sentCOMMENT
LOWcore/workflow/engine/dsl_engine.py930 # Check if node needs to be executedCOMMENT
LOWcore/workflow/engine/dsl_engine.py1034 # Check if this is a branch type nodeCOMMENT
LOWcore/workflow/engine/dsl_engine.py1161 # Check if error handling is neededCOMMENT
LOWcore/workflow/engine/dsl_engine.py1359 # Check if node is already being processedCOMMENT
LOWcore/workflow/engine/dsl_engine.py1756 # Check if there are any active chainsCOMMENT
LOWcore/workflow/engine/dsl_engine.py2439 # Check if normal path existsCOMMENT
LOWcore/workflow/engine/callbacks/callback_handler.py582 # Check if queue consumption is completeCOMMENT
LOW…w/engine/nodes/question_answer/question_answer_node.py690 # Return resultCOMMENT
LOWcore/workflow/engine/nodes/llm/spark_llm_node.py215 # Check if this input is defined as multimodal in the DSL protocolCOMMENT
LOWcore/workflow/engine/nodes/plugin_tool/plugin_node.py66 # Check if current key matches the target business input keyCOMMENT
LOWcore/workflow/engine/nodes/agent/agent_node.py632 # Set has_sent_first_token to TrueCOMMENT
LOW.github/workflows/release.yml62 # Check if it's a pre-release version (contains -, alpha, beta, rc, etc.)COMMENT
Self-Referential Comments27 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUMcore/memory/database/repository/middleware/manager.py72 # Create the actual serviceCOMMENT
MEDIUMcore/memory/database/tests/test_exec_dml.py561 # Create a parsed SQL with potentially invalid expressionCOMMENT
MEDIUMcore/memory/database/tests/test_common.py160 # Create a mock DBAPIErrorCOMMENT
MEDIUMcore/memory/database/tests/test_common.py204 # Create a mock general exceptionCOMMENT
MEDIUMcore/plugin/link/tests/unit/test_utils.py371 # Create a more realistic mock recordCOMMENT
MEDIUMcore/plugin/link/tests/unit/test_infra_fixed.py136 # Create a proper mock span with context manager supportCOMMENT
MEDIUM…lugin/aitools/tests/api/routes/test_service_scanner.py24 # Create a mock service functionCOMMENT
MEDIUMcore/common/tests/test_audit_system.py374 # Create a mock output frameCOMMENT
MEDIUMcore/common/tests/test_audit_system.py391 # Create a mock output frameCOMMENT
MEDIUMcore/common/tests/test_audit_system.py426 # Create a concrete implementation for testingCOMMENT
MEDIUMcore/common/tests/test_service_base.py16 # Create a concrete service class for testingCOMMENT
MEDIUMcore/common/tests/test_main.py146 # Create a test serviceCOMMENT
MEDIUMcore/common/service/__init__.py68 # Create the actual serviceCOMMENT
MEDIUM⚡core/knowledge/api/v1/api.py145 # Create a CodeEnum-like object for the responseCOMMENT
MEDIUM⚡core/knowledge/api/v1/api.py154 # Create a CodeEnum-like object for the responseCOMMENT
MEDIUMcore/workflow/main.py99 # Create the FastAPI application instanceCOMMENT
MEDIUM…rkflow/tests/engine/callbacks/test_callback_handler.py798 # Create a task that will be cancelledCOMMENT
MEDIUM…rkflow/tests/engine/callbacks/test_callback_handler.py863 # Create a second result to continue loop after exceptionCOMMENT
MEDIUMcore/workflow/extensions/middleware/manager.py83 # Create the actual serviceCOMMENT
MEDIUMcore/workflow/extensions/middleware/database/utils.py34 # Create a new session from the database service engineCOMMENT
MEDIUMcore/workflow/extensions/otlp/util/ip.py17 # Create a UDP socket for connection testingCOMMENT
MEDIUMcore/workflow/extensions/otlp/metric/metric.py89 # Create a Meter from the global MeterProviderCOMMENT
MEDIUMcore/workflow/service/publish_service.py278 # Create a new versioned workflow backupCOMMENT
MEDIUMcore/workflow/engine/nodes/llm/spark_llm_node.py206 # Create a mapping from input identifiers to their DSL-defined fileTypesCOMMENT
MEDIUMcore/workflow/engine/nodes/message/message_node.py59 # Initialize execution variablesCOMMENT
MEDIUMcore/workflow/engine/nodes/end/end_node.py61 # Initialize execution variablesCOMMENT
MEDIUMhelm/astron-agent/examples/external-minio-values.yaml3# Create the referenced Secret separately. Never commit the literal values:COMMENT
Over-Commented Block82 hits · 82 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml1# =============================================================================COMMENT
LOWdocker/ragflow/docker-compose-macos.yml61 # - ./ragflow-logs:/ragflow/logsCOMMENT
LOWdocker/ragflow/docker-compose.yml1include:COMMENT
LOWdocker/ragflow/docker-compose.yml61 # - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.confCOMMENT
LOWdocker/astronAgent/docker-compose.yaml201# image: elasticsearch:7.16.2COMMENT
LOWdocker/astronAgent/docker-compose.yaml221# image: kibana:7.16.2COMMENT
LOWdocker/astronAgent/docker-compose.yaml241# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXTCOMMENT
LOWdocker/astronAgent/docker-compose.yaml341 timeout: ${HEALTH_CHECK_TIMEOUT:-10s}COMMENT
LOWdocker/astronAgent/docker-compose-with-auth.yaml1# ============================================================================COMMENT
LOWcore/memory/database/alembic/alembic.ini1# A generic, single database configuration.COMMENT
LOWcore/memory/database/alembic/alembic.ini21# timezone =COMMENT
LOWcore/memory/database/alembic/alembic.ini41COMMENT
LOWcore/memory/database/alembic/alembic.ini61COMMENT
LOWcore/plugin/link/alembic.ini1# A generic, single database configuration.COMMENT
LOWcore/plugin/link/alembic.ini21# timezone =COMMENT
LOWcore/plugin/link/alembic.ini41COMMENT
LOWcore/plugin/link/alembic.ini61# Database URL will be read from config.env file via env.pyCOMMENT
LOW…re/plugin/link/utils/json_schemas/read_json_schemas.py181 import jsonschemaCOMMENT
LOW…re/plugin/link/utils/json_schemas/read_json_schemas.py201 # "tool_ids": [COMMENT
LOW…re/plugin/link/utils/json_schemas/read_json_schemas.py221 # # {COMMENT
LOW…re/plugin/link/utils/json_schemas/read_json_schemas.py241 # {COMMENT
LOW…re/plugin/link/utils/json_schemas/read_json_schemas.py261 # "input": "xxxxxxxx"COMMENT
LOW…re/plugin/link/utils/json_schemas/read_json_schemas.py301 # "description": "xxxxxx",COMMENT
LOWcore/plugin/aitools/tests/const/test_const.py321 assert os.getenv(SERVICE_NAME_KEY) == "test_service"COMMENT
LOWcore/workflow/alembic/alembic.ini1# A generic, single database configuration.COMMENT
LOWcore/workflow/alembic/alembic.ini21# timezone =COMMENT
LOWcore/workflow/alembic/alembic.ini41COMMENT
LOWcore/workflow/alembic/alembic.ini61COMMENT
LOWcore/workflow/engine/nodes/llm/prompt_ai_personal.py1# System template for AI personality role-playingCOMMENT
LOWmakefiles/parse_localci.sh1#!/usr/bin/env bashCOMMENT
LOWexamples/TEMPLATE/workflow.yml1# Replace this file with your exported Astron Agent workflow DSL.COMMENT
LOW.github/workflows/codeql-security-analysis.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/codeql-security-analysis.yml61 build-mode: noneCOMMENT
LOW.github/workflows/codeql-security-analysis.yml81 - name: Initialize CodeQLCOMMENT
LOWconsole/frontend/src/types/plugin-store.ts201 type: string;COMMENT
LOWconsole/frontend/src/constants/index.ts101 // iconAct: promptTabActive,COMMENT
LOWconsole/frontend/src/utils/spark-utils.ts421 return output ?? [];COMMENT
LOWconsole/frontend/src/utils/spark-utils.ts441 // setQueryString,COMMENT
LOWconsole/frontend/src/utils/spark-utils.ts461 // getSourceResultArray,COMMENT
LOWconsole/frontend/src/utils/record/recorder-core.js701 // sourceStream:MediaStream ObjectCOMMENT
LOWconsole/frontend/src/utils/record/record.js181 this.transferUploadNumberMax,COMMENT
LOW…e/frontend/src/permissions/config/route-permissions.ts1import {COMMENT
LOW…e/frontend/src/permissions/config/route-permissions.ts21 // module: ModuleType.SPACE,COMMENT
LOW…e/frontend/src/permissions/config/route-permissions.ts41COMMENT
LOW…e/frontend/src/permissions/config/route-permissions.ts61 // path: '/management/evaluation_createTask',COMMENT
LOW…e/frontend/src/permissions/config/route-permissions.ts81 // path: '/management/evaluation/dimensions',COMMENT
LOW…e/frontend/src/permissions/config/route-permissions.ts101 module: ModuleType.SPACE,COMMENT
LOW…e/frontend/src/permissions/config/route-permissions.ts121 // {COMMENT
LOW…/src/components/sidebar/bottom-login/index.module.scss81 flex: 1;COMMENT
LOW…/src/components/sidebar/bottom-login/index.module.scss401 // background: transparent;COMMENT
LOWconsole/frontend/src/components/wx-modal/index.tsx101 // return values;COMMENT
LOWconsole/frontend/src/components/wx-modal/index.tsx121 // // });COMMENT
LOWconsole/frontend/src/components/wx-modal/index.tsx141 // })COMMENT
LOWconsole/frontend/src/components/wx-modal/index.tsx161 // setUnBindStatus(false);COMMENT
LOWconsole/frontend/src/components/wx-modal/index.tsx181 // botId?: string;COMMENT
LOWconsole/frontend/src/components/wx-modal/index.tsx201 // setIsClickMcp(true);COMMENT
LOWconsole/frontend/src/components/wx-modal/index.tsx261 });COMMENT
LOWconsole/frontend/src/components/wx-modal/index.tsx281 // return (flag = true);COMMENT
LOWconsole/frontend/src/components/wx-modal/index.tsx301 // type: arr?.[0]?.allowedFileType?.[0] ?? '',COMMENT
LOW…le/frontend/src/components/space/space-modal/index.tsx141COMMENT
22 more matches not shown…
Modern AI Meta-Vocabulary24 hits · 64 pts
SeverityFileLineSnippetContext
MEDIUMCONTRIBUTING.md128│ └── workflow/ # Workflow orchestration (Python)CODE
MEDIUMcore/workflow/engine/nodes/knowledge_pro/consts.py18 AGENTIC_RAG = 1 # Agent-based RAG with deep search capabilitiesCODE
MEDIUMcore/workflow/engine/nodes/knowledge_pro/consts.py19 LONG_RAG = 2 # Long context RAG for extended document processingCODE
MEDIUMcore/workflow/engine/nodes/knowledge_pro/consts.py48 AIUI_RAG2 = 1 # AIUI RAG version 2 repositoryCODE
MEDIUMcore/workflow/engine/nodes/knowledge_pro/consts.py49 CBG_RAG = 2 # CBG (Content-Based Generation) RAG repositoryCODE
MEDIUM…kflow/engine/nodes/knowledge_pro/knowledge_pro_node.py56 # RAG configuration parametersCOMMENT
MEDIUM…kflow/engine/nodes/knowledge_pro/knowledge_pro_node.py57 ragType: Literal[1, 2] = Field(...) # RAG type (1: AGENTIC_RAG, 2: LONG_RAG)CODE
MEDIUM…kflow/engine/nodes/knowledge_pro/knowledge_pro_node.py133 # Validate CBG RAG parameters before proceedingCOMMENT
MEDIUMcore/workflow/engine/nodes/knowledge/knowledge_node.py81 ) # Type of RAG (Retrieval-Augmented Generation) to useCODE
MEDIUM…rkflow/engine/nodes/knowledge/knowledge_expert_node.py66 ) # Type of RAG (Retrieval-Augmented Generation) to useCODE
MEDIUMfaq/features.md66## 知识库(RAG)引用有问题,无法检索或回答?COMMENT
MEDIUMfaq/features.md71## 知识库 (RAG) 如何防止模型幻觉?COMMENT
MEDIUMfaq/features.md489## Agent 有几种接入 RAG(知识库)的方式?COMMENT
MEDIUMdocs/DEPLOYMENT_GUIDE.md230# Create Spark RAG datasetCOMMENT
MEDIUMdocs/CONTRIBUTING.md128│ └── workflow/ # Workflow orchestration (Python)CODE
MEDIUMdocs/DEPLOYMENT_GUIDE_WITH_AUTH.md154# Create Spark RAG datasetCOMMENT
MEDIUMdocs/DEPLOYMENT_GUIDE_WITH_AUTH_RPA.md155# Create Spark RAG datasetCOMMENT
MEDIUM…/resources/db/migration/V1.14__insert_config_data2.sql2083 "markdown": "## Purpose\\nIn complex scenarios, use intelligent strategy to query knowledge base and generate suSTRING
MEDIUM…es/db/migration/V1.17__insert_workflow_node_config.sql152 "markdown": "## 用途\\n在复杂的场景下,通过智能策略调用知识库,可以指定知识库进行知识检索和总结回复。\\n## 回答模式\\n选择用于对问题进行拆解以及对召回结果进行总结的大模型。\\n## 策略选择\\CODE
MEDIUM…n/resources/db/migration/V1.13__insert_config_data.sql1648 "markdown": "## 用途\\n在复杂的场景下,通过智能策略调用知识库,可以指定知识库进行知识检索和总结回复。\\n## 回答模式\\n选择用于对问题进行拆解以及对召回结果进行总结的大模型。\\n## 策略选择\\STRING
MEDIUM⚡…end/toolkit/src/main/resources/application-toolkit.yml46# RAG/Search generates maximum character count threshold (too large affects performance)COMMENT
MEDIUM⚡…end/toolkit/src/main/resources/application-toolkit.yml48# CBG RAG compatible source types (sources that have same behavior as CBG-RAG)COMMENT
MEDIUM⚡…end/toolkit/src/main/resources/application-toolkit.yml52# AIUI RAG compatible source types (sources that have same behavior as AIUI-RAG2)COMMENT
MEDIUM⚡…end/toolkit/src/main/resources/application-toolkit.yml55# Spark RAG compatible source types (sources that have same behavior as SparkDesk-RAG)COMMENT
Structural Annotation Overuse33 hits · 58 pts
SeverityFileLineSnippetContext
LOW⚡…/knowledge/tests/service/impl/ragflow_strategy_test.py713 # Step 1: Save some chunks for subsequent updateCOMMENT
LOW⚡…/knowledge/tests/service/impl/ragflow_strategy_test.py890 # Step 1: File splitCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py771 # Step 2: Prepare update dataCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py909 # Step 2: Batch save testCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py933 # Step 3: Single chunk update testCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py967 # Step 4: Query interface testCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py996 # Step 5: Validate final stateCOMMENT
LOW⚡core/knowledge/service/impl/ragflow_strategy.py449 # Step 7: Convert to standard formatCOMMENT
LOWcore/knowledge/service/impl/ragflow_strategy.py415 # Step 1: Resolve datasetCOMMENT
LOWcore/knowledge/service/impl/ragflow_strategy.py1083 # Step 1: Get total countCOMMENT
LOWcore/knowledge/service/impl/ragflow_strategy.py1103 # Step 2: Get all dataCOMMENT
LOW⚡core/workflow/infra/audit_system/utils.py92 # Step 1: Try to split by ending punctuation to find complete sentencesCOMMENT
LOW⚡core/workflow/infra/audit_system/utils.py99 # Step 2: If no complete sentences found, split by non-ending punctuationCOMMENT
LOW⚡core/workflow/infra/audit_system/utils.py107 # Step 3: Fallback - return first N characters as a single sentenceCOMMENT
LOW⚡core/workflow/engine/entities/history.py38 # Step 1: Classify images and other elementsCOMMENT
LOW⚡core/workflow/engine/entities/history.py41 # Step 2: Take the latest image onlyCOMMENT
LOW⚡core/workflow/engine/entities/history.py45 # Step 3: Group other messages in pairs (one round = 2 messages)COMMENT
LOW⚡core/workflow/engine/entities/history.py50 # Step 4: Limit by roundsCOMMENT
LOW⚡core/workflow/engine/entities/history.py55 # Step 5: Combine historyCOMMENT
LOWdocs/DEPLOYMENT_GUIDE.md27### Step 1: Start Casdoor Identity Authentication ServiceCOMMENT
LOWdocs/DEPLOYMENT_GUIDE.md46### Step 2: Start RagFlow Knowledge Base Service (Optional)COMMENT
LOWdocs/DEPLOYMENT_GUIDE.md75### Step 3: Integrate Casdoor and Basic Environment Configuration (Configure as needed)COMMENT
LOWdocs/DEPLOYMENT_GUIDE.md154### Step 4: Start astronAgent Core Services (Required Deployment Step)COMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH.md27### Step 1: Start RagFlow Knowledge Base Service (Optional, deploy as needed)COMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH.md62### Step 2: Configure AstronAgent Environment VariablesCOMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH.md169### Step 3: Start AstronAgent Core Services (Including Casdoor Authentication Service)COMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH.md189### Step 4: Configure Platform Account Management (Optional, configure business capabilities as needed)COMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH.md200### Step 5: Modify Casdoor Authentication (Optional)COMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH_RPA.md28### Step 1: Start RagFlow Knowledge Base Service (Optional, deploy as needed)COMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH_RPA.md63### Step 2: Configure AstronAgent Environment VariablesCOMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH_RPA.md170### Step 3: Start AstronAgent Core Services (includes Casdoor authentication service, RPA backend service)COMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH_RPA.md189### Step 4: Configure Platform Account Management (Optional, configure business capabilities as needed)COMMENT
LOWdocs/DEPLOYMENT_GUIDE_WITH_AUTH_RPA.md200### Step 5: Modify Casdoor Authentication (Optional)COMMENT
Magic Placeholder Names9 hits · 48 pts
SeverityFileLineSnippetContext
HIGHexamples/README.md76 or phone numbers. **Remove or replace them with placeholders** (e.g. `YOUR_API_KEY`) beforeCODE
HIGHexamples/README.md118- **不含任何密钥**:⚠️ 导出的 DSL 可能内嵌 API Key、token、个人端点、OSS 地址、手机号等,提交前务必删除或替换为占位符(如 `YOUR_API_KEY`)。含真实凭据的 PR 会被拒绝。CODE
HIGHexamples/TEMPLATE/workflow.yml19# and replace them with placeholders such as YOUR_API_KEY.COMMENT
HIGHexamples/ai-radio-podcast/workflow.yml451 apiKey: YOUR_API_KEYCODE
HIGHexamples/ai-radio-podcast/workflow.yml585 apiKey: YOUR_API_KEYCODE
HIGHexamples/ai-radio-podcast/workflow.yml760 apiKey: YOUR_API_KEYCODE
HIGHexamples/ai-radio-podcast/workflow.yml863 apiKey: YOUR_API_KEYCODE
HIGHexamples/ai-radio-podcast/workflow.yml964 apiKey: YOUR_API_KEYCODE
HIGHexamples/ai-radio-podcast/README.md352. Replace the `YOUR_API_KEY` / `YOUR_API_SECRET` / `YOUR_APP_ID` placeholders with your own credentials.CODE
Verbosity Indicators19 hits · 37 pts
SeverityFileLineSnippetContext
LOW⚡…/knowledge/tests/service/impl/ragflow_strategy_test.py713 # Step 1: Save some chunks for subsequent updateCOMMENT
LOW⚡…/knowledge/tests/service/impl/ragflow_strategy_test.py890 # Step 1: File splitCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py771 # Step 2: Prepare update dataCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py909 # Step 2: Batch save testCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py933 # Step 3: Single chunk update testCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py967 # Step 4: Query interface testCOMMENT
LOW…/knowledge/tests/service/impl/ragflow_strategy_test.py996 # Step 5: Validate final stateCOMMENT
LOW⚡core/knowledge/service/impl/ragflow_strategy.py449 # Step 7: Convert to standard formatCOMMENT
LOWcore/knowledge/service/impl/ragflow_strategy.py415 # Step 1: Resolve datasetCOMMENT
LOWcore/knowledge/service/impl/ragflow_strategy.py1083 # Step 1: Get total countCOMMENT
LOWcore/knowledge/service/impl/ragflow_strategy.py1103 # Step 2: Get all dataCOMMENT
LOW⚡core/workflow/infra/audit_system/utils.py92 # Step 1: Try to split by ending punctuation to find complete sentencesCOMMENT
LOW⚡core/workflow/infra/audit_system/utils.py99 # Step 2: If no complete sentences found, split by non-ending punctuationCOMMENT
LOW⚡core/workflow/infra/audit_system/utils.py107 # Step 3: Fallback - return first N characters as a single sentenceCOMMENT
LOW⚡core/workflow/engine/entities/history.py38 # Step 1: Classify images and other elementsCOMMENT
LOW⚡core/workflow/engine/entities/history.py41 # Step 2: Take the latest image onlyCOMMENT
LOW⚡core/workflow/engine/entities/history.py45 # Step 3: Group other messages in pairs (one round = 2 messages)COMMENT
LOW⚡core/workflow/engine/entities/history.py50 # Step 4: Limit by roundsCOMMENT
LOW⚡core/workflow/engine/entities/history.py55 # Step 5: Combine historyCOMMENT
Fake / Example Data34 hits · 36 pts
SeverityFileLineSnippetContext
LOW⚡docker/astronAgent/casdoor/conf/init_data.json842 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json851 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json860 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json869 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json878 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json887 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json896 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json905 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json914 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json923 "placeholder": "",CODE
LOW⚡docker/astronAgent/casdoor/conf/init_data.json932 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json713 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json726 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json739 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json752 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json765 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json778 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json791 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json804 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json817 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json830 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json1054 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json1067 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json1080 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json1093 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json1106 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json1119 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json1132 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json1145 "placeholder": "",CODE
LOWdocker/astronAgent/casdoor/conf/init_data.json1394 "email": "admin@example.com",CODE
LOW…re/plugin/link/utils/json_schemas/read_json_schemas.py266 # "placeholder": [COMMENT
LOW…utils/json_schemas/schema_files/action_run_schema.json265 "placeholder": {CODE
LOW…c/components/workflow/modal/knowledge-detail/index.tsx1015 searchRef.current.setAttribute('placeholder', '请输入');CODE
LOW…source-management/knowledge-detail/file-page/index.tsx253 // searchRef.current.setAttribute('placeholder', '请输入')COMMENT
Cross-Language Confusion5 hits · 32 pts
SeverityFileLineSnippetContext
HIGH⚡docker/astronAgent/scripts/verify_security_contract.py939safe_token "$workflow_key" 32 128 || exit 22CODE
HIGH⚡docker/astronAgent/scripts/verify_security_contract.py940safe_token "$tenant_key" 32 50 || exit 23CODE
HIGH⚡docker/astronAgent/scripts/verify_security_contract.py941safe_token "$tenant_secret" 32 50 || exit 24CODE
HIGH…e/agent/engine/nodes/cot_process/cot_process_prompt.py37 "call tool": null,CODE
HIGHcore/workflow/engine/nodes/question_answer/prompt.py73 "<缺失字段名1>": null,CODE
AI Structural Patterns14 hits · 14 pts
SeverityFileLineSnippetContext
LOWcore/plugin/link/infra/tool_exector/http_auth.py267CODE
LOWcore/plugin/aitools/api/decorators/api_service.py12CODE
LOWcore/agent/infra/app_auth.py64CODE
LOWcore/knowledge/infra/desk/sparkdesk.py46CODE
LOWcore/knowledge/infra/xinghuo/xinghuo.py70CODE
LOWcore/knowledge/infra/xinghuo/xinghuo.py249CODE
LOWcore/knowledge/infra/xinghuo/xinghuo.py325CODE
LOWcore/knowledge/infra/xinghuo/xinghuo.py355CODE
LOWcore/knowledge/infra/xinghuo/xinghuo.py385CODE
LOWcore/knowledge/api/v1/api.py295CODE
LOWcore/knowledge/service/impl/ragflow_strategy.py342CODE
LOWcore/workflow/engine/callbacks/openai_types_sse.py199CODE
LOWcore/workflow/engine/nodes/base_node.py1364CODE
LOW…w/engine/nodes/question_answer/question_answer_node.py889CODE
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMcore/plugin/link/tests/unit/test_mcp_server.py163CODE
MEDIUMcore/plugin/link/tests/unit/test_mcp_transport.py394CODE
MEDIUMcore/agent/tests/test_skill_resource_security.py156CODE
MEDIUMcore/agent/tests/test_langfuse_observability.py666CODE
AI Slop Vocabulary6 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMcore/plugin/rpa/tests/test_runner.py1"""Test runner script for RPA service comprehensive testing.STRING
MEDIUMcore/plugin/rpa/tests/test_runner.py263 """Generate a comprehensive test report."""STRING
MEDIUMcore/plugin/link/tests/test_runner.py124 """Generate comprehensive test report"""STRING
MEDIUMcore/workflow/tests/engine/dsl/test_engine.py530 """Test comprehensive error handler chain coverage for various exception types.STRING
MEDIUMcore/workflow/tests/engine/dsl/test_engine.py582 """Test comprehensive error scenario coverage for WorkflowEngine.STRING
MEDIUM…ne/nodes/code/executor/langchain/langchain_executor.py143 # environment here as well keeps the executor robust in tests and when aCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHconsole/frontend/src/locales/en.js61 'All content is generated by AI model, and the accuracy and completeness of content cannot be guaranteed. It does noCODE
Overly Generic Function Names3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcore/agent/tests/test_plugin_base_link_mcp_workflow.py269 async def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWcore/common/otlp/log_trace/node_trace_log.py106 def process_data(data: dict, depth: int = 0) -> Any:CODE
LOW⚡core/workflow/tests/engine/nodes/test_code_node.py36 code_node._parser_code_parameter("def helper():\n return {}")CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcore/workflow/engine/nodes/base_node.py915 # TODO: Handle error reportingCOMMENT
LOWcore/workflow/engine/nodes/plugin_tool/link_client.py127 # TODO: Add validation for required parametersCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql-security-analysis.yml68 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmakefiles/parse_localci.sh11# Usage:COMMENT