AI Slop Code Risk Monitor

GreptimeTeam/greptimedb

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

The open-source observability database. One columnar engine for metrics, logs, and traces, on object storage.

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for GreptimeTeam/greptimedb, a Rust project with 6,778 GitHub stars. SynthScan examined 1,237,066 lines of code across 3362 source files, recording 3759 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 3.4 (Low pattern signal); it is not an authorship estimate.

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

3.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.8K
Stars
Rust
Language
1.2M
Lines of Code
3.4K
Files
3.8K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

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

Cognitive Ownership Risk 14.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 2.4/100 · LOW

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

PR Review Velocity Impact 15.4/100 · LOW

Which changes need focused human review? 3759 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 9HIGH 26MEDIUM 80LOW 3644

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

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

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

Over-Commented Block3094 hits · 3066 pts
SeverityFileLineSnippetContext
LOWrustfmt.toml1# disable these features until they become stableCOMMENT
LOWcliff.toml121# skip_tags = ""COMMENT
LOWlicenserc.toml1# Copyright 2023 Greptime TeamCOMMENT
LOWlicenserc-enterprise.toml1# License-header config for GreptimeDB Enterprise Edition source files.COMMENT
LOWconfig/frontend.example.toml1## The default timezone of the server.COMMENT
LOWconfig/frontend.example.toml21## "mysql_native_password" is MySQL-specific and cannot authenticate over PostgreSQL at all.COMMENT
LOWconfig/frontend.example.toml41## The number of threads to execute the runtime for global read operations.COMMENT
LOWconfig/frontend.example.toml61## `pending_rows_batcher.logical_table.pending_rows_flush_interval` and `pending_rows_batcher.pending_rows_flush_intervaCOMMENT
LOWconfig/frontend.example.toml81COMMENT
LOWconfig/frontend.example.toml101#+ enable_cors = falseCOMMENT
LOWconfig/frontend.example.toml121## @toml2docs:none-defaultCOMMENT
LOWconfig/frontend.example.toml141## Compression mode for frontend side Arrow IPC service. Available options:COMMENT
LOWconfig/frontend.example.toml181[mysql.tls]COMMENT
LOWconfig/frontend.example.toml241default_merge_mode = "last_non_null"COMMENT
LOWconfig/frontend.example.toml261# "postgres",COMMENT
LOWconfig/frontend.example.toml281## Empty protocols or a zero interval disables logical batching without fallback.COMMENT
LOWconfig/frontend.example.toml301enable = trueCOMMENT
LOWconfig/frontend.example.toml361[query]COMMENT
LOWconfig/frontend.example.toml381## Only effective when `memory_pool_size` is bounded (>0).COMMENT
LOWconfig/frontend.example.toml461COMMENT
LOWconfig/frontend.example.toml501## The tokio console address.COMMENT
LOWconfig/frontend.example.toml521allow_vrl_host_access = falseCOMMENT
LOWconfig/flownode.example.toml1## The flownode identifier and should be unique in the cluster.COMMENT
LOWconfig/flownode.example.toml21#+experimental_frontend_scan_timeout="30s"COMMENT
LOWconfig/flownode.example.toml41## Client Private key file path.COMMENT
LOWconfig/flownode.example.toml141## The percentage of tracing will be sampled and exported.COMMENT
LOWconfig/flownode.example.toml161## When this limit is reached, queries will fail with ResourceExhausted error.COMMENT
LOWconfig/flownode.example.toml181#+ experimental_spill_path = "/path/to/spill"COMMENT
LOWconfig/standalone.example.toml1## The default timezone of the server.COMMENT
LOWconfig/standalone.example.toml21## "mysql_native_password" is MySQL-specific and cannot authenticate over PostgreSQL at all.COMMENT
LOWconfig/standalone.example.toml41init_regions_in_background = falseCOMMENT
LOWconfig/standalone.example.toml61## @toml2docs:none-default="Auto"COMMENT
LOWconfig/standalone.example.toml81## Number of polls between scheduler fairness samples. Must be greater than zero.COMMENT
LOWconfig/standalone.example.toml101## @toml2docs:none-defaultCOMMENT
LOWconfig/standalone.example.toml121## Origins allowed by gRPC CORS. An empty list allows any origin.COMMENT
LOWconfig/standalone.example.toml161[mysql.tls]COMMENT
LOWconfig/standalone.example.toml221default_merge_mode = "last_non_null"COMMENT
LOWconfig/standalone.example.toml241# "postgres",COMMENT
LOWconfig/standalone.example.toml261## Empty protocols or a zero interval disables logical batching without fallback.COMMENT
LOWconfig/standalone.example.toml281enable = trueCOMMENT
LOWconfig/standalone.example.toml301[prom_store]COMMENT
LOWconfig/standalone.example.toml321COMMENT
LOWconfig/standalone.example.toml361recovery_parallelism = 2COMMENT
LOWconfig/standalone.example.toml381## **It's only used when the provider is `kafka`**.COMMENT
LOWconfig/standalone.example.toml401create_topic_timeout = "30s"COMMENT
LOWconfig/standalone.example.toml421## them as critical errors.COMMENT
LOWconfig/standalone.example.toml441## - `enqueued`: an append returns once its entries are admitted and their ids are assigned, and the object is created iCOMMENT
LOWconfig/standalone.example.toml461## An existing region fails to open when the prefix held no object when the WAL opened, or when the flushed entry id of COMMENT
LOWconfig/standalone.example.toml481# server_ca_cert_path = "/path/to/server_cert"COMMENT
LOWconfig/standalone.example.toml501## The maximum number of procedures that can be running at the same time.COMMENT
LOWconfig/standalone.example.toml521# root = "data"COMMENT
LOWconfig/standalone.example.toml541# scope = "test"COMMENT
LOWconfig/standalone.example.toml561## Supports absolute size (e.g., "2GB", "4GB") or percentage of system memory (e.g., "20%").COMMENT
LOWconfig/standalone.example.toml581## Spill directory path. Ignored unless mode is "custom".COMMENT
LOWconfig/standalone.example.toml601## Upgrade note: COPY commands and existing external tables that reference paths outside thisCOMMENT
LOWconfig/standalone.example.toml621type = "File"COMMENT
LOWconfig/standalone.example.toml641options = {}COMMENT
LOWconfig/standalone.example.toml661## **It's only used when the storage type is `Azblob`**.COMMENT
LOWconfig/standalone.example.toml681## **It's only used when the storage type is `Gcs`**.COMMENT
LOWconfig/standalone.example.toml721COMMENT
3034 more matches not shown…
Hyper-Verbose Identifiers347 hits · 326 pts
SeverityFileLineSnippetContext
LOWtests/perf/test_benchmark_version_comparison.py47 def test_improvement_direction(self):CODE
LOWtests/perf/test_benchmark_version_comparison.py82 def test_traces_uses_measured_only_and_rejects_failed_query(self):CODE
LOWtests/perf/test_benchmark_version_comparison.py128 def test_missing_results_and_rendering(self):CODE
LOWtests/perf/test_ci_runner_scripts.py71 def test_defaults_and_overrides(self):CODE
LOWtests/perf/test_ci_runner_scripts.py81 def test_traces_workflow_runner_defaults_and_overrides(self):CODE
LOWtests/perf/test_ci_runner_scripts.py113 def test_traces_selected_targets_and_image_tag(self):CODE
LOWtests/perf/test_ci_runner_scripts.py142 def test_wrong_provider_and_shell_fragments_rejected(self):CODE
LOWtests/perf/test_ci_runner_scripts.py149 def test_cli_writes_resolved_output(self):CODE
LOW⚡tests/perf/test_ci_runner_scripts.py208 def test_prepared_runner_skips_all_privileged_changes(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py211 def test_missing_tools_are_installed_without_changing_docker(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py217 def test_missing_docker_is_installed_once(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py223 def test_existing_stopped_docker_is_started_without_installation(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py228 def test_host_policy_matches_aliyun_before_runner_activation(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py259 def test_disk_size_and_architecture_fail_before_allocation(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py268 def test_arm_instance_rejected_before_registration(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py277 def test_create_request_and_recovery_tags(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py390 def test_targeted_cleanup_recovers_missing_outputs_without_waiting_for_ttl(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py398 def test_independent_cloud_and_github_cleanup_failures(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py408 def test_already_gone_instance_still_unregisters(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py414 def test_retried_teardown_uses_original_instance_and_runner(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py434 def test_terminate_waits_and_handles_not_found(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py444 def test_transient_not_found_is_retried(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py452 def test_missing_tags_are_polled_before_cleanup(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py459 def test_github_system_exit_does_not_skip_other_instances(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py502 def test_success_does_not_retry(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py509 def test_transient_failure_then_success(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py516 def test_exhaustion_preserves_failure(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py522 def test_timeout_is_bounded_and_fatal(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py529 def test_bad_arguments_do_not_call_docker(self):STRING
LOW⚡tests/perf/test_ci_runner_scripts.py535 def test_traces_prefetch_executes_catalog_refs_and_stops_on_failure(self):STRING
LOWtests/perf/test_ci_runner_scripts.py241 def test_ubuntu_image_resolution_and_override(self):STRING
LOWtests/perf/test_ci_runner_scripts.py307 def test_partial_provision_keeps_outputs_and_console(self):STRING
LOWtests/perf/test_ci_runner_scripts.py320 def test_online_poll_and_timeout(self):STRING
LOWtests/perf/test_ci_runner_scripts.py349 def test_pagination_and_ownership_filters(self):STRING
LOWtests/perf/test_ci_runner_scripts.py362 def test_sweep_expiry_and_missing_or_invalid_ttl(self):STRING
LOWtests/perf/test_ci_runner_scripts.py374 def test_ttl_decisions_match_aliyun(self):STRING
LOWtests/perf/test_ci_runner_scripts.py588 def test_workflows_pull_before_generation(self):STRING
LOW⚡tests/perf/test_oswal_s3_bench_scripts.py360 def test_acked_batches_present_once_and_an_in_flight_extra_pass(self):CODE
LOW⚡tests/perf/test_oswal_s3_bench_scripts.py367 def test_durable_violations_are_reported(self):CODE
LOW⚡tests/perf/test_oswal_s3_bench_scripts.py375 def test_enqueued_loses_acked_batches_without_failing(self):CODE
LOW⚡tests/perf/test_oswal_s3_bench_scripts.py382 def test_a_later_cycle_reports_only_its_own_losses(self):CODE
LOW⚡tests/perf/test_oswal_s3_bench_scripts.py1184 def test_a_drop_cell_whose_writers_fail_stops_before_the_drop(self):CODE
LOW⚡tests/perf/test_oswal_s3_bench_scripts.py1194 def test_a_crash_cycle_without_its_scrapes_fails_the_cell(self):CODE
LOW⚡tests/perf/test_oswal_s3_bench_scripts.py1204 def test_a_restart_that_loses_rows_fails_the_cell(self):CODE
LOW⚡tests/perf/test_oswal_s3_bench_scripts.py1213 def test_every_cell_starts_its_own_image_and_records_the_host_load(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py400 def test_a_batch_an_earlier_restart_recovered_must_stay_present(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py410 def test_only_the_current_cycle_may_lose_acknowledged_batches_in_enqueued_mode(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py423 def test_a_connection_lost_before_the_kill_fails(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py429 def test_the_writer_stops_each_stripe_at_its_first_unacknowledged_batch(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py472 def test_writers_stop_at_the_deadline_with_every_batch_acknowledged(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py509 def test_quantile_interpolates_like_prometheus(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py532 def test_summary_reports_cells_and_geometric_mean_ratios(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py555 def test_ratios_cover_both_controls_and_restart_cells_report_recovery(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py584 def test_traffic_idle_crash_and_pinned_cells_are_summarized(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py634 def test_partitioned_load_cells_report_client_latency_entries_and_regions(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py656 def test_restarts_report_what_each_region_replayed(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py695 def test_a_drop_cell_reports_the_objects_collected_after_its_restart(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py717 def test_untouched_counters_are_zero_only_for_an_active_object_store_wal(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py731 def test_a_planned_round_that_never_ran_leaves_the_ratio_undefined(self):CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py748 def test_a_failed_cell_leaves_its_ratio_undefined(self):CODE
287 more matches not shown…
Decorative Section Separators63 hits · 251 pts
SeverityFileLineSnippetContext
MEDIUM.github/ci/scope-rules.toml8# -----------COMMENT
MEDIUM.github/ci/ci_scope.py68# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/ci/ci_scope.py70# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/ci/ci_scope.py102# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/ci/ci_scope.py104# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/ci/ci_scope.py147# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/ci/ci_scope.py149# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/ci/ci_scope.py251# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/ci/ci_scope.py253# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/meta-srv/src/selector/weighted_choose.rs57/// ─────────────────────────────────▶COMMENT
MEDIUM⚡src/meta-srv/src/selector/weighted_choose.rs60/// ┌─────────────────┬─────────┬──────────────────────┬─────┬─────────────────┐COMMENT
MEDIUM⚡src/meta-srv/src/selector/weighted_choose.rs62/// └─────────────────┴─────────┴──────────────────────┴─────┴─────────────────┘COMMENT
MEDIUM⚡src/metric-engine/src/lib.rs29//! ┌───────────────┐ ┌───────────────┐ ┌───────────────┐COMMENT
MEDIUM⚡src/metric-engine/src/lib.rs32//! └───────────────┘ └───────────────┘ └───────────────┘COMMENT
MEDIUM⚡src/metric-engine/src/lib.rs35//! └───────────────┼───────────────────┘COMMENT
MEDIUM⚡src/metric-engine/src/lib.rs37//! ┌─────────┴────────┐COMMENT
MEDIUM⚡src/metric-engine/src/lib.rs40//! │ ┌─────────────┤COMMENT
MEDIUM⚡src/metric-engine/src/lib.rs43//! └────▲─────────────┘COMMENT
MEDIUM⚡src/metric-engine/src/lib.rs46//! ┌─────┴───────────────┐COMMENT
MEDIUM⚡src/metric-engine/src/lib.rs50//! └─────────────────────┘COMMENT
MEDIUMsrc/store-api/src/storage/descriptors.rs45/// ┌────────────────────────────────────┬──────────┬──────────────────┐COMMENT
MEDIUMsrc/store-api/src/storage/descriptors.rs47/// └────────────────────────────────────┴──────────┴──────────────────┘COMMENT
MEDIUMsrc/mito2/src/read/pruner.rs1149 // ── Corner case: fast-skip across multiple row groups ─────────────COMMENT
MEDIUM⚡src/mito2/src/sst/index/inverted_index/creator.rs396 /// ┌──────┐COMMENT
MEDIUM⚡src/mito2/src/sst/index/inverted_index/creator.rs397 /// ┌─────────────┐ │ PIPE │COMMENT
MEDIUM⚡src/mito2/src/sst/index/inverted_index/creator.rs399 /// │ IndexWriter ├──────────────────►│ tx │COMMENT
MEDIUM⚡src/mito2/src/sst/index/inverted_index/creator.rs401 /// └─────────────┘ │ │COMMENT
MEDIUM⚡src/mito2/src/sst/index/inverted_index/creator.rs402 /// ┌─────────────────┤ rx │COMMENT
MEDIUM⚡src/mito2/src/sst/index/inverted_index/creator.rs403 /// ┌─────────────┐ │ read as blob └──────┘COMMENT
MEDIUM⚡src/mito2/src/sst/index/inverted_index/creator.rs406 /// │ │ │ copy to file ┌──────┐COMMENT
MEDIUM⚡src/mito2/src/sst/index/inverted_index/creator.rs407 /// └─────────────┘ └────────────────►│ File │COMMENT
MEDIUM⚡src/mito2/src/sst/index/inverted_index/creator.rs408 /// └──────┘COMMENT
MEDIUM⚡src/mito2/src/sst/index/bloom_filter/creator.rs434 /// ┌──────┐COMMENT
MEDIUM⚡src/mito2/src/sst/index/bloom_filter/creator.rs435 /// ┌─────────────┐ │ PIPE │COMMENT
MEDIUM⚡src/mito2/src/sst/index/bloom_filter/creator.rs437 /// │ IndexWriter ├──────────────────►│ tx │COMMENT
MEDIUM⚡src/mito2/src/sst/index/bloom_filter/creator.rs439 /// └─────────────┘ │ │COMMENT
MEDIUM⚡src/mito2/src/sst/index/bloom_filter/creator.rs440 /// ┌─────────────────┤ rx │COMMENT
MEDIUM⚡src/mito2/src/sst/index/bloom_filter/creator.rs441 /// ┌─────────────┐ │ read as blob └──────┘COMMENT
MEDIUM⚡src/mito2/src/sst/index/bloom_filter/creator.rs444 /// │ │ │ copy to file ┌──────┐COMMENT
MEDIUM⚡src/mito2/src/sst/index/bloom_filter/creator.rs445 /// └─────────────┘ └────────────────►│ File │COMMENT
MEDIUM⚡src/mito2/src/sst/index/bloom_filter/creator.rs446 /// └──────┘COMMENT
MEDIUMsrc/partition/src/multi_dim.rs662 /// ─────────┼──────────┼────────────► bCOMMENT
MEDIUM⚡src/partition/src/multi_dim.rs700 /// 200 │ ┌─────────┤COMMENT
MEDIUM⚡src/partition/src/multi_dim.rs704 /// 100 │ ======┴─────────┘COMMENT
MEDIUM⚡src/partition/src/multi_dim.rs706 /// └──────────────────────────►bCOMMENT
MEDIUMsrc/partition/src/multi_dim.rs907 /// ────────────────────────────────┼──► hostCOMMENT
MEDIUMsrc/servers/tests/mysql/mysql_writer_test.rs30// ── Schema-to-column-def tests ────────────────────────────────────────────────COMMENT
MEDIUMsrc/servers/tests/mysql/mysql_writer_test.rs62// ── Individual create_mysql_column type-mapping tests ────────────────────────COMMENT
MEDIUMsrc/servers/tests/mysql/mysql_writer_test.rs223// ── Column flags tests ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/servers/tests/mysql/mysql_writer_test.rs265// ── Timestamp precision tests (issue #8227) ───────────────────────────────────COMMENT
MEDIUMsrc/servers/tests/mysql/mysql_writer_test.rs265// ── Timestamp precision tests (issue #8227) ───────────────────────────────────COMMENT
MEDIUMsrc/servers/tests/mysql/mysql_writer_test.rs458// ── Column schema convenience constructors ────────────────────────────────────COMMENT
MEDIUMsrc/servers/src/http/result/table_result.rs168 let expected_payload = r#"┌─host────────┬─ts────────────┬─cpu─┬─memory─┐CODE
MEDIUM⚡src/promql/src/range_array.rs34/// │ ┌─────┬─────┬─────┬─────┐COMMENT
MEDIUM⚡src/promql/src/range_array.rs36/// Arrays │ └─────┴─────┴─────┴─────┘ (Fixed to i64)COMMENT
MEDIUM⚡src/promql/src/range_array.rs38/// Arrow's │ ┌────────────────────────────┐COMMENT
MEDIUM⚡src/promql/src/range_array.rs40/// Array │ └────────────────────────────┘(Any Type)COMMENT
MEDIUM⚡src/promql/src/range_array.rs48/// ┌───────────────┼───────────────┐COMMENT
MEDIUM⚡src/promql/src/range_array.rs50/// └───────────────┼───────────────┘COMMENT
MEDIUM⚡src/promql/src/range_array.rs57/// ┌───────┬───────┬───────┐ ┌───────┐COMMENT
3 more matches not shown…
Cross-Language Confusion20 hits · 115 pts
SeverityFileLineSnippetContext
HIGHtests/perf/test_oswal_s3_bench_scripts.py808 for arg in "$@"; do [[ "$arg" != -d ]] || { echo $(($(cat "$FAKE_LOG.runs" 2>/dev/null || echo 0) + 1)) > "$FAKECODE
HIGHtests/perf/test_oswal_s3_bench_scripts.py816 kill) touch "${FAKE_KILL_FLAG:-/dev/null}" ;;CODE
HIGHtests/perf/test_oswal_s3_bench_scripts.py851 run=$(cat "$FAKE_LOG.runs") n=$(($(cat "$FAKE_LOG.scrapes.$run" 2>/dev/null || echo 0) + 1))CODE
HIGH⚡.github/scripts/aliyun-ecs-runner-provision.py172systemctl disable --now systemd-oomd.socket systemd-oomd.service || trueSTRING
HIGH⚡.github/scripts/aliyun-ecs-runner-provision.py173systemctl mask systemd-oomd.socket systemd-oomd.service || trueSTRING
HIGH⚡.github/scripts/aliyun-ecs-runner-provision.py178systemctl disable --now unattended-upgrades.service apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-STRING
HIGH⚡.github/scripts/aliyun-ecs-runner-provision.py179systemctl mask unattended-upgrades.service apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.sSTRING
HIGH⚡.github/scripts/aliyun-ecs-runner-provision.py180systemctl stop unattended-upgrades.service || trueSTRING
HIGH⚡.github/scripts/aliyun-ecs-runner-provision.py181killall -9 unattended-upgr || trueSTRING
HIGH⚡.github/scripts/aws-ec2-runner-provision.py128systemctl disable --now systemd-oomd.socket systemd-oomd.service || trueCODE
HIGH⚡.github/scripts/aws-ec2-runner-provision.py129systemctl mask systemd-oomd.socket systemd-oomd.service || trueCODE
HIGH⚡.github/scripts/aws-ec2-runner-provision.py134systemctl disable --now unattended-upgrades.service apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-CODE
HIGH⚡.github/scripts/aws-ec2-runner-provision.py135systemctl mask unattended-upgrades.service apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.sCODE
HIGH⚡.github/scripts/aws-ec2-runner-provision.py136systemctl stop unattended-upgrades.service || trueCODE
HIGH⚡.github/scripts/aws-ec2-runner-provision.py137killall -9 unattended-upgr || trueCODE
HIGH.github/scripts/aws-ec2-runner-provision.py153id runner >/dev/null 2>&1 || useradd --create-home --shell /bin/bash runnerCODE
HIGH.github/scripts/aws-ec2-runner-provision.py155getent group docker >/dev/null || groupadd --system dockerCODE
HIGH⚡…ale-sets/query-regression/ecs-image/build-ecs-image.py129trap 'docker rm -f "${{container}}" >/dev/null 2>&1 || true' EXITCODE
HIGH⚡…ale-sets/query-regression/ecs-image/build-ecs-image.py138groupadd --gid 1001 runner 2>/dev/null || trueCODE
HIGH⚡…ale-sets/query-regression/ecs-image/build-ecs-image.py139useradd --uid 1001 --gid 1001 --home-dir /home/runner --shell /bin/bash runner 2>/dev/null || trueCODE
Verbosity Indicators52 hits · 97 pts
SeverityFileLineSnippetContext
LOW⚡tests-integration/src/tests/gc.rs135 // Step 1: Create table with append_mode to easily generate multiple filesCOMMENT
LOW⚡tests-integration/src/tests/gc.rs145 // Step 2: Generate SST files by inserting data and flushing multiple timesCOMMENT
LOWtests-integration/src/tests/gc.rs171 // Step 3: Get table informationCOMMENT
LOWtests-integration/src/tests/gc.rs188 // Step 4: Trigger compaction to create garbage SST filesCOMMENT
LOW⚡tests-integration/src/tests/gc.rs203 // Step 5: Get table route information for GC procedureCOMMENT
LOW⚡tests-integration/src/tests/gc.rs207 // Step 6: Create and execute BatchGcProcedureCOMMENT
LOWtests-integration/src/tests/gc.rs232 // Step 7: Verify GC resultsCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs46 // Step 1: Create table with append_mode to easily generate multiple filesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs56 // Step 2: Generate SST files by inserting data and flushing multiple timesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs102 // Step 4: Use ADMIN GC_TABLE to clean up garbage filesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs107 // Step 5: Verify GC resultsCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs166 // Step 1: Create table with append_mode to easily generate multiple filesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs176 // Step 2: Generate SST files by inserting data and flushing multiple timesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs240 // Step 5: Use ADMIN GC_REGIONS to clean up garbage files for the specific regionCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs245 // Step 6: Verify GC resultsCOMMENT
LOWtests-integration/src/tests/gc/admin.rs90 // Step 3: Trigger compaction to create garbage SST filesCOMMENT
LOWtests-integration/src/tests/gc/admin.rs210 // Step 3: Trigger compaction to create garbage SST filesCOMMENT
LOWtests-integration/src/tests/gc/admin.rs222 // Step 4: Get region id from information_schemaCOMMENT
LOWsrc/meta-srv/src/gc/handler.rs303 // Step 2: Run GC for all regions on this datanode in a single batchCOMMENT
LOWsrc/meta-srv/src/gc/handler.rs404 // Step 3: Process the combined GC report and update table reportsCOMMENT
LOW⚡src/metric-engine/benches/bench_tsid_generator.rs231 // Step 1: Compute label name hash for non-null labelsCOMMENT
LOW⚡src/metric-engine/benches/bench_tsid_generator.rs240 // Step 2: Use label name hash and hash valuesCOMMENT
LOW⚡src/common/meta/src/sequence.rs636 // Step 1: Establish a low value in storageCOMMENT
LOW⚡src/common/meta/src/sequence.rs643 // Step 2: Create sequence with much larger initialCOMMENT
LOW⚡src/common/meta/src/sequence.rs653 // Step 3: Verify subsequent sequences continue from updated storageCOMMENT
LOWsrc/common/meta/src/ddl/utils.rs243/// For partial success, we need to check if the errors are retryable.COMMENT
LOW⚡src/common/meta/src/election/rds/mysql.rs1527 // Step 2: As a leader, renew the lease.COMMENT
LOW⚡src/common/meta/src/election/rds/mysql.rs1536 // Step 3: Something wrong, the leader lease expired.COMMENT
LOW⚡src/common/meta/src/election/rds/mysql.rs1748 // Step 1: As a follower, the leader exists and the lease is not expired. Do nothing.COMMENT
LOW⚡src/common/meta/src/election/rds/mysql.rs1751 // Step 2: As a follower, the leader exists but the lease expired. Re-elect itself.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1507 // Step 1: No leader exists, campaign and elected.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1557 // Step 4: Re-elect itself.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1577 // Step 5: Something wrong, the leader key is deleted by other followers.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1604 // Step 6: Re-elect itself.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1624 // Step 7: Something wrong, the leader key changed by others.COMMENT
LOW⚡src/common/meta/src/election/rds/postgres.rs1709 // Step 1: As a follower, the leader exists and the lease is not expired.COMMENT
LOW⚡src/common/meta/src/election/rds/postgres.rs1712 // Step 2: As a follower, the leader exists but the lease expired.COMMENT
LOW⚡src/common/meta/src/election/rds/postgres.rs1716 // Step 3: As a follower, the leader does not exist.COMMENT
LOW⚡src/common/meta/src/election/rds/postgres.rs1723 // Step 4: Follower thinks it's the leader but failed to acquire the lock.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1255 // Step 1: No leader exists, campaign and elected.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1306 // Step 2: As a leader, renew the lease.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1328 // Step 3: Something wrong, the leader lease expired.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1360 // Step 4: Re-campaign and elected.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1393 // Step 5: Something wrong, the leader key is deleted by other followers.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1419 // Step 6: Re-campaign and elected.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1452 // Step 7: Something wrong, the leader key changed by others.COMMENT
LOWsrc/mito2/src/gc.rs785 // Step 2: Concurrently list all parquet files in the region root directoryCOMMENT
LOWsrc/mito2/src/gc.rs1121 // Step 3: Filter files to determine which ones can be deletedCOMMENT
LOWsrc/mito2/src/sst/parquet/row_selection.rs172 // Step 1: Convert segment IDs to row ranges within row groups.COMMENT
LOWsrc/mito2/src/sst/parquet/row_selection.rs201 // Step 2: Group ranges by row group ID and create row selectionsCOMMENT
LOW⚡src/mito2/src/sst/parquet/row_selection.rs256 // Step 1: Group row IDs by their row groupCOMMENT
LOW⚡src/mito2/src/sst/parquet/row_selection.rs260 // Step 2: Create row selections for each row groupCOMMENT
Structural Annotation Overuse51 hits · 95 pts
SeverityFileLineSnippetContext
LOW⚡tests-integration/src/tests/gc.rs135 // Step 1: Create table with append_mode to easily generate multiple filesCOMMENT
LOW⚡tests-integration/src/tests/gc.rs145 // Step 2: Generate SST files by inserting data and flushing multiple timesCOMMENT
LOWtests-integration/src/tests/gc.rs171 // Step 3: Get table informationCOMMENT
LOWtests-integration/src/tests/gc.rs188 // Step 4: Trigger compaction to create garbage SST filesCOMMENT
LOW⚡tests-integration/src/tests/gc.rs203 // Step 5: Get table route information for GC procedureCOMMENT
LOW⚡tests-integration/src/tests/gc.rs207 // Step 6: Create and execute BatchGcProcedureCOMMENT
LOWtests-integration/src/tests/gc.rs232 // Step 7: Verify GC resultsCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs46 // Step 1: Create table with append_mode to easily generate multiple filesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs56 // Step 2: Generate SST files by inserting data and flushing multiple timesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs102 // Step 4: Use ADMIN GC_TABLE to clean up garbage filesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs107 // Step 5: Verify GC resultsCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs166 // Step 1: Create table with append_mode to easily generate multiple filesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs176 // Step 2: Generate SST files by inserting data and flushing multiple timesCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs240 // Step 5: Use ADMIN GC_REGIONS to clean up garbage files for the specific regionCOMMENT
LOW⚡tests-integration/src/tests/gc/admin.rs245 // Step 6: Verify GC resultsCOMMENT
LOWtests-integration/src/tests/gc/admin.rs90 // Step 3: Trigger compaction to create garbage SST filesCOMMENT
LOWtests-integration/src/tests/gc/admin.rs210 // Step 3: Trigger compaction to create garbage SST filesCOMMENT
LOWtests-integration/src/tests/gc/admin.rs222 // Step 4: Get region id from information_schemaCOMMENT
LOWsrc/meta-srv/src/gc/handler.rs303 // Step 2: Run GC for all regions on this datanode in a single batchCOMMENT
LOWsrc/meta-srv/src/gc/handler.rs404 // Step 3: Process the combined GC report and update table reportsCOMMENT
LOW⚡src/metric-engine/benches/bench_tsid_generator.rs231 // Step 1: Compute label name hash for non-null labelsCOMMENT
LOW⚡src/metric-engine/benches/bench_tsid_generator.rs240 // Step 2: Use label name hash and hash valuesCOMMENT
LOW⚡src/common/meta/src/sequence.rs636 // Step 1: Establish a low value in storageCOMMENT
LOW⚡src/common/meta/src/sequence.rs643 // Step 2: Create sequence with much larger initialCOMMENT
LOW⚡src/common/meta/src/sequence.rs653 // Step 3: Verify subsequent sequences continue from updated storageCOMMENT
LOW⚡src/common/meta/src/election/rds/mysql.rs1527 // Step 2: As a leader, renew the lease.COMMENT
LOW⚡src/common/meta/src/election/rds/mysql.rs1536 // Step 3: Something wrong, the leader lease expired.COMMENT
LOW⚡src/common/meta/src/election/rds/mysql.rs1748 // Step 1: As a follower, the leader exists and the lease is not expired. Do nothing.COMMENT
LOW⚡src/common/meta/src/election/rds/mysql.rs1751 // Step 2: As a follower, the leader exists but the lease expired. Re-elect itself.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1507 // Step 1: No leader exists, campaign and elected.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1557 // Step 4: Re-elect itself.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1577 // Step 5: Something wrong, the leader key is deleted by other followers.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1604 // Step 6: Re-elect itself.COMMENT
LOWsrc/common/meta/src/election/rds/mysql.rs1624 // Step 7: Something wrong, the leader key changed by others.COMMENT
LOW⚡src/common/meta/src/election/rds/postgres.rs1709 // Step 1: As a follower, the leader exists and the lease is not expired.COMMENT
LOW⚡src/common/meta/src/election/rds/postgres.rs1712 // Step 2: As a follower, the leader exists but the lease expired.COMMENT
LOW⚡src/common/meta/src/election/rds/postgres.rs1716 // Step 3: As a follower, the leader does not exist.COMMENT
LOW⚡src/common/meta/src/election/rds/postgres.rs1723 // Step 4: Follower thinks it's the leader but failed to acquire the lock.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1255 // Step 1: No leader exists, campaign and elected.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1306 // Step 2: As a leader, renew the lease.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1328 // Step 3: Something wrong, the leader lease expired.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1360 // Step 4: Re-campaign and elected.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1393 // Step 5: Something wrong, the leader key is deleted by other followers.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1419 // Step 6: Re-campaign and elected.COMMENT
LOWsrc/common/meta/src/election/rds/postgres.rs1452 // Step 7: Something wrong, the leader key changed by others.COMMENT
LOWsrc/mito2/src/gc.rs785 // Step 2: Concurrently list all parquet files in the region root directoryCOMMENT
LOWsrc/mito2/src/gc.rs1121 // Step 3: Filter files to determine which ones can be deletedCOMMENT
LOWsrc/mito2/src/sst/parquet/row_selection.rs172 // Step 1: Convert segment IDs to row ranges within row groups.COMMENT
LOWsrc/mito2/src/sst/parquet/row_selection.rs201 // Step 2: Group ranges by row group ID and create row selectionsCOMMENT
LOW⚡src/mito2/src/sst/parquet/row_selection.rs256 // Step 1: Group row IDs by their row groupCOMMENT
LOW⚡src/mito2/src/sst/parquet/row_selection.rs260 // Step 2: Create row selections for each row groupCOMMENT
Hallucination Indicators9 hits · 90 pts
SeverityFileLineSnippetContext
CRITICALtests/cases/standalone/common/function/matches_term.sql165 (1, '[2026/04/09/ 13:56:11.031]2026-04-09 13:56:11.031 - [ trace_id=340a6a44b0bd8e37bb7697ss7da61ff0 span_id=085ff5tCODE
CRITICALsrc/common/meta/src/ddl/alter_table.rs156 let alter_kind = self.data.task.alter_table.kind.as_ref().unwrap();CODE
CRITICALsrc/common/meta/src/ddl/alter_table.rs451 let alter_kind = self.data.task.alter_table.kind.as_ref().unwrap();CODE
CRITICALsrc/common/meta/src/ddl/alter_table.rs508 let alter_kind = self.data.task.alter_table.kind.as_ref().unwrap();CODE
CRITICALsrc/common/meta/src/ddl/alter_table/region_request.rs32 let alter_kind = self.data.task.alter_table.kind.as_ref().unwrap();CODE
CRITICALsrc/index/benches/index_build_bench.rs155 "at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1250)",CODE
CRITICALsrc/mito2/src/read/pruner.rs106 let file_index = index.index - self.pruner.inner.stream_ctx.input.num_memtables();CODE
CRITICALsrc/mito2/src/read/pruner.rs183 .then(|| index.index - self.pruner.inner.stream_ctx.input.num_memtables())CODE
CRITICALsrc/flow/src/server.rs242 self.flownode_server.inner.flow_service.dual_engine.clone()CODE
Deep Nesting37 hits · 35 pts
SeverityFileLineSnippetContext
LOWtests/perf/test_ci_runner_scripts.py81CODE
LOWtests/perf/test_ci_runner_scripts.py113CODE
LOWtests/perf/test_ci_runner_scripts.py320CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py429CODE
LOWtests/perf/test_oswal_s3_bench_scripts.py1288CODE
LOW…perf/test_query_regression_runner_compaction_toctou.py119CODE
LOWtests/perf/test_query_regression_slash.py429CODE
LOWtests/perf/test_query_regression_helpers.py49CODE
LOWtests/perf/test_query_regression_helpers.py88CODE
LOWtests/perf/test_query_regression_helpers.py127CODE
LOWscripts/check-snafu.py20CODE
LOW.github/ci/ci_scope.py107CODE
LOW.github/ci/ci_scope.py274CODE
LOW.github/ci/ci_scope.py579CODE
LOW.github/ci/tests/test_ci_scope.py72CODE
LOW.github/scripts/tracesbench-summary.py69CODE
LOW.github/scripts/oswal-s3-bench-summary.py268CODE
LOW.github/scripts/oswal-s3-bench-crash.py108CODE
LOW.github/scripts/query-regression-helpers.py41CODE
LOW.github/scripts/aws-ec2-runner-teardown.py64CODE
LOW.github/scripts/aws-ec2-runner-teardown.py86CODE
LOW.github/scripts/update-compat-versions.py406CODE
LOW.github/scripts/oswal-s3-bench.py208CODE
LOW.github/scripts/oswal-s3-bench.py433CODE
LOW.github/scripts/metric-snapshot-fixture.py96CODE
LOW.github/scripts/query-regression-run.py179CODE
LOW.github/scripts/query-regression-run.py323CODE
LOW.github/scripts/query-regression-run.py657CODE
LOW.github/scripts/metric-snapshot-s3-ops.py80CODE
LOW.github/scripts/metric-snapshot-s3-ops.py127CODE
LOW.github/scripts/metric-snapshot-s3-ops.py174CODE
LOW.github/scripts/benchmark_resource_summary.py43CODE
LOW.github/scripts/benchmark_resource_summary.py66CODE
LOW.github/scripts/aliyun-ecs-runner-teardown.py77CODE
LOW.github/scripts/tests/test_ci_slash.py89CODE
LOW…ale-sets/query-regression/ecs-image/build-ecs-image.py303CODE
LOWsrc/common/datasource/tests/orc/write.py55CODE
Self-Referential Comments9 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/check-git-deps.yml42 # Create a temporary directory for cloningCOMMENT
MEDIUM.github/scripts/deploy-greptimedb.sh15# Create a cluster with 1 control-plane node and 5 workers.COMMENT
MEDIUM.github/scripts/update-homebrew-greptme-version.sh32 # Create a Pull Request.COMMENT
MEDIUM.github/scripts/update-helm-charts-version.sh36 # Create a Pull Request.COMMENT
MEDIUM.github/scripts/update-dev-builder-version.sh27 # Create a Pull Request.COMMENT
MEDIUM⚡src/servers/tests/ssl/gen-certs.sh3# Create the self-signed CA certificate.COMMENT
MEDIUM⚡src/servers/tests/ssl/gen-certs.sh11# Create the server private key.COMMENT
MEDIUM⚡src/servers/tests/ssl/gen-certs.sh14# Create the server certificate signing request.COMMENT
MEDIUM⚡src/servers/tests/ssl/gen-certs.sh17# Create the server certificate.COMMENT
Redundant / Tautological Comments17 hits · 28 pts
SeverityFileLineSnippetContext
LOWconfig/frontend.example.toml389## Set this to "custom" before using the path/quota/compression keys below.COMMENT
LOWconfig/flownode.example.toml177## Set this to "custom" before using the path/quota/compression keys below.COMMENT
LOWconfig/standalone.example.toml579## Set this to "custom" before using the path/quota/compression keys below.COMMENT
LOWconfig/datanode.example.toml360## Set this to "custom" before using the path/quota/compression keys below.COMMENT
LOWgrafana/scripts/check.sh14 # Check if any invalid panels were foundCOMMENT
LOWdocs/how-to/memory-profile-scripts/scripts/dump.sh21 # Check if PID is provided as an argumentCOMMENT
LOWdocs/how-to/memory-profile-scripts/scripts/dump.sh38 # Check if ps command was successful and returned a numberCOMMENT
LOW⚡…to/memory-profile-scripts/scripts/gen_from_collapse.sh7# Check if flamegraph.pl existsCOMMENT
LOW⚡…to/memory-profile-scripts/scripts/gen_from_collapse.sh13# Check if directory argument is providedCOMMENT
LOW⚡…to/memory-profile-scripts/scripts/gen_from_collapse.sh21# Check if the provided argument is a directoryCOMMENT
LOWscripts/install.sh127 # Check if files already exist and prompt for overrideCOMMENT
LOW.github/workflows/check-git-deps.yml62 # Check if commit existsCOMMENT
LOW.github/workflows/check-git-deps.yml64 # Check if commit is on main branchCOMMENT
LOW.github/scripts/copy-image.sh10# Check if necessary variables are set.COMMENT
LOW.github/scripts/copy-image.sh23 # Check if docker is installed.COMMENT
LOW.github/scripts/upload-artifacts-to-s3.sh11# Check if necessary variables are set.COMMENT
LOW.github/scripts/upload-artifacts-to-s3.sh92 # Check if jq is installed.COMMENT
Unused Imports20 hits · 20 pts
SeverityFileLineSnippetContext
LOW.github/scripts/aliyun-ecs-runner-provision.py45CODE
LOW.github/scripts/aliyun-ecs-runner-provision.py54CODE
LOW.github/scripts/query-regression-slash.py29CODE
LOW.github/scripts/oswal-s3-bench-summary.py18CODE
LOW.github/scripts/query-regression-summary.py18CODE
LOW.github/scripts/oswal-s3-bench-crash.py27CODE
LOW.github/scripts/runner_utils.py18CODE
LOW.github/scripts/aws-ec2-runner-teardown.py23CODE
LOW.github/scripts/update-compat-versions.py25CODE
LOW.github/scripts/oswal-s3-bench.py23CODE
LOW.github/scripts/aws-ec2-runner-provision.py23CODE
LOW.github/scripts/query-regression-run.py18CODE
LOW.github/scripts/query-regression-pr-metadata.py18CODE
LOW.github/scripts/query-regression-nightly-refs.py22CODE
LOW.github/scripts/aliyun-ecs-runner-teardown.py41CODE
LOW.github/scripts/previous-release-tag.py27CODE
LOW.github/scripts/run-compat.py27CODE
LOW.github/scripts/run-compat.py35CODE
LOW…ale-sets/query-regression/ecs-image/build-ecs-image.py46CODE
LOWsrc/common/datasource/tests/orc/write.py15CODE
AI Response Leakage3 hits · 18 pts
SeverityFileLineSnippetContext
HIGH.github/workflows/update-compat-versions.yml136 --body $'I hereby agree to the terms of the [GreptimeDB CLA](https://github.com/GreptimeTeam/.github/blob/maCODE
HIGH.github/workflows/update-compat-versions.yml136 --body $'I hereby agree to the terms of the [GreptimeDB CLA](https://github.com/GreptimeTeam/.github/blob/maCODE
HIGHsrc/meta-srv/src/handler.rs592 // In this implementation, we pre-occupy the message_id of 0,COMMENT
Excessive Try-Catch Wrapping17 hits · 17 pts
SeverityFileLineSnippetContext
LOW.github/scripts/aliyun-ecs-runner-provision.py307 except Exception as error: # noqa: BLE001STRING
LOW.github/scripts/aliyun-ecs-runner-provision.py322 except Exception as error: # noqa: BLE001STRING
MEDIUM.github/scripts/aliyun-ecs-runner-provision.py304def poll(self) -> None:CODE
LOW.github/scripts/oswal-s3-bench-crash.py83 except Exception as error:CODE
MEDIUM.github/scripts/oswal-s3-bench-crash.py80def run(index):CODE
LOW.github/scripts/runner_utils.py99 except Exception as error: # noqa: BLE001CODE
LOW.github/scripts/aws-ec2-runner-teardown.py72 except Exception as error:CODE
LOW.github/scripts/oswal-s3-bench.py411 except Exception:CODE
LOW.github/scripts/aws-ec2-runner-provision.py220 except Exception as error:STRING
LOW.github/scripts/query-regression-run.py187 except Exception as err: # noqa: BLE001 - retain the last health diagnosticCODE
LOW.github/scripts/query-regression-run.py304 except Exception as err:CODE
LOW.github/scripts/query-regression-run.py800 except Exception as err:CODE
LOW.github/scripts/query-regression-run.py812 except Exception as err: # noqa: BLE001 - preserve an aggregate report for the summary stepCODE
LOW.github/scripts/aliyun-ecs-runner-teardown.py151 except Exception as error: # noqa: BLE001CODE
LOW…ale-sets/query-regression/ecs-image/build-ecs-image.py224 except Exception as error: # noqa: BLE001STRING
LOW…ale-sets/query-regression/ecs-image/build-ecs-image.py401 except Exception as error: # noqa: BLE001CODE
LOW…ale-sets/query-regression/ecs-image/build-ecs-image.py451 except Exception as error: # noqa: BLE001CODE
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMsrc/frontend/src/instance/jaeger.rs577// to utilize them through DataFrame APIs. To address this limitation, we create a new sessionCOMMENT
MEDIUMsrc/index/src/inverted_index/create/sort_create.rs55 /// Caller may leverage this behavior to create indexes with no data.COMMENT
MEDIUMsrc/query/src/dist_plan/analyzer/fallback.rs17//! This is a temporary solution, and will be removed once we have a more robust plan rewriterCOMMENT
MEDIUMsrc/query/src/dist_plan/analyzer/fallback.rs28/// This is a temporary solution, and will be removed once we have a more robust plan rewriterCOMMENT
MEDIUMsrc/servers/src/repeated_field.rs17// This code is to leverage the pooling mechanism to avoid frequent heap allocation/de-allocation when decoding deeply nCOMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH.github/scripts/query-regression-run.py695except subprocess.TimeoutExpired:CODE
HIGH.github/scripts/benchmark_resource_summary.py61except (OSError, ValueError, TypeError, AttributeError):CODE
Fake / Example Data7 hits · 9 pts
SeverityFileLineSnippetContext
LOW…ts/cases/standalone/common/join/using_clause_joins.sql14(101, 'John Doe', 'NYC', 1000), (102, 'Jane Smith', 'LA', 2000), (103, 'Bob Wilson', 'Chicago', 3000);CODE
LOW…ses/standalone/common/function/string/like_pattern.sql30 ('John Doe', 'john@example.com', 1000),CODE
LOW⚡src/index/benches/tokenizer_bench.rs96 "The quick brown fox jumps over the lazy dog. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed dCODE
LOW⚡src/index/benches/tokenizer_bench.rs96 "The quick brown fox jumps over the lazy dog. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed dCODE
LOW⚡src/index/benches/tokenizer_bench.rs100 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloCODE
LOW⚡src/index/benches/tokenizer_bench.rs100 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloCODE
LOW…/operator/src/statement/export_logical_tables/tests.rs185 let input = batch(vec![Some(1025); 4], vec![Some("placeholder"); 4]);CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md112### Why fully AI-generated PRs without understanding are not helpfulCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOW.github/scripts/copy-image.sh44# Usage example:COMMENT
LOW.github/scripts/upload-artifacts-to-s3.sh122# Usage example:COMMENT
LOW…ts/query-regression/ecs-image/bootstrap-runner-host.sh32# Usage:COMMENT
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM.github/scripts/agent-observability-summary.py205 lines += ['## Phase timings', '', 'Phase duration includes orchestration overhead. Container cleanup does not prove CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/datanode/src/datanode.rs710 object_store_manager.default_object_store().clone(), // TODO: implement custom storage for file engineCODE