AI Slop Code Risk Monitor

apache/iotdb

SlopCodeMonitor badge for apache/iotdb Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Apache IoTDB

1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apache/iotdb, a Java project with 6,425 GitHub stars. SynthScan examined 2,059,980 lines of code across 9071 source files, recording 1520 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low 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.

1.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.4K
Stars
Java
Language
2.1M
Lines of Code
9.1K
Files
1.5K
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 3.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.8/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 8.8/100 · LOW

Which changes need focused human review? 1520 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 233HIGH 28MEDIUM 31LOW 1228

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 1520 distinct pattern matches across 23 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.

Hallucination Indicators233 hits · 2390 pts
SeverityFileLineSnippetContext
CRITICAL…n/java/org/apache/iotdb/tool/data/ExportDataTable.java527 .tableSchema(new org.apache.tsfile.file.metadata.TableSchema(task.table(), schemas))CODE
CRITICAL…g/apache/iotdb/jdbc/IoTDBAbstractDatabaseMetadata.java611 return org.apache.iotdb.jdbc.IoTDBDriver.class.getName();CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java395 if (org.apache.tsfile.external.commons.lang3.StringUtils.isNotEmpty(catalog)) {CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java400 } else if (org.apache.tsfile.external.commons.lang3.StringUtils.isNotEmpty(schemaPattern)) {CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java406 if ((org.apache.tsfile.external.commons.lang3.StringUtils.isNotEmpty(catalog)CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java407 || org.apache.tsfile.external.commons.lang3.StringUtils.isNotEmpty(schemaPattern))CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java408 && org.apache.tsfile.external.commons.lang3.StringUtils.isNotEmpty(tableNamePattern)) {CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java415 if ((org.apache.tsfile.external.commons.lang3.StringUtils.isNotEmpty(catalog)CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java416 || org.apache.tsfile.external.commons.lang3.StringUtils.isNotEmpty(schemaPattern))CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java417 && org.apache.tsfile.external.commons.lang3.StringUtils.isNotEmpty(tableNamePattern)CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java418 && org.apache.tsfile.external.commons.lang3.StringUtils.isNotEmpty(columnNamePattern)) {CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java425 if (org.apache.tsfile.external.commons.lang3.StringUtils.isEmpty(catalog)CODE
CRITICAL⚡…/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java426 && org.apache.tsfile.external.commons.lang3.StringUtils.isEmpty(schemaPattern)CODE
CRITICAL…er/base/SubscriptionProviderConnectionTimeoutTest.java103 .transportFactory(new org.apache.iotdb.rpc.TElasticFramedTransport.Factory()));CODE
CRITICAL…er/base/SubscriptionProviderConnectionTimeoutTest.java216 .transportFactory(new org.apache.iotdb.rpc.TElasticFramedTransport.Factory()));CODE
CRITICAL…/apache/iotdb/rpc/subscription/config/TopicConfig.java394 // org.apache.iotdb.db.pipe.agent.task.connection.PipeEventCollector.parseAndCollectEvent(org.apache.iotdb.db.pipe.eCOMMENT
CRITICAL…df/src/main/java/org/apache/iotdb/udf/UDAFExample.java89 org.apache.tsfile.read.common.type.Type.fromTsDataType(CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java49 "CREATE ALIGNED TIMESERIES root.test.table1.shanghai.shanghai.huangpu.d01(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLCODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java50 "CREATE ALIGNED TIMESERIES root.test.table1.shanghai.shanghai.huangpu.d02(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLCODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java51 "CREATE ALIGNED TIMESERIES root.test.table1.shanghai.shanghai.huangpu.d03(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLCODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java52 "CREATE ALIGNED TIMESERIES root.test.table1.shanghai.shanghai.huangpu.d04(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLCODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java53 "CREATE ALIGNED TIMESERIES root.test.table1.shanghai.shanghai.pudong.d05(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLECODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java54 "CREATE ALIGNED TIMESERIES root.test.table1.shanghai.shanghai.pudong.d06(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLECODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java55 "CREATE ALIGNED TIMESERIES root.test.table1.shanghai.shanghai.pudong.d07(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLECODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java56 "CREATE ALIGNED TIMESERIES root.test.table1.shanghai.shanghai.pudong.d08(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLECODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java57 "CREATE ALIGNED TIMESERIES root.test.table1.beijing.beijing.chaoyang.d09(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLECODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java58 "CREATE ALIGNED TIMESERIES root.test.table1.beijing.beijing.chaoyang.d10(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLECODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java59 "CREATE ALIGNED TIMESERIES root.test.table1.beijing.beijing.chaoyang.d11(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLECODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java60 "CREATE ALIGNED TIMESERIES root.test.table1.beijing.beijing.chaoyang.d12(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLECODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java61 "CREATE ALIGNED TIMESERIES root.test.table1.beijing.beijing.haidian.d13(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLE,CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java62 "CREATE ALIGNED TIMESERIES root.test.table1.beijing.beijing.haidian.d14(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLE,CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java63 "CREATE ALIGNED TIMESERIES root.test.table1.beijing.beijing.haidian.d15(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLE,CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java64 "CREATE ALIGNED TIMESERIES root.test.table1.beijing.beijing.haidian.d16(s1 INT32, s2 INT64, s3 FLOAT, s4 DOUBLE,CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java65 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d01(time,s1,s3,s6,s8,s9) aligned values (2024-09-24T06:1CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java66 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d01(time,s2,s3,s4,s6,s7,s9,s10) aligned values (2024-09-CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java67 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d01(time,s1,s3,s5,s7,s9) aligned values (2024-09-24T06:1CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java68 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d01(time,s2,s5,s9,s10) aligned values (2024-09-24T06:15:CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java69 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d01(time,s1,s4,s8,s9) aligned values (2024-09-24T06:15:5CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java70 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d02(time,s1,s5,s6,s7,s9) aligned values (2024-09-24T06:1CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java71 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d02(time,s1,s4,s7,s9,s10) aligned values (2024-09-24T06:CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java72 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d02(time,s2,s7,s8,s9) aligned values (2024-09-24T06:15:5CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java73 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d03(time,s2,s8,s9) aligned values (2024-09-24T06:15:31.0CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java74 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d03(time,s1,s4,s7,s9,s10) aligned values (2024-09-24T06:CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java75 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d03(time,s1,s3,s5,s6,s8,s9) aligned values (2024-09-24T0CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java76 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d03(time,s2,s4,s7,s9) aligned values (2024-09-24T06:15:4CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java77 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d03(time,s3,s6,s9) aligned values (2024-09-24T06:15:51.0CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java78 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d04(time,s3,s5,s7,s9,s10) aligned values (2024-09-24T06:CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java79 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d04(time,s2,s9) aligned values (2024-09-24T06:15:40.000+CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java80 "INSERT INTO root.test.table1.shanghai.shanghai.huangpu.d04(time,s1,s4,s6,s8,s9) aligned values (2024-09-24T06:1CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java81 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d05(time,s1,s3,s6,s8,s9) aligned values (2024-09-24T06:15CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java82 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d05(time,s2,s3,s4,s6,s7,s9,s10) aligned values (2024-09-2CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java83 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d05(time,s1,s3,s5,s7,s9) aligned values (2024-09-24T06:15CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java84 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d05(time,s2,s5,s9,s10) aligned values (2024-09-24T06:15:5CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java85 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d05(time,s1,s4,s8,s9) aligned values (2024-09-24T06:15:55CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java86 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d06(time,s1,s5,s6,s7,s9) aligned values (2024-09-24T06:15CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java87 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d06(time,s1,s4,s7,s9,s10) aligned values (2024-09-24T06:1CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java88 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d06(time,s2,s7,s8,s9) aligned values (2024-09-24T06:15:50CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java89 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d07(time,s2,s8,s9) aligned values (2024-09-24T06:15:31.00CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java90 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d07(time,s1,s4,s7,s9,s10) aligned values (2024-09-24T06:1CODE
CRITICAL⚡…/it/query/view/recent/IoTDBTableViewAggregationIT.java91 "INSERT INTO root.test.table1.shanghai.shanghai.pudong.d07(time,s1,s3,s5,s6,s8,s9) aligned values (2024-09-24T06CODE
173 more matches not shown…
Over-Commented Block567 hits · 558 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1#COMMENT
LOWcodecov.yml1#COMMENT
LOWdocker/src/main/ainode-entrypoint.sh1#!/bin/bashCOMMENT
LOWdocker/src/main/build-ainode.sh1#!/bin/bashCOMMENT
LOW…er/src/main/DockerCompose/docker-compose-host-3c3d.yml1#COMMENT
LOW…er/src/main/DockerCompose/docker-compose-host-3c3d.yml61 - /etc/hosts:/etc/hosts:roCOMMENT
LOWdocker/src/main/DockerCompose/do-docker-build.sh1#!/bin/bashCOMMENT
LOWdocker/src/main/DockerCompose/start-1c1d.sh1#!/bin/bashCOMMENT
LOWdocker/src/main/DockerCompose/replace-conf-from-env.sh1#!/bin/bashCOMMENT
LOW…src/main/DockerCompose/docker-compose-cluster-1c2d.yml1#COMMENT
LOW…c/main/DockerCompose/docker-compose-cluster-1c1d1a.yml1#COMMENT
LOWdocker/src/main/DockerCompose/docker-compose-ainode.yml1#COMMENT
LOWdocker/src/main/DockerCompose/entrypoint.sh1#!/bin/bashCOMMENT
LOW…r/src/main/DockerCompose/docker-compose-standalone.yml1#COMMENT
LOWiotdb-client/client-py/session_example.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/requirements.txt1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/session_example_date.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/table_model_session_example.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/release.sh1#!/bin/bashCOMMENT
LOW…b-client/client-py/table_model_session_pool_example.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/session_ssl_example.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…client/client-py/session_aligned_timeseries_example.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/session_pool_example.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/requirements_dev.txt1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/resources/pyproject.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/tests/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/tests/unit/test_session_ssl.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/tests/unit/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/tests/unit/test_session_utils.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…client/client-py/tests/unit/test_session_connection.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/tests/unit/test_numpy_tablet.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…b-client/client-py/tests/unit/test_session_node_url.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…-client/client-py/tests/unit/test_session_query_ids.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…client/client-py/tests/integration/test_delete_data.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…client-py/tests/integration/test_relational_session.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…client-py/tests/integration/test_aligned_timeseries.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…tdb-client/client-py/tests/integration/test_session.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/tests/integration/test_todf.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…t/client-py/tests/integration/test_tablemodel_query.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/tests/integration/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…lient/client-py/tests/integration/test_session_pool.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…ent/client-py/tests/integration/test_new_data_types.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…-client/client-py/tests/integration/test_one_device.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…-py/tests/integration/tablet_performance_comparison.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…t/client-py/tests/integration/test_treemodel_insert.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/tests/integration/test_tablet.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…-client/client-py/tests/integration/iotdb_container.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…/client-py/tests/integration/test_tablemodel_insert.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…b-client/client-py/tests/integration/test_dataframe.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…client-py/tests/integration/sqlalchemy/test_dialect.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…ent/client-py/tests/integration/sqlalchemy/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…t/client-py/tests/integration/dbapi/test_connection.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…b-client/client-py/tests/integration/dbapi/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…lient/client-py/tests/integration/dbapi/test_cursor.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/iotdb/table_session_pool.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/iotdb/Session.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/iotdb/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/iotdb/table_session.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWiotdb-client/client-py/iotdb/SessionPool.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…b-client/client-py/iotdb/template/TemplateQueryType.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
507 more matches not shown…
Hyper-Verbose Identifiers196 hits · 203 pts
SeverityFileLineSnippetContext
LOWiotdb-client/client-py/tests/unit/test_session_ssl.py80def test_session_ssl_loads_client_cert_chain(monkeypatch):CODE
LOWiotdb-client/client-py/tests/unit/test_session_ssl.py104def test_session_ssl_requires_client_cert_and_key_together(monkeypatch):CODE
LOWiotdb-client/client-py/tests/unit/test_session_ssl.py118def test_dbapi_connection_passes_ssl_options(monkeypatch):CODE
LOWiotdb-client/client-py/tests/unit/test_session_utils.py28def test_filter_null_columns_tablet():CODE
LOWiotdb-client/client-py/tests/unit/test_session_utils.py68def test_filter_null_columns_table_model_keeps_tag():CODE
LOWiotdb-client/client-py/tests/unit/test_session_utils.py84def test_filter_null_columns_numpy_tablet():CODE
LOWiotdb-client/client-py/tests/unit/test_session_utils.py110def test_filter_null_columns_numpy_tablet_active_rows():CODE
LOWiotdb-client/client-py/tests/unit/test_session_utils.py135def test_bitmap_is_range_all_marked():CODE
LOW…client/client-py/tests/unit/test_session_connection.py56def test_session_does_not_retry_iotdb_status_error(CODE
LOW…client/client-py/tests/unit/test_session_connection.py90def test_session_retries_transport_error(monkeypatch):CODE
LOWiotdb-client/client-py/tests/unit/test_numpy_tablet.py27def test_numpy_tablet_serialization():CODE
LOWiotdb-client/client-py/tests/unit/test_numpy_tablet.py64def test_numpy_tablet_with_none_serialization():CODE
LOWiotdb-client/client-py/tests/unit/test_numpy_tablet.py156def test_numpy_tablet_auto_correct_datatype():CODE
LOW…b-client/client-py/tests/unit/test_session_node_url.py37def test_init_from_node_urls_with_hostname():CODE
LOW…b-client/client-py/tests/unit/test_session_node_url.py84def test_not_wildcard_address(host):CODE
LOW…-client/client-py/tests/unit/test_session_query_ids.py63def test_query_fetch_and_close_keep_connection_ids(CODE
LOW…lient/client-py/tests/integration/test_session_pool.py82def test_session_pool_by_node_urls():CODE
LOW…t/client-py/tests/integration/test_treemodel_insert.py719def test_insert_aligned_tablet():CODE
LOW…t/client-py/tests/integration/test_treemodel_insert.py2085def test_insert_aligned_tablets():CODE
LOW…t/client-py/tests/integration/test_treemodel_insert.py3005def test_insert_aligned_record():CODE
LOW…t/client-py/tests/integration/test_treemodel_insert.py3967def test_insert_aligned_records():CODE
LOW…t/client-py/tests/integration/test_treemodel_insert.py4412def test_insert_records_of_one_device():CODE
LOW…t/client-py/tests/integration/test_treemodel_insert.py4831def test_insert_aligned_records_of_one_device():CODE
LOWiotdb-client/client-py/tests/integration/test_tablet.py73def test_nullable_tablet_insertion():CODE
LOW…/client-py/tests/integration/test_tablemodel_insert.py620def test_insert_relational_tablet_use_numpy_tablet():CODE
LOW…/client-py/tests/integration/test_tablemodel_insert.py1102def test_insert_relational_tablet_auto_create():CODE
LOW…b-client/client-py/tests/integration/test_dataframe.py71def test_stream_query_with_illegal_fetch_size():CODE
LOWiotdb-client/client-py/iotdb/Session.py467 def create_aligned_time_series(CODE
LOWiotdb-client/client-py/iotdb/Session.py663 def insert_aligned_str_record(CODE
LOWiotdb-client/client-py/iotdb/Session.py1036 def gen_insert_str_record_req(CODE
LOWiotdb-client/client-py/iotdb/Session.py1326 def insert_records_of_one_device(CODE
LOWiotdb-client/client-py/iotdb/Session.py1342 def insert_records_of_one_device_sorted(CODE
LOWiotdb-client/client-py/iotdb/Session.py1396 def insert_aligned_records_of_one_device(CODE
LOWiotdb-client/client-py/iotdb/Session.py1412 def insert_aligned_records_of_one_device_sorted(CODE
LOWiotdb-client/client-py/iotdb/Session.py1468 def gen_insert_records_of_one_device_request(CODE
LOWiotdb-client/client-py/iotdb/Session.py1558 def gen_insert_relational_tablet_req(self, tablet, is_aligned=False):CODE
LOWiotdb-client/client-py/iotdb/Session.py1648 def execute_non_query_statement(self, sql):CODE
LOWiotdb-client/client-py/iotdb/Session.py1929 def insert_string_records_of_one_device(CODE
LOWiotdb-client/client-py/iotdb/Session.py1974 def insert_aligned_string_records_of_one_device(CODE
LOWiotdb-client/client-py/iotdb/Session.py2092 def gen_insert_string_records_of_one_device_request(CODE
LOWiotdb-client/client-py/iotdb/Session.py2216 def add_measurements_in_template(CODE
LOWiotdb-client/client-py/iotdb/Session.py2344 def count_measurements_in_template(self, template_name: str):CODE
LOWiotdb-client/client-py/iotdb/Session.py2374 def is_measurement_in_template(self, template_name: str, path: str):CODE
LOWiotdb-client/client-py/iotdb/Session.py2407 def is_path_exist_in_template(self, template_name: str, path: str):CODE
LOWiotdb-client/client-py/iotdb/Session.py2437 def show_measurements_in_template(self, template_name: str, pattern: str = ""):CODE
LOWiotdb-client/client-py/iotdb/Session.py2500 def show_paths_template_set_on(self, template_name):CODE
LOWiotdb-client/client-py/iotdb/Session.py2529 def show_paths_template_using_on(self, template_name):CODE
LOWiotdb-client/client-py/iotdb/table_session.py120 def execute_non_query_statement(self, sql: str):CODE
LOWiotdb-client/client-py/iotdb/utils/SessionDataSet.py137 def construct_row_record_from_data_frame(self):CODE
LOWiotdb-client/client-py/iotdb/utils/iotdb_rpc_dataset.py515 def find_column_name_by_index(self, column_index):CODE
LOWiotdb-client/client-py/iotdb/utils/rpc_utils.py63def verify_success_with_redirection(status: TSStatus):CODE
LOWiotdb-client/client-py/iotdb/utils/rpc_utils.py70def verify_success_with_redirection_for_multi_devices(status: TSStatus, devices: list):CODE
LOWiotdb-client/client-py/iotdb/utils/rpc_utils.py137def _isoformat_from_components(ts: pd.Timestamp, unit: str) -> str:CODE
LOWiotdb-client/client-py/iotdb/utils/SessionUtils.py26def _is_column_all_null_bitmap(bitmap: Optional[BitMap], row_number: int) -> bool:CODE
LOWiotdb-client/client-py/iotdb/utils/SessionUtils.py33def _is_tablet_column_all_null(tablet: Tablet, column_index: int) -> bool:CODE
LOW…b-client/client-py/iotdb/tsfile/utils/tsblock_serde.py93def deserialize_null_indicators(buffer, size):CODE
LOW…b-client/client-py/iotdb/tsfile/utils/tsblock_serde.py169def deserialize_from_boolean_array(buffer, size):CODE
LOWiotdb-client/client-py/iotdb/sqlalchemy/IoTDBDialect.py115 def _dialect_specific_select_one(self):CODE
LOWiotdb-client/client-py/iotdb/sqlalchemy/IoTDBDialect.py120 def _general_time_column_info(self):CODE
LOW…dataregion/compaction/settle/SettleRequestHandler.java57public class SettleRequestHandler {CODE
136 more matches not shown…
Verbosity Indicators120 hits · 167 pts
SeverityFileLineSnippetContext
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java157 // Step 1: CREATE USERCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java165 // Step 2: ALTER USER SET PASSWORDCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java202 // Step 4: LIST USERCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java211 // Step 6: CREATE ROLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java237 // Step 8: GRANT ROLE to userCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java245 // Step 9: GRANT SELECT ON TABLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java255 // Step 10: Verify NO INSERT permission (never granted)COMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java259 // Step 11: GRANT INSERT ON TABLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java268 // Step 12: REVOKE INSERT ON TABLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java277 // Step 13: REVOKE SELECT ON TABLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java286 // Step 14: GRANT SYSTEMCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java294 // Step 15: REVOKE SYSTEMCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java350 // Step 16: Verify NO WRITE permissionCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java354 // Step 17: GRANT WRITE_DATA ON tree pathCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java363 // Step 18: REVOKE WRITE_DATA ON tree pathCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java372 // Step 19: REVOKE READ_DATA ON tree pathCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java425 // Step 21: REVOKE ROLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java433 // Step 22: DROP ROLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java441 // Step 23: DROP USER renamed_userCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java449 // Step 24: DROP USER ha_userCOMMENT
LOW…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java182 // Step 3: ALTER USER RENAME TOCOMMENT
LOW…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java222 // Step 6: LIST ROLE OF USER renamed_userCOMMENT
LOW…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java339 // Step 15: GRANT READ_DATA ON tree pathCOMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java244 // Step 1: Insert data with 3 measurements and flushCOMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java252 // Step 2: Insert more data without flush (creates WAL-only entries)COMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java256 // Step 3: Delete one timeseriesCOMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java260 // Step 4: Flush again to persist the deletionCOMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java267 // Step 5: Wait for replication to complete on data region leadersCOMMENT
LOW…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java283 // Step 6: Verify schema consistency on each DataNode independentlyCOMMENT
LOW…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java309 // Step 7: Stop each DataNode one by one and verify remaining nodes still consistentCOMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java640 // Step 3: t=10 triggers 9-6=3 new groups (27 replicas total), giving 12 data partitions.COMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java649 // Step 4: repeating CUSTOM and writing t=20 preserves 9 groups / 6 slots / the same owners.COMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java861 // Step 2: AUTO database, t=0/10: 6 slots, 1 schema group, 2 data groups, 12 data partitions.COMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java864 // Step 3: switch both policies, then populate the second database with the same workload.COMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java873 // Step 4: write the existing AUTO database's six devices at t=20 after the global switch.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java133 // Step 1: one database on 1C3D; AUTO starts with minimums of 1 schema group / 2 data groups.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java166 // Step 2: t=20 raises the data-partition count to 6 * 3 = 18, still only 6 series slots.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java187 // Step 3: hot-reload only the data policy. Schema stays AUTO; no node is restarted.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java219 // Step 4: verify ownership, not just the final group count. At rebalance,COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java255 // Step 5: repeat the reload and write t=40: 6 data groups, 6 slots, 6 * 5 = 30 partitions.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java326 // Step 1: 1C3D / one database gives a resource cap of 6, but CUSTOM explicitly limits data toCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java360 // Step 2: expect the data cap to refresh from 2 to 6 when leaving CUSTOM; groups remain at 2.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java373 // Step 3: t=10 adds six data partitions (12 total), but still only six active series slots.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java427 // Step 4: data-policy reload leaves schema at 1 group and preserves t=0 mappings and values.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java450 // Step 1: CUSTOM creates 8 data groups although six active slots only use six of them.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java479 // Step 2: recalculated data cap=max(minimum 2, resource quota 6, existing groups 8)=8.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java493 // Step 3: t=10 gives 12 data partitions; all 8 group IDs and all six slot owners stayCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java586 // Step 1: quota 9 per node gives cap=ceil(9*3/(1*3))=9; PROACTIVE activates only 6 groups.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java616 // Step 2: CUSTOM inherits the saved cap of 9; changing the policy alone leaves 6 groups.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java666 // Step 5: explicitly raise the CUSTOM cap to 10; t=30 creates one more group (30 replicas).COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java684 // Step 6: lowering the cap to 2 must fail; check 10 groups remain and all four times areCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java717 // Step 1: schema CUSTOM cap=1, data AUTO cap=6; six schema slots all belong to one schemaCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java756 // Step 2: reload only the schema policy, then create a seventh device in a seventh slot.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java775 // Step 3: verify the original schema mappings and SQL values survive the schema-only change.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java841 // Step 1: create both databases before allocating any regions, ensuring the same cap forCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java892 // Step 5: add distinct slots starting at 6 to the PROACTIVE database only.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java921 // Step 6: restart the ConfigNode and rebuild its in-memory allot map from persisted partitions.COMMENT
LOW…yengine/execution/exchange/SharedTsBlockQueueTest.java91 // Step 1: add() goes into async path — listener is registered on manualFuture.COMMENT
LOW⚡…yengine/execution/exchange/SharedTsBlockQueueTest.java103 // Step 2: Abort the queue (simulates upstream FI state change listener callingCOMMENT
LOW⚡…yengine/execution/exchange/SharedTsBlockQueueTest.java110 // Step 3: Now complete the manualFuture — this triggers the async listener.COMMENT
60 more matches not shown…
Structural Annotation Overuse118 hits · 164 pts
SeverityFileLineSnippetContext
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java157 // Step 1: CREATE USERCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java165 // Step 2: ALTER USER SET PASSWORDCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java202 // Step 4: LIST USERCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java211 // Step 6: CREATE ROLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java237 // Step 8: GRANT ROLE to userCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java245 // Step 9: GRANT SELECT ON TABLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java255 // Step 10: Verify NO INSERT permission (never granted)COMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java259 // Step 11: GRANT INSERT ON TABLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java268 // Step 12: REVOKE INSERT ON TABLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java277 // Step 13: REVOKE SELECT ON TABLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java286 // Step 14: GRANT SYSTEMCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java294 // Step 15: REVOKE SYSTEMCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java350 // Step 16: Verify NO WRITE permissionCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java354 // Step 17: GRANT WRITE_DATA ON tree pathCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java363 // Step 18: REVOKE WRITE_DATA ON tree pathCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java372 // Step 19: REVOKE READ_DATA ON tree pathCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java425 // Step 21: REVOKE ROLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java433 // Step 22: DROP ROLECOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java441 // Step 23: DROP USER renamed_userCOMMENT
LOW⚡…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java449 // Step 24: DROP USER ha_userCOMMENT
LOW…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java182 // Step 3: ALTER USER RENAME TOCOMMENT
LOW…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java222 // Step 6: LIST ROLE OF USER renamed_userCOMMENT
LOW…che/iotdb/relational/it/schema/IoTDBTableAuthHAIT.java339 // Step 15: GRANT READ_DATA ON tree pathCOMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java244 // Step 1: Insert data with 3 measurements and flushCOMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java252 // Step 2: Insert more data without flush (creates WAL-only entries)COMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java256 // Step 3: Delete one timeseriesCOMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java260 // Step 4: Flush again to persist the deletionCOMMENT
LOW⚡…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java267 // Step 5: Wait for replication to complete on data region leadersCOMMENT
LOW…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java283 // Step 6: Verify schema consistency on each DataNode independentlyCOMMENT
LOW…iotconsensusv2/IoTDBIoTConsensusV23C3DBasicITBase.java309 // Step 7: Stop each DataNode one by one and verify remaining nodes still consistentCOMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java640 // Step 3: t=10 triggers 9-6=3 new groups (27 replicas total), giving 12 data partitions.COMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java649 // Step 4: repeating CUSTOM and writing t=20 preserves 9 groups / 6 slots / the same owners.COMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java861 // Step 2: AUTO database, t=0/10: 6 slots, 1 schema group, 2 data groups, 12 data partitions.COMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java864 // Step 3: switch both policies, then populate the second database with the same workload.COMMENT
LOW⚡…partition/IoTDBProactiveRegionGroupDistributionIT.java873 // Step 4: write the existing AUTO database's six devices at t=20 after the global switch.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java133 // Step 1: one database on 1C3D; AUTO starts with minimums of 1 schema group / 2 data groups.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java166 // Step 2: t=20 raises the data-partition count to 6 * 3 = 18, still only 6 series slots.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java187 // Step 3: hot-reload only the data policy. Schema stays AUTO; no node is restarted.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java219 // Step 4: verify ownership, not just the final group count. At rebalance,COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java255 // Step 5: repeat the reload and write t=40: 6 data groups, 6 slots, 6 * 5 = 30 partitions.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java326 // Step 1: 1C3D / one database gives a resource cap of 6, but CUSTOM explicitly limits data toCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java360 // Step 2: expect the data cap to refresh from 2 to 6 when leaving CUSTOM; groups remain at 2.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java373 // Step 3: t=10 adds six data partitions (12 total), but still only six active series slots.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java427 // Step 4: data-policy reload leaves schema at 1 group and preserves t=0 mappings and values.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java450 // Step 1: CUSTOM creates 8 data groups although six active slots only use six of them.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java479 // Step 2: recalculated data cap=max(minimum 2, resource quota 6, existing groups 8)=8.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java493 // Step 3: t=10 gives 12 data partitions; all 8 group IDs and all six slot owners stayCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java586 // Step 1: quota 9 per node gives cap=ceil(9*3/(1*3))=9; PROACTIVE activates only 6 groups.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java616 // Step 2: CUSTOM inherits the saved cap of 9; changing the policy alone leaves 6 groups.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java666 // Step 5: explicitly raise the CUSTOM cap to 10; t=30 creates one more group (30 replicas).COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java684 // Step 6: lowering the cap to 2 must fail; check 10 groups remain and all four times areCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java717 // Step 1: schema CUSTOM cap=1, data AUTO cap=6; six schema slots all belong to one schemaCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java756 // Step 2: reload only the schema policy, then create a seventh device in a seventh slot.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java775 // Step 3: verify the original schema mappings and SQL values survive the schema-only change.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java841 // Step 1: create both databases before allocating any regions, ensuring the same cap forCOMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java892 // Step 5: add distinct slots starting at 6 to the PROACTIVE database only.COMMENT
LOW…partition/IoTDBProactiveRegionGroupDistributionIT.java921 // Step 6: restart the ConfigNode and rebuild its in-memory allot map from persisted partitions.COMMENT
LOW…yengine/execution/exchange/SharedTsBlockQueueTest.java91 // Step 1: add() goes into async path — listener is registered on manualFuture.COMMENT
LOW⚡…yengine/execution/exchange/SharedTsBlockQueueTest.java103 // Step 2: Abort the queue (simulates upstream FI state change listener callingCOMMENT
LOW⚡…yengine/execution/exchange/SharedTsBlockQueueTest.java110 // Step 3: Now complete the manualFuture — this triggers the async listener.COMMENT
58 more matches not shown…
Docstring Block Structure18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHiotdb-client/client-py/iotdb/table_session.py136 Execute a query SQL statement and return the result set. Parameters: sql (str): The SQL quSTRING
HIGHiotdb-core/ainode/iotdb/ainode/core/config.py467Parse TEndPoint from a given endpoint url. Args: endpoint_url: an endpoint url, format: host:port or [ipv6]:STRING
HIGH…b-core/ainode/iotdb/ainode/core/model/model_storage.py389 Get specified model information. Args: model_id (str): Unique identifier for the model. STRING
HIGH…de/iotdb/ainode/core/model/sundial/pipeline_sundial.py34 Preprocess the input data by converting it to a 2D tensor (Sundial only supports 2D inputs). ParameterSTRING
HIGH…de/iotdb/ainode/core/model/sundial/pipeline_sundial.py70 Generate forecasted outputs using the Sundial model based on the provided inputs. Parameters: STRING
HIGH…de/iotdb/ainode/core/model/sundial/pipeline_sundial.py96 Postprocess the model's output by averaging across the num_samples dimension and expanding the dimensioSTRING
HIGH…ode/iotdb/ainode/core/model/timer_xl/pipeline_timer.py34 Preprocess the input data by converting it to a 2D tensor (Timer-XL only supports 2D inputs). ParameteSTRING
HIGH…ode/iotdb/ainode/core/model/timer_xl/pipeline_timer.py70 Generate forecasted outputs using the model based on the provided inputs. Parameters: inpuSTRING
HIGH…ode/iotdb/ainode/core/model/timer_xl/pipeline_timer.py89 Postprocess the model's output by expanding its dimensions to match the expected shape. Parameters: STRING
HIGH…node/iotdb/ainode/core/model/sktime/pipeline_sktime.py75 Generate forecasts from the model for given inputs. Parameters: inputs (list[Series]): A lSTRING
HIGH…node/iotdb/ainode/core/model/sktime/pipeline_sktime.py98 Postprocess the model's outputs. Parameters: outputs (np.ndarray): Model output to be procSTRING
HIGH…iotdb/ainode/core/inference/pipeline/basic_pipeline.py69 The common preprocess logic for all forecast pipelines, validating the shape and type of the input dataSTRING
HIGH…iotdb/ainode/core/inference/pipeline/basic_pipeline.py250 Perform forecasting on the given inputs, which must be implemented by the subclasses. Parameters: STRING
HIGH…iotdb/ainode/core/inference/pipeline/basic_pipeline.py288 The common postprocess logic for all forecast pipelines. validating the shape of the output data and enSTRING
HIGH…iotdb/ainode/core/inference/pipeline/basic_pipeline.py327 The common preprocess logic for all classification pipelines, validating and preprocess the inputs. STRING
HIGH…iotdb/ainode/core/inference/pipeline/basic_pipeline.py367 Perform classification on the given inputs, which must be implemented by the subclasses. Parameters: STRING
HIGH…iotdb/ainode/core/inference/pipeline/basic_pipeline.py386 Optional hook for subclasses to implement custom postprocessing logic. This method is called before theSTRING
HIGH…iotdb/ainode/core/inference/pipeline/basic_pipeline.py405 The common postprocess logic for all classification pipelines, validating the shape of the output data.STRING
Excessive Try-Catch Wrapping55 hits · 58 pts
SeverityFileLineSnippetContext
LOW…client-py/tests/integration/test_aligned_timeseries.py125 except Exception:CODE
LOW…client-py/tests/integration/test_aligned_timeseries.py155 except Exception:CODE
LOW…client-py/tests/integration/test_aligned_timeseries.py174 except Exception:CODE
LOW…client-py/tests/integration/test_aligned_timeseries.py255 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py90 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py96 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py192 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py230 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py249 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py268 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py287 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py301 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py319 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py342 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py359 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py376 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py408 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py434 except Exception:CODE
LOW…tdb-client/client-py/tests/integration/test_session.py443 except Exception:CODE
LOWiotdb-client/client-py/iotdb/Session.py291 except Exception:CODE
LOWiotdb-client/client-py/iotdb/Session.py1677 except Exception as e:CODE
LOWiotdb-client/client-py/iotdb/Session.py2085 except Exception:CODE
LOWiotdb-client/client-py/iotdb/SessionPool.py165 except Exception as e:CODE
LOWiotdb-client/client-py/iotdb/dbapi/Connection.py64 except Exception as e:CODE
LOWiotdb-client/client-py/iotdb/dbapi/Cursor.py159 except Exception:CODE
LOWiotdb-core/ainode/build_binary.py179 except Exception as e:CODE
MEDIUMiotdb-core/ainode/build_binary.py464 print(f"Error: Spec file not found: {spec_file}")CODE
LOWiotdb-core/ainode/iotdb/ainode/core/config.py428 except Exception as e:CODE
LOWiotdb-core/ainode/iotdb/ainode/core/ai_node.py117 except Exception as e:CODE
LOWiotdb-core/ainode/iotdb/ainode/core/ai_node.py131 except Exception as e:CODE
LOWiotdb-core/ainode/iotdb/ainode/core/script.py64 except Exception as e:CODE
LOW⚡…b-core/ainode/iotdb/ainode/core/util/batch_executor.py115 except Exception as e:CODE
LOW⚡…b-core/ainode/iotdb/ainode/core/util/batch_executor.py122 except Exception as e:CODE
LOW⚡…b-core/ainode/iotdb/ainode/core/util/batch_executor.py132 except Exception:CODE
MEDIUM…b-core/ainode/iotdb/ainode/core/util/batch_executor.py129def _atexit_close(self) -> None:CODE
LOWiotdb-core/ainode/iotdb/ainode/core/ingress/iotdb.py224 except Exception as e:CODE
LOW…core/ainode/iotdb/ainode/core/manager/model_manager.py64 except Exception as e:CODE
LOW…core/ainode/iotdb/ainode/core/manager/model_manager.py80 except Exception as e:CODE
LOW…/ainode/iotdb/ainode/core/manager/inference_manager.py171 except Exception as e:CODE
LOW…/ainode/iotdb/ainode/core/manager/inference_manager.py261 except Exception as e:CODE
LOW…b-core/ainode/iotdb/ainode/core/model/model_storage.py155 except Exception as e:CODE
LOW…b-core/ainode/iotdb/ainode/core/model/model_storage.py167 except Exception as e:CODE
LOW…b-core/ainode/iotdb/ainode/core/model/model_storage.py209 except Exception as e:CODE
LOW…b-core/ainode/iotdb/ainode/core/model/model_storage.py378 except Exception as e:CODE
LOWiotdb-core/ainode/iotdb/ainode/core/model/utils.py233 except Exception as e:CODE
LOW…db-core/ainode/iotdb/ainode/core/model/model_loader.py108 except Exception as e:CODE
LOW…node/iotdb/ainode/core/model/sktime/modeling_sktime.py68 except Exception as e:CODE
LOW…node/iotdb/ainode/core/model/sktime/modeling_sktime.py84 except Exception as e:CODE
LOW…node/iotdb/ainode/core/model/sktime/modeling_sktime.py157 except Exception as e:CODE
LOW…de/iotdb/ainode/core/model/moirai2/modeling_moirai2.py387 except Exception as e:CODE
LOW…/ainode/iotdb/ainode/core/inference/pool_controller.py198 except Exception as e:CODE
LOW…inode/iotdb/ainode/core/device/backend/cuda_backend.py56 except Exception as e:CODE
LOWiotdb-core/ainode/iotdb/ainode/core/rpc/service.py46 except Exception as x:CODE
LOWiotdb-core/ainode/iotdb/ainode/core/rpc/service.py62 except Exception as x:CODE
LOWiotdb-core/ainode/iotdb/ainode/core/rpc/service.py125 except Exception as e:CODE
Deep Nesting58 hits · 54 pts
SeverityFileLineSnippetContext
LOWiotdb-client/client-py/tests/integration/test_todf.py104CODE
LOW…t/client-py/tests/integration/test_tablemodel_query.py33CODE
LOW…-py/tests/integration/tablet_performance_comparison.py58CODE
LOW…-py/tests/integration/tablet_performance_comparison.py167CODE
LOW…-py/tests/integration/tablet_performance_comparison.py74CODE
LOWiotdb-client/client-py/iotdb/Session.py214CODE
LOWiotdb-client/client-py/iotdb/Session.py750CODE
LOWiotdb-client/client-py/iotdb/Session.py881CODE
LOWiotdb-client/client-py/iotdb/Session.py1121CODE
LOWiotdb-client/client-py/iotdb/Session.py1225CODE
LOWiotdb-client/client-py/iotdb/Session.py1648CODE
LOWiotdb-client/client-py/iotdb/Session.py1722CODE
LOWiotdb-client/client-py/iotdb/Session.py2009CODE
LOWiotdb-client/client-py/iotdb/SessionPool.py137CODE
LOWiotdb-client/client-py/iotdb/utils/Field.py38CODE
LOWiotdb-client/client-py/iotdb/utils/Field.py207CODE
LOWiotdb-client/client-py/iotdb/utils/Tablet.py134CODE
LOWiotdb-client/client-py/iotdb/utils/iotdb_rpc_dataset.py222CODE
LOWiotdb-client/client-py/iotdb/utils/iotdb_rpc_dataset.py370CODE
LOWiotdb-client/client-py/iotdb/utils/iotdb_rpc_dataset.py469CODE
LOWiotdb-client/client-py/iotdb/utils/NumpyTablet.py130CODE
LOW…nt/client-py/iotdb/tsfile/utils/read_write_io_utils.py36CODE
LOWiotdb-client/client-py/iotdb/dbapi/Cursor.py96CODE
LOW…db-client/client-cpp/test/scripts/run_cpp_it_phases.py59CODE
LOWiotdb-core/ainode/iotdb/ainode/core/config.py296CODE
LOWiotdb-core/ainode/iotdb/ainode/core/ai_node.py92CODE
LOWiotdb-core/ainode/iotdb/ainode/core/util/serde.py125CODE
LOWiotdb-core/ainode/iotdb/ainode/core/util/serde.py136CODE
LOWiotdb-core/ainode/iotdb/ainode/core/util/serde.py158CODE
LOWiotdb-core/ainode/iotdb/ainode/core/util/cache.py25CODE
LOWiotdb-core/ainode/iotdb/ainode/core/ingress/iotdb.py35CODE
LOWiotdb-core/ainode/iotdb/ainode/core/ingress/iotdb.py109CODE
LOWiotdb-core/ainode/iotdb/ainode/core/ingress/iotdb.py287CODE
LOW…/ainode/iotdb/ainode/core/manager/inference_manager.py178CODE
LOW…b-core/ainode/iotdb/ainode/core/model/model_storage.py98CODE
LOW…b-core/ainode/iotdb/ainode/core/model/model_storage.py179CODE
LOW…b-core/ainode/iotdb/ainode/core/model/model_storage.py386CODE
LOWiotdb-core/ainode/iotdb/ainode/core/model/utils.py144CODE
LOW…de/iotdb/ainode/core/model/sundial/modeling_sundial.py477CODE
LOW…iotdb/ainode/core/model/sundial/ts_generation_mixin.py86CODE
LOW…ode/iotdb/ainode/core/model/timer_xl/modeling_timer.py472CODE
LOW…otdb/ainode/core/model/timer_xl/ts_generation_mixin.py81CODE
LOW…iotdb/ainode/core/model/sktime/configuration_sktime.py46CODE
LOW…iotdb/ainode/core/model/sktime/configuration_sktime.py91CODE
LOW…ainode/iotdb/ainode/core/model/toto/model/attention.py105CODE
LOW…ainode/iotdb/ainode/core/model/toto/model/attention.py151CODE
LOW…ainode/iotdb/ainode/core/model/toto/model/attention.py177CODE
LOW…re/ainode/iotdb/ainode/core/model/toto/model/scaler.py100CODE
LOW…-core/ainode/iotdb/ainode/core/model/chronos2/model.py315CODE
LOW…ore/ainode/iotdb/ainode/core/model/chronos2/dataset.py60CODE
LOW…ore/ainode/iotdb/ainode/core/model/chronos2/dataset.py497CODE
LOW…de/iotdb/ainode/core/model/moirai2/modeling_moirai2.py749CODE
LOW…de/iotdb/ainode/core/model/moirai2/pipeline_moirai2.py72CODE
LOW…/iotdb/ainode/core/inference/inference_request_pool.py113CODE
LOW…iotdb/ainode/core/inference/pipeline/basic_pipeline.py64CODE
LOW.github/scripts/check-it-selection.py77CODE
LOW.github/scripts/check-it-selection.py170CODE
LOW.github/scripts/check-it-selection.py221CODE
Unused Imports38 hits · 38 pts
SeverityFileLineSnippetContext
LOWiotdb-client/client-py/session_example_date.py23CODE
LOW…db-client/client-cpp/test/scripts/run_cpp_it_phases.py21CODE
LOW…ient/client-cpp/test/scripts/configure_iotdb_ssl_it.py21CODE
LOW…ore/ainode/iotdb/ainode/core/util/huggingface_cache.py22CODE
LOW…ore/ainode/iotdb/ainode/core/util/huggingface_cache.py26CODE
LOWiotdb-core/ainode/iotdb/ainode/core/util/activation.py22CODE
LOWiotdb-core/ainode/iotdb/ainode/core/manager/utils.py19CODE
LOWiotdb-core/ainode/iotdb/ainode/core/manager/utils.py28CODE
LOW…ainode/iotdb/ainode/core/model/toto/model/attention.py29CODE
LOW…ainode/iotdb/ainode/core/model/toto/model/attention.py34CODE
LOW…ainode/iotdb/ainode/core/model/toto/model/embedding.py22CODE
LOW…core/ainode/iotdb/ainode/core/model/toto/model/util.py33CODE
LOW…/ainode/iotdb/ainode/core/model/toto/model/backbone.py23CODE
LOW…/ainode/iotdb/ainode/core/model/toto/model/backbone.py27CODE
LOW…/ainode/iotdb/ainode/core/model/toto/model/backbone.py29CODE
LOW…re/ainode/iotdb/ainode/core/model/toto/model/scaler.py26CODE
LOW…node/iotdb/ainode/core/model/toto/model/transformer.py23CODE
LOW…node/iotdb/ainode/core/model/toto/model/transformer.py28CODE
LOW…core/ainode/iotdb/ainode/core/model/toto/model/toto.py25CODE
LOW…core/ainode/iotdb/ainode/core/model/toto/model/toto.py26CODE
LOW…core/ainode/iotdb/ainode/core/model/toto/model/toto.py26CODE
LOW…core/ainode/iotdb/ainode/core/model/toto/model/toto.py26CODE
LOW…b-core/ainode/iotdb/ainode/core/model/chronos2/base.py30CODE
LOW…de/iotdb/ainode/core/model/moirai2/modeling_moirai2.py311CODE
LOW…tdb/ainode/core/model/moirai2/configuration_moirai2.py19CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py24CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py24CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py25CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py25CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py25CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py25CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py31CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py31CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py31CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py31CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py31CODE
LOW…/ainode/iotdb/ainode/core/inference/pool_controller.py39CODE
LOW…b-core/ainode/iotdb/ainode/core/device/backend/base.py20CODE
Cross-Language Confusion4 hits · 30 pts
SeverityFileLineSnippetContext
HIGH…t/client-py/tests/integration/test_treemodel_insert.py343 # 2、Inserting Numpy Tablet data (No null)COMMENT
HIGH…t/client-py/tests/integration/test_treemodel_insert.py521 # 3、Inserting Numpy Tablet data (Contains null)COMMENT
HIGH…t/client-py/tests/integration/test_treemodel_insert.py1050 # 2、Inserting Numpy Tablet data (No null)COMMENT
HIGH…t/client-py/tests/integration/test_treemodel_insert.py1228 # 3、Inserting Numpy Tablet data (Contains null)COMMENT
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMiotdb-client/client-cpp/CMakeLists.txt18# =============================================================================COMMENT
MEDIUMiotdb-client/client-cpp/CMakeLists.txt20# =============================================================================COMMENT
MEDIUMiotdb-client/client-cpp/test/CMakeLists.txt18# =============================================================================COMMENT
MEDIUMiotdb-client/client-cpp/test/CMakeLists.txt23# =============================================================================COMMENT
MEDIUM…apache/iotdb/relational/it/db/it/udf/IoTDBLocalIT.java109 // ── compatibility: legacy UDF without IoTDBLocal parameter ─────────────────COMMENT
MEDIUM…apache/iotdb/relational/it/db/it/udf/IoTDBLocalIT.java172 // ── IoTDBLocal embedded query ───────────────────────────────────────────────COMMENT
MEDIUM…apache/iotdb/relational/it/db/it/udf/IoTDBLocalIT.java392 // ── permission inheritance ──────────────────────────────────────────────────COMMENT
MEDIUM…e/ainode/iotdb/ainode/core/model/toto/modeling_toto.py113 # ── Load config ──────────────────────────────────────────────────────COMMENT
MEDIUM…e/ainode/iotdb/ainode/core/model/toto/modeling_toto.py128 # ── Instantiate model ─────────────────────────────────────────────────COMMENT
MEDIUM…e/ainode/iotdb/ainode/core/model/toto/modeling_toto.py131 # ── Load safetensors weights ──────────────────────────────────────────COMMENT
Redundant / Tautological Comments18 hits · 27 pts
SeverityFileLineSnippetContext
LOWdocker/src/main/ainode-entrypoint.sh92 # Check if already runningCOMMENT
LOWdocker/src/main/build-ainode.sh116# Check if distribution package exists (relative to project root)COMMENT
LOWdocker/src/main/build-ainode.sh124# Check if data directory existsCOMMENT
LOWdocker/src/main/build-ainode.sh189# Check if .dockerignore exists and might exclude our directoryCOMMENT
LOWiotdb-client/client-py/iotdb/utils/SessionDataSet.py148 # Check if buffer has data or if there are more results to fetchCOMMENT
LOW…b-core/ainode/iotdb/ainode/core/model/model_storage.py128 # Check if model already exists and is in a valid stateCOMMENT
LOW…/iotdb/ainode/core/model/chronos2/pipeline_chronos2.py467 # Check if 0.5 quantile is availableCOMMENT
LOW…de/iotdb/ainode/core/model/moirai2/pipeline_moirai2.py159 # Check if 0.5 quantile is availableCOMMENT
LOW…iotdb/ainode/core/inference/pipeline/basic_pipeline.py99 # Check if the dictionary contains the expected keysCOMMENT
LOW…/core/inference/pool_scheduler/basic_pool_scheduler.py56 # Check if the model supports concurrent forecastingCOMMENT
LOWscripts/tools/ops/health_check.sh120 #Check if the port of the remote server is reachable...COMMENT
LOWscripts/tools/ops/health_check.sh190 #Check if the local port is available....COMMENT
LOWscripts/tools/ops/health_check.sh209 # Check if lsof command is availableCOMMENT
LOWscripts/tools/ops/health_check.sh274 # Check if the directories exist and are writable or readableCOMMENT
LOWscripts/tools/ops/health_check.sh370 #Check if Swap is enabledCOMMENT
LOWscripts/tools/ops/backup.sh93 # Check if lsof command is availableCOMMENT
LOWscripts/conf/datanode-env.sh38# Set somaxconn to a better value to avoid meaningless connection reset issues when the system is under high load.COMMENT
LOWscripts/conf/confignode-env.sh37# Set somaxconn to a better value to avoid meaningless connection reset issues when the system is under high load.COMMENT
AI Structural Patterns28 hits · 26 pts
SeverityFileLineSnippetContext
LOWiotdb-client/client-py/iotdb/table_session_pool.py24CODE
LOWiotdb-client/client-py/iotdb/Session.py123CODE
LOWiotdb-client/client-py/iotdb/Session.py173CODE
LOWiotdb-client/client-py/iotdb/table_session.py28CODE
LOWiotdb-client/client-py/iotdb/SessionPool.py37CODE
LOWiotdb-client/client-py/iotdb/dbapi/Connection.py30CODE
LOWiotdb-core/ainode/iotdb/ainode/core/config.py446CODE
LOW…de/iotdb/ainode/core/model/sundial/modeling_sundial.py81CODE
LOW…de/iotdb/ainode/core/model/sundial/modeling_sundial.py304CODE
LOW…de/iotdb/ainode/core/model/sundial/modeling_sundial.py477CODE
LOW…iotdb/ainode/core/model/sundial/ts_generation_mixin.py37CODE
LOW…iotdb/ainode/core/model/sundial/ts_generation_mixin.py86CODE
LOW…tdb/ainode/core/model/sundial/configuration_sundial.py28CODE
LOW…ode/iotdb/ainode/core/model/timer_xl/modeling_timer.py298CODE
LOW…ode/iotdb/ainode/core/model/timer_xl/modeling_timer.py472CODE
LOW…otdb/ainode/core/model/timer_xl/ts_generation_mixin.py38CODE
LOW…otdb/ainode/core/model/timer_xl/ts_generation_mixin.py81CODE
LOW…otdb/ainode/core/model/timer_xl/configuration_timer.py28CODE
LOW…iotdb/ainode/core/model/moment/configuration_moment.py44CODE
LOW…ode/iotdb/ainode/core/model/toto/configuration_toto.py38CODE
LOW…core/ainode/iotdb/ainode/core/model/chronos2/config.py70CODE
LOW…-core/ainode/iotdb/ainode/core/model/chronos2/model.py684CODE
LOW…-core/ainode/iotdb/ainode/core/model/chronos2/model.py765CODE
LOW…tdb/ainode/core/model/moirai2/configuration_moirai2.py27CODE
LOW…de/iotdb/ainode/core/model/moirai2/module/attention.py67CODE
LOW…de/iotdb/ainode/core/model/moirai2/module/attention.py317CODE
LOW…de/iotdb/ainode/core/model/moirai2/module/attention.py346CODE
LOW…/iotdb/ainode/core/model/moirai2/module/transformer.py107CODE
AI Slop Vocabulary8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUM…b/pipe/consensus/deletion/DeletionResourceManager.java244 // Definitely match. Because upper caller has filtered fileNames.COMMENT
MEDIUM…b/pipe/consensus/deletion/DeletionResourceManager.java269 // Definitely match. Because upper caller has filtered fileNames.COMMENT
MEDIUM…tree/impl/pbtree/schemafile/pagemgr/PageIOChannel.java56 // without RATIS, utilize physical logging for integrityCOMMENT
MEDIUM…e/iotdb/db/subscription/broker/SubscriptionBroker.java603 // TODO: consider more robust metadata semanticsCOMMENT
MEDIUM…eryengine/plan/relational/planner/SubqueryPlanner.java144 // try to execute un-correlated scalar subqueries in the predicate in advance to utilizeCOMMENT
MEDIUM…/db/queryengine/plan/relational/analyzer/Analysis.java265 // independently to utilize predicate pushdown optimization.COMMENT
MEDIUM…otdb/db/queryengine/plan/execution/QueryExecution.java650 // That we put retry() here is aimed to leverage the ClientRPC thread rather thanCOMMENT
MEDIUM…nary/scalar/factory/NumericCodecStrategiesFactory.java80 // for Big Endian writes, leverage ByteBuffer's default order for maximum performanceCOMMENT
Modern Structural Boilerplate22 hits · 24 pts
SeverityFileLineSnippetContext
LOWiotdb-client/client-py/iotdb/dbapi/__init__.py22__all__ = [connect, Error]CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py112 def set_cluster_name(self, cluster_name: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py121 def set_ainode_id(self, ainode_id: int) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py127 def set_build_info(self, build_info: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py133 def set_ain_data_cache_size(self, ain_data_cache_size: int) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py136 def set_version_info(self, version_info: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py142 def set_ain_rpc_address(self, ain_rpc_address: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py148 def set_ain_rpc_port(self, ain_rpc_port: int) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py194 def set_ain_logs_dir(self, ain_logs_dir: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py200 def set_ain_models_dir(self, ain_models_dir: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py206 def set_ain_models_builtin_dir(self, ain_models_builtin_dir: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py212 def set_ain_system_dir(self, ain_system_dir: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py234 def set_ain_internal_ssl_enabled(self, ain_internal_ssl_enabled: int) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py240 def set_ain_thrift_ssl_cert_file(self, ain_thrift_ssl_cert_file: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py246 def set_ain_thrift_ssl_key_file(self, ain_thrift_ssl_key_file: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py255 def set_ain_target_config_node_list(self, ain_target_config_node_list: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py263 def set_ain_cluster_ingress_address(self, ain_cluster_ingress_address: str) -> None:CODE
LOW⚡iotdb-core/ainode/iotdb/ainode/core/config.py269 def set_ain_cluster_ingress_port(self, ain_cluster_ingress_port: int) -> None:CODE
LOW…/ainode/core/model/moirai2/module/position/__init__.py39__all__ = [CODE
LOW…inode/iotdb/ainode/core/device/backend/cuda_backend.py42 def set_device(self, index: int) -> None:CODE
LOW…ainode/iotdb/ainode/core/device/backend/cpu_backend.py36 def set_device(self, index: int) -> None:CODE
LOW…b-core/ainode/iotdb/ainode/core/device/backend/base.py42 def set_device(self, index: int) -> None: ...CODE
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM…b-client/client-py/table_model_session_pool_example.py126# Create a session poolCOMMENT
MEDIUMiotdb-client/client-py/session_pool_example.py129# Create a session poolCOMMENT
MEDIUM…node/iotdb/ainode/core/model/moment/modeling_moment.py19# This file contains code adapted from the MOMENT projectCOMMENT
MEDIUM…iotdb/ainode/core/model/moment/configuration_moment.py19# This file contains code adapted from the MOMENT projectCOMMENT
MEDIUM…node/iotdb/ainode/core/model/moment/pipeline_moment.py19# This file contains code adapted from the MOMENT projectCOMMENT
MEDIUM…ore/ainode/iotdb/ainode/core/model/moirai2/__init__.py18# This file is part of the Apache IoTDB project.COMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHiotdb-client/client-py/iotdb/dbapi/Cursor.py220except StopIteration:CODE
HIGHiotdb-core/ainode/build_binary.py303except FileNotFoundError:CODE
HIGH…b-core/ainode/iotdb/ainode/core/util/batch_executor.py132except Exception:CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…/iotdb/db/it/query/IoTDBAggregationFirstInGroupIT.java58 // Physical 'time' column is kept distinct and out-of-order as requested.COMMENT
HIGH…confignode/manager/load/cache/node/NodeStatistics.java79 // if the transition output is not the same as requested, it could be Stopped or Removing statusCOMMENT
Slop Phrases4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMscripts/sbin/start-standalone.sh42# if you have turned on "-XX:+SafepointTimeout" and "-XX:SafepointTimeoutDelay=1000", you can use commands below insteadCOMMENT
MEDIUMscripts/conf/datanode-env.sh258# when the GC time is too long, if there are remaining CPU resources, you can try to turn on and increase options below.COMMENT
MEDIUMscripts/conf/datanode-env.sh273# if you want to dump the heap memory while OOM happening, you can use the following command, remember to replace ${heapCOMMENT
MEDIUMscripts/conf/confignode-env.sh232# if you want to dump the heap memory while OOM happening, you can use the following command, remember to replace ${heapCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…geengine/dataregion/read/control/QueryFileManager.java125 // Although there are no concurrency issues here at the moment, I've implemented thread-safeCOMMENT
TODO Padding5 hits · 7 pts
SeverityFileLineSnippetContext
LOW…egion/mtree/impl/pbtree/schemafile/AliasIndexPage.java303 // TODO: implement bulk split furtherCOMMENT
LOW…egion/mtree/impl/pbtree/schemafile/WrappedSegment.java388 // TODO: implement bulk split furtherCOMMENT
LOW…redicate/schema/ExtractPredicateColumnNameVisitor.java44 // TODO: implement schema function filter and parse some function call and arithmetic filtersCOMMENT
LOW…/ainode/iotdb/ainode/core/inference/pool_controller.py100 # # TODO: implement scale down logicCOMMENT
LOW…/ainode/iotdb/ainode/core/inference/pool_controller.py372 ) # TODO: implement better selection strategyCODE
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…engine/plan/planner/node/PlanGraphJsonPrinterTest.java87 LimitNode placeholder = new LimitNode(new PlanNodeId("placeholder"), null, 0, Optional.empty());CODE
LOW…engine/plan/planner/node/PlanGraphJsonPrinterTest.java129 new LimitNode(new PlanNodeId("placeholder"), null, 0, Optional.empty()),CODE
LOW…engine/plan/planner/node/PlanGraphJsonPrinterTest.java146 new LimitNode(new PlanNodeId("placeholder"), null, 0, Optional.empty()),CODE
LOW…otdb/rest/protocol/v2/handler/FastLastHandlerTest.java80 newResultMap("s1", "placeholder", "nullValue", "s4");CODE
LOW…otdb/rest/protocol/v2/handler/FastLastHandlerTest.java109 if ("placeholder".equals(name)) {CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…node/iotdb/ainode/core/model/moment/pipeline_moment.py159 # Slide context window: append forecast, drop oldestCOMMENT