Repository Analysis

taosdata/TDengine

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

11.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of taosdata/TDengine, a C project with 24,957 GitHub stars. SynthScan v2.0 examined 1,907,192 lines of code across 4756 source files, recording 11453 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 11.3 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).

11.3
Adjusted Score
11.3
Raw Score
100%
Time Factor
2026-07-13
Last Push
25.0K
Stars
C
Language
1.9M
Lines of Code
4.8K
Files
11.5K
Pattern Hits
2026-07-14
Scan Date
0.46
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 2160MEDIUM 1075LOW 8209

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

Cross-Language Confusion1127 hits · 5569 pts
SeverityFileLineSnippetContext
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.py87 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(pgno != 0 && pgno <= pBt->pPagerCODE
HIGHtest/ci/count_assert.py88 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE((vLeft == 0) || (pgno > 0 && pgnCODE
HIGHtest/ci/count_assert.py89 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbBtree.c:ASSERT_CORE(pgno > 0 && pgno <= pBtc->pBt->pCODE
HIGHtest/ci/count_assert.py90 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbPage.c:ASSERT_CORE(pCell - pPage->pData >= 0 && pCelCODE
HIGHtest/ci/count_assert.py91 f"{TD_project_path}/community/source/libs/tdb/src/db/tdbPage.c:ASSERT_CORE(pCell + szCell - pPage->pData > 0CODE
HIGHtest/ci/count_assert.py92 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.py324 "rm -rf *", "cmake .. && make -j 16 && make install"])CODE
HIGHtest/new_test_framework/taostest/components/taosd.py512 # "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/sql.py2289 # loop check util checkData return trueCOMMENT
HIGHtest/new_test_framework/utils/sql.py2302 # 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…es/18-StreamProcessing/03-TriggerMode/count_new_dbg.py3043 tdSql.execute(f"create table ct1 using stb tags(null)")CODE
HIGH…es/18-StreamProcessing/03-TriggerMode/sliding_case2.py50 stream_options(fill_history|pre_filter(id>15 and id is not null))STRING
HIGH…es/18-StreamProcessing/03-TriggerMode/event_new_dbg.py1706 "insert into ct5 values ('2025-01-01 00:00:15', 8, 8, 3.3, null);",CODE
HIGH…es/18-StreamProcessing/03-TriggerMode/event_new_dbg.py1867 "insert into ct5 values ('2025-01-01 00:00:15', 8, 8, 3.3, null);",CODE
HIGH…es/18-StreamProcessing/03-TriggerMode/event_new_dbg.py2100 "insert into ct5 values ('2025-01-01 00:00:15', 8, 8, 3.3, null);",CODE
HIGH…ses/18-StreamProcessing/03-TriggerMode/test_ts_7622.py55 f"create stream s_event event_window(start with c1 > 0 or c2 > 0 end with c1 is null or c2 is null) fromCODE
HIGH…ses/18-StreamProcessing/03-TriggerMode/test_sliding.py329 (f"create stream stName sliding({self.sliding}s) from {self.trigTbname} partition by tbname stream_options(pCODE
HIGH…ases/18-StreamProcessing/03-TriggerMode/session_zlv.py231 ("create stream stName session(cts,{session}s) from {trigTbname} partition by tbname stream_options(pre_filtCODE
HIGH…18-StreamProcessing/99-Others/test_stream_tag_cache.py448 tdSql.execute(f"create table ctb6 using {tb_name} tags (null, true, 1, 2.333, 'BJ', '涛思数据')", show=1)CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py418 sql="SELECT * FROM tdasset.`vt_em-4` WHERE `电流` is null;",CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py526 vals = "null,null,1,100"CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py546 vals = "null,null,1,100"CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py555 vals = "70,null,1,100"CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py564 vals = "null,100,0,100"CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py698 fixedVals = "null, 20, 1"CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py702 fixedVals = "30, null, 1"CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py706 fixedVals = "null, 40, 1"CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py710 fixedVals = "50, null, 1"CODE
HIGH…ses/18-StreamProcessing/20-UseCase/test_idmp_meters.py714 fixedVals = "null, null, 1"CODE
HIGH…st/cases/18-StreamProcessing/20-UseCase/nevados_dbg.py553 f" from trackers where tbname = '{sub_prefix}0' and _ts >= '2025-01-01 00:00:00.000' and _ts CODE
HIGH…t/cases/18-StreamProcessing/20-UseCase/test_nevados.py571 f" from trackers where tbname = '{sub_prefix}0' and _ts >= '2025-01-01 00:00:00.000' and _ts CODE
HIGH…-StreamProcessing/07-SubQuery/test_subquery_session.py169 stream="create stream rdb.s1 session(ts, 2m) from tdb.triggers into rdb.r1 as select _twstart ts, _twstart +CODE
HIGH…-StreamProcessing/07-SubQuery/test_subquery_session.py187 stream="create stream rdb.s3 session(ts, 2m) from tdb.triggers partition by tbname into rdb.r3 as select _twCODE
HIGH…-StreamProcessing/07-SubQuery/test_subquery_session.py207 exp_query="select _wstart, _wend, _wduration / 5, count(c1), 't1', count(c1), avg(c2), 't1' from tdb.t1 wherCODE
HIGH…-StreamProcessing/07-SubQuery/test_subquery_session.py238 stream="create stream rdb.s9 session(ts, 2m) from tdb.triggers partition by id, tbname into rdb.r9 tags(gid CODE
1067 more matches not shown…
Cross-File Repetition962 hits · 4810 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
HIGHtest/new_test_framework/taostest/util/common.py0stb --> supertable tb --> table ts --> timestamp, same default col --> column, same default tag --> tag, same default d STRING
HIGH…DataIngestion/03-SML/test_write_sml_opentsdb_telnet.py0stb --> supertable tb --> table ts --> timestamp, same default col --> column, same default tag --> tag, same default d STRING
HIGH…6-DataIngestion/03-SML/test_write_sml_influxdb_line.py0stb --> supertable tb --> table ts --> timestamp, same default col --> column, same default tag --> tag, same default d STRING
HIGH…6-DataIngestion/03-SML/test_write_sml_opentsdb_json.py0stb --> supertable tb --> table ts --> timestamp, same default col --> column, same default tag --> tag, same default d STRING
HIGHtest/new_test_framework/utils/compatibilityUtil.py0drop database if exists deldata;create database deldata duration 100;use deldata; create table deldata.stb1 (ts timestamSTRING
HIGH…og/system-test/0-others/test_compatibility_coverage.py0drop database if exists deldata;create database deldata duration 100;use deldata; create table deldata.stb1 (ts timestamSTRING
HIGH…atalog/system-test/6-cluster/test_5dnode3mnode_roll.py0drop database if exists deldata;create database deldata duration 100;use deldata; create table deldata.stb1 (ts timestamSTRING
HIGH…rocessing/01-Snode/test_snode_params_check_minvalue.py0parameter: check default value check the default values of the following parameters: 1. numofmnodestreammgmtthreads 2. nSTRING
HIGH…rocessing/01-Snode/test_snode_params_check_maxvalue.py0parameter: check default value check the default values of the following parameters: 1. numofmnodestreammgmtthreads 2. nSTRING
HIGH…Processing/01-Snode/test_snode_params_check_default.py0parameter: check default value check the default values of the following parameters: 1. numofmnodestreammgmtthreads 2. nSTRING
HIGH…st/cases/18-StreamProcessing/08-Recalc/recalc_bug_8.py0stream manual recalculation test test manual recalculation functionality: 1. manual recalculation with time range - shouSTRING
HIGH…t/cases/18-StreamProcessing/08-Recalc/recalc_bug_12.py0stream manual recalculation test test manual recalculation functionality: 1. manual recalculation with time range - shouSTRING
HIGH…t/cases/18-StreamProcessing/08-Recalc/recalc_bug_11.py0stream manual recalculation test test manual recalculation functionality: 1. manual recalculation with time range - shouSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0recalc: watermark with expired_time option test expired_time option with expired data: 1. write expired data - all windoSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0recalc: watermark with expired_time option test expired_time option with expired data: 1. write expired data - all windoSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0recalc: watermark with expired_time option test expired_time option with expired data: 1. write expired data - all windoSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0recalc: watermark with expired_time option test expired_time option with expired data: 1. write expired data - all windoSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0check initial stream computation results after first data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0check initial stream computation results after first data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0check initial stream computation results after first data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0check initial stream computation results after first data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0check stream computation results after expired data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0check stream computation results after expired data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0check stream computation results after expired data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0check stream computation results after expired data insertionSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0check final stream computation results after all operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0check final stream computation results after all operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0check final stream computation results after all operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0check final stream computation results after all operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_2.py0check stream computation results after recalculation operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_3.py0check stream computation results after recalculation operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_4.py0check stream computation results after recalculation operationsSTRING
HIGH…/18-StreamProcessing/08-Recalc/recalc_expired_bug_1.py0check stream computation results after recalculation operationsSTRING
HIGH…es/18-StreamProcessing/03-TriggerMode/count_new_dbg.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…es/18-StreamProcessing/03-TriggerMode/event_new_dbg.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…s/18-StreamProcessing/03-TriggerMode/test_count_new.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…/cases/18-StreamProcessing/03-TriggerMode/session_1.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…es/18-StreamProcessing/03-TriggerMode/state_new_dbg.py0basic test verification testing during the development process. catalog: - streams: 03-triggermode description: - createSTRING
HIGH…/18-StreamProcessing/03-TriggerMode/state_addnewsub.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…st/cases/18-StreamProcessing/03-TriggerMode/state_2.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…ses/18-StreamProcessing/99-Others/test_trigger_type.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…s/18-StreamProcessing/99-Others/test_trigger_type_4.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…s/18-StreamProcessing/99-Others/test_trigger_type_3.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…s/18-StreamProcessing/99-Others/test_trigger_type_2.py0basic qdb 2 verification testing during the development process. catalog: - streams:others since: v3.3.3.7 labels: commoSTRING
HIGH…Processing/03-TriggerMode/state_output_subtable_zlv.py0stream testperiodoutputsubtable test 1. test period output subtable catalog: - streams:testperiodoutputsubtable since: vSTRING
HIGH…essing/03-TriggerMode/sliding_output_subtable_zlv_2.py0stream testperiodoutputsubtable test 1. test period output subtable catalog: - streams:testperiodoutputsubtable since: vSTRING
HIGH…ocessing/03-TriggerMode/sliding_output_subtable_zlv.py0stream testperiodoutputsubtable test 1. test period output subtable catalog: - streams:testperiodoutputsubtable since: vSTRING
HIGH…eamProcessing/03-TriggerMode/period_output_subtable.py0stream testperiodoutputsubtable test 1. test period output subtable catalog: - streams:testperiodoutputsubtable since: vSTRING
HIGH…essing/03-TriggerMode/sliding_output_subtable_zlv_2.py0create stable if not exists {db_name}.{stable_name} ( ts timestamp encode 'delta-i' compress 'lz4' level 'medium', cts tSTRING
902 more matches not shown…
Unused Imports2801 hits · 2755 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
2741 more matches not shown…
Over-Commented Block1651 hits · 1582 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 # cd ${build_dir}/bin/ && \COMMENT
LOWpackaging/tools/makepkg.sh181 sed -i "s/TDengine/${productName}/g" ${install_dir}/cfg/$adapterName.serviceCOMMENT
LOWpackaging/tools/makepkg.sh201# echo -e "install-tools.sh not found"COMMENT
LOWpackaging/tools/makepkg.sh441COMMENT
LOWpackaging/tools/install_spec.sh441 doneCOMMENT
LOWpackaging/cfg/taos.cfg1########################################################COMMENT
LOWpackaging/cfg/taos.cfg21COMMENT
LOWpackaging/cfg/taos.cfg41COMMENT
LOWpackaging/cfg/taos.cfg61# -1 (no compression)COMMENT
LOWpackaging/cfg/taos.cfg81# system charsetCOMMENT
LOWpackaging/cfg/taos.cfg101# write log in async way: 1 - async, 0 - syncCOMMENT
LOWpackaging/cfg/taos.cfg121COMMENT
LOWpackaging/cfg/taos.cfg141# dDebugFlag 135COMMENT
LOWpackaging/cfg/taos.cfg161# debug flag for fsCOMMENT
LOWpackaging/cfg/taos.cfg181COMMENT
LOWpackaging/cfg/taos.cfg201# timezone Asia/ShanghaiCOMMENT
LOWpackaging/cfg/taos.cfg221COMMENT
LOWpackaging/cfg/taos.cfg241# 0: Disable TLS encryption. If the server enables TLS, the client will automatically upgrade the connection.COMMENT
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/CMakeLists.txt41COMMENT
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_ALLTABLE WT_FROM_DB_MAX + 1COMMENT
LOWtools/shell/src/shellArguments.c21COMMENT
LOWtools/shell/src/shellArguments.c41#define SHELL_BI_MODE "Set BI mode"COMMENT
LOWtools/boosttools/deploy.sh1#!/bin/bashCOMMENT
LOWtools/boosttools/src/boost.h21#include <time.h>COMMENT
LOWtools/tsbs-tdengine/tools/TDengineClusterSetup.py1#!/usr/bin/env python3COMMENT
LOWtools/tsbs-tdengine/tools/sort_csv.py1#COMMENT
LOWtools/tsbs-tdengine/src/deployCluster.py1#COMMENT
LOWtools/tsbs-tdengine/src/writeData.py1#COMMENT
LOWtools/tsbs-tdengine/src/outDB.py1#COMMENT
LOWtools/tsbs-tdengine/src/tdengine.py1#COMMENT
LOWtools/tsbs-tdengine/src/util.py1#COMMENT
LOWtools/tsbs-tdengine/src/outMetrics.py1#COMMENT
LOWtools/tsbs-tdengine/src/cmdLine.py1#COMMENT
LOWtools/tsbs-tdengine/src/scene.py1#COMMENT
LOWtools/tsbs-tdengine/src/doTest.py1#COMMENT
LOWtools/tsbs-tdengine/src/prepareEnv.py1#COMMENT
LOWtools/tsbs-tdengine/src/outLog.py1#COMMENT
LOWtools/tsbs-tdengine/src/main.py1#COMMENT
LOWtools/tsbs-tdengine/src/baseStep.py1#COMMENT
1591 more matches not shown…
Hyper-Verbose Identifiers1633 hits · 1480 pts
SeverityFileLineSnippetContext
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.py66def build_default_resource_package_url(version: str) -> str:CODE
LOWtools/tdgpt/packaging/win_release.py172def resolve_python_runtime_source():CODE
LOWtools/tdgpt/packaging/win_release.py197def copy_packaged_python_runtime():CODE
LOWtools/tdgpt/taosanalytics/util.py43def convert_results_to_windows(result, ts_list, valid_code):CODE
LOWtools/tdgpt/taosanalytics/conf.py68 # def _get_default_conf_windows(self):COMMENT
LOWtools/tdgpt/taosanalytics/conf.py138 def get_dynamic_model_directory(self):CODE
LOWtools/tdgpt/taosanalytics/service_registry.py157 def register_service_from_file(self, config_file: str):CODE
LOWtools/tdgpt/taosanalytics/service_registry.py220 def unregister_dynamic_service(self, name: str):CODE
LOWtools/tdgpt/taosanalytics/service_registry.py244 def _register_services_in_dir(self, cur_directory, lib_prefix, sub_directory, required: bool = True):CODE
LOWtools/tdgpt/taosanalytics/app.py287def handle_profile_search_req():CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py213 def _update_model_kwargs_for_generation(CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py627 def prepare_inputs_for_generation(CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/timesfm-server.py142 def _build_model_from_checkpoint(checkpoint):CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/moment-server.py165def draw_imputation_stride_result(trues, preds, masks):CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/moirai-server.py68def handle_singlevariate_forecast(input_data, prediction_length, interval):CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/moirai-server.py111def handle_covariate_forecast(input_data, prediction_length, interval, past_dynamic_real):CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/moirai-server.py156def handle_future_covariate_forecast(input_data, prediction_length, interval, past_dynamic_real, dynamic_real):CODE
LOWtools/tdgpt/taosanalytics/algo/imputation.py41def draw_imputation_final_result(data, mask):CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py54def _validate_result_constraints(result_obj, algo_type):CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py242def _build_window_candidates_from_series(ts_vals, data_vals, source_len: int, min_window: int, max_window: int,CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py290def _build_candidates_from_profiles(ts_vals, profiles, min_window, max_window,CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py336def _parse_profile_search_input(req_json):CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py447def _validate_possible_candidates(source_arr, data_list_size, min_window, max_window,CODE
LOWtools/tdgpt/tests/process_manager_test.py15 def test_read_pid_file_exists(self, process_manager, temp_dir):CODE
LOWtools/tdgpt/tests/process_manager_test.py26 def test_read_pid_file_not_exists(self, process_manager):CODE
LOWtools/tdgpt/tests/process_manager_test.py31 def test_read_pid_invalid_content(self, process_manager, temp_dir):CODE
LOWtools/tdgpt/tests/process_manager_test.py65 def test_is_running_unix_process_exists(self, process_manager):CODE
LOWtools/tdgpt/tests/process_manager_test.py75 def test_is_running_unix_process_not_exists(self, process_manager):CODE
LOWtools/tdgpt/tests/process_manager_test.py85 def test_is_running_windows_process_exists(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py96 def test_is_running_windows_process_not_exists(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py106 def test_wait_for_service_success(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py113 def test_wait_for_service_timeout(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py120 def test_wait_for_service_delayed_start(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py133 def test_kill_process_windows_graceful(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py147 def test_kill_process_windows_force(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py159 def test_kill_process_unix_graceful(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/process_manager_test.py169 def test_kill_process_unix_force(self, process_manager, mocker):CODE
LOWtools/tdgpt/tests/batch_process_test.py56 def test_exactly_threshold_points(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py68 def test_below_threshold_points(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py143 def test_window_at_data_boundary(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py157 def test_partial_window_overlap_with_data(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py180 def test_mismatched_time_values_length(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py237 def test_invalid_window_format(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py262 def test_missing_config_fields(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py272 def test_invalid_hampel_window_size(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py285 def test_invalid_savgol_parameters(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py324 def test_negative_target_length(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py344 def test_all_windows_filtered_out(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py385 def test_high_frequency_noise(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py409 def test_multiple_batches_different_characteristics(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py436 def test_cubic_interpolation_with_few_points(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py451 def test_zero_derivative_rate_limit(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py493 def test_duplicate_timestamps(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py505 def test_missing_data_segments(self):CODE
LOWtools/tdgpt/tests/batch_process_test.py526 def test_different_golden_methods(self):CODE
LOWtools/tdgpt/tests/unit_test.py24 def test_generate_anomaly_window(self):CODE
LOWtools/tdgpt/tests/unit_test.py86 def test_validate_forecast_input_data(self):CODE
1573 more matches not shown…
Decorative Section Separators370 hits · 1232 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.py715 # ------------------------------------------------------------------STRING
MEDIUMtools/tdgpt/tests/unit_test.py717 # ------------------------------------------------------------------STRING
MEDIUMtest/conftest.py344 # ============================COMMENT
MEDIUMtest/conftest.py372 # ============================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.py159 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py161 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py193 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py195 # ------------------------------------------------------------------COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py201 # ── Print configuration ──────────────────────────────────COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py212 # ── Step 1: Read current version from cmake ──────────────COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py224 # ── Step 3: Resolve base dirs and run compat-check ────────COMMENT
MEDIUMtest/tools/compat-ci/cold_upgrade_task.py270# ──────────────────────────────────────────────────────────────────────────────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.py865# ==============================================================================COMMENT
MEDIUMtest/tools/compat-check/run/main.py867# ==============================================================================COMMENT
MEDIUMtest/tools/compat-check/run/main.py5# ----------------------COMMENT
MEDIUMtest/tools/compat-check/run/main.py284# ==============================================================================COMMENT
MEDIUMtest/tools/compat-check/run/main.py286# ==============================================================================COMMENT
MEDIUMtest/tools/compat-check/run/main.py1259 # ── ROLLING (HOT) UPGRADE ─────────────────────────────────────────────COMMENT
MEDIUMtest/tools/compat-check/run/main.py1304 # ── COLD UPGRADE ──────────────────────────────────────────────────────COMMENT
310 more matches not shown…
Self-Referential Comments366 hits · 1122 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.py191 # Create an initial DataFrame, convert timestamps to pandas datetime type and set as indexCOMMENT
MEDIUMtools/tdgpt/tests/config_test.py56 # 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.sh245 # Create an array of link names and target scriptsCOMMENT
MEDIUMtools/taos-tools/packaging/tools/get_os.sh3# This file is used to install TAOS time-series database on linux systems. The operating systemCOMMENT
MEDIUMtools/taos-tools/packaging/tools/install-tools.sh3# This file is used to install taos-tools on your linux systems.COMMENT
MEDIUMtools/taos-tools/packaging/tools/uninstall-tools.sh3# This file is used to install taos-tools on your linux systems.COMMENT
MEDIUMtest/tools/compat-publish/extract_pkg.sh25# Create a temp dir to extract intoCOMMENT
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
MEDIUMtest/new_test_framework/utils/srvCtl.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/types.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/clusterCommonCheck.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
MEDIUMtest/new_test_framework/utils/streamUtil.py5# This file is proprietary and confidential to TAOS Technologies.COMMENT
306 more matches not shown…
Excessive Try-Catch Wrapping1042 hits · 1065 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.py869 except Exception as e:CODE
LOWtools/tdgpt/packaging/win_release.py903 except Exception as e:CODE
LOWtools/tdgpt/docker/time-moe_server.py122 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/util.py180 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/util.py212 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/conf.py14except Exception: # pragma: no coverCODE
LOWtools/tdgpt/taosanalytics/conf.py19except Exception: # pragma: no coverCODE
LOWtools/tdgpt/taosanalytics/service_registry.py84 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py180 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py275 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py311 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/service_registry.py345 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/app.py148 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/app.py172 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/app.py266 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/app.py274 except Exception as e:CODE
LOWtools/tdgpt/taosanalytics/model_file_mgt.py79 except Exception as e:CODE
982 more matches not shown…
Deep Nesting814 hits · 712 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.py165CODE
LOWtools/tdgpt/packaging/build_offline_assets.py195CODE
LOWtools/tdgpt/packaging/build_offline_assets.py258CODE
LOWtools/tdgpt/taosanalytics/util.py43CODE
LOWtools/tdgpt/taosanalytics/conf.py31CODE
LOWtools/tdgpt/taosanalytics/service_registry.py157CODE
LOWtools/tdgpt/taosanalytics/service_registry.py244CODE
LOWtools/tdgpt/taosanalytics/service_registry.py316CODE
LOWtools/tdgpt/taosanalytics/model_file_mgt.py59CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py91CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py541CODE
LOWtools/tdgpt/taosanalytics/algo/tool/detector.py149CODE
LOWtools/tdgpt/taosanalytics/algo/tool/batch.py365CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py242CODE
LOWtools/tdgpt/taosanalytics/algo/tool/profile_search.py528CODE
LOWtools/tdgpt/taosanalytics/handlers/dynamic_model.py20CODE
LOWtools/tdgpt/taosanalytics/handlers/dynamic_model.py126CODE
LOWtools/tdgpt/tests/unit_test.py198CODE
LOWtools/tdgpt/script/install.py637CODE
LOWtools/tdgpt/script/install.py777CODE
LOWtools/tdgpt/script/install.py978CODE
LOWtools/tdgpt/script/install.py1127CODE
LOWtools/tdgpt/script/install.py1496CODE
LOWtools/tdgpt/script/install.py1617CODE
LOWtools/tdgpt/script/install.py1663CODE
LOWtools/tdgpt/script/install.py2243CODE
LOWtools/tdgpt/script/taosanode_service.py1773CODE
LOWtools/tdgpt/script/taosanode_service.py469CODE
LOWtools/tdgpt/script/taosanode_service.py911CODE
LOWtools/tdgpt/script/taosanode_service.py1086CODE
LOWtools/tdgpt/script/taosanode_service.py1239CODE
LOWtools/tdgpt/script/taosanode_service.py1397CODE
LOWtools/tdgpt/script/taosanode_service.py1550CODE
LOWtools/tdgpt/script/taosanode_service.py1667CODE
LOWtools/tdgpt/script/taosanode_service.py921CODE
LOWtest/conftest.py213CODE
LOWtest/conftest.py422CODE
LOWtest/conftest.py1104CODE
LOWtest/conftest.py522CODE
LOWtest/tools/compat-check/server/clusterSetup.py488CODE
LOWtest/tools/compat-check/server/clusterSetup.py580CODE
LOWtest/tools/compat-check/server/rollingUpgrade.py224CODE
LOWtest/tools/compat-check/run/main.py386CODE
LOWtest/tools/compat-check/run/main.py680CODE
LOWtest/tools/compat-check/resource/sysinfo_checker.py171CODE
LOWtest/tools/compat-check/resource/resourceManager.py81CODE
LOWtest/tools/compat-check/resource/resourceManager.py487CODE
LOWtest/tools/compat-check/resource/resourceManager.py615CODE
754 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.py158CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py219CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py221CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py223CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py255CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py256CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py283CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py287CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py288CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py305CODE
MEDIUM…treamProcessing/20-UseCase/test_three_gorges_phase1.py306CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py97CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py98CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py99CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py103CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py128CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py132CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py145CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py149CODE
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.py159CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py166CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py191CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py192CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py193CODE
MEDIUM…StreamProcessing/31-OldTsimCases/test_oldcase_state.py199CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1724CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1727CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1728CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1731CODE
MEDIUMtest/cases/25-Privileges/test_priv_control.py1732CODE
112 more matches not shown…
Docstring Block Structure69 hits · 250 pts
SeverityFileLineSnippetContext
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.py119 Initializes the TDSql instance with a database cursor and optionally enables logging. Args: STRING
HIGHtest/new_test_framework/utils/sql.py140 Closes the cursor. Args: None Returns: None Raises: STRING
HIGHtest/new_test_framework/utils/sql.py155 Reconnect Args: username (str):The username used to log in to the cluster. pasSTRING
HIGHtest/new_test_framework/utils/sql.py187 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.py229 Executes a list of SQL queries and checks the results against the expected results. Args: STRING
HIGHtest/new_test_framework/utils/sql.py266 Executes a SQL query and fetches the results. Args: sql (str): The SQL query to be executeSTRING
HIGHtest/new_test_framework/utils/sql.py415 Executes a SQL statement a specified number of times.(Not used) Args: sql (str): The SQL sSTRING
HIGHtest/new_test_framework/utils/sql.py449 Executes a SQL statement. Args: sql (str): The SQL statement to be executed. qSTRING
HIGHtest/new_test_framework/utils/sql.py484 Executes a list of SQL statements. Args: sqls (list): The list of SQL statements to be exeSTRING
HIGHtest/new_test_framework/utils/sql.py502 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.py542Executes a SQL query with retry mechanism and handles both successful and failed scenarios. This method attemptSTRING
HIGHtest/new_test_framework/utils/sql.py633 Executes a SQL statement and checks if it results in an error.(Not used) Args: sql (str): STRING
HIGHtest/new_test_framework/utils/sql.py656 Executes a list of SQL queries and checks for expected errors. Args: sql_list (list): The STRING
HIGHtest/new_test_framework/utils/sql.py693Checks if a SQL statement will result in an error when executed. This method executes the provided SQL statemenSTRING
HIGHtest/new_test_framework/utils/sql.py743 Executes a SQL statement and checks for expected errors. Args: sql (str): The SQL statemenSTRING
HIGHtest/new_test_framework/utils/sql.py910 Retrieves the data at the specified row and column from the last query result. Args: row (STRING
HIGHtest/new_test_framework/utils/sql.py927 Retrieves the data at the specified row and column from the last query result. Args: row (iSTRING
HIGHtest/new_test_framework/utils/sql.py940 Retrieves all data from the specified column in the last query result. Args: col (int): ThSTRING
HIGHtest/new_test_framework/utils/sql.py958 Retrieves all data from the specified row in the last query result. Args: row (int): The rSTRING
HIGHtest/new_test_framework/utils/sql.py976 Executes a SQL query and fetches the results. Args: sql (str): The SQL query to be executeSTRING
HIGHtest/new_test_framework/utils/sql.py1003 Retrieves the value of a specified variable from the database. Args: search_attr (str): ThSTRING
HIGHtest/new_test_framework/utils/sql.py1028 Executes a SQL query and retrieves the column names and optionally the column types. Args: STRING
HIGHtest/new_test_framework/utils/sql.py1060 Retrieves the number of rows fetched by the last query. Args: None Returns: STRING
HIGHtest/new_test_framework/utils/sql.py1075 Retrieves the number of cols fetched by the last query. Args: None Returns: STRING
HIGHtest/new_test_framework/utils/sql.py1091 Executes a SQL query and retrieves the first value in the result. Args: sql (str): The SQLSTRING
HIGHtest/new_test_framework/utils/sql.py1111 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.py1131 Verify if the number of rows returned by SQL query meets the expected condition. Args: expSTRING
HIGHtest/new_test_framework/utils/sql.py1199 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.py1223 Checks if the number of columns fetched by the last query matches the expected number of columns. ArgsSTRING
HIGHtest/new_test_framework/utils/sql.py1252 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.py1297 Checks if the data type at the specified row and column matches the expected data type. Args: STRING
HIGHtest/new_test_framework/utils/sql.py1356 Checks if the data at the specified row and column matches the expected data. Args: row (iSTRING
HIGHtest/new_test_framework/utils/sql.py1849 Checks if the data at the specified key matches the expected data. Args: key: The first coSTRING
HIGHtest/new_test_framework/utils/sql.py1924 Whether the data at the specified key matches the expected data. Args: key: The first coluSTRING
HIGHtest/new_test_framework/utils/sql.py1967 Checks if the assertVal is true. Args: assertVal: The value to be assert show STRING
HIGHtest/new_test_framework/utils/sql.py1990 Executes a SQL query and checks if the result matches the expected data. Args: sql (str): STRING
HIGHtest/new_test_framework/utils/sql.py2024 Loop executes a SQL query and checks if the result matches the expected data. Args: sql (sSTRING
HIGHtest/new_test_framework/utils/sql.py2073 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.py2115 Executes a SQL query and checks if the result matches the expected data (Same as checkDataMem). Args: STRING
HIGHtest/new_test_framework/utils/sql.py2148 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.py2195 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.py2221 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.py2271 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.py2315 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.py2344 Checks if the column names from the last query match the expected column names. Args: col_STRING
HIGHtest/new_test_framework/utils/sql.py2422 Checks if the given element is equal to the expected element. Args: elm: The element to beSTRING
HIGHtest/new_test_framework/utils/sql.py2450 Checks if the given element is not equal to the expected element. Args: elm: The element tSTRING
HIGHtest/new_test_framework/utils/sql.py2500 Executes an aggregate SQL query and checks if the result matches the expected count. Args: STRING
HIGHtest/new_test_framework/utils/sql.py2520 Executes a SQL query and checks if the first value in the result matches the expected value. Args: STRING
HIGHtest/new_test_framework/utils/sql.py2539 Checks if the values in two specified columns are the same for all rows in the last query result. ArgsSTRING
HIGHtest/new_test_framework/utils/sql.py2566 Converts a time string to a timestamp based on the specified precision.(Not used) Args: tiSTRING
9 more matches not shown…
Redundant / Tautological Comments95 hits · 127 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.sh869 # Check if correct ip addressCOMMENT
LOWpackaging/tools/install.sh1452 # Check if version compatibleCOMMENT
LOWpackaging/tools/install_client.sh164 # Check if libtaosws.so.* files exist using ls instead of -f with globCOMMENT
LOWpackaging/tools/install_client.sh175 # Check if libtaosws.so.* files exist using ls instead of -f with globCOMMENT
LOWpackaging/tools/install_client.sh186 # 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.sh228 # Check if explorer files exist using ls instead of -f with globCOMMENT
LOWpackaging/tools/install_spec.sh519 # Check if correct ip addressCOMMENT
LOWpackaging/tools/install_spec.sh939 # 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/dynamic_model.py104 # Check if another worker already registered this model via sync_dynamic_servicesCOMMENT
LOWtools/tdgpt/script/uninstall.sh163 # Iterate over the array and create/remove links as neededCOMMENT
LOWtools/tdgpt/script/install.sh256 # Iterate over the array and create/remove links as neededCOMMENT
LOWtools/tdgpt/script/taosanode_service.py368 # Check if venv existsCOMMENT
LOWtools/tdgpt/script/taosanode_service.py1215 # Check if still runningCOMMENT
LOWtools/tdgpt/script/taosanode_service.py1658 # 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/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.py211 # Check if encryption is neededCOMMENT
LOWtest/new_test_framework/utils/common.py1554 # Check if a match was foundCOMMENT
LOWtest/new_test_framework/utils/common.py1523 # Check if stream name already includes database prefixCOMMENT
LOWtest/new_test_framework/utils/common.py2779 # Check if snode already existsCOMMENT
LOWtest/new_test_framework/utils/common.py2824 # Check if snode status is ready (if status column exists)COMMENT
LOWtest/new_test_framework/utils/compatibilityUtil.py184 # Check if version is 3.3.7.0 or laterCOMMENT
LOWtest/new_test_framework/utils/sql.py1152 assert checker.checkRows(15, operator="<") # Verify if less than 15 rowsSTRING
LOWtest/new_test_framework/utils/eutil.py91 # Check if process is taosdCOMMENT
35 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/27-train-faq/01-faq.md220 at com.taosdata.jdbc.ws.Transport.checkConnection(Transport.java:393)CODE
CRITICALdocs/en/27-train-faq/index.md199 at com.taosdata.jdbc.ws.Transport.checkConnection(Transport.java:393)CODE
Structural Annotation Overuse57 hits · 106 pts
SeverityFileLineSnippetContext
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
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.py821 # Step 1: Verify stream exists and is runningCOMMENT
LOW…sing/06-ResultSaved/test_result_saved_comprehensive.py827 # Step 2: Verify target table was deleted before writing trigger dataCOMMENT
LOW…sing/06-ResultSaved/test_result_saved_comprehensive.py856 # Step 3: Check stream status and behaviorCOMMENT
LOW…sing/06-ResultSaved/test_result_saved_comprehensive.py862 # Step 4: Verify system robustnessCOMMENT
LOW…g/23-Compatibility/test_compatibility_cross_version.py169 # Step 1: Install old version and create streamsCOMMENT
LOW…g/23-Compatibility/test_compatibility_cross_version.py173 # Step 2: Try to start with new version (should fail)COMMENT
LOW…g/23-Compatibility/test_compatibility_cross_version.py180 # Step 3: Cleanup streams on old versionCOMMENT
LOW…g/23-Compatibility/test_compatibility_cross_version.py183 # Step 4: Create new streams on new versionCOMMENT
LOW…s/04-SuperTables/01-Create/test_stable_keep_compact.py423 # Step 2: Flush and compact the databaseCOMMENT
LOW…s/04-SuperTables/01-Create/test_stable_keep_compact.py427 # Step 3: Query after compactionCOMMENT
LOW…s/04-SuperTables/01-Create/test_stable_keep_compact.py447 # Step 4: Try to insert data from 7 days ago again (after compaction)COMMENT
LOW…s/04-SuperTables/01-Create/test_stable_keep_compact.py412 # Step 1: Insert data from 3 days ago and 7 days agoCOMMENT
LOWsource/dnode/vnode/src/meta/metaTable2.c2155 // Step 1: Try index-accelerated pre-filtering with pTagIndexCondCOMMENT
LOWsource/dnode/vnode/src/meta/metaTable2.c2188 // Step 2: If index was not used, enumerate all child table UIDsCOMMENT
LOWsource/dnode/vnode/src/meta/metaTable2.c2214 // Step 3: Apply pTagCond to filter the candidate UIDsCOMMENT
LOWsource/dnode/mnode/impl/src/mndXnode.c1696 // Step 1: Validate permissionsCOMMENT
LOWsource/dnode/mnode/impl/src/mndXnode.c1709 // Step 2: Check if task already existsCOMMENT
LOWsource/dnode/mnode/impl/src/mndXnode.c1712 // Step 3: Parse and validate requestCOMMENT
LOWsource/dnode/mnode/impl/src/mndXnode.c1715 // Step 4: Create the xnode taskCOMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1225 // Step 1: Write initial data (version 0-9)COMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1245 // Step 2: Simulate crash - close WAL (but don't delete directory)COMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1249 // Step 3: Manually corrupt the WAL file by appending garbage dataCOMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1265 // Step 4: Restart WAL and write new data (version 10-19)COMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1283 // Step 5: Restart again and verify all data (0-19) can be readCOMMENT
LOWsource/libs/executor/src/sysscanoperator.c2823 // Step 1: Get DB vgroup info (with caching)COMMENT
LOWsource/libs/executor/src/sysscanoperator.c2842 // Step 2: Calculate vgId for the source tableCOMMENT
LOWsource/libs/executor/src/sysscanoperator.c2863 // Step 3: Fetch table schema from the target vnodeCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java168 // Step 1: Basic SSL connection using Token from NacosCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java195 // Step 2: HikariCP pool with graceful Token rotationCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java296 // Step 1: Validate new token (note: isHealthy below also validates)COMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java303 // Step 2: Create new pool with new tokenCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java306 // Step 3: Verify new pool is healthyCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java313 // Step 4: Switch to new poolCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java326 // Step 5: Gracefully shutdown old poolCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java381 // Step 3: TMQ consumer with graceful Token rotationCOMMENT
LOW…-advanced/05-data-in/05-opcua/01-client-certificate.md100#### Step 1: Create the certificate config fileCOMMENT
LOW…-advanced/05-data-in/05-opcua/01-client-certificate.md121#### Step 2: Generate the certificate and private key (valid for 10 years)COMMENT
LOW…/en/14-reference/01-components/05-taosx-agent/index.md92### Step 1: Create an Agent in ExplorerCOMMENT
LOW…/en/14-reference/01-components/05-taosx-agent/index.md109### Step 2: Edit the Configuration FileCOMMENT
LOW…/en/14-reference/01-components/05-taosx-agent/index.md123### Step 3: Start the ServiceCOMMENT
LOW…/en/14-reference/01-components/05-taosx-agent/index.md152### Step 4: Verify Agent StatusCOMMENT
LOW…/en/14-reference/01-components/05-taosx-agent/index.md181### Step 5: Create a Data Ingestion TaskCOMMENT
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.py1406 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.py573 self.constant_check("%s" %self.db,'count','%d' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py576 self.constant_check("%s" %self.db,'count','(cast(%d as int))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py578 self.constant_check("%s" %self.db,'count','(cast(%d as smallint))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py580 self.constant_check("%s" %self.db,'count','(cast(%d as bigint))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py582 self.constant_check("%s" %self.db,'count','(cast(%d as tinyint))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py584 self.constant_check("%s" %self.db,'count','(cast(%d as float))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py586 self.constant_check("%s" %self.db,'count','(cast(%d as double))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py589 self.constant_check("%s" %self.db,'sum','%d' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py592 self.constant_check("%s" %self.db,'sum','(cast(%d as int))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py594 self.constant_check("%s" %self.db,'sum','(cast(%d as smallint))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py596 self.constant_check("%s" %self.db,'sum','(cast(%d as bigint))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py598 self.constant_check("%s" %self.db,'sum','(cast(%d as tinyint))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py600 self.constant_check("%s" %self.db,'sum','(cast(%d as float))' %fake_data)CODE
LOW…ses/uncatalog/system-test/2-query/test_select_index.py602 self.constant_check("%s" %self.db,'sum','(cast(%d as double))' %fake_data)CODE
60 more matches not shown…
Verbosity Indicators48 hits · 92 pts
SeverityFileLineSnippetContext
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
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.py821 # Step 1: Verify stream exists and is runningCOMMENT
LOW…sing/06-ResultSaved/test_result_saved_comprehensive.py827 # Step 2: Verify target table was deleted before writing trigger dataCOMMENT
LOW…sing/06-ResultSaved/test_result_saved_comprehensive.py856 # Step 3: Check stream status and behaviorCOMMENT
LOW…sing/06-ResultSaved/test_result_saved_comprehensive.py862 # Step 4: Verify system robustnessCOMMENT
LOW…g/23-Compatibility/test_compatibility_cross_version.py169 # Step 1: Install old version and create streamsCOMMENT
LOW…g/23-Compatibility/test_compatibility_cross_version.py173 # Step 2: Try to start with new version (should fail)COMMENT
LOW…g/23-Compatibility/test_compatibility_cross_version.py180 # Step 3: Cleanup streams on old versionCOMMENT
LOW…g/23-Compatibility/test_compatibility_cross_version.py183 # Step 4: Create new streams on new versionCOMMENT
LOW…s/04-SuperTables/01-Create/test_stable_keep_compact.py423 # Step 2: Flush and compact the databaseCOMMENT
LOW…s/04-SuperTables/01-Create/test_stable_keep_compact.py427 # Step 3: Query after compactionCOMMENT
LOW…s/04-SuperTables/01-Create/test_stable_keep_compact.py447 # Step 4: Try to insert data from 7 days ago again (after compaction)COMMENT
LOW…s/04-SuperTables/01-Create/test_stable_keep_compact.py412 # Step 1: Insert data from 3 days ago and 7 days agoCOMMENT
LOWsource/dnode/vnode/src/meta/metaTable2.c2155 // Step 1: Try index-accelerated pre-filtering with pTagIndexCondCOMMENT
LOWsource/dnode/vnode/src/meta/metaTable2.c2188 // Step 2: If index was not used, enumerate all child table UIDsCOMMENT
LOWsource/dnode/vnode/src/meta/metaTable2.c2214 // Step 3: Apply pTagCond to filter the candidate UIDsCOMMENT
LOWsource/dnode/mnode/impl/src/mndXnode.c1696 // Step 1: Validate permissionsCOMMENT
LOWsource/dnode/mnode/impl/src/mndXnode.c1709 // Step 2: Check if task already existsCOMMENT
LOWsource/dnode/mnode/impl/src/mndXnode.c1712 // Step 3: Parse and validate requestCOMMENT
LOWsource/dnode/mnode/impl/src/mndXnode.c1715 // Step 4: Create the xnode taskCOMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1225 // Step 1: Write initial data (version 0-9)COMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1245 // Step 2: Simulate crash - close WAL (but don't delete directory)COMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1249 // Step 3: Manually corrupt the WAL file by appending garbage dataCOMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1265 // Step 4: Restart WAL and write new data (version 10-19)COMMENT
LOWsource/libs/wal/test/walMetaTest.cpp1283 // Step 5: Restart again and verify all data (0-19) can be readCOMMENT
LOWsource/libs/executor/src/sysscanoperator.c2823 // Step 1: Get DB vgroup info (with caching)COMMENT
LOWsource/libs/executor/src/sysscanoperator.c2842 // Step 2: Calculate vgId for the source tableCOMMENT
LOWsource/libs/executor/src/sysscanoperator.c2863 // Step 3: Fetch table schema from the target vnodeCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java168 // Step 1: Basic SSL connection using Token from NacosCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java195 // Step 2: HikariCP pool with graceful Token rotationCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java296 // Step 1: Validate new token (note: isHealthy below also validates)COMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java303 // Step 2: Create new pool with new tokenCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java306 // Step 3: Verify new pool is healthyCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java313 // Step 4: Switch to new poolCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java326 // Step 5: Gracefully shutdown old poolCOMMENT
LOW…/java/com/taos/example/security/NacosSecurityDemo.java381 // Step 3: TMQ consumer with graceful Token rotationCOMMENT
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
AI Structural Patterns66 hits · 52 pts
SeverityFileLineSnippetContext
LOWtools/tsbs-tdengine/src/outMetrics.py26CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py34CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py66CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py91CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py421CODE
LOWtools/tdgpt/taosanalytics/tsfmservice/tdtsfm-server.py541CODE
LOWtools/tdgpt/script/install.py420CODE
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.py565CODE
LOWtest/new_test_framework/utils/streamUtil.py884CODE
LOWtest/new_test_framework/utils/streamUtil.py1161CODE
LOWtest/new_test_framework/utils/common.py58CODE
LOWtest/new_test_framework/utils/common.py446CODE
LOWtest/new_test_framework/utils/common.py1230CODE
LOWtest/new_test_framework/utils/common.py1352CODE
LOWtest/new_test_framework/utils/common.py1909CODE
LOWtest/new_test_framework/utils/common.py1966CODE
LOWtest/new_test_framework/utils/common.py2124CODE
LOWtest/new_test_framework/utils/common.py2174CODE
LOWtest/new_test_framework/utils/common.py2448CODE
LOWtest/new_test_framework/utils/common.py2875CODE
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
LOWtest/cases/01-DataTypes/test_datatype_decimal64.py1024CODE
LOWtest/cases/01-DataTypes/test_datatype_decimal.py1025CODE
LOWtest/cases/01-DataTypes/test_datatype_decimal_last.py1000CODE
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
LOW…t/cases/11-Functions/04-Timeseries/test_fun_ts_mavg.py34CODE
LOW…t/cases/11-Functions/04-Timeseries/test_fun_ts_mavg.py53CODE
LOW…cases/11-Functions/04-Timeseries/test_fun_ts_sample.py31CODE
6 more matches not shown…
AI Slop Vocabulary16 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUM…amProcessing/08-Recalc/test_recalc_combined_options.py149 # Trigger table for comprehensive combination (WATERMARK + DELETE_RECALC + EXPIRED_TIME)COMMENT
MEDIUM…amProcessing/08-Recalc/test_recalc_combined_options.py203 # Data for comprehensive combination (02:09:00 - 02:11:30)COMMENT
MEDIUM…amProcessing/08-Recalc/test_recalc_combined_options.py424 # 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.py85 # Create trigger table with various data types for comprehensive testingCOMMENT
MEDIUM…-StreamProcessing/06-ResultSaved/result_saved_bug_1.py11 """Result saved: comprehensiveSTRING
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/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
Modern Structural Boilerplate10 hits · 11 pts
SeverityFileLineSnippetContext
LOWtools/tdgpt/docker/time-moe_server.py19logger = logging.getLogger(__name__)CODE
LOWtools/tdgpt/taosanalytics/base.py51 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py81 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py152 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py212 def set_params(self, params: dict) -> None:CODE
LOWtools/tdgpt/taosanalytics/base.py230 def set_params(self, params: dict) -> None: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
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.sh11# 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.c594 TAOS_CHECK_EXIT(grantCheck(TSDB_GRANT_MOUNT)); // TODO: implement when the plan is readyCODE