Repository Analysis

taosdata/TDengine

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

14.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of taosdata/TDengine, a C project with 25,091 GitHub stars. SynthScan v2.0 examined 2,327,018 lines of code across 5718 source files, recording 17167 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 14.4 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

14.4
Adjusted Score
14.4
Raw Score
100%
Time Factor
2026-08-28
Last Push
25.1K
Stars
C
Language
2.3M
Lines of Code
5.7K
Files
17.2K
Pattern Hits
2026-08-29
Scan Date
0.44
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 9HIGH 2532MEDIUM 3585LOW 11041

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 17167 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators2718 hits · 8452 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
MEDIUMtools/boosttools/deploy.sh2# ============================================================================COMMENT
MEDIUMtools/boosttools/deploy.sh11# ============================================================================COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1428 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1430 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1508 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1510 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1616 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py1618 # ------------------------------------------------------------------COMMENT
MEDIUMtools/tdgpt/tests/unit_test.py921 # ------------------------------------------------------------------STRING
MEDIUMtools/tdgpt/tests/unit_test.py923 # ------------------------------------------------------------------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
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py192 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py194 # ------------------------------------------------------------------COMMENT
MEDIUMtest/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
MEDIUMtest/tools/compat-check/server/rollingUpgrade.py242 # ------------------------------------------------------------------COMMENT
MEDIUMtest/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
MEDIUMtest/tools/compat-check/run/reporter.py102 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py104 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py114 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py116 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py130 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-check/run/reporter.py132 # ------------------------------------------------------------------COMMENT
MEDIUMtest/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
HIGHtest/crash_gen/crash_gen_main.py931 # elif ( newState.equals(AnyState.STATE_TABLE_ONLY) ): # data deletedCOMMENT
HIGHtest/crash_gen/crash_gen_main.py920 if (newState.equals(AnyState.STATE_EMPTY)):CODE
HIGHtest/crash_gen/crash_gen_main.py924 elif (newState.equals(AnyState.STATE_DB_ONLY)): # in DB onlyCODE
HIGHtest/ci/count_assert.py86 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(pgno > 0 && pgno <= pBt->pPager-CODE
HIGHtest/ci/count_assert.py88 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(next == 0 || (next <= pBt->pPageCODE
HIGHtest/ci/count_assert.py89 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(pgno != 0 && pgno <= pBt->pPagerCODE
HIGHtest/ci/count_assert.py90 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE((vLeft == 0) || (pgno > 0 && pgnCODE
HIGHtest/ci/count_assert.py91 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(pgno > 0 && pgno <= pBtc->pBt->pCODE
HIGHtest/ci/count_assert.py92 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbPage.c:ASSERT_CORE(pCell - pPage->pData >= 0 && pCelCODE
HIGHtest/ci/count_assert.py93 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbPage.c:ASSERT_CORE(pCell + szCell - pPage->pData > 0CODE
HIGHtest/ci/count_assert.py94 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbPager.c:ASSERT_CORE(pgno > 0 && pgno <= pPager->dbFiCODE
HIGHtest/ci/cov/tdengine_coverage_alarm.py389 message = " Taosd && taosc 代码覆盖率低于56%,请密切关注!"CODE
HIGHtest/ci/cov/tdengine_coverage_alarm.py394 message = f" Taosd && taosc 代码覆盖率由{data2}上升到{data1},当前覆盖率为 {current_coverage_value:.3f}% 为历史最高覆盖率,继续加油! 失败的 CaseCODE
HIGHtest/ci/cov/tdengine_coverage_alarm.py398 message = f" Taosd && taosc 代码覆盖率由{data2}上升到{data1},当前覆盖率为 {current_coverage_value:.3f}% 离历史最高覆盖率 {highest_coverCODE
HIGHtest/ci/cov/tdengine_coverage_alarm.py402 message = f" Taosd && taosc 代码覆盖率由{data2}下降到{data1},当前覆盖率为 {current_coverage_value:.3f}% 离历史最高覆盖率 {highest_coverCODE
HIGHtest/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
HIGHtest/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
HIGHtest/new_test_framework/utils/compatibilityUtil.py329 os.system("systemctl stop taosd 2>/dev/null || true")CODE
HIGHtest/new_test_framework/utils/compatibilityUtil.py332 os.system("pkill taosd 2>/dev/null || true")CODE
HIGHtest/new_test_framework/utils/compatibilityUtil.py333 os.system("pkill taos 2>/dev/null || true")CODE
HIGHtest/new_test_framework/utils/compatibilityUtil.py334 os.system("pkill taosadapter 2>/dev/null || true")CODE
HIGHtest/new_test_framework/utils/compatibilityUtil.py342 os.system("pkill -9 taosd 2>/dev/null || true")CODE
HIGHtest/new_test_framework/utils/compatibilityUtil.py343 os.system("pkill -9 taos 2>/dev/null || true")CODE
HIGHtest/new_test_framework/utils/compatibilityUtil.py344 os.system("pkill -9 taosadapter 2>/dev/null || true")CODE
HIGHtest/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 Repetition1038 hits · 5190 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
HIGHtools/tdgpt/taosanalytics/algo/dynamic/detector.py0dynamic loader for classification models driven by a json config file. responsibilities: - load and validate the config STRING
HIGHtools/tdgpt/taosanalytics/algo/dynamic/regressioner.py0dynamic loader for classification models driven by a json config file. responsibilities: - load and validate the config STRING
HIGHtools/tdgpt/taosanalytics/algo/dynamic/classifier.py0dynamic loader for classification models driven by a json config file. responsibilities: - load and validate the config 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
978 more matches not shown…
Unused Imports2974 hits · 2887 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
2914 more matches not shown…
Hyper-Verbose Identifiers3040 hits · 2617 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/detector.py120 def _apply_pipeline_preprocessing(CODE
LOWtools/tdgpt/taosanalytics/algo/dynamic/model_loader.py55 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.py100def _validate_and_prepare_model_directory(raw_model_name, request_addr):CODE
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py153def _save_model_files_and_validate(CODE
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py348def do_undeploy_dynamic_model(request):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
LOWtools/tdgpt/tests/process_manager_test.py67 def test_is_running_unix_process_exists(self, process_manager):CODE
LOWtools/tdgpt/tests/process_manager_test.py77 def test_is_running_unix_process_not_exists(self, process_manager):CODE
LOWtools/tdgpt/tests/process_manager_test.py87 def test_is_running_windows_process_exists(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py100 def test_is_running_windows_process_not_exists(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py110 def test_wait_for_service_success(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py117 def test_wait_for_service_timeout(self, process_manager, mocker):CODE
LOWtools/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
LOWtools/tdgpt/tests/process_manager_test.py172 def test_kill_process_unix_force(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/batch_process_test.py57 def test_exactly_threshold_points(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py69 def test_below_threshold_points(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py135 def test_window_at_data_boundary(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py146 def test_partial_window_overlap_with_data(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py170 def test_mismatched_time_values_length(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py233 def test_invalid_window_format(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py255 def test_missing_config_fields(self):CODE
2980 more matches not shown…
Over-Commented Block2136 hits · 2010 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
2076 more matches not shown…
Self-Referential Comments499 hits · 1505 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
MEDIUMpackaging/setup_env.sh12# Define the packages to be installedCOMMENT
MEDIUMpackaging/setup_env.sh16# Define the packages to be installed for build TDinternalCOMMENT
MEDIUMpackaging/setup_env.sh22# Define the packages to be installed via pipCOMMENT
MEDIUMpackaging/setup_env.sh28# Define the version of the Ubuntu releaseCOMMENT
MEDIUMpackaging/setup_env.sh41# Define the path where the core dump files should be storedCOMMENT
MEDIUMpackaging/setup_env.sh44# Define the path where the repository should be clonedCOMMENT
MEDIUMpackaging/setup_env.sh47# Define the path to the script directoryCOMMENT
MEDIUMpackaging/setup_env.sh54# Define the path to the .bashrc fileCOMMENT
MEDIUMpackaging/setup_env.sh57# Define the path to the Cargo configuration fileCOMMENT
MEDIUMpackaging/setup_env.sh69# Define the path where the Prometheus binary should existCOMMENT
MEDIUMpackaging/setup_env.sh72# Define the path where the Node Exporter binary should existCOMMENT
MEDIUMpackaging/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/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
MEDIUMtest/new_test_framework/utils/tmqUtil.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
439 more matches not shown…
Excessive Try-Catch Wrapping1488 hits · 1435 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
MEDIUMtools/tsbs-tdengine/tools/sort_csv.py62 print(f"Error: File not found: {input_file}")CODE
LOWtools/tsbs-tdengine/tools/sort_csv.py64 except Exception as e:CODE
MEDIUMtools/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
1428 more matches not shown…
Deep Nesting933 hits · 794 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.py185CODE
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.py153CODE
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py348CODE
LOWtools/tdgpt/tests/unit_test.py365CODE
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
873 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 · 253 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 · 247 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
LOWtools/taosdump/src/compatible/compatAvro.c660 // Step 1: Execute dbs.sql (CREATE DATABASE, USE, CREATE STABLE, ...)COMMENT
LOWtools/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
LOWtools/boosttools/deploy.sh25# Step 1: Create remote directoryCOMMENT
LOWtools/boosttools/deploy.sh29# Step 2: Copy source filesCOMMENT
LOWtools/boosttools/deploy.sh41# Step 3: Build on remoteCOMMENT
LOWtools/boosttools/deploy.sh45# Step 4: VerifyCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py309 # Step 3: Save model files and validate pklCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py318 # Step 4: Register serviceCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py276 # Step 1: Extract and validate payloadCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py298 # Step 2: Validate model name and prepare directoriesCOMMENT
LOWtest/tools/compat-check/server/rollingUpgrade.py323 # Step 1: stop all nodesCOMMENT
LOWtest/tools/compat-check/server/rollingUpgrade.py332 # Step 2: replace binaries on all nodesCOMMENT
LOWtest/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
LOWtest/cases/25-Privileges/test_priv_upgrade.py246 # Step 2: Prepare test data and usersCOMMENT
LOWtest/cases/25-Privileges/test_priv_upgrade.py250 # Step 3: Capture baselineCOMMENT
LOWtest/cases/25-Privileges/test_priv_upgrade.py255 # Step 4: Cold upgradeCOMMENT
LOWtest/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
LOWtest/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
LOWtest/cases/21-MetaData/test_meta_batch_txn_advanced.py621 # Step 1: Simple ALTER→ROLLBACKCOMMENT
LOWtest/cases/21-MetaData/test_meta_batch_txn_advanced.py631 # Step 2: ALTER→DROP→ROLLBACKCOMMENT
LOWtest/cases/21-MetaData/test_meta_batch_txn_stress.py238 # Step 1: pre-fill active txns close to the global limitCOMMENT
LOWtest/cases/21-MetaData/test_meta_batch_txn_stress.py247 # Step 2: burst concurrent BEGIN and verify stable admission/reject behaviorCOMMENT
LOWtest/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
LOWtest/cases/21-MetaData/test_taosx_txn_cluster.py325 # Step 1: Baseline — write WAL .txn entriesCOMMENT
90 more matches not shown…
Verbosity Indicators141 hits · 235 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
LOWtools/taosdump/src/compatible/compatAvro.c660 // Step 1: Execute dbs.sql (CREATE DATABASE, USE, CREATE STABLE, ...)COMMENT
LOWtools/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/deploy.sh25# Step 1: Create remote directoryCOMMENT
LOWtools/boosttools/deploy.sh29# Step 2: Copy source filesCOMMENT
LOWtools/boosttools/deploy.sh41# Step 3: Build on remoteCOMMENT
LOWtools/boosttools/deploy.sh45# Step 4: VerifyCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py309 # Step 3: Save model files and validate pklCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py318 # Step 4: Register serviceCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py276 # Step 1: Extract and validate payloadCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py298 # Step 2: Validate model name and prepare directoriesCOMMENT
LOWtest/tools/compat-check/server/rollingUpgrade.py323 # Step 1: stop all nodesCOMMENT
LOWtest/tools/compat-check/server/rollingUpgrade.py332 # Step 2: replace binaries on all nodesCOMMENT
LOWtest/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
LOWtest/cases/25-Privileges/test_priv_upgrade.py246 # Step 2: Prepare test data and usersCOMMENT
LOWtest/cases/25-Privileges/test_priv_upgrade.py250 # Step 3: Capture baselineCOMMENT
LOWtest/cases/25-Privileges/test_priv_upgrade.py255 # Step 4: Cold upgradeCOMMENT
LOWtest/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
LOWtest/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
LOWtest/cases/21-MetaData/test_meta_batch_txn_advanced.py621 # Step 1: Simple ALTER→ROLLBACKCOMMENT
LOWtest/cases/21-MetaData/test_meta_batch_txn_advanced.py631 # Step 2: ALTER→DROP→ROLLBACKCOMMENT
LOWtest/cases/21-MetaData/test_meta_batch_txn_stress.py238 # Step 1: pre-fill active txns close to the global limitCOMMENT
LOWtest/cases/21-MetaData/test_meta_batch_txn_stress.py247 # Step 2: burst concurrent BEGIN and verify stable admission/reject behaviorCOMMENT
LOWtest/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
LOWtest/cases/21-MetaData/test_taosx_txn_cluster.py325 # Step 1: Baseline — write WAL .txn entriesCOMMENT
LOWtest/cases/21-MetaData/test_taosx_txn_cluster.py329 # Step 2: Identify VNode leader for src_txn_dbCOMMENT
LOWtest/cases/21-MetaData/test_taosx_txn_cluster.py339 # Step 3: Restart — walTxnFilesRecover + STxnWalManager eager-loadCOMMENT
81 more matches not shown…
Redundant / Tautological Comments107 hits · 142 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
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py323 # Check if another worker already registered this model via sync_dynamic_servicesCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py127 # Check if model already existsCOMMENT
LOWtools/tdgpt/taosanalytics/handlers/model_mgmt.py398 # 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
LOWtest/tools/compat-check/resource/resourceManager.py245 # Assign subtables to threadsCOMMENT
LOWtest/tools/repair/repair_tsdb_data.py17 # Read file contentCOMMENT
LOWtest/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
LOWtest/ci/count_assert.py9# Check if "community" or "tests" is in self_pathCOMMENT
LOWtest/ci/count_assert.py14 # Check if index_TDinternal is valid and set work_path accordinglyCOMMENT
LOWtest/ci/count_assert.py21 # Check if index_TDengine is valid and set work_path accordinglyCOMMENT
LOWtest/ci/scan_file_path.py49# Check if "community" or "tests" is in self_pathCOMMENT
LOWtest/ci/scan_file_path.py55 # Check if index_TDinternal is valid and set work_path accordinglyCOMMENT
LOWtest/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
LOWtest/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
47 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 · 79 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
MEDIUMtest/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
MEDIUMinclude/common/trow.h58#define TD_VTYPE_OPTR 3 // OPERATOR: 4 - 1, utilize to get remainderCOMMENT
MEDIUMinclude/common/trow.h58#define TD_VTYPE_OPTR 3 // OPERATOR: 4 - 1, utilize to get remainderCOMMENT
MEDIUMinclude/common/trow.h62#define TD_VTYPE_OPTR_I 7 // OPERATOR: 8 - 1, utilize to get remainderCOMMENT
MEDIUMinclude/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.c2043 // 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.py113CODE
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
LOWtools/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