AI Slop Code RIsk Monitor

taosdata/TDengine

High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios

15.0 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for taosdata/TDengine, a C project with 25,152 GitHub stars. SynthScan examined 2,359,275 lines of code across 5766 source files, recording 17831 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 15.0 (Elevated 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.

15.0
Adjusted Signal
15.0
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
25.2K
Stars
C
Language
2.4M
Lines of Code
5.8K
Files
17.8K
Pattern Hits
2026-10-12
Scan Date
0.51
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 16.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 19.1/100 · LOW

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

Agent Over-Engineering Ratio 34.4/100 · MEDIUM

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

PR Review Velocity Impact 57.1/100 · HIGH

Which changes need focused human review? 17831 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 9HIGH 2957MEDIUM 3596LOW 11269

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 17831 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators2718 hits · 8121 pts
SeverityFileLineSnippetContext
MEDIUMtools/boosttools/CMakeLists.txt7# ── Source files ──────────────────────────────────────────────COMMENT
MEDIUMtools/boosttools/CMakeLists.txt18# ── TDengine client library ──────────────────────────────────COMMENT
MEDIUMtools/boosttools/CMakeLists.txt58# ── System libraries ─────────────────────────────────────────COMMENT
MEDIUMtools/boosttools/CMakeLists.txt65# ── Compiler flags ───────────────────────────────────────────COMMENT
MEDIUMtools/boosttools/CMakeLists.txt76# ── Install ──────────────────────────────────────────────────COMMENT
MEDIUMtools/boosttools/benchmark.sh2# ============================================================================COMMENT
MEDIUMtools/boosttools/benchmark.sh6# ============================================================================COMMENT
MEDIUM⚡tools/boosttools/deploy.sh2# ============================================================================COMMENT
MEDIUM⚡tools/boosttools/deploy.sh11# ============================================================================COMMENT
MEDIUM⚡tools/tdgpt/tests/unit_test.py1412 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tools/tdgpt/tests/unit_test.py1414 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1492 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1494 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1600 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1602 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py905 # ------------------------------------------------------------------STRING
MEDIUMtools/tdgpt/tests/unit_test.py907 # ------------------------------------------------------------------STRING
MEDIUMtest/conftest.py431 # ============================COMMENT
MEDIUMtest/conftest.py459 # ============================COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py24 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py26 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py54 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py56 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py76 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py78 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py116 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py118 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py158 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py160 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-ci/cold_upgrade_task.py192 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-ci/cold_upgrade_task.py194 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-ci/cold_upgrade_task.py200 # ── Print configuration ──────────────────────────────────COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py211 # ── Step 1: Read current version from cmake ──────────────COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py223 # ── Step 3: Resolve base dirs and run compat-check ────────COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py269# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/tools/compat-publish/compat_publish_main.sh51# ── argument check ────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/tools/compat-publish/compat_publish_main.sh93# ── validate package name ─────────────────────────────────────────────────────COMMENT
MEDIUMtest/tools/compat-publish/compat_publish_main.sh110# ── step 1: extract target green files into ./target ─────────────────────────COMMENT
MEDIUMtest/tools/compat-publish/compat_publish_main.sh130# ── step 2: run cold-upgrade compat-check for each baseline version ──────────COMMENT
MEDIUMtest/tools/compat-publish/compat_publish_main.sh188# ── step 3: run hot (rolling) upgrade compat-check ───────────────────────────COMMENT
MEDIUMtest/tools/compat-publish/compat_publish_main.sh235# ── step 4: summary ──────────────────────────────────────────────────────────COMMENT
MEDIUMtest/tools/compat-check/server/rollingUpgrade.py186 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/server/rollingUpgrade.py188 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-check/server/rollingUpgrade.py242 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-check/server/rollingUpgrade.py244 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/server/rollingUpgrade.py278 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/server/rollingUpgrade.py280 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py40 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py42 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py70 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py72 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py89 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py91 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-check/run/reporter.py102 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-check/run/reporter.py104 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-check/run/reporter.py114 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-check/run/reporter.py116 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py130 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py132 # ------------------------------------------------------------------COMMENT
MEDIUM⚡test/tools/compat-check/run/main.py919# ==============================================================================COMMENT
2658 more matches not shown…
Cross-Language Confusion1420 hits · 6908 pts
SeverityFileLineSnippetContext
HIGHpackaging/docker/test_tdgpt_dockerfile.py25 assert ") -exec rm -rf {} + 2>/dev/null || true" in stageCODE
HIGHtest/auto_crash_gen.py287 git_commit = subprocess.Popen("cd %s && git log | head -n1"%crash_gen_path, shell=True, stdout=subprocess.PIPE,stderCODE
HIGHtest/crash_gen_paths.py69 cmd = "cd %s && python3 crash_gen_start_taosd.py" % script_dirCODE
HIGHtest/auto_crash_gen_valgrind.py318 git_commit = subprocess.Popen("cd %s && git log | head -n1"%crash_gen_path, shell=True, stdout=subprocess.PIPE,stderCODE
HIGHtest/auto_crash_gen_valgrind_cluster.py306 git_commit = subprocess.Popen("cd %s && git log | head -n1"%crash_gen_path, shell=True, stdout=subprocess.PIPE,stderCODE
HIGH⚡test/crash_gen/crash_gen_main.py931 # elif ( newState.equals(AnyState.STATE_TABLE_ONLY) ): # data deletedCOMMENT
HIGH⚡test/crash_gen/crash_gen_main.py920 if (newState.equals(AnyState.STATE_EMPTY)):CODE
HIGH⚡test/crash_gen/crash_gen_main.py924 elif (newState.equals(AnyState.STATE_DB_ONLY)): # in DB onlyCODE
HIGH⚡test/ci/count_assert.py86 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(pgno > 0 && pgno <= pBt->pPager-CODE
HIGH⚡test/ci/count_assert.py88 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(next == 0 || (next <= pBt->pPageCODE
HIGH⚡test/ci/count_assert.py89 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(pgno != 0 && pgno <= pBt->pPagerCODE
HIGH⚡test/ci/count_assert.py90 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE((vLeft == 0) || (pgno > 0 && pgnCODE
HIGH⚡test/ci/count_assert.py91 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(pgno > 0 && pgno <= pBtc->pBt->pCODE
HIGH⚡test/ci/count_assert.py92 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbPage.c:ASSERT_CORE(pCell - pPage->pData >= 0 && pCelCODE
HIGH⚡test/ci/count_assert.py93 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbPage.c:ASSERT_CORE(pCell + szCell - pPage->pData > 0CODE
HIGH⚡test/ci/count_assert.py94 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbPager.c:ASSERT_CORE(pgno > 0 && pgno <= pPager->dbFiCODE
HIGH⚡test/ci/cov/tdengine_coverage_alarm.py389 message = " Taosd && taosc 代码覆盖率低于56%,请密切关注!"CODE
HIGH⚡test/ci/cov/tdengine_coverage_alarm.py394 message = f" Taosd && taosc 代码覆盖率由{data2}上升到{data1},当前覆盖率为 {current_coverage_value:.3f}% 为历史最高覆盖率,继续加油! 失败的 CaseCODE
HIGH⚡test/ci/cov/tdengine_coverage_alarm.py398 message = f" Taosd && taosc 代码覆盖率由{data2}上升到{data1},当前覆盖率为 {current_coverage_value:.3f}% 离历史最高覆盖率 {highest_coverCODE
HIGH⚡test/ci/cov/tdengine_coverage_alarm.py402 message = f" Taosd && taosc 代码覆盖率由{data2}下降到{data1},当前覆盖率为 {current_coverage_value:.3f}% 离历史最高覆盖率 {highest_coverCODE
HIGH⚡test/ci/cov/tdengine_coverage_alarm.py406 message = f" Taosd && taosc 本次代码覆盖率基本不变(<0.3%),当前覆盖率为 {current_coverage_value:.3f}% 离历史最高覆盖率 {highest_coverage_vCODE
HIGHtest/ci/cov/tdengine_coverage_alarm.py469 "title": "Taosd && taosc coverage report",CODE
HIGHtest/new_test_framework/taostest/frame.py856 install_cmds.append(f"cd {docker_tmp} && tar xzf {fileName} && cd {pkgDir} && ./install_client.sh && pip3 instalCODE
HIGH⚡test/new_test_framework/taostest/components/taosd.py397 "rm -rf *", "cmake .. && make -j 16 && make install"])CODE
HIGHtest/new_test_framework/taostest/components/taosd.py585 # "if kill -0 $pid 2>/dev/null; then "COMMENT
HIGHtest/new_test_framework/taostest/components/adapter.py134 "ps -ef|grep -wi %s| grep -v grep | awk '{print $2}' | xargs kill -9 > /dev/null 2>&1 || true" %CODE
HIGH…st/new_test_framework/taostest/components/container.py134 self.remote.cmd(config["fqdn"][0], [f'docker exec -d {container_name} sh -c \'echo "{ip}\t{host}" >> /etc/hoCODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py228 if bool(int(self._remote.cmd(fqdn, ['systemctl -l | grep prometheus > /dev/null 2>&1 && echo 1 || echo 0']))CODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py228 if bool(int(self._remote.cmd(fqdn, ['systemctl -l | grep prometheus > /dev/null 2>&1 && echo 1 || echo 0']))CODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py230 elif bool(int(self._remote.cmd(fqdn, ['ps -ef | grep -w prometheus | grep -v grep > /dev/null 2>&1 && echo 1CODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py230 elif bool(int(self._remote.cmd(fqdn, ['ps -ef | grep -w prometheus | grep -v grep > /dev/null 2>&1 && echo 1CODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py247 if bool(int(self._remote.cmd(fqdn, ['systemctl -l | grep node_exporter > /dev/null 2>&1 && echo 1 || echo 0'CODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py247 if bool(int(self._remote.cmd(fqdn, ['systemctl -l | grep node_exporter > /dev/null 2>&1 && echo 1 || echo 0'CODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py249 elif bool(int(self._remote.cmd(fqdn, ['ps -ef | grep -w node_exporter | grep -v grep > /dev/null 2>&1 && echCODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py249 elif bool(int(self._remote.cmd(fqdn, ['ps -ef | grep -w node_exporter | grep -v grep > /dev/null 2>&1 && echCODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py269 if bool(int(self._remote.cmd(fqdn, ['systemctl -l | grep process-exporter > /dev/null 2>&1 && echo 1 || echoCODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py269 if bool(int(self._remote.cmd(fqdn, ['systemctl -l | grep process-exporter > /dev/null 2>&1 && echo 1 || echoCODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py271 elif bool(int(self._remote.cmd(fqdn, ['ps -ef | grep -w process-exporter | grep -v grep > /dev/null 2>&1 && CODE
HIGH⚡…t/new_test_framework/taostest/components/prometheus.py271 elif bool(int(self._remote.cmd(fqdn, ['ps -ef | grep -w process-exporter | grep -v grep > /dev/null 2>&1 && CODE
HIGH…t/new_test_framework/taostest/components/prometheus.py85 if bool(int(self._remote.cmd(self._fqdn, [f'ls {file} > /dev/null 2>&1 && echo 1 || echo 0']))):CODE
HIGH…t/new_test_framework/taostest/components/prometheus.py85 if bool(int(self._remote.cmd(self._fqdn, [f'ls {file} > /dev/null 2>&1 && echo 1 || echo 0']))):CODE
HIGH⚡test/new_test_framework/utils/compatibilityUtil.py329 os.system("systemctl stop taosd 2>/dev/null || true")CODE
HIGH⚡test/new_test_framework/utils/compatibilityUtil.py332 os.system("pkill taosd 2>/dev/null || true")CODE
HIGH⚡test/new_test_framework/utils/compatibilityUtil.py333 os.system("pkill taos 2>/dev/null || true")CODE
HIGH⚡test/new_test_framework/utils/compatibilityUtil.py334 os.system("pkill taosadapter 2>/dev/null || true")CODE
HIGH⚡test/new_test_framework/utils/compatibilityUtil.py342 os.system("pkill -9 taosd 2>/dev/null || true")CODE
HIGH⚡test/new_test_framework/utils/compatibilityUtil.py343 os.system("pkill -9 taos 2>/dev/null || true")CODE
HIGH⚡test/new_test_framework/utils/compatibilityUtil.py344 os.system("pkill -9 taosadapter 2>/dev/null || true")CODE
HIGH⚡test/new_test_framework/utils/compatibilityUtil.py345 os.system("fuser -k -n tcp 6030 2>/dev/null || true")CODE
HIGHtest/new_test_framework/utils/sql.py2347 # loop check util checkData return trueCOMMENT
HIGHtest/new_test_framework/utils/sql.py2360 # loop check util checkData return trueCOMMENT
HIGH…cases/18-StreamProcessing/01-Snode/snode_checkpoint.py131 "interval(10s) sliding(10s) fill(value, 0, null)",CODE
HIGH⚡…StreamProcessing/05-Notify/test_stream_notify_state.py476 # --- W1 OPEN: prevState=null, curState=[10, null] ---COMMENT
HIGH⚡…StreamProcessing/05-Notify/test_stream_notify_state.py486 # --- W1 CLOSE: curState=[10, null], nextState=[20, 300] ---COMMENT
HIGH⚡…StreamProcessing/05-Notify/test_stream_notify_state.py496 # --- W2 CLOSE: curState=[20, 300], nextState=[null, 400] ---COMMENT
HIGH⚡…StreamProcessing/05-Notify/test_stream_notify_state.py506 # --- W3 OPEN: prevState=[20, 300], curState=[null, 400] ---COMMENT
HIGH⚡…StreamProcessing/05-Notify/test_stream_notify_state.py516 # --- W3 CLOSE: curState=[null, 400], nextState=[30, 500] ---COMMENT
HIGH⚡…StreamProcessing/05-Notify/test_stream_notify_state.py610 # --- W1 OPEN: curState=[1, null, null] ---COMMENT
HIGH⚡…StreamProcessing/05-Notify/test_stream_notify_state.py620 # --- W1 CLOSE: [1, null, null] -> [2, 20, null] ---COMMENT
HIGH⚡…StreamProcessing/05-Notify/test_stream_notify_state.py631 # --- W2 OPEN: prev=[1, null, null], cur=[2, 20, null] ---COMMENT
1360 more matches not shown…
Cross-File Repetition1035 hits · 5175 pts
SeverityFileLineSnippetContext
HIGHtools/tsbs-tdengine/tools/TDengineClusterSetup.py0tdengine standalone cluster setup module this module provides functionality to create and start a tdengine cluster with STRING
HIGHtools/tsbs-tdengine/src/deployCluster.py0tdengine standalone cluster setup module this module provides functionality to create and start a tdengine cluster with STRING
HIGHtest/tools/compat-check/server/clusterSetup.py0tdengine standalone cluster setup module this module provides functionality to create and start a tdengine cluster with STRING
HIGHtools/tdgpt/taosanalytics/misc/autoencoder.py0auto encoder algorithms to detect anomaly for time series dataSTRING
HIGHtools/tdgpt/taosanalytics/algo/tsfm.py0auto encoder algorithms to detect anomaly for time series dataSTRING
HIGHtools/tdgpt/taosanalytics/algo/fc/moirai.py0auto encoder algorithms to detect anomaly for time series dataSTRING
HIGHtools/tdgpt/taosanalytics/algo/fc/timesfm.py0auto encoder algorithms to detect anomaly for time series dataSTRING
HIGHtools/tdgpt/taosanalytics/algo/fc/chronos.py0auto encoder algorithms to detect anomaly for time series dataSTRING
HIGHtools/tdgpt/taosanalytics/algo/fc/gpt.py0auto encoder algorithms to detect anomaly for time series dataSTRING
HIGHtools/tdgpt/taosanalytics/algo/fc/timemoe.py0auto encoder algorithms to detect anomaly for time series dataSTRING
HIGHtools/tdgpt/taosanalytics/algo/imputat/moment.py0auto encoder algorithms to detect anomaly for time series dataSTRING
HIGHtools/tdgpt/taosanalytics/algo/dynamic/detector.py0return model parameters for logging / introspection.STRING
HIGHtools/tdgpt/taosanalytics/algo/dynamic/classifier.py0return model parameters for logging / introspection.STRING
HIGHtools/tdgpt/taosanalytics/algo/dynamic/regressioner.py0return model parameters for logging / introspection.STRING
HIGHtest/auto_crash_gen.py0result: {msg_dict[status]} details owner: jayden jia start time: {starttime} end time: {endtime} hostname: {hostname} coSTRING
HIGHtest/auto_crash_gen_valgrind.py0result: {msg_dict[status]} details owner: jayden jia start time: {starttime} end time: {endtime} hostname: {hostname} coSTRING
HIGHtest/auto_crash_gen_valgrind_cluster.py0result: {msg_dict[status]} details owner: jayden jia start time: {starttime} end time: {endtime} hostname: {hostname} coSTRING
HIGHtest/new_test_framework/taostest/util/common.py0stb --> supertable tb --> table ts --> timestamp, same default col --> column, same default tag --> tag, same default d STRING
HIGH…DataIngestion/03-SML/test_write_sml_opentsdb_telnet.py0stb --> supertable tb --> table ts --> timestamp, same default col --> column, same default tag --> tag, same default d STRING
HIGH…6-DataIngestion/03-SML/test_write_sml_influxdb_line.py0stb --> supertable tb --> table ts --> timestamp, same default col --> column, same default tag --> tag, same default d STRING
HIGH…6-DataIngestion/03-SML/test_write_sml_opentsdb_json.py0stb --> supertable tb --> table ts --> timestamp, same default col --> column, same default tag --> tag, same default d STRING
HIGHtest/new_test_framework/utils/compatibilityUtil.py0drop database if exists deldata;create database deldata duration 100;use deldata; create table deldata.stb1 (ts timestamSTRING
HIGH…og/system-test/0-others/test_compatibility_coverage.py0drop database if exists deldata;create database deldata duration 100;use deldata; create table deldata.stb1 (ts timestamSTRING
HIGH…atalog/system-test/6-cluster/test_5dnode3mnode_roll.py0drop database if exists deldata;create database deldata duration 100;use deldata; create table deldata.stb1 (ts timestamSTRING
HIGH…rocessing/01-Snode/test_snode_params_check_minvalue.py0parameter: check default value check the default values of the following parameters: 1. numofmnodestreammgmtthreads 2. nSTRING
HIGH…rocessing/01-Snode/test_snode_params_check_maxvalue.py0parameter: check default value check the default values of the following parameters: 1. numofmnodestreammgmtthreads 2. nSTRING
HIGH…Processing/01-Snode/test_snode_params_check_default.py0parameter: check default value check the default values of the following parameters: 1. numofmnodestreammgmtthreads 2. nSTRING
HIGH…st/cases/18-StreamProcessing/08-Recalc/recalc_bug_8.py0stream manual recalculation test test manual recalculation functionality: 1. manual recalculation with time range - shouSTRING
HIGH…t/cases/18-StreamProcessing/08-Recalc/recalc_bug_12.py0stream manual recalculation test test manual recalculation functionality: 1. manual recalculation with time range - shouSTRING
HIGH…t/cases/18-StreamProcessing/08-Recalc/recalc_bug_11.py0stream manual recalculation test test manual recalculation functionality: 1. manual recalculation with time range - shouSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0recalc: watermark with expired_time option test expired_time option with expired data: 1. write expired data - all windoSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0recalc: watermark with expired_time option test expired_time option with expired data: 1. write expired data - all windoSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0recalc: watermark with expired_time option test expired_time option with expired data: 1. write expired data - all windoSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0recalc: watermark with expired_time option test expired_time option with expired data: 1. write expired data - all windoSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0check initial stream computation results after first data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0check initial stream computation results after first data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0check initial stream computation results after first data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0check initial stream computation results after first data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0check stream computation results after expired data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0check stream computation results after expired data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0check stream computation results after expired data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0check stream computation results after expired data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0check final stream computation results after all operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0check final stream computation results after all operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0check final stream computation results after all operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0check final stream computation results after all operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0check stream computation results after recalculation operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0check stream computation results after recalculation operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0check stream computation results after recalculation operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0check stream computation results after recalculation operationsSTRING
HIGH…es/18-StreamProcessing/03-TriggerMode/count_new_dbg.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…es/18-StreamProcessing/03-TriggerMode/event_new_dbg.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…s/18-StreamProcessing/03-TriggerMode/test_count_new.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…/cases/18-StreamProcessing/03-TriggerMode/session_1.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…es/18-StreamProcessing/03-TriggerMode/state_new_dbg.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…/18-StreamProcessing/03-TriggerMode/state_addnewsub.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…st/cases/18-StreamProcessing/03-TriggerMode/state_2.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…ses/18-StreamProcessing/99-Others/test_trigger_type.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…s/18-StreamProcessing/99-Others/test_trigger_type_4.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…s/18-StreamProcessing/99-Others/test_trigger_type_3.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
975 more matches not shown…
Unused Imports2973 hits · 2884 pts
SeverityFileLineSnippetContext
LOWpackaging/checkPackageRuning.py17CODE
LOWpackaging/checkPackageRuning.py18CODE
LOWpackaging/smokeTest/smokeTestClient.py16CODE
LOWpackaging/smokeTest/test_anode.py4CODE
LOWpackaging/smokeTest/test_anode.py6CODE
LOWpackaging/smokeTest/test_anode.py7CODE
LOWpackaging/smokeTest/test_anode.py8CODE
LOWpackaging/smokeTest/test_anode.py9CODE
LOW…ckaging/smokeTest/versionCheckAndUninstallforPytest.py17CODE
LOW…ckaging/smokeTest/versionCheckAndUninstallforPytest.py18CODE
LOW…ckaging/smokeTest/versionCheckAndUninstallforPytest.py20CODE
LOW…ckaging/smokeTest/versionCheckAndUninstallforPytest.py24CODE
LOWpackaging/smokeTest/versionCheckAndUninstall.py16CODE
LOWpackaging/smokeTest/test_client.py3CODE
LOWpackaging/smokeTest/test_client.py4CODE
LOWpackaging/smokeTest/test_client.py6CODE
LOWpackaging/smokeTest/main.py8CODE
LOWtools/auto/testCompression/testCompression.py1CODE
LOWtools/auto/testCompression/testCompression.py2CODE
LOWtools/auto/testCompression/testCompression.py6CODE
LOWtools/auto/testCompression/testCompression.py7CODE
LOWtools/auto/testCompression/testCompression.py8CODE
LOWtools/auto/testBss/testBss.py1CODE
LOWtools/auto/testBss/testBss.py2CODE
LOWtools/auto/testBss/testBss.py6CODE
LOWtools/auto/testBss/testBss.py7CODE
LOWtools/auto/testBss/testBss.py8CODE
LOWtools/auto/stmt2Performance/stmt2Perf.py1CODE
LOWtools/auto/stmt2Performance/stmt2Perf.py2CODE
LOWtools/auto/stmt2Performance/stmt2Perf.py6CODE
LOWtools/auto/stmt2Performance/stmt2Perf.py7CODE
LOWtools/auto/stmt2Performance/stmt2Perf.py8CODE
LOWtools/tsbs-tdengine/src/deployCluster.py21CODE
LOWtools/tsbs-tdengine/src/writeData.py17CODE
LOWtools/tsbs-tdengine/src/writeData.py18CODE
LOWtools/tsbs-tdengine/src/writeData.py23CODE
LOWtools/tsbs-tdengine/src/outDB.py16CODE
LOWtools/tsbs-tdengine/src/outDB.py17CODE
LOWtools/tsbs-tdengine/src/outDB.py19CODE
LOWtools/tsbs-tdengine/src/outDB.py24CODE
LOWtools/tsbs-tdengine/src/tdengine.py16CODE
LOWtools/tsbs-tdengine/src/tdengine.py17CODE
LOWtools/tsbs-tdengine/src/util.py17CODE
LOWtools/tsbs-tdengine/src/outMetrics.py17CODE
LOWtools/tsbs-tdengine/src/cmdLine.py22CODE
LOWtools/tsbs-tdengine/src/scene.py17CODE
LOWtools/tsbs-tdengine/src/doTest.py16CODE
LOWtools/tsbs-tdengine/src/doTest.py17CODE
LOWtools/tsbs-tdengine/src/doTest.py18CODE
LOWtools/tsbs-tdengine/src/doTest.py22CODE
LOWtools/tsbs-tdengine/src/doTest.py24CODE
LOWtools/tsbs-tdengine/src/prepareEnv.py16CODE
LOWtools/tsbs-tdengine/src/prepareEnv.py17CODE
LOWtools/tsbs-tdengine/src/prepareEnv.py22CODE
LOWtools/tsbs-tdengine/src/prepareEnv.py25CODE
LOWtools/tsbs-tdengine/src/outLog.py16CODE
LOWtools/tsbs-tdengine/src/outLog.py17CODE
LOWtools/tsbs-tdengine/src/main.py17CODE
LOWtools/tsbs-tdengine/src/main.py18CODE
LOWtools/tsbs-tdengine/src/main.py19CODE
2913 more matches not shown…
Hyper-Verbose Identifiers3217 hits · 2782 pts
SeverityFileLineSnippetContext
LOWpackaging/docker/test_tdgpt_dockerfile.py21def test_moirai_cleanup_ignores_find_delete_races():CODE
LOWpackaging/smokeTest/conftest.py28def pytest_runtest_makereport(item, call):CODE
LOWpackaging/smokeTest/conftest.py45def pytest_html_results_summary(prefix, summary, postfix):CODE
LOWpackaging/rpm/test_tdengine_spec_contract.py5def test_tdengine_spec_does_not_require_tree_binary():CODE
LOWtools/tdgpt/packaging/win_release.py65def build_default_resource_package_url(version: str) -> str:CODE
LOWtools/tdgpt/packaging/win_release.py228def resolve_python_runtime_source():CODE
LOWtools/tdgpt/packaging/win_release.py253def copy_packaged_python_runtime():CODE
LOWtools/tdgpt/packaging/win_release.py422def resolve_taos_internal_path(*parts):CODE
LOWtools/tdgpt/packaging/test_win_release.py11def test_copy_icon_file_uses_gitlab_monorepo_taos_internal(tmp_path):CODE
LOWtools/tdgpt/packaging/test_win_release.py32def test_copy_enterprise_files_uses_gitlab_monorepo_taos_internal(tmp_path):CODE
LOWtools/tdgpt/taosanalytics/util.py50def convert_results_to_windows(result, ts_list, valid_code):CODE
LOWtools/tdgpt/taosanalytics/conf.py70 # def _get_default_conf_windows(self):COMMENT
LOWtools/tdgpt/taosanalytics/conf.py140 def get_dynamic_model_directory(self):CODE
LOWtools/tdgpt/taosanalytics/service_registry.py251 def get_classification_algo_list(self):CODE
LOWtools/tdgpt/taosanalytics/service_registry.py257 def register_service_from_file(self, config_file: str):CODE
LOWtools/tdgpt/taosanalytics/service_registry.py366 def unregister_dynamic_service(self, name: str):CODE
LOWtools/tdgpt/taosanalytics/service_registry.py406 def _register_services_in_dir(CODE
LOWtools/tdgpt/taosanalytics/app.py147def handle_profile_search_req():CODE
LOWtools/tdgpt/taosanalytics/misc/hf_download.py44def _matches_retriable_endpoint_error(exc: Exception) -> bool:CODE
LOWtools/tdgpt/taosanalytics/misc/hf_download.py51def _is_retriable_on_endpoint_change(exc: Exception) -> bool:CODE
LOWtools/tdgpt/taosanalytics/misc/hf_download.py78def snapshot_download_with_fallback(CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py313 def _update_model_kwargs_for_generation(CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py897 def prepare_inputs_for_generation(CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/timesfm-server.py66def _validate_forecast_parameters(data):CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/moment-server.py192def draw_imputation_stride_result(trues, preds, masks):CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/moirai-server.py79def handle_singlevariate_forecast(input_data, prediction_length, interval):CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/moirai-server.py122def handle_covariate_forecast(CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/moirai-server.py173def handle_future_covariate_forecast(CODE
LOWtools/tdgpt/taosanalytics/algo/imputation.py45def draw_imputation_final_result(data, mask):CODE
LOWtools/tdgpt/taosanalytics/algo/dynamic/model_loader.py85 def apply_pipeline_preprocessing(CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py53def _validate_result_constraints(result_obj, algo_type):CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py274def _build_window_candidates_from_series(CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py341def _build_candidates_from_profiles(CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py404def _parse_profile_search_input(req_json):CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py532def _validate_possible_candidates(CODE
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py199def _validate_and_prepare_model_directory(raw_model_name, request_addr):CODE
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py422def _save_model_files_and_validate(CODE
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py585def do_undeploy_dynamic_model(request):CODE
LOWtools/tdgpt/tests/service_registry_sync_test.py70 def test_sync_subdirectory_model_discovered(self, mock_config_instance):CODE
LOWtools/tdgpt/tests/service_registry_sync_test.py92 def test_sync_skip_existing_model_in_subdir(self, mock_config_instance):CODE
LOWtools/tdgpt/tests/service_registry_sync_test.py113 def test_sync_missing_config_file_in_subdir(self, mock_config_instance):CODE
LOWtools/tdgpt/tests/service_registry_sync_test.py130 def test_sync_constructs_correct_config_path(self, mock_config_instance):CODE
LOWtools/tdgpt/tests/service_registry_sync_test.py147 def test_sync_multiple_subdirectory_models(self, mock_config_instance):CODE
LOWtools/tdgpt/tests/service_registry_sync_test.py167 def test_sync_register_fails_with_invalid_config(self, mock_config_instance):CODE
LOWtools/tdgpt/tests/service_registry_sync_test.py190 def test_sync_handles_mixed_old_and_new_format(self, mock_config_instance):CODE
LOWtools/tdgpt/tests/service_registry_sync_test.py213 def test_sync_subdir_with_special_characters_in_name(self, mock_config_instance):CODE
LOWtools/tdgpt/tests/service_registry_sync_test.py231 def test_sync_subdir_empty_directory(self, mock_config_instance):CODE
LOWtools/tdgpt/tests/process_manager_test.py17 def test_read_pid_file_exists(self, process_manager, temp_dir):CODE
LOWtools/tdgpt/tests/process_manager_test.py28 def test_read_pid_file_not_exists(self, process_manager):CODE
LOWtools/tdgpt/tests/process_manager_test.py33 def test_read_pid_invalid_content(self, process_manager, temp_dir):CODE
LOW⚡tools/tdgpt/tests/process_manager_test.py67 def test_is_running_unix_process_exists(self, process_manager):CODE
LOW⚡tools/tdgpt/tests/process_manager_test.py77 def test_is_running_unix_process_not_exists(self, process_manager):CODE
LOW⚡tools/tdgpt/tests/process_manager_test.py87 def test_is_running_windows_process_exists(self, process_manager, mocker):CODE
LOW⚡tools/tdgpt/tests/process_manager_test.py100 def test_is_running_windows_process_not_exists(self, process_manager, mocker):CODE
LOW⚡tools/tdgpt/tests/process_manager_test.py110 def test_wait_for_service_success(self, process_manager, mocker):CODE
LOW⚡tools/tdgpt/tests/process_manager_test.py117 def test_wait_for_service_timeout(self, process_manager, mocker):CODE
LOW⚡tools/tdgpt/tests/process_manager_test.py124 def test_wait_for_service_delayed_start(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py135 def test_kill_process_windows_graceful(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py149 def test_kill_process_windows_force(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py161 def test_kill_process_unix_graceful(self, process_manager, mocker):CODE
3157 more matches not shown…
Empty Error Handlers428 hits · 2058 pts
SeverityFileLineSnippetContext
HIGHtools/tdgpt/taosanalytics/util.py264except FileNotFoundError:CODE
HIGHtools/tdgpt/taosanalytics/handlers/model_mgmt.py279except Exception:CODE
HIGHtools/tdgpt/tests/service_registry_sync_test.py183except Exception:CODE
HIGHtools/tdgpt/tests/batch_process_test.py197except (ValueError, RuntimeError):CODE
HIGHtools/tdgpt/tests/batch_process_test.py215except (ValueError, RuntimeError):CODE
HIGHtools/tdgpt/tests/batch_process_test.py230except (ValueError, RuntimeError):CODE
HIGHtools/tdgpt/tests/batch_process_test.py500except (ValueError, RuntimeError):CODE
HIGHtools/tdgpt/script/install.py41except Exception:CODE
HIGHtools/tdgpt/script/install.py1078except Exception:CODE
HIGHtools/tdgpt/script/install.py1623except Exception:CODE
HIGHtools/tdgpt/script/install.py1860except Exception:CODE
HIGHtools/tdgpt/script/install.py590except Exception:CODE
HIGHtools/tdgpt/script/install.py1646except Exception:CODE
HIGHtools/tdgpt/script/install.py1849except Exception:CODE
HIGHtools/tdgpt/script/install.py725except Exception:CODE
HIGHtools/tdgpt/script/taosanode_service.py89except OSError:CODE
HIGHtools/tdgpt/script/taosanode_service.py133except OSError:CODE
HIGHtools/tdgpt/script/taosanode_service.py408except (ValueError, IOError):CODE
HIGHtools/tdgpt/script/taosanode_service.py441except Exception:CODE
HIGHtools/tdgpt/script/taosanode_service.py544except (OSError, ProcessLookupError):CODE
HIGHtools/tdgpt/script/taosanode_service.py1379except Exception:CODE
HIGHtest/conftest.py89except (ValueError, OSError):CODE
HIGHtest/conftest.py81except (ValueError, OSError):CODE
HIGHtest/conftest.py413except Exception:CODE
HIGHtest/tools/compat-check/server/clusterSetup.py118except Exception:CODE
HIGHtest/tools/compat-check/server/clusterSetup.py133except Exception:CODE
HIGHtest/tools/compat-check/server/clusterSetup.py176except ProcessLookupError:CODE
HIGHtest/tools/compat-check/server/clusterSetup.py178except OSError:CODE
HIGHtest/tools/compat-check/server/clusterSetup.py198except OSError:CODE
HIGHtest/tools/compat-check/server/clusterSetup.py382except Exception:CODE
HIGHtest/tools/compat-check/server/clusterSetup.py484except Exception:CODE
HIGHtest/tools/compat-check/server/clusterSetup.py189except ProcessLookupError:CODE
HIGHtest/tools/compat-check/server/clusterSetup.py367except Exception:CODE
HIGHtest/tools/compat-check/resource/userVerifier.py149except Exception:CODE
HIGHtest/tools/compat-check/client/subscriber.py53except Exception:CODE
HIGHtest/tools/compat-check/client/querier.py119except Exception:CODE
HIGHtest/tools/compat-check/client/querier.py82except Exception:CODE
HIGHtest/tools/compat-check/client/writer.py137except Exception:CODE
HIGHtest/tools/compat-check/client/writer.py98except Exception:CODE
HIGHtest/crash_gen/crash_gen_main.py2197except TmqError as err: # topic deleted by other threadsCODE
HIGHtest/ci/run_win_cases.py39except:CODE
HIGHtest/ci/run_win_cases.py182except Exception:CODE
HIGHtest/ci/run_win_cases.py171except (psutil.NoSuchProcess, psutil.AccessDenied):CODE
HIGHtest/ci/run_win_cases.py178except (psutil.NoSuchProcess, psutil.AccessDenied):CODE
HIGHtest/ci/run_win_cases.py187except Exception:CODE
HIGHtest/ci/run_win_cases.py193except Exception:CODE
HIGHtest/ci/run_win_cases.py472except:CODE
HIGHtest/ci/run_win_cases.py345except (psutil.NoSuchProcess, psutil.AccessDenied):CODE
HIGHtest/ci/cov/tdengine_coverage_alarm.py768except:CODE
HIGHtest/new_test_framework/taostest/tdclustercase.py695except Exception as e:CODE
HIGHtest/new_test_framework/taostest/tdcase.py13except NameError:CODE
HIGHtest/new_test_framework/taostest/logger.py69except:CODE
HIGHtest/new_test_framework/taostest/frame.py35except NameError:CODE
HIGHtest/new_test_framework/taostest/frame.py1063except:CODE
HIGHtest/new_test_framework/taostest/frame.py342except KeyError as e:CODE
HIGHtest/new_test_framework/taostest/util/sql.py9except:CODE
HIGHtest/new_test_framework/taostest/util/sql.py17except ValueError:CODE
HIGHtest/new_test_framework/taostest/util/sql.py21except ValueError:CODE
HIGHtest/new_test_framework/taostest/util/sql.py628except:CODE
HIGH…w_test_framework/taostest/clustermanager/envmanager.py11except:CODE
368 more matches not shown…
Over-Commented Block2151 hits · 2024 pts
SeverityFileLineSnippetContext
LOWbuild.sh1#!/bin/bashCOMMENT
LOWbuild.sh21# # what types are valid: cmake --help-command set | lessCOMMENT
LOWbuild.sh41# ./build.sh bldCOMMENT
LOWpackaging/checkPackageRuning.py1#!/usr/bin/pythonCOMMENT
LOWpackaging/setup_env.sh81# Results need to be stored when sourceCOMMENT
LOWpackaging/setup_env.sh681 cd ..COMMENT
LOWpackaging/setup_env.sh861COMMENT
LOWpackaging/setup_env.sh1841 install_package "cloud-init"COMMENT
LOWpackaging/setup_env.sh1861 # echo "Adding configuration to /etc/cloud/cloud.cfg."COMMENT
LOWpackaging/pack_community_tar.sh1#!/bin/bashCOMMENT
LOWpackaging/testpackage.sh361# cd ${installPath}COMMENT
LOWpackaging/tools/makepkg.sh81 # tdinsight_caches=""COMMENT
LOWpackaging/tools/makepkg.sh201# mkdir -p ${taostools_install_dir} || echo -e "failed to create ${taostools_install_dir}"COMMENT
LOWpackaging/tools/makepkg.sh461# elseCOMMENT
LOWpackaging/tools/install.sh801 # hostname $newHostnameCOMMENT
LOWpackaging/tools/install_spec.sh441COMMENT
LOWpackaging/cfg/taos.cfg1########################################################COMMENT
LOWpackaging/cfg/taos.cfg21COMMENT
LOWpackaging/cfg/taos.cfg41COMMENT
LOWpackaging/cfg/taos.cfg61# -1 (no compression)COMMENT
LOWpackaging/cfg/taos.cfg81COMMENT
LOWpackaging/cfg/taos.cfg101# monitor 1COMMENT
LOWpackaging/cfg/taos.cfg121# 135: output debug, warning and errorCOMMENT
LOWpackaging/cfg/taos.cfg141# debug flag for queryCOMMENT
LOWpackaging/cfg/taos.cfg161COMMENT
LOWpackaging/cfg/taos.cfg181# tdbDebugFlag 131COMMENT
LOWpackaging/cfg/taos.cfg201# The FQDN of the host on which this dnode will be started. It can be IP address.COMMENT
LOWpackaging/cfg/taos.cfg221# 135: output debug, warning and errorCOMMENT
LOWpackaging/cfg/taos.cfg241# This value increases exponentially with consecutive failures until the maximum wait time is reached.COMMENT
LOWpackaging/cfg/taos.cfg261# to verify the server certificate. This certificate should be the CA certificate that issuedCOMMENT
LOWpackaging/deb/makedeb.sh81COMMENT
LOWpackaging/smokeTest/smokeTestClient.py1#!/usr/bin/pythonCOMMENT
LOW…ckaging/smokeTest/versionCheckAndUninstallforPytest.py1#!/usr/bin/pythonCOMMENT
LOWpackaging/smokeTest/versionCheckAndUninstall.py1#!/usr/bin/pythonCOMMENT
LOWtools/inc/pub.h21#endifCOMMENT
LOWtools/inc/pub.h41COMMENT
LOWtools/rocks-reader/rreader.cpp1//#ifdef USE_ROCKSDBCOMMENT
LOWtools/shell/inc/shellInt.h21#include "taoserror.h"COMMENT
LOWtools/shell/inc/shellInt.h41#define SHELL_SHOW_TOKEN_DISPLAY_WIDTH (TSDB_TOKEN_LEN - 1)COMMENT
LOWtools/shell/src/shellAuto.c521//COMMENT
LOWtools/shell/src/shellAuto.c541#define WT_VAR_RSMA 10COMMENT
LOWtools/shell/src/shellAuto.c561#define WT_VAR_LANGUAGE WT_FROM_DB_MAX + 14COMMENT
LOWtools/shell/src/shellArguments.c21COMMENT
LOWtools/shell/src/shellArguments.c41#define SHELL_BI_MODE "Set BI mode"COMMENT
LOWtools/taosdump/inc/restoreData.h41//COMMENT
LOWtools/taosdump/inc/bckError.h21#define TSDB_CODE_BCK_CREATE_THREAD_FAILED TAOS_DEF_ERROR_CODE(0, 0xA002)COMMENT
LOWtools/taosdump/inc/colCompress.h21//COMMENT
LOWtools/taosdump/inc/bck.h21COMMENT
LOWtools/taosdump/inc/bck.h61} BckStats;COMMENT
LOWtools/taosdump/inc/compatAvro.h21// Restore a complete taosdump AVRO backup (DDL + meta + data).COMMENT
LOWtools/taosdump/inc/backupMeta.h41// ---------------- interfalce ----------------COMMENT
LOWtools/taosdump/inc/restoreMeta.h41// restore database extended meta: virtual tables, streams, topics.COMMENT
LOWtools/taosdump/inc/bckProgress.h21// phase values for g_progress.phaseCOMMENT
LOWtools/taosdump/inc/bckArgs.h141COMMENT
LOWtools/taosdump/inc/bckArgs.h161// and restore, same as the rest of taosdump's -D/-M/-W options).COMMENT
LOWtools/taosdump/test/CMakeLists.txt1# taosdump test CMakeLists.txtCOMMENT
LOWtools/taosdump/src/CMakeLists.txt81 MESSAGE(FATAL_ERROR "build taosdump not found BUILD_VER_NUMBER define.")COMMENT
LOWtools/taosdump/src/compatible/compatAvroMeta.c21#include <jansson.h>COMMENT
LOWtools/taosdump/src/compatible/compatAvroUtil.c21#pragma pop_macro("__atomic_add_fetch")COMMENT
LOWtools/taosdump/src/compatible/compatAvro.c21#pragma pop_macro("__atomic_add_fetch")COMMENT
2091 more matches not shown…
Self-Referential Comments505 hits · 1519 pts
SeverityFileLineSnippetContext
MEDIUMpackaging/check_package.sh3# This file is used to install database on linux systems. The operating systemCOMMENT
MEDIUMpackaging/checkPackageRuning.py6# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUM⚡packaging/setup_env.sh12# Define the packages to be installedCOMMENT
MEDIUM⚡packaging/setup_env.sh16# Define the packages to be installed for build TDinternalCOMMENT
MEDIUM⚡packaging/setup_env.sh22# Define the packages to be installed via pipCOMMENT
MEDIUM⚡packaging/setup_env.sh28# Define the version of the Ubuntu releaseCOMMENT
MEDIUM⚡packaging/setup_env.sh41# Define the path where the core dump files should be storedCOMMENT
MEDIUM⚡packaging/setup_env.sh44# Define the path where the repository should be clonedCOMMENT
MEDIUM⚡packaging/setup_env.sh47# Define the path to the script directoryCOMMENT
MEDIUM⚡packaging/setup_env.sh54# Define the path to the .bashrc fileCOMMENT
MEDIUM⚡packaging/setup_env.sh57# Define the path to the Cargo configuration fileCOMMENT
MEDIUM⚡packaging/setup_env.sh69# Define the path where the Prometheus binary should existCOMMENT
MEDIUM⚡packaging/setup_env.sh72# Define the path where the Node Exporter binary should existCOMMENT
MEDIUM⚡packaging/setup_env.sh75# Define the path where the Process Exporter binary should existCOMMENT
MEDIUMpackaging/setup_env.sh193 # Define the codename of the Ubuntu releaseCOMMENT
MEDIUMpackaging/setup_env.sh1083 # Define the installation location for GoCOMMENT
MEDIUMpackaging/tools/get_version.sh3# This file is used to install TAOS time-series database on linux systems. The operating systemCOMMENT
MEDIUMpackaging/tools/get_os.sh3# This file is used to install TAOS time-series database on linux systems. The operating systemCOMMENT
MEDIUMpackaging/tools/set_core.sh3# This file is used to set config for core when taosd crashCOMMENT
MEDIUMpackaging/tools/install.sh3# This file is used to install database on linux systems. The operating systemCOMMENT
MEDIUMpackaging/tools/install_client.sh3# This file is used to install TDengine client on linux systems. The operating systemCOMMENT
MEDIUMpackaging/tools/post.sh3# This file is used to install tdengine rpm package on centos systems. The operating systemCOMMENT
MEDIUMpackaging/tools/make_install.sh3# This file is used to install TAOS time-series database on linux systems. The operating systemCOMMENT
MEDIUMpackaging/tools/install_spec.sh3# This file is used to install database on linux systems. The operating systemCOMMENT
MEDIUMpackaging/docker/entrypoint.sh8# Define the base path for modelsCOMMENT
MEDIUMpackaging/docker/entrypoint.sh19# Define the five subdirectories under model pathCOMMENT
MEDIUMpackaging/smokeTest/test_smoking_selfhost.sh27# Define the Python commands to executeCOMMENT
MEDIUMpackaging/smokeTest/smokeTestClient.py6# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUM…ckaging/smokeTest/versionCheckAndUninstallforPytest.py6# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMpackaging/smokeTest/versionCheckAndUninstall.py6# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMpackaging/rpm/tests/test_makerpm_sudo_detection.sh137# Create a dummy sudo that returns "command not found"COMMENT
MEDIUMtools/auto/testCompression/testCompression.py15# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtools/auto/testBss/testBss.py15# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtools/auto/stmt2Performance/stmt2Perf.py15# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtools/tdgpt/taosanalytics/tsfmservice/moment-server.py218 # Create an initial DataFrame, convert timestamps to pandas datetime type and set as indexCOMMENT
MEDIUMtools/tdgpt/tests/service_registry_sync_test.py35 # Create a ServiceRegistry instanceCOMMENT
MEDIUM⚡tools/tdgpt/tests/config_test.py53 # Create a custom config fileCOMMENT
MEDIUMtools/tdgpt/script/install.sh3# This file is used to install analysis platform on linux systems. The operating systemCOMMENT
MEDIUMtools/tdgpt/script/install.sh259 # Create an array of link names and target scriptsCOMMENT
MEDIUMtools/taosBenchmark/packaging/tools/get_os.sh3# This file is used to install TAOS time-series database on linux systems. The operating systemCOMMENT
MEDIUMtools/taosBenchmark/packaging/tools/install-tools.sh3# This file is used to install taos-tools on your linux systems.COMMENT
MEDIUMtools/taosBenchmark/packaging/tools/uninstall-tools.sh3# This file is used to install taos-tools on your linux systems.COMMENT
MEDIUMtest/crash_gen_bootstrap.py6# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/tools/compat-publish/extract_pkg.sh25# Create a temp dir to extract intoCOMMENT
MEDIUMtest/crash_gen/crash_gen_main.py6# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/crash_gen/crash_gen_main.py579 for tid in range(0, self.numThreads): # Create the threadsCODE
MEDIUMtest/crash_gen/service_manager.py280 # Create the process + managing thread immediatelySTRING
MEDIUMtest/new_test_framework/taostest/tdclustercase.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/taostest/util/common.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/taostest/util/sml_types.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/eos.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/sqlset.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/mqttUtil.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/taosdemoCfg.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/taosdemoCfg.py192 # The following functions are import functions for different dicts and listsCOMMENT
MEDIUMtest/new_test_framework/utils/taosdemoCfg.py242 # The following functions are alter functions for different dictsCOMMENT
MEDIUMtest/new_test_framework/utils/taosdemoCfg.py351 # The following functions are get functions for different dictsCOMMENT
MEDIUMtest/new_test_framework/utils/log.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/epath.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/etool.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
445 more matches not shown…
Excessive Try-Catch Wrapping1523 hits · 1455 pts
SeverityFileLineSnippetContext
MEDIUMpackaging/checkPackageRuning.py39 print("Error: Invalid serverHost value. Only alphanumeric characters, dots, hyphens, colons, and underscores are allCODE
MEDIUMpackaging/delete_ref_lock.py39 print("Error parsing branch name.")CODE
LOWpackaging/delete_ref_lock.py55 except Exception as ex:CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py252 except Exception as e:CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py457 except Exception as e:CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py479 except Exception as e:CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py501 except Exception as e:CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py524 except Exception as e:CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py570 except Exception as e:CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py575 except Exception as e:CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py602 except Exception as e:CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py801 except Exception as e:CODE
MEDIUMtools/tsbs-tdengine/tools/sort_csv.py39 print(f"Error: Column '{col}' not found in CSV headers")CODE
MEDIUM⚡tools/tsbs-tdengine/tools/sort_csv.py62 print(f"Error: File not found: {input_file}")CODE
LOW⚡tools/tsbs-tdengine/tools/sort_csv.py64 except Exception as e:CODE
MEDIUM⚡tools/tsbs-tdengine/tools/sort_csv.py65 print(f"Error processing CSV: {e}")CODE
MEDIUMtools/tsbs-tdengine/tools/sort_csv.py109 print(f"Error: Input file does not exist: {args.input}")STRING
LOWtools/tsbs-tdengine/src/deployCluster.py245 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/deployCluster.py492 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/deployCluster.py514 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/deployCluster.py536 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/deployCluster.py559 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/deployCluster.py605 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/deployCluster.py610 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/deployCluster.py637 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/deployCluster.py743 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/writeData.py80 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/writeData.py106 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/writeData.py167 except Exception as e:CODE
MEDIUMtools/tsbs-tdengine/src/writeData.py54def read_data_info(self, scenario_id, yaml_file):CODE
LOWtools/tsbs-tdengine/src/outDB.py221 except Exception as e:STRING
LOWtools/tsbs-tdengine/src/outDB.py231 except Exception as e:STRING
LOWtools/tsbs-tdengine/src/outMetrics.py318 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/outMetrics.py327 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/doTest.py49 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/doTest.py121 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/doTest.py178 except Exception as e:CODE
MEDIUMtools/tsbs-tdengine/src/doTest.py33def total_delay(self, cursor, delaySql, i):CODE
MEDIUMtools/tsbs-tdengine/src/doTest.py144def read_verify_info(self, scenario_id, yaml_file):CODE
LOWtools/tsbs-tdengine/src/prepareEnv.py45 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/prepareEnv.py49 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/prepareEnv.py109 except Exception as e:CODE
LOWtools/tsbs-tdengine/src/main.py102 except Exception as e:CODE
LOWtools/tdgpt/packaging/win_release.py976 except Exception as e:CODE
LOWtools/tdgpt/packaging/win_release.py1012 except Exception as e:CODE
LOWtools/tdgpt/docker/time-moe_server.py124 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/util.py187 except Exception:CODE
LOWtools/tdgpt/taosanalytics/util.py222 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/util.py266 except Exception as cleanup_error:CODE
LOWtools/tdgpt/taosanalytics/util.py294 except Exception as cleanup_error:CODE
LOWtools/tdgpt/taosanalytics/conf.py13except Exception: # pragma: no coverCODE
LOWtools/tdgpt/taosanalytics/conf.py18except Exception: # pragma: no coverCODE
LOWtools/tdgpt/taosanalytics/service_registry.py115 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py140 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py170 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py302 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py442 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py495 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py550 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py565 except Exception as e:CODE
1463 more matches not shown…
Deep Nesting941 hits · 792 pts
SeverityFileLineSnippetContext
LOWpackaging/delete_ref_lock.py42CODE
LOWpackaging/smokeTest/conftest.py28CODE
LOW…ckaging/smokeTest/versionCheckAndUninstallforPytest.py55CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py534CODE
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py627CODE
LOWtools/tsbs-tdengine/tools/sort_csv.py21CODE
LOWtools/tsbs-tdengine/src/deployCluster.py569CODE
LOWtools/tsbs-tdengine/src/writeData.py54CODE
LOWtools/tsbs-tdengine/src/outDB.py68CODE
LOWtools/tsbs-tdengine/src/doTest.py52CODE
LOWtools/tsbs-tdengine/src/doTest.py144CODE
LOWtools/tsbs-tdengine/src/prepareEnv.py31CODE
LOWtools/tdgpt/packaging/build_offline_assets.py169CODE
LOWtools/tdgpt/packaging/build_offline_assets.py199CODE
LOWtools/tdgpt/packaging/build_offline_assets.py267CODE
LOWtools/tdgpt/taosanalytics/util.py50CODE
LOWtools/tdgpt/taosanalytics/conf.py30CODE
LOWtools/tdgpt/taosanalytics/service_registry.py71CODE
LOWtools/tdgpt/taosanalytics/service_registry.py257CODE
LOWtools/tdgpt/taosanalytics/service_registry.py406CODE
LOWtools/tdgpt/taosanalytics/service_registry.py504CODE
LOWtools/tdgpt/taosanalytics/model_file_mgt.py69CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py129CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py789CODE
LOWtools/tdgpt/taosanalytics/algo/association.py9CODE
LOWtools/tdgpt/taosanalytics/algo/dynamic/detector.py184CODE
LOWtools/tdgpt/taosanalytics/algo/fc/prophet.py48CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py274CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py626CODE
LOWtools/tdgpt/taosanalytics/algo/tool/batch_env.py386CODE
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py48CODE
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py585CODE
LOWtools/tdgpt/tests/unit_test.py366CODE
LOWtools/tdgpt/script/install.py622CODE
LOWtools/tdgpt/script/install.py763CODE
LOWtools/tdgpt/script/install.py966CODE
LOWtools/tdgpt/script/install.py1115CODE
LOWtools/tdgpt/script/install.py1484CODE
LOWtools/tdgpt/script/install.py1605CODE
LOWtools/tdgpt/script/install.py1651CODE
LOWtools/tdgpt/script/install.py2310CODE
LOWtools/tdgpt/script/taosanode_service.py1922CODE
LOWtools/tdgpt/script/taosanode_service.py484CODE
LOWtools/tdgpt/script/taosanode_service.py993CODE
LOWtools/tdgpt/script/taosanode_service.py1194CODE
LOWtools/tdgpt/script/taosanode_service.py1359CODE
LOWtools/tdgpt/script/taosanode_service.py1686CODE
LOWtools/tdgpt/script/taosanode_service.py1811CODE
LOWtools/tdgpt/script/taosanode_service.py1005CODE
LOWtest/conftest.py297CODE
LOWtest/conftest.py509CODE
LOWtest/conftest.py1191CODE
LOWtest/conftest.py609CODE
LOWtest/auto_crash_gen.py99CODE
LOWtest/auto_crash_gen.py193CODE
LOWtest/crash_gen_start_taosd.py46CODE
LOWtest/auto_crash_gen_valgrind.py102CODE
LOWtest/auto_crash_gen_valgrind.py194CODE
LOWtest/auto_crash_gen_valgrind_cluster.py99CODE
LOWtest/auto_crash_gen_valgrind_cluster.py189CODE
881 more matches not shown…
Docstring Block Structure72 hits · 265 pts
SeverityFileLineSnippetContext
HIGHtools/tdgpt/taosanalytics/algo/association.py10 Convert input data to transaction-item matrix. Args: data: Either a 2D list (matrix) or list of lists STRING
HIGHtools/tdgpt/taosanalytics/algo/association.py68 Execute Apriori association rule mining. Args: input_data: Transaction-item matrix (list of lists) or STRING
HIGHtools/tdgpt/taosanalytics/algo/tool/apriori.py29 Execute Apriori algorithm on transaction-item matrix. Args: matrix: DataFrame or 2D numpy STRING
HIGHtest/new_test_framework/utils/mqttUtil.py245 Checks if the qos fetched by the last subscription matches the expected qos. Args: expecteSTRING
HIGHtest/new_test_framework/utils/mqttUtil.py260 Checks if the number of rows fetched by the last subscription matches the expected number of rows. ArgSTRING
HIGHtest/new_test_framework/utils/mqttUtil.py275 Retrieves the number of rows fetched by the last sub. Args: None Returns: STRING
HIGHtest/new_test_framework/utils/mqttUtil.py312 Checks if the given element is equal to the expected element. Args: elm: The element to beSTRING
HIGHtest/new_test_framework/utils/mqttUtil.py340 Checks if the given element is not equal to the expected element. Args: elm: The element tSTRING
HIGHtest/new_test_framework/utils/taoskeeper.py65 update taoskeeper cfg file Args: update_dict: dict, update dict exSTRING
HIGHtest/new_test_framework/utils/taoskeeper.py102 add param option and value to cfg file Args: option: str, param name vSTRING
HIGHtest/new_test_framework/utils/taoskeeper.py155 start taoskeeper process. Args: None Returns: None Raises: STRING
HIGHtest/new_test_framework/utils/taoskeeper.py233 stop taoskeeper process. Args: force_kill: bool, whether to force kill the process STRING
HIGHtest/new_test_framework/utils/sql.py163 Initializes the TDSql instance with a database cursor and optionally enables logging. Args: STRING
HIGHtest/new_test_framework/utils/sql.py184 Closes the cursor. Args: None Returns: None Raises: STRING
HIGHtest/new_test_framework/utils/sql.py199 Reconnect Args: username (str):The username used to log in to the cluster. pasSTRING
HIGHtest/new_test_framework/utils/sql.py231 Prepares the database by optionally dropping it if it exists, creating it, and setting it as the active databasSTRING
HIGHtest/new_test_framework/utils/sql.py273 Executes a list of SQL queries and checks the results against the expected results. Args: STRING
HIGHtest/new_test_framework/utils/sql.py310 Executes a SQL query and fetches the results. Args: sql (str): The SQL query to be executeSTRING
HIGHtest/new_test_framework/utils/sql.py461 Executes a SQL statement a specified number of times.(Not used) Args: sql (str): The SQL sSTRING
HIGHtest/new_test_framework/utils/sql.py495 Executes a SQL statement. Args: sql (str): The SQL statement to be executed. qSTRING
HIGHtest/new_test_framework/utils/sql.py533 Executes a list of SQL statements. Args: sqls (list): The list of SQL statements to be exeSTRING
HIGHtest/new_test_framework/utils/sql.py551 Executes a SQL query and waits until the expected number of rows is retrieved or the timeout is reached. STRING
HIGHtest/new_test_framework/utils/sql.py591Executes a SQL query with retry mechanism and handles both successful and failed scenarios. This method attemptSTRING
HIGHtest/new_test_framework/utils/sql.py682 Executes a SQL statement and checks if it results in an error.(Not used) Args: sql (str): STRING
HIGHtest/new_test_framework/utils/sql.py705 Executes a list of SQL queries and checks for expected errors. Args: sql_list (list): The STRING
HIGHtest/new_test_framework/utils/sql.py742Checks if a SQL statement will result in an error when executed. This method executes the provided SQL statemenSTRING
HIGHtest/new_test_framework/utils/sql.py792 Executes a SQL statement and checks for expected errors. Args: sql (str): The SQL statemenSTRING
HIGHtest/new_test_framework/utils/sql.py968 Retrieves the data at the specified row and column from the last query result. Args: row (STRING
HIGHtest/new_test_framework/utils/sql.py985 Retrieves the data at the specified row and column from the last query result. Args: row (iSTRING
HIGHtest/new_test_framework/utils/sql.py998 Retrieves all data from the specified column in the last query result. Args: col (int): ThSTRING
HIGHtest/new_test_framework/utils/sql.py1016 Retrieves all data from the specified row in the last query result. Args: row (int): The rSTRING
HIGHtest/new_test_framework/utils/sql.py1034 Executes a SQL query and fetches the results. Args: sql (str): The SQL query to be executeSTRING
HIGHtest/new_test_framework/utils/sql.py1061 Retrieves the value of a specified variable from the database. Args: search_attr (str): ThSTRING
HIGHtest/new_test_framework/utils/sql.py1086 Executes a SQL query and retrieves the column names and optionally the column types. Args: STRING
HIGHtest/new_test_framework/utils/sql.py1118 Retrieves the number of rows fetched by the last query. Args: None Returns: STRING
HIGHtest/new_test_framework/utils/sql.py1133 Retrieves the number of cols fetched by the last query. Args: None Returns: STRING
HIGHtest/new_test_framework/utils/sql.py1149 Executes a SQL query and retrieves the first value in the result. Args: sql (str): The SQLSTRING
HIGHtest/new_test_framework/utils/sql.py1169 Checks if the number of rows fetched by the last query matches the expected number of rows. Args: STRING
HIGHtest/new_test_framework/utils/sql.py1189 Verify if the number of rows returned by SQL query meets the expected condition. Args: expSTRING
HIGHtest/new_test_framework/utils/sql.py1257 Checks if the number of rows fetched by the last query is within the expected range.(Not used) Args: STRING
HIGHtest/new_test_framework/utils/sql.py1281 Checks if the number of columns fetched by the last query matches the expected number of columns. ArgsSTRING
HIGHtest/new_test_framework/utils/sql.py1310 Checks if the specified row and column indices are within the range of the last query result. Args: STRING
HIGHtest/new_test_framework/utils/sql.py1355 Checks if the data type at the specified row and column matches the expected data type. Args: STRING
HIGHtest/new_test_framework/utils/sql.py1414 Checks if the data at the specified row and column matches the expected data. Args: row (iSTRING
HIGHtest/new_test_framework/utils/sql.py1907 Checks if the data at the specified key matches the expected data. Args: key: The first coSTRING
HIGHtest/new_test_framework/utils/sql.py1982 Whether the data at the specified key matches the expected data. Args: key: The first coluSTRING
HIGHtest/new_test_framework/utils/sql.py2025 Checks if the assertVal is true. Args: assertVal: The value to be assert show STRING
HIGHtest/new_test_framework/utils/sql.py2048 Executes a SQL query and checks if the result matches the expected data. Args: sql (str): STRING
HIGHtest/new_test_framework/utils/sql.py2082 Loop executes a SQL query and checks if the result matches the expected data. Args: sql (sSTRING
HIGHtest/new_test_framework/utils/sql.py2131 Executes a SQL query and checks if the result matches the expected data from a CSV file.(Not used) ArgSTRING
HIGHtest/new_test_framework/utils/sql.py2173 Executes a SQL query and checks if the result matches the expected data (Same as checkDataMem). Args: STRING
HIGHtest/new_test_framework/utils/sql.py2206 Executes a SQL query and checks if the result matches the expected data from a CSV file line by line. STRING
HIGHtest/new_test_framework/utils/sql.py2253 Checks if the specified row and column indices are within the range of the last query result without exiting thSTRING
HIGHtest/new_test_framework/utils/sql.py2279 Checks if the data at the specified row and column matches the expected data without exiting the program. STRING
HIGHtest/new_test_framework/utils/sql.py2329 Executes a SQL query in a loop and checks if the data at the specified row and column matches the expected dataSTRING
HIGHtest/new_test_framework/utils/sql.py2373 Checks if the number of affected rows from the last executed SQL statement matches the expected number of affecSTRING
HIGHtest/new_test_framework/utils/sql.py2402 Checks if the column names from the last query match the expected column names. Args: col_STRING
HIGHtest/new_test_framework/utils/sql.py2480 Checks if the given element is equal to the expected element. Args: elm: The element to beSTRING
HIGHtest/new_test_framework/utils/sql.py2508 Checks if the given element is not equal to the expected element. Args: elm: The element tSTRING
HIGHtest/new_test_framework/utils/sql.py2558 Executes an aggregate SQL query and checks if the result matches the expected count. Args: STRING
12 more matches not shown…
Dead Code172 hits · 250 pts
SeverityFileLineSnippetContext
MEDIUMtest/new_test_framework/taostest/performance/monitor.py64CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py65CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py67CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py69CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py71CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py73CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py75CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py77CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py79CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py81CODE
MEDIUMtest/new_test_framework/taostest/performance/monitor.py83CODE
MEDIUMtest/new_test_framework/utils/mqttUtil.py50CODE
MEDIUMtest/new_test_framework/utils/mqttUtil.py68CODE
MEDIUMtest/new_test_framework/utils/pathFinding.py134CODE
MEDIUMtest/new_test_framework/utils/pathFinding.py138CODE
MEDIUMtest/new_test_framework/utils/pathFinding.py139CODE
MEDIUMtest/new_test_framework/utils/pathFinding.py145CODE
MEDIUMtest/new_test_framework/utils/pathFinding.py149CODE
MEDIUM…treamProcessing/20-UseCase/three_gorges_phase1_bug1.py190CODE
MEDIUM…treamProcessing/20-UseCase/three_gorges_phase1_bug1.py192CODE
MEDIUM…treamProcessing/20-UseCase/three_gorges_phase1_bug1.py224CODE
MEDIUM…treamProcessing/20-UseCase/three_gorges_phase1_bug1.py225CODE
MEDIUM…treamProcessing/20-UseCase/three_gorges_phase1_bug1.py252CODE
MEDIUM…treamProcessing/20-UseCase/three_gorges_phase1_bug1.py256CODE
MEDIUM…treamProcessing/20-UseCase/three_gorges_phase1_bug1.py257CODE
MEDIUM…treamProcessing/20-UseCase/three_gorges_phase1_bug1.py274CODE
MEDIUM…treamProcessing/20-UseCase/three_gorges_phase1_bug1.py275CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py157CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py218CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py220CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py222CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py254CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py255CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py282CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py286CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py287CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py304CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py305CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py96CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py97CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py98CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py102CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py127CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py131CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py144CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py148CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py155CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py156CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py157CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py158CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py165CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py190CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py191CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py192CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py198CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1741CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1744CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1745CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1748CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1749CODE
112 more matches not shown…
Structural Annotation Overuse150 hits · 245 pts
SeverityFileLineSnippetContext
LOWtools/taosdump/src/compatible/compatAvroUtil.c424 // Step 1: iterate server columns (same order as buildPartialStr)COMMENT
LOWtools/taosdump/src/compatible/compatAvroUtil.c447 // Step 2: for each backup column, find matching server columnCOMMENT
LOW⚡tools/taosdump/src/compatible/compatAvro.c660 // Step 1: Execute dbs.sql (CREATE DATABASE, USE, CREATE STABLE, ...)COMMENT
LOW⚡tools/taosdump/src/compatible/compatAvro.c667 // Step 2: Scan data directoriesCOMMENT
LOWtools/taosdump/src/compatible/compatAvro.c679 // Step 3: Restore meta at dbPath level (tbtags and ntb files live at DB root)COMMENT
LOWtools/taosdump/src/compatible/compatAvro.c694 // Step 4: Physical data (from data*/ subdirectories)COMMENT
LOWtools/taosdump/src/compatible/compatAvro.c720 // Step 5: Virtual tables meta at dbPath level (second pass)COMMENT
LOWtools/taosdump/src/compatible/compatAvro.c734 // Step 6: Virtual data — skip for now; virtual tables don't export data filesCOMMENT
LOWtools/taosdump/src/restore/restoreMeta.c2695 // Step 1: qualify stream name with targetDb if not already db-qualified.COMMENT
LOWtools/taosdump/src/restore/restoreMeta.c2730 // Step 2: apply every -W rename pair to database references in the DDL,COMMENT
LOWtools/boosttools/README.md267# Step 1: sync schema onlyCOMMENT
LOWtools/boosttools/README.md270# Step 2: sync data separately (possibly on a different machine)COMMENT
LOW⚡tools/boosttools/deploy.sh25# Step 1: Create remote directoryCOMMENT
LOW⚡tools/boosttools/deploy.sh29# Step 2: Copy source filesCOMMENT
LOW⚡tools/boosttools/deploy.sh41# Step 3: Build on remoteCOMMENT
LOW⚡tools/boosttools/deploy.sh45# Step 4: VerifyCOMMENT
LOW⚡tools/tdgpt/taosanalytics/handlers/model_mgmt.py546 # Step 3: Save model files and validate pklCOMMENT
LOW⚡tools/tdgpt/taosanalytics/handlers/model_mgmt.py555 # Step 4: Register serviceCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py513 # Step 1: Extract and validate payloadCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py535 # Step 2: Validate model name and prepare directoriesCOMMENT
LOW⚡test/tools/compat-check/server/rollingUpgrade.py323 # Step 1: stop all nodesCOMMENT
LOW⚡test/tools/compat-check/server/rollingUpgrade.py332 # Step 2: replace binaries on all nodesCOMMENT
LOW⚡test/tools/compat-check/server/rollingUpgrade.py337 # Step 3: start all nodesCOMMENT
LOWtest/new_test_framework/utils/eutil.py78 # Step 1: Find all processes named "taosd"COMMENT
LOWtest/new_test_framework/utils/eutil.py102 # Step 2: Get thread information for the first taosd processCOMMENT
LOW…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py96 # Step 3: Write trigger data to trigger tables (tdb) to start stream computationCOMMENT
LOW…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py95 # Step 3: Write trigger data to trigger tables (tdb) to start stream computationCOMMENT
LOW…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py93 # Step 1: Write base data to meters table (qdb)COMMENT
LOW…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py104 # Step 3: Write trigger data to trigger tables (tdb) to start stream computationCOMMENT
LOW⚡…sing/06-ResultSaved/test_result_saved_comprehensive.py820 # Step 1: Verify stream exists and is runningCOMMENT
LOW⚡…sing/06-ResultSaved/test_result_saved_comprehensive.py826 # Step 2: Verify target table was deleted before writing trigger dataCOMMENT
LOW⚡…sing/06-ResultSaved/test_result_saved_comprehensive.py855 # Step 3: Check stream status and behaviorCOMMENT
LOW⚡…sing/06-ResultSaved/test_result_saved_comprehensive.py861 # Step 4: Verify system robustnessCOMMENT
LOW⚡…g/23-Compatibility/test_compatibility_cross_version.py168 # Step 1: Install old version and create streamsCOMMENT
LOW⚡…g/23-Compatibility/test_compatibility_cross_version.py172 # Step 2: Try to start with new version (should fail)COMMENT
LOW⚡…g/23-Compatibility/test_compatibility_cross_version.py179 # Step 3: Cleanup streams on old versionCOMMENT
LOW⚡…g/23-Compatibility/test_compatibility_cross_version.py182 # Step 4: Create new streams on new versionCOMMENT
LOWtest/cases/25-Privileges/test_priv_upgrade.py186 # Step 1: Install old version and create clusterCOMMENT
LOW⚡test/cases/25-Privileges/test_priv_upgrade.py246 # Step 2: Prepare test data and usersCOMMENT
LOW⚡test/cases/25-Privileges/test_priv_upgrade.py250 # Step 3: Capture baselineCOMMENT
LOW⚡test/cases/25-Privileges/test_priv_upgrade.py255 # Step 4: Cold upgradeCOMMENT
LOW⚡test/cases/25-Privileges/test_priv_upgrade.py311 # Step 5: Verify upgrade resultsCOMMENT
LOW…st/cases/25-Privileges/test_priv_upgrade_regression.py336 # Step 1: Install old version and create clusterCOMMENT
LOW…st/cases/25-Privileges/test_priv_upgrade_regression.py378 # Step 2: Prepare test data and userCOMMENT
LOW…st/cases/25-Privileges/test_priv_upgrade_regression.py407 # Step 3: Upgrade to buggy version 3.4.2.4COMMENT
LOW…st/cases/25-Privileges/test_priv_upgrade_regression.py490 # Step 4: Upgrade to latest versionCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_basic_c.py423 # Step 1: Simple ALTER→ROLLBACK→SELECT (no DROP)COMMENT
LOWtest/cases/21-MetaData/test_meta_batch_txn_basic_c.py434 # Step 2: ALTER→DROP→ROLLBACK→SELECTCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_advanced.py621 # Step 1: Simple ALTER→ROLLBACKCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_advanced.py631 # Step 2: ALTER→DROP→ROLLBACKCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_stress.py238 # Step 1: pre-fill active txns close to the global limitCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_stress.py247 # Step 2: burst concurrent BEGIN and verify stable admission/reject behaviorCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_stress.py289 # Step 3: cleanup and verify admission recovers immediatelyCOMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py539 # Step 1: Create super table (outside transaction)COMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py544 # Step 2: Create stream that aggregates first(score) per child table nameCOMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py571 # Step 4: Insert known score values into each CTBCOMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py578 # Step 5: Wait for stream to process (up to 20s).COMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py596 # Step 6: Verify exact score valuesCOMMENT
LOW…ases/21-MetaData/test_txn_consumer_data_correctness.py558 # Step 3: Commit 3 CTBs in a single batch transactionCOMMENT
LOW⚡test/cases/21-MetaData/test_taosx_txn_cluster.py325 # Step 1: Baseline — write WAL .txn entriesCOMMENT
90 more matches not shown…
Verbosity Indicators141 hits · 233 pts
SeverityFileLineSnippetContext
LOWtools/taosdump/src/compatible/compatAvroUtil.c424 // Step 1: iterate server columns (same order as buildPartialStr)COMMENT
LOWtools/taosdump/src/compatible/compatAvroUtil.c447 // Step 2: for each backup column, find matching server columnCOMMENT
LOW⚡tools/taosdump/src/compatible/compatAvro.c660 // Step 1: Execute dbs.sql (CREATE DATABASE, USE, CREATE STABLE, ...)COMMENT
LOW⚡tools/taosdump/src/compatible/compatAvro.c667 // Step 2: Scan data directoriesCOMMENT
LOWtools/taosdump/src/compatible/compatAvro.c679 // Step 3: Restore meta at dbPath level (tbtags and ntb files live at DB root)COMMENT
LOWtools/taosdump/src/compatible/compatAvro.c694 // Step 4: Physical data (from data*/ subdirectories)COMMENT
LOWtools/taosdump/src/compatible/compatAvro.c720 // Step 5: Virtual tables meta at dbPath level (second pass)COMMENT
LOWtools/taosdump/src/compatible/compatAvro.c734 // Step 6: Virtual data — skip for now; virtual tables don't export data filesCOMMENT
LOWtools/taosdump/src/restore/restoreMeta.c2695 // Step 1: qualify stream name with targetDb if not already db-qualified.COMMENT
LOWtools/taosdump/src/restore/restoreMeta.c2730 // Step 2: apply every -W rename pair to database references in the DDL,COMMENT
LOW⚡tools/boosttools/deploy.sh25# Step 1: Create remote directoryCOMMENT
LOW⚡tools/boosttools/deploy.sh29# Step 2: Copy source filesCOMMENT
LOW⚡tools/boosttools/deploy.sh41# Step 3: Build on remoteCOMMENT
LOW⚡tools/boosttools/deploy.sh45# Step 4: VerifyCOMMENT
LOW⚡tools/tdgpt/taosanalytics/handlers/model_mgmt.py546 # Step 3: Save model files and validate pklCOMMENT
LOW⚡tools/tdgpt/taosanalytics/handlers/model_mgmt.py555 # Step 4: Register serviceCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py513 # Step 1: Extract and validate payloadCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py535 # Step 2: Validate model name and prepare directoriesCOMMENT
LOW⚡test/tools/compat-check/server/rollingUpgrade.py323 # Step 1: stop all nodesCOMMENT
LOW⚡test/tools/compat-check/server/rollingUpgrade.py332 # Step 2: replace binaries on all nodesCOMMENT
LOW⚡test/tools/compat-check/server/rollingUpgrade.py337 # Step 3: start all nodesCOMMENT
LOWtest/new_test_framework/utils/eutil.py78 # Step 1: Find all processes named "taosd"COMMENT
LOWtest/new_test_framework/utils/eutil.py102 # Step 2: Get thread information for the first taosd processCOMMENT
LOW…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py96 # Step 3: Write trigger data to trigger tables (tdb) to start stream computationCOMMENT
LOW…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py95 # Step 3: Write trigger data to trigger tables (tdb) to start stream computationCOMMENT
LOW…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py93 # Step 1: Write base data to meters table (qdb)COMMENT
LOW…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py104 # Step 3: Write trigger data to trigger tables (tdb) to start stream computationCOMMENT
LOW⚡…sing/06-ResultSaved/test_result_saved_comprehensive.py820 # Step 1: Verify stream exists and is runningCOMMENT
LOW⚡…sing/06-ResultSaved/test_result_saved_comprehensive.py826 # Step 2: Verify target table was deleted before writing trigger dataCOMMENT
LOW⚡…sing/06-ResultSaved/test_result_saved_comprehensive.py855 # Step 3: Check stream status and behaviorCOMMENT
LOW⚡…sing/06-ResultSaved/test_result_saved_comprehensive.py861 # Step 4: Verify system robustnessCOMMENT
LOW⚡…g/23-Compatibility/test_compatibility_cross_version.py168 # Step 1: Install old version and create streamsCOMMENT
LOW⚡…g/23-Compatibility/test_compatibility_cross_version.py172 # Step 2: Try to start with new version (should fail)COMMENT
LOW⚡…g/23-Compatibility/test_compatibility_cross_version.py179 # Step 3: Cleanup streams on old versionCOMMENT
LOW⚡…g/23-Compatibility/test_compatibility_cross_version.py182 # Step 4: Create new streams on new versionCOMMENT
LOWtest/cases/25-Privileges/test_priv_upgrade.py186 # Step 1: Install old version and create clusterCOMMENT
LOW⚡test/cases/25-Privileges/test_priv_upgrade.py246 # Step 2: Prepare test data and usersCOMMENT
LOW⚡test/cases/25-Privileges/test_priv_upgrade.py250 # Step 3: Capture baselineCOMMENT
LOW⚡test/cases/25-Privileges/test_priv_upgrade.py255 # Step 4: Cold upgradeCOMMENT
LOW⚡test/cases/25-Privileges/test_priv_upgrade.py311 # Step 5: Verify upgrade resultsCOMMENT
LOW…st/cases/25-Privileges/test_priv_upgrade_regression.py336 # Step 1: Install old version and create clusterCOMMENT
LOW…st/cases/25-Privileges/test_priv_upgrade_regression.py378 # Step 2: Prepare test data and userCOMMENT
LOW…st/cases/25-Privileges/test_priv_upgrade_regression.py407 # Step 3: Upgrade to buggy version 3.4.2.4COMMENT
LOW…st/cases/25-Privileges/test_priv_upgrade_regression.py490 # Step 4: Upgrade to latest versionCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_basic_c.py423 # Step 1: Simple ALTER→ROLLBACK→SELECT (no DROP)COMMENT
LOWtest/cases/21-MetaData/test_meta_batch_txn_basic_c.py434 # Step 2: ALTER→DROP→ROLLBACK→SELECTCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_advanced.py621 # Step 1: Simple ALTER→ROLLBACKCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_advanced.py631 # Step 2: ALTER→DROP→ROLLBACKCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_stress.py238 # Step 1: pre-fill active txns close to the global limitCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_stress.py247 # Step 2: burst concurrent BEGIN and verify stable admission/reject behaviorCOMMENT
LOW⚡test/cases/21-MetaData/test_meta_batch_txn_stress.py289 # Step 3: cleanup and verify admission recovers immediatelyCOMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py539 # Step 1: Create super table (outside transaction)COMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py544 # Step 2: Create stream that aggregates first(score) per child table nameCOMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py571 # Step 4: Insert known score values into each CTBCOMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py578 # Step 5: Wait for stream to process (up to 20s).COMMENT
LOW⚡…ases/21-MetaData/test_txn_consumer_data_correctness.py596 # Step 6: Verify exact score valuesCOMMENT
LOW…ases/21-MetaData/test_txn_consumer_data_correctness.py558 # Step 3: Commit 3 CTBs in a single batch transactionCOMMENT
LOW⚡test/cases/21-MetaData/test_taosx_txn_cluster.py325 # Step 1: Baseline — write WAL .txn entriesCOMMENT
LOW⚡test/cases/21-MetaData/test_taosx_txn_cluster.py329 # Step 2: Identify VNode leader for src_txn_dbCOMMENT
LOW⚡test/cases/21-MetaData/test_taosx_txn_cluster.py339 # Step 3: Restart — walTxnFilesRecover + STxnWalManager eager-loadCOMMENT
81 more matches not shown…
Redundant / Tautological Comments106 hits · 140 pts
SeverityFileLineSnippetContext
LOWpackaging/setup_env.sh597 # Check if the operating system is CentOS 7COMMENT
LOWpackaging/setup_env.sh610 # Check if cmake is installedCOMMENT
LOWpackaging/setup_env.sh740 # Check if the JDK package is available in the repositoryCOMMENT
LOWpackaging/setup_env.sh890 # Check if the JDK package is available in the repositoryCOMMENT
LOWpackaging/setup_env.sh1087 # Check if Go is installedCOMMENT
LOWpackaging/setup_env.sh1145 # Check if Rust is already installedCOMMENT
LOWpackaging/setup_env.sh1186 # Check if the installation was successfulCOMMENT
LOWpackaging/setup_env.sh1281 # Check if version is specifiedCOMMENT
LOWpackaging/setup_env.sh1481 # Check if Prometheus binary existsCOMMENT
LOWpackaging/setup_env.sh1564 # Check if Grafana is already installedCOMMENT
LOWpackaging/setup_env.sh1583 # Check if Grafana was installed successfullyCOMMENT
LOWpackaging/setup_env.sh1596 # Check if Grafana is already installedCOMMENT
LOWpackaging/setup_env.sh1617 # Check if Grafana was installed successfullyCOMMENT
LOWpackaging/setup_env.sh1667 # Check if Docker is already installedCOMMENT
LOWpackaging/setup_env.sh1706 # Check if Docker is already installedCOMMENT
LOWpackaging/setup_env.sh1750 # Check if Docker Compose is installedCOMMENT
LOWpackaging/setup_env.sh1769 # Check if Trivy is already installedCOMMENT
LOWpackaging/setup_env.sh2116 # Check if at least one argument is providedCOMMENT
LOWpackaging/tools/install.sh877 # Check if correct ip addressCOMMENT
LOWpackaging/tools/install.sh1460 # Check if version compatibleCOMMENT
LOWpackaging/tools/install_client.sh163 # Check if libtaosws.so.* files exist using ls instead of -f with globCOMMENT
LOWpackaging/tools/install_client.sh174 # Check if libtaosws.so.* files exist using ls instead of -f with globCOMMENT
LOWpackaging/tools/install_client.sh187 # Check if libtaosws.dylib.* files exist using ls instead of -f with globCOMMENT
LOWpackaging/tools/post.sh426 # Check if correct ip addressCOMMENT
LOWpackaging/tools/make_install.sh236 # Check if explorer files exist using ls instead of -f with globCOMMENT
LOWpackaging/tools/install_spec.sh518 # Check if correct ip addressCOMMENT
LOWpackaging/tools/install_spec.sh938 # Check if version compatibleCOMMENT
LOWpackaging/docker/entrypoint.sh167 # Check if model existsCOMMENT
LOWpackaging/docker/entrypoint.sh182 # Check if subdirectory existsCOMMENT
LOWpackaging/docker/entrypoint.sh187 # Check if flag file existsCOMMENT
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py244 # Check if running on default port 6041COMMENT
LOWtools/tsbs-tdengine/tools/sort_csv.py36 # Check if all sort columns existCOMMENT
LOWtools/tsbs-tdengine/src/deployCluster.py237 # Check if running on default port 6041COMMENT
LOWtools/tsbs-tdengine/src/deployCluster.py324 # Check if DNode is already runningCOMMENT
LOWtools/tsbs-tdengine/src/deployCluster.py381 # Check if any taosd process is still runningCOMMENT
LOWtools/tsbs-tdengine/src/writeData.py195 # Check if any insertions failedCOMMENT
LOW⚡tools/tdgpt/taosanalytics/handlers/model_mgmt.py560 # Check if another worker already registered this model via sync_dynamic_servicesCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py225 # Check if model already existsCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py635 # Check if anything needed to be cleaned upCOMMENT
LOWtools/tdgpt/script/uninstall.sh163 # Iterate over the array and create/remove links as neededCOMMENT
LOWtools/tdgpt/script/install.sh270 # Iterate over the array and create/remove links as neededCOMMENT
LOWtools/tdgpt/script/taosanode_service.py375 # Check if venv existsCOMMENT
LOWtools/tdgpt/script/taosanode_service.py1335 # Check if still runningCOMMENT
LOWtools/tdgpt/script/taosanode_service.py1802 # Check if still runningCOMMENT
LOWtest/tools/compat-check/server/rollingUpgrade.py128 # Check if the stopped node has transitioned out of 'ready'COMMENT
LOW⚡test/tools/compat-check/resource/resourceManager.py245 # Assign subtables to threadsCOMMENT
LOW⚡test/tools/repair/repair_tsdb_data.py17 # Read file contentCOMMENT
LOW⚡test/tools/repair/repair_tsdb_data.py21 # Check if the fid existsCOMMENT
LOWtest/crash_gen/crash_gen_main.py1794 # Check if snode already exists on dnode 1COMMENT
LOWtest/crash_gen/crash_gen_main.py1799 # Check if snode exists on dnode 1COMMENT
LOWtest/crash_gen/service_manager.py803 # Check if it's really stoppedCOMMENT
LOW⚡test/ci/count_assert.py9# Check if "community" or "tests" is in self_pathCOMMENT
LOW⚡test/ci/count_assert.py14 # Check if index_TDinternal is valid and set work_path accordinglyCOMMENT
LOW⚡test/ci/count_assert.py21 # Check if index_TDengine is valid and set work_path accordinglyCOMMENT
LOW⚡test/ci/scan_file_path.py49# Check if "community" or "tests" is in self_pathCOMMENT
LOW⚡test/ci/scan_file_path.py55 # Check if index_TDinternal is valid and set work_path accordinglyCOMMENT
LOW⚡test/ci/scan_file_path.py62 # Check if index_TDengine is valid and set work_path accordinglyCOMMENT
LOWtest/new_test_framework/taostest/components/taosd.py284 # Check if encryption is neededCOMMENT
LOW⚡test/new_test_framework/utils/common.py1560 # Check if a match was foundCOMMENT
LOWtest/new_test_framework/utils/common.py1529 # Check if stream name already includes database prefixCOMMENT
46 more matches not shown…
Hallucination Indicators9 hits · 125 pts
SeverityFileLineSnippetContext
CRITICAL⚡…-StreamProcessing/20-UseCase/tobacco_data/idmp/vtb.sql2CREATE VTABLE `idmp`.`vt_带式输送机_f1w1a_belt_conveyor_02`(`电机信号` FROM `idmp_sample_tobacco`.`f1w1a_belt_conveyor_02`.`motorCODE
CRITICAL⚡…-StreamProcessing/20-UseCase/tobacco_data/idmp/vtb.sql5CREATE VTABLE `idmp`.`vt_带式输送机_f1w1a_belt_conveyor_05`(`电机信号` FROM `idmp_sample_tobacco`.`f1w1a_belt_conveyor_05`.`motorCODE
CRITICAL⚡…-StreamProcessing/20-UseCase/tobacco_data/idmp/vtb.sql7CREATE VTABLE `idmp`.`vt_带式输送机_f1w1a_belt_conveyor_07`(`电机信号` FROM `idmp_sample_tobacco`.`f1w1a_belt_conveyor_07`.`motorCODE
CRITICAL⚡…-StreamProcessing/20-UseCase/tobacco_data/idmp/vtb.sql10CREATE VTABLE `idmp`.`vt_带式输送机_f1w1a_belt_conveyor_10`(`电机信号` FROM `idmp_sample_tobacco`.`f1w1a_belt_conveyor_10`.`motorCODE
CRITICAL⚡…-StreamProcessing/20-UseCase/tobacco_data/idmp/vtb.sql12CREATE VTABLE `idmp`.`vt_带式输送机_f1w1a_belt_conveyor_12`(`电机信号` FROM `idmp_sample_tobacco`.`f1w1a_belt_conveyor_12`.`motorCODE
CRITICAL⚡…-StreamProcessing/20-UseCase/tobacco_data/idmp/vtb.sql20CREATE VTABLE `idmp`.`vt_带式输送机_f1w1a_belt_conveyor_20`(`电机信号` FROM `idmp_sample_tobacco`.`f1w1a_belt_conveyor_20`.`motorCODE
CRITICAL⚡…-StreamProcessing/20-UseCase/tobacco_data/idmp/vtb.sql22CREATE VTABLE `idmp`.`vt_带式输送机_f1w1b_belt_conveyor_02`(`电机信号` FROM `idmp_sample_tobacco`.`f1w1b_belt_conveyor_02`.`motorCODE
CRITICALdocs/zh/16-faq/01-faq.md221 at com.taosdata.jdbc.ws.Transport.checkConnection(Transport.java:393)CODE
CRITICALdocs/en/16-faq/01-faq.md221 at com.taosdata.jdbc.ws.Transport.checkConnection(Transport.java:393)CODE
Fake / Example Data120 hits · 104 pts
SeverityFileLineSnippetContext
LOWtools/shell/test/totp-cli.py21def generate_qr(secret_key, issuer="MyApp", account_name="user@example.com"):CODE
LOWtools/shell/test/totp-cli.py41 parser.add_argument("--account", default="user@example.com", help="账户名称")CODE
LOW…es/09-DataQuerying/13-CaseWhen/test_query_case_when.py1405 fake_data = fake.random_int(min=-9223372036854775807, max=9223372036854775807, step=1)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py355 fake_data = fake.random_int(min=1, max=10000000000000, step=1)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py357 sql = " select derivative(%s,%ds,0) from %s.stable_1 "%('q_smallint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py360 sql = " select derivative(%s,%ds,0) from %s.stable_1 "%('q_bigint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py363 sql = " select derivative(%s,%ds,0) from %s.stable_1 "%('q_tinyint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py366 sql = " select derivative(%s,%ds,0) from %s.stable_1 "%('q_int',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py369 sql = " select derivative(%s,%ds,0) from %s.stable_1 "%('q_float',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py372 sql = " select derivative(%s,%ds,0) from %s.stable_1 "%('q_double',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py375 sql = " select derivative(%s,%ds,1) from %s.stable_1 "%('q_smallint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py378 sql = " select derivative(%s,%ds,1) from %s.stable_1 "%('q_bigint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py381 sql = " select derivative(%s,%ds,1) from %s.stable_1 "%('q_tinyint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py384 sql = " select derivative(%s,%ds,1) from %s.stable_1 "%('q_int',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py387 sql = " select derivative(%s,%ds,1) from %s.stable_1 "%('q_float',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py390 sql = " select derivative(%s,%ds,1) from %s.stable_1 "%('q_double',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py393 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts"%('q_smallint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py396 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts "%('q_bigint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py399 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts "%('q_tinyint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py402 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts "%('q_int',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py405 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts "%('q_float',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py408 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts "%('q_double',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py411 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts "%('q_smallint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py414 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts "%('q_bigint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py417 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts "%('q_tinyint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py420 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts "%('q_int',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py423 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts "%('q_float',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py426 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts "%('q_double',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py429 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts desc"%('q_smallint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py432 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts desc "%('q_bigint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py435 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts desc "%('q_tinyint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py438 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts desc "%('q_int',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py441 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts desc "%('q_float',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py444 sql = " select derivative(%s,%ds,0) from %s.stable_1 order by ts desc "%('q_double',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py447 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc "%('q_smallint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py450 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc "%('q_bigint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py453 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc "%('q_tinyint',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py456 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc "%('q_int',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py459 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc "%('q_float',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py462 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc"%('q_double',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py465 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc limit 3000"%('q_smallint',fake_data,databaCODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py468 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc limit 3000 "%('q_bigint',fake_data,databasCODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py471 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc limit 3000 "%('q_tinyint',fake_data,databaCODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py474 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc limit 3000 "%('q_int',fake_data,database)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py477 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc limit 3000 "%('q_float',fake_data,databaseCODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py480 sql = " select derivative(%s,%ds,1) from %s.stable_1 order by ts desc limit 3000"%('q_double',fake_data,databaseCODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py572 self.constant_check("%s" %self.db,'count','%d' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py575 self.constant_check("%s" %self.db,'count','(cast(%d as int))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py577 self.constant_check("%s" %self.db,'count','(cast(%d as smallint))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py579 self.constant_check("%s" %self.db,'count','(cast(%d as bigint))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py581 self.constant_check("%s" %self.db,'count','(cast(%d as tinyint))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py583 self.constant_check("%s" %self.db,'count','(cast(%d as float))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py585 self.constant_check("%s" %self.db,'count','(cast(%d as double))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py588 self.constant_check("%s" %self.db,'sum','%d' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py591 self.constant_check("%s" %self.db,'sum','(cast(%d as int))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py593 self.constant_check("%s" %self.db,'sum','(cast(%d as smallint))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py595 self.constant_check("%s" %self.db,'sum','(cast(%d as bigint))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py597 self.constant_check("%s" %self.db,'sum','(cast(%d as tinyint))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py599 self.constant_check("%s" %self.db,'sum','(cast(%d as float))' %fake_data)CODE
LOW⚡…ses/uncatalog/system-test/2-query/test_select_index.py601 self.constant_check("%s" %self.db,'sum','(cast(%d as double))' %fake_data)CODE
60 more matches not shown…
AI Slop Vocabulary29 hits · 78 pts
SeverityFileLineSnippetContext
MEDIUMtest/crash_gen/crash_gen_main.py1841 # Choose modern stream options following TDengine best practicesCOMMENT
MEDIUM…amProcessing/08-Recalc/test_recalc_combined_options.py148 # Trigger table for comprehensive combination (WATERMARK + DELETE_RECALC + EXPIRED_TIME)COMMENT
MEDIUM…amProcessing/08-Recalc/test_recalc_combined_options.py202 # Data for comprehensive combination (02:09:00 - 02:11:30)COMMENT
MEDIUM…amProcessing/08-Recalc/test_recalc_combined_options.py423 # Test comprehensive combination (WATERMARK + DELETE_RECALC + EXPIRED_TIME)COMMENT
MEDIUM…-StreamProcessing/06-ResultSaved/result_saved_bug_2.py11 """Result saved: comprehensiveSTRING
MEDIUM…/06-ResultSaved/test_result_saved_schema_validation.py84 # Create trigger table with various data types for comprehensive testingCOMMENT
MEDIUM…-StreamProcessing/06-ResultSaved/result_saved_bug_1.py11 """Result saved: comprehensiveSTRING
MEDIUM…rocessing/02-Stream/test_stream_vtable_agg_optimize.py615 # dependent. Assert the robust invariant: the stream produced outputCOMMENT
MEDIUM⚡…ases/21-MetaData/test_meta_batch_txn_ddl_visibility.py1070 """Batch meta txn: DDL visibility and isolation comprehensive tests.STRING
MEDIUM…ases/21-MetaData/test_meta_batch_txn_ddl_visibility.py13"""Batch meta txn: DDL visibility and isolation comprehensive tests."""STRING
MEDIUM⚡test/cases/21-MetaData/test_meta_batch_txn_seq_edge.py56 # s90: Rapid txn creation exhausts a range → seamless reallocationCOMMENT
MEDIUM…es/81-Tools/06-TaosBackup/test_taosbackup_integrity.py241 # Use named-column queries — more robust than positional indexingCOMMENT
LOWtest/cases/50-Others/02-Repair/test_copy_accuracy.py288 # Simpler approach: just use show vnodesCOMMENT
MEDIUM…erying/19-FederatedQuery/test_fq_02_path_resolution.py1261 # ── DIM-14: USE 0-5 segments comprehensive ─────────────────────────COMMENT
MEDIUM…erying/19-FederatedQuery/test_fq_02_path_resolution.py820 """DIM-14: USE statement 0-5 segments — comprehensive test of all USE forms."""STRING
LOW…es/07-Performance/test_perf_vstable_r7_with_tag_ref.py83 # L0 physical (same for both chains, just use literal L0)COMMENT
MEDIUM⚡include/common/trow.h58#define TD_VTYPE_OPTR 3 // OPERATOR: 4 - 1, utilize to get remainderCOMMENT
MEDIUM⚡include/common/trow.h58#define TD_VTYPE_OPTR 3 // OPERATOR: 4 - 1, utilize to get remainderCOMMENT
MEDIUM⚡include/common/trow.h62#define TD_VTYPE_OPTR_I 7 // OPERATOR: 8 - 1, utilize to get remainderCOMMENT
MEDIUM⚡include/common/trow.h62#define TD_VTYPE_OPTR_I 7 // OPERATOR: 8 - 1, utilize to get remainderCOMMENT
MEDIUMinclude/os/osThread.h261// int32_t taosThreadMutexAttrGetRobust(const TdThreadMutexAttr * attr, int32_t * robust);COMMENT
MEDIUMinclude/os/osThread.h265// int32_t taosThreadMutexAttrSetRobust(TdThreadMutexAttr * attr, int32_t robust);COMMENT
MEDIUMsource/dnode/mgmt/mgmt_vnode/src/vmHandle.c102 // Primary path (Client HB → MNode timeout → STrans) is robust enough thatCOMMENT
MEDIUMsource/dnode/vnode/src/meta/metaTable2.c2044 // find the tag by name (resolve by name — robust whether colId was supplied by the catalog)COMMENT
MEDIUMsource/libs/planner/src/planLogicCreater.c4179 // If data is sorted by primary ts, declare global order so downstream operators can leverage itCOMMENT
MEDIUMsource/os/src/osThread.c524// int32_t taosThreadMutexAttrGetRobust(const TdThreadMutexAttr * attr, int32_t * robust) {COMMENT
MEDIUMsource/os/src/osThread.c525// return pthread_mutexattr_getrobust(attr, robust);COMMENT
MEDIUMsource/os/src/osThread.c569// int32_t taosThreadMutexAttrSetRobust(TdThreadMutexAttr * attr, int32_t robust) {COMMENT
MEDIUMsource/os/src/osThread.c570// return pthread_mutexattr_setrobust(attr, robust);COMMENT
AI Structural Patterns70 hits · 54 pts
SeverityFileLineSnippetContext
LOWtools/tsbs-tdengine/src/outMetrics.py26CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py53CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py86CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py129CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py631CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py789CODE
LOWtools/tdgpt/script/install.py405CODE
LOWtest/crash_gen/crash_gen_main.py1246CODE
LOWtest/crash_gen/crash_gen_main.py2363CODE
LOWtest/new_test_framework/taostest/util/common.py452CODE
LOWtest/new_test_framework/taostest/util/common.py481CODE
LOWtest/new_test_framework/taostest/util/common.py517CODE
LOWtest/new_test_framework/taostest/util/common.py609CODE
LOWtest/new_test_framework/taostest/util/common.py837CODE
LOWtest/new_test_framework/taostest/util/common.py1008CODE
LOWtest/new_test_framework/taostest/util/common.py1590CODE
LOWtest/new_test_framework/taostest/util/common.py1623CODE
LOWtest/new_test_framework/taostest/util/common.py1842CODE
LOWtest/new_test_framework/taostest/util/common.py1986CODE
LOWtest/new_test_framework/taostest/util/common.py2254CODE
LOWtest/new_test_framework/taostest/util/common.py2351CODE
LOWtest/new_test_framework/taostest/util/common.py2450CODE
LOW…ew_test_framework/taostest/performance/perfor_basic.py546CODE
LOW…ew_test_framework/taostest/performance/perfor_basic.py649CODE
LOW…ew_test_framework/taostest/performance/perfor_basic.py683CODE
LOW…ew_test_framework/taostest/performance/perfor_basic.py785CODE
LOW…ew_test_framework/taostest/performance/perfor_basic.py1182CODE
LOWtest/new_test_framework/utils/streamUtil.py570CODE
LOWtest/new_test_framework/utils/streamUtil.py889CODE
LOWtest/new_test_framework/utils/streamUtil.py1166CODE
LOWtest/new_test_framework/utils/common.py58CODE
LOWtest/new_test_framework/utils/common.py446CODE
LOWtest/new_test_framework/utils/common.py1236CODE
LOWtest/new_test_framework/utils/common.py1358CODE
LOWtest/new_test_framework/utils/common.py1915CODE
LOWtest/new_test_framework/utils/common.py1972CODE
LOWtest/new_test_framework/utils/common.py2130CODE
LOWtest/new_test_framework/utils/common.py2180CODE
LOWtest/new_test_framework/utils/common.py2454CODE
LOWtest/new_test_framework/utils/common.py2881CODE
LOWtest/new_test_framework/utils/server/cluster.py42CODE
LOW…st/cases/18-StreamProcessing/05-Notify/notify_check.py146CODE
LOW…st/cases/18-StreamProcessing/05-Notify/notify_check.py209CODE
LOW…cases/18-StreamProcessing/99-Others/stream_perf_new.py73CODE
LOW…eamProcessing/22-Performance/stream_perf_historical.py403CODE
LOW…eamProcessing/22-Performance/stream_perf_historical.py515CODE
LOW…treamProcessing/22-Performance/stream_perf_realtime.py399CODE
LOW…treamProcessing/22-Performance/stream_perf_realtime.py580CODE
LOW…treamProcessing/federated/test_fs_02_trigger_matrix.py156CODE
LOWtest/cases/01-DataTypes/test_datatype_decimal64.py1024CODE
LOWtest/cases/01-DataTypes/test_datatype_decimal.py1025CODE
LOWtest/cases/01-DataTypes/test_datatype_decimal_last.py968CODE
LOW…7-DataSubscription/01-Mgmt/test_drop_lost_comsumers.py58CODE
LOW…ses/06-DataIngestion/01-SQL/test_write_column_value.py209CODE
LOW…ses/06-DataIngestion/01-SQL/test_write_column_value.py244CODE
LOW…DataIngestion/03-SML/test_write_sml_opentsdb_telnet.py220CODE
LOW…DataIngestion/03-SML/test_write_sml_opentsdb_telnet.py321CODE
LOW…6-DataIngestion/03-SML/test_write_sml_influxdb_line.py238CODE
LOW…6-DataIngestion/03-SML/test_write_sml_opentsdb_json.py231CODE
LOW…6-DataIngestion/03-SML/test_write_sml_opentsdb_json.py264CODE
10 more matches not shown…
Slop Phrases18 hits · 52 pts
SeverityFileLineSnippetContext
MEDIUMtools/tsbs-tdengine/tools/TDengineClusterSetup.py6# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/tools/sort_csv.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/deployCluster.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/writeData.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/outDB.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/tdengine.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/util.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/outMetrics.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/cmdLine.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/scene.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/doTest.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/prepareEnv.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/outLog.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/main.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtools/tsbs-tdengine/src/baseStep.py4# This program is free software: you can use, redistribute, and/or modifyCOMMENT
MEDIUMtest/tools/compat-check/server/clusterSetup.py6# This program is free software: you can use, redistribute, and/or modifyCOMMENT
LOWtest/new_test_framework/utils/taosdemoCfg.py33# Please make sure you understand which directory represent which part of which type of the fileCOMMENT
MEDIUMexamples/python/taosdemo/taosdemo.py4# * This program is free software: you can use, redistribute, and/or modifyCOMMENT
Modern Structural Boilerplate18 hits · 19 pts
SeverityFileLineSnippetContext
LOWtools/tdgpt/docker/time-moe_server.py13logger = logging.getLogger(__name__)CODE
LOWtools/tdgpt/taosanalytics/base.py52 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py82 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py153 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py274 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py292 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py330 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py376 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/algo/dynamic/__init__.py13__all__ = [CODE
LOWtools/tdgpt/taosanalytics/algo/fc/ces.py22 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/algo/fc/theta.py23 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/algo/fc/ets.py24 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/handlers/__init__.py8__all__ = [CODE
LOWtools/tdgpt/taosanalytics/handlers/dynamic/__init__.py6__all__ = [CODE
LOWtest/ci/run_win_cases.py17logger = logging.getLogger(__name__)CODE
LOWtest/new_test_framework/utils/server/win_process.py9logger = logging.getLogger(__name__)CODE
LOW⚡…cases/70-Cluster/test_wal_corruption_single_replica.py91def _setup_db(db: str) -> None:CODE
LOW⚡…/cases/70-Cluster/test_wal_corruption_three_replica.py91def _setup_db(db: str) -> None:CODE
Modern AI Meta-Vocabulary2 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM⚡…es/81-Tools/06-TaosBackup/test_taosbackup_datatypes.py932 # Layer 1 do_taosbackup_all_types() orchestration onlyCOMMENT
MEDIUM⚡…es/81-Tools/06-TaosBackup/test_taosbackup_datatypes.py1245 # Layer-2: verify orchestrationCOMMENT
Overly Generic Function Names6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…es/04-Query/01-SameDb/test_vtable_query_same_db_ntb.py52 def test_function(self):CODE
LOW…es/04-Query/01-SameDb/test_vtable_query_same_db_ctb.py54 def test_function(self):CODE
LOW…Query/03-ExtSource/test_vtable_query_ext_source_ntb.py56 def test_function(self):CODE
LOW…Query/03-ExtSource/test_vtable_query_ext_source_ctb.py56 def test_function(self):CODE
LOW…/04-Query/02-CrossDb/test_vtable_query_cross_db_ntb.py53 def test_function(self):CODE
LOW…/04-Query/02-CrossDb/test_vtable_query_cross_db_ctb.py55 def test_function(self):CODE
Example Usage Blocks3 hits · 5 pts
SeverityFileLineSnippetContext
LOWpackaging/pack_community_tar.sh5# Usage:COMMENT
LOW⚡tools/boosttools/deploy.sh5# Usage:COMMENT
LOWtest/ci/run_upgrade_compat.sh13# Usage:COMMENT
Synthetic Comment Markers2 hits · 5 pts
SeverityFileLineSnippetContext
HIGH…t/cases/18-StreamProcessing/20-UseCase/test_idmp_pv.py8 1. Test the analysis generated by AI recommendations, create a Stream, and verify the correctness of the stream.STRING
HIGH…es/18-StreamProcessing/20-UseCase/test_idmp_tobacco.py13 1. Test the analysis generated by AI recommendations, create a Stream, and verify the correctness of the stream.STRING
TODO Padding2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsource/dnode/mgmt/node_mgmt/src/dmTransport.c143 // TODO: implement rpcSetTimeWhiteCOMMENT
LOWsource/dnode/mnode/impl/src/mndMount.c595 TAOS_CHECK_EXIT(grantCheck(TSDB_GRANT_MOUNT)); // TODO: implement when the plan is readyCODE