Repository Analysis

ClickHouse/ClickHouse

ClickHouse® is a real-time analytics database management system

4.3 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ClickHouse/ClickHouse, a C++ project with 48,626 GitHub stars. SynthScan v2.0 examined 3,727,749 lines of code across 30042 source files, recording 13312 pattern matches distributed across 27 syntactic categories. The overall adjusted score of 4.3 places this repository in the Likely human-written 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).

4.3
Adjusted Score
4.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
48.6K
Stars
C++
Language
3.7M
Lines of Code
30.0K
Files
13.3K
Pattern Hits
2026-07-14
Scan Date
0.01
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 15HIGH 252MEDIUM 989LOW 12056

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 13312 distinct pattern matches across 27 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.

Over-Commented Block6694 hits · 6639 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1cmake_minimum_required(VERSION 3.25)COMMENT
LOWCMakeLists.txt181 if (CMAKE_BUILD_TYPE_UC STREQUAL "RELEASE" AND NOT SPLIT_DEBUG_SYMBOLS)COMMENT
LOWCMakeLists.txt361COMMENT
LOWCMakeLists.txt621 get_target_property (type ${target} TYPE)COMMENT
LOWcmake/strip_rust_symbols.sh1#!/usr/bin/env bashCOMMENT
LOWcmake/localize_rust_c_symbols.sh1#!/usr/bin/env bashCOMMENT
LOWcmake/localize_rust_c_symbols.sh21#COMMENT
LOWci/settings/settings.py61COMMENT
LOWci/infra/scripts/user_data_macos.txt1#!/usr/bin/env bashCOMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh1#COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh21## THIS FILE ACTS AS THE MASTER FILE FOR ALL HADOOP PROJECTS.COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh41# is preferable, modify this file accordingly.COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh61# file is living. If this is not defined, Hadoop will attempt toCOMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh81# memory size.COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh101# in the system logs.COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh121# By default, Apache Hadoop overrides Java's CLASSPATHCOMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh141# Should HADOOP_CLASSPATH be first in the official CLASSPATH?COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh161COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh181# export HADOOP_WORKERS="${HADOOP_CONF_DIR}/workers"COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh201COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh221COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh241# for all the daemons. So one could define:COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh261# export JSVC_HOME=/usr/binCOMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh281###COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh301COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh321#COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh341# Specify the JVM options to be used when starting the NFS3 Gateway.COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh361COMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh381# HDFS Balancer specific parametersCOMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh401# These options will be appended to the options specified as HADOOP_OPTSCOMMENT
LOWci/docker/integration/hive_server/hadoop-env.sh421# For example, to limit who can execute the namenode command,COMMENT
LOWci/praktika/runner.py701 # User-authored free text must not be embedded into the job output:COMMENT
LOWci/praktika/hook_cache.py181 print(COMMENT
LOWci/praktika/result.py781 # returns 0 even when the inferior exits with a non-zero code, so we can't rely onCOMMENT
LOWci/praktika/gh_auth.py141 .get_value()COMMENT
LOWci/praktika/infrastructure/dedicated_host.py21 availability_zones: List[str] = field(default_factory=list)COMMENT
LOWci/praktika/infrastructure/runner/runner-init.py441# `search ec2.internal` expansion in `/etc/resolv.conf` to match the FQDNCOMMENT
LOWci/praktika/infrastructure/runner/runner-init.py941 # Handle `check` ourselves rather than passing it to `subprocess.run`: aCOMMENT
LOWci/jobs/check_style.py721 # if testpattern.lower() in testname.lower():COMMENT
LOWci/jobs/performance_tests.py441"""COMMENT
LOWci/jobs/functional_tests.py101 # memory limit must follow the binary under test (`build_type`) rather thanCOMMENT
LOWci/jobs/functional_tests.py221 # leave it untouched so it does not become a spurious failure.COMMENT
LOWci/jobs/functional_tests.py881 # `extend_sub_results` recomputes the aggregate status from childCOMMENT
LOWci/jobs/functional_tests.py921 # The downloaded build-type binaries are self-extracting:COMMENT
LOWci/jobs/functional_tests.py961 # running across `stop_server`, so only the server-sideCOMMENT
LOWci/jobs/integration_test_job.py1021 # Flaky-check soft timeout. Mirrors the pattern in `ci/jobs/functional_tests.py`:COMMENT
LOWci/jobs/integration_test_job.py1321 # than letting `create_from` default an empty result set to ERROR, which would blockCOMMENT
LOWci/jobs/integration_test_job.py1401COMMENT
LOWci/jobs/libfuzzer_test_check.py1#!/usr/bin/env python3COMMENT
LOWci/jobs/stress_job.py81 if not (result.is_ok() or result.is_failure() or result.is_error()):COMMENT
LOWci/jobs/copilot_review_job.py41GH_PREFIX = "env -u GH_CONFIG_DIR"COMMENT
LOWci/jobs/copilot_review_job.py301 name="codex review",COMMENT
LOWci/jobs/sqlancer_pp_job.sh1#!/bin/bashCOMMENT
LOWci/jobs/sqlancer_pp_job.sh61# `clickhouse/sqlancer-test` image (ci/docker/sqlancer-test/Dockerfile) installsCOMMENT
LOWci/jobs/collect_clickhouse_profiles.py61COMMENT
LOWci/jobs/llvm_coverage_job.py381 _changed_lines_cov = print_res.ext.get("changed_lines_cov", 0.0)COMMENT
LOWci/jobs/llvm_coverage_job.py441 # assumed to potentially affect the binary, which suppresses theCOMMENT
LOWci/jobs/llvm_coverage_job.py481 _tests_changed = any(_is_test_path(p) for p in _changed_paths)COMMENT
LOWci/jobs/llvm_coverage_job.py501 # (C/C++ source changed, stable union used for the delta)COMMENT
LOWci/jobs/llvm_coverage_job.py581 f"{Utils.normalize_string(nc_res.name)}/{_nc_log_name}"COMMENT
6634 more matches not shown…
Hyper-Verbose Identifiers3510 hits · 3126 pts
SeverityFileLineSnippetContext
LOWci/docker/reqgenerator.py36def check_docker_file_install_with_pip(filepath):CODE
LOWci/tests/test_result.py44def test_all_statuses_accounted_for():CODE
LOWci/tests/test_result.py54def test_status_values_are_uppercase():CODE
LOWci/tests/test_result.py59def test_status_values_are_unique():CODE
LOWci/tests/test_result.py131def test_create_from_bool_true():CODE
LOWci/tests/test_result.py136def test_create_from_bool_false():CODE
LOWci/tests/test_result.py141def test_create_from_aggregates_ok():CODE
LOWci/tests/test_result.py147def test_create_from_aggregates_fail():CODE
LOWci/tests/test_result.py153def test_create_from_aggregates_error():CODE
LOWci/tests/test_result.py159def test_create_from_aggregates_xfail_is_ok():CODE
LOWci/tests/test_result.py165def test_create_from_aggregates_xpass_is_fail():CODE
LOWci/tests/test_result.py171def test_create_from_aggregates_unknown_is_fail():CODE
LOWci/tests/test_result.py177def test_create_from_error_takes_priority():CODE
LOWci/tests/test_result.py209def test_create_from_lifts_child_info_when_requested():CODE
LOWci/tests/test_result.py220def test_create_from_omits_child_info_by_default():CODE
LOWci/tests/test_functional_tests_results.py46def test_max_failures_keeps_real_failures_and_adds_summary(tmp_path):CODE
LOWci/tests/test_functional_tests_results.py66def test_aborted_run_still_reports_server_died(tmp_path):CODE
LOWci/tests/test_fuzzer_liveness_loop.py102def test_transient_timeout_then_recovers_is_not_server_died(tmp_path):CODE
LOWci/tests/test_fuzzer_liveness_loop.py116def test_connection_refused_is_server_died_immediately(tmp_path):STRING
LOWci/tests/test_fuzzer_liveness_loop.py122def test_persistent_timeout_is_eventually_server_died(tmp_path):STRING
LOWci/tests/test_shared_engine_replacer_discovery.py50def test_transient_copy_skipped_but_lookalike_test_discovered():CODE
LOWci/tests/test_bugfix_validation_not_cached.py48def test_all_four_per_arch_jobs_present():CODE
LOWci/tests/test_bugfix_validation_not_cached.py59def test_bugfix_validation_jobs_have_no_digest_config():CODE
LOWci/tests/test_bugfix_validation_not_cached.py67def test_bugfix_validation_jobs_resolve_to_null_digest():CODE
LOWci/tests/test_download_build_with_progress.py105def test_transient_error_retries_then_fails(tmp_path, monkeypatch, no_sleep):CODE
LOWci/tests/test_download_build_with_progress.py130def test_truncated_download_retries_then_succeeds(tmp_path, monkeypatch, no_sleep):CODE
LOWci/tests/test_pytest_xfail_xpass.py105def test_xfailed_and_passed_mix():CODE
LOWci/tests/test_pytest_xfail_xpass.py129def test_xpassed_and_passed_mix():CODE
LOWci/tests/test_cherry_pick_branches.py66 def test_branch_version_strips_prefix(self):CODE
LOWci/tests/test_cherry_pick_branches.py72 def test_parses_version_specific_label(self):CODE
LOWci/tests/test_cherry_pick_branches.py76 def test_rejects_other_labels(self):CODE
LOWci/tests/test_cherry_pick_branches.py86 def test_lowest_of_multiple_labels_wins(self):CODE
LOWci/tests/test_cherry_pick_branches.py92 def test_inactive_label_still_sets_floor(self):CODE
LOWci/tests/test_cherry_pick_branches.py106 def test_floor_fans_out_to_all_newer_releases(self):CODE
LOWci/tests/test_cherry_pick_branches.py113 def test_floor_fans_out_public_repo(self):CODE
LOWci/tests/test_cherry_pick_branches.py122 def test_multiple_labels_lowest_wins(self):CODE
LOWci/tests/test_cherry_pick_branches.py126 def test_numeric_ordering_in_selection(self):CODE
LOWci/tests/test_cherry_pick_branches.py132 def test_inactive_label_widens_selection(self):CODE
LOWci/tests/test_cherry_pick_branches.py138 def test_eol_named_release_fans_out_to_newer_active(self):CODE
LOWci/tests/test_cherry_pick_branches.py148 def test_floor_newer_than_all_active_yields_no_branches(self):CODE
LOWci/tests/test_cherry_pick_branches.py155 def test_rolling_out_ignored_for_version_specific(self):CODE
LOWci/tests/test_cherry_pick_branches.py164 def test_floor_at_newest_branch_selects_only_it(self):CODE
LOWci/tests/test_cherry_pick_branches.py168 def test_no_backport_label_raises(self):CODE
LOWci/tests/test_cherry_pick_branches.py174 def test_all_branches_no_rolling_out(self):CODE
LOWci/tests/test_cherry_pick_branches.py179 def test_critical_bugfix_is_general(self):CODE
LOWci/tests/test_cherry_pick_branches.py183 def test_rolling_out_skipped_without_version_label(self):CODE
LOWci/tests/test_cherry_pick_branches.py192 def test_rolling_out_overridden_by_lower_floor(self):CODE
LOWci/tests/test_cherry_pick_branches.py205 def test_rolling_out_partial_override_by_floor(self):CODE
LOWci/tests/test_cherry_pick_branches.py216 def test_force_ignores_rolling_out(self):CODE
LOWci/tests/test_job_filtering.py160 def test_txt_file_in_subdirectory_does_not_match_shallow_glob(self):CODE
LOWci/tests/test_job_filtering.py169 def test_txt_file_directly_under_tests_matches_shallow_glob(self):CODE
LOWci/tests/test_job_filtering.py176 def test_unrelated_extension_in_subdirectory_does_not_match(self):CODE
LOWci/tests/test_job_filtering.py182 def test_txt_file_under_same_named_subdir_does_not_match(self):CODE
LOWci/tests/test_job_filtering.py193 def test_query_file_directly_under_tests_queries_matches(self):CODE
LOWci/tests/test_job_filtering.py226 def test_docker_is_filtered_when_only_requirer_is_hook_filtered(self):CODE
LOWci/tests/test_job_filtering.py245 def test_docker_is_not_filtered_when_unfiltered_job_requires_it(self):CODE
LOWci/tests/test_job_filtering.py272 def test_build_is_rescued_when_docker_is_rescued(self):CODE
LOWci/tests/test_job_filtering.py291 def test_unrelated_jobs_are_still_filtered(self):CODE
LOWci/tests/test_job_filtering.py305 def test_all_jobs_filtered_when_nothing_is_affected(self):CODE
LOWci/tests/test_job_filtering.py317 def test_direct_artifact_dependency_rescue_already_works(self):CODE
3450 more matches not shown…
Decorative Section Separators588 hits · 1864 pts
SeverityFileLineSnippetContext
MEDIUMci/tests/test_job_filtering.py201# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_job_filtering.py203# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_job_filtering.py54# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_job_filtering.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_job_filtering.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_job_filtering.py121# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_job_filtering.py147# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_job_filtering.py149# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_job_filtering.py259# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_job_filtering.py261# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py147# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py149# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py232# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py234# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py300# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py302# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py420# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py422# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMci/tests/test_new_tests_check.py40# ---------------------------------------------------------------------------COMMENT
MEDIUMci/jobs/keeper_stress_job.py28# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMci/jobs/keeper_stress_job.py30# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMci/jobs/keeper_stress_job.py45# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMci/jobs/keeper_stress_job.py47# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMci/jobs/keeper_stress_job.py472# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMci/jobs/keeper_stress_job.py474# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py327 # ============================================================STRING
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py329 # ============================================================STRING
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py403 # ============================================================STRING
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py405 # ============================================================STRING
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py619 # ============================================================STRING
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py621 # ============================================================STRING
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py716 # ============================================================STRING
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py718 # ============================================================STRING
MEDIUMtests/casa_del_dolor/catalogs/datagenerator.py235 # ============================================================COMMENT
MEDIUMtests/casa_del_dolor/catalogs/datagenerator.py237 # ============================================================COMMENT
MEDIUMtests/integration/test_ttl_move/test.py42# ---------------------------------COMMENT
MEDIUMtests/integration/test_ttl_move/test.py152# ---------------------------------STRING
MEDIUM…ration/test_executable_pool_udf_profile_events/test.py209# -----------------------------------------------------------------------------COMMENT
MEDIUM…ration/test_executable_pool_udf_profile_events/test.py213# -----------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py167# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py169# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py342# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py344# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py672# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py674# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py741# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py746# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py859# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py861# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py942# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py944# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py27# ---------------------------------------------------------------------------COMMENT
MEDIUM…storage_iceberg_with_spark/test_remove_orphan_files.py168# ---------------------------------------------------------------------------COMMENT
MEDIUM…storage_iceberg_with_spark/test_remove_orphan_files.py170# ---------------------------------------------------------------------------COMMENT
MEDIUM…storage_iceberg_with_spark/test_remove_orphan_files.py22# ---------------------------------------------------------------------------COMMENT
MEDIUM…storage_iceberg_with_spark/test_remove_orphan_files.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py18# ---------------------------------------------------------------------------COMMENT
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py27# ---------------------------------------------------------------------------COMMENT
528 more matches not shown…
Excessive Try-Catch Wrapping1001 hits · 1102 pts
SeverityFileLineSnippetContext
LOWci/docker/reqgenerator.py62 except Exception as ex:CODE
LOWci/praktika/digest.py20 except Exception:CODE
MEDIUMci/praktika/runner.py269def _restore_submodule_cache():CODE
LOWci/praktika/runner.py44 except Exception as e:CODE
LOWci/praktika/runner.py293 except Exception as e:CODE
LOWci/praktika/runner.py326 except Exception as e:CODE
LOWci/praktika/runner.py567 except Exception as e: # json.decoder.JSONDecodeErrorCODE
LOWci/praktika/runner.py669 except Exception as e:CODE
LOWci/praktika/runner.py748 except Exception as ex:CODE
LOWci/praktika/runner.py777 except Exception as ex:CODE
LOWci/praktika/runner.py803 except Exception as e:CODE
LOWci/praktika/runner.py874 except Exception as e:CODE
LOWci/praktika/runner.py897 except Exception as e:CODE
LOWci/praktika/runner.py931 except Exception as e:CODE
LOWci/praktika/runner.py939 except Exception as e:CODE
LOWci/praktika/runner.py1032 except Exception as e:CODE
LOWci/praktika/runner.py1061 except Exception as e:CODE
LOWci/praktika/runner.py1105 except Exception as e:CODE
LOWci/praktika/event.py282 except Exception as e:CODE
LOWci/praktika/event.py394 except Exception as e:CODE
MEDIUMci/praktika/event.py648 print(f"Error reading reverse lookup file: {e}")CODE
LOWci/praktika/gh.py256 except Exception as ex:CODE
LOWci/praktika/gh.py286 except Exception:CODE
LOWci/praktika/gh.py610 except Exception as e:CODE
LOWci/praktika/gh.py630 except Exception:CODE
LOWci/praktika/gh.py755 except Exception:CODE
LOWci/praktika/gh.py790 except Exception:CODE
LOWci/praktika/gh.py1051 except Exception:CODE
LOWci/praktika/gh.py1147 except Exception:CODE
LOWci/praktika/job.py310 except Exception as e:CODE
LOWci/praktika/mangle.py18 except Exception:CODE
LOWci/praktika/mangle.py90 except Exception as e:CODE
MEDIUMci/praktika/result.py2068 print(f"Error decoding line in jsonl file: {e}")CODE
LOWci/praktika/result.py150 except Exception:CODE
LOWci/praktika/result.py919 except Exception as e:CODE
LOWci/praktika/result.py1040 except Exception as e:CODE
LOWci/praktika/result.py1409 except Exception as e:CODE
LOWci/praktika/result.py1444 except Exception as e:CODE
LOWci/praktika/result.py1602 except Exception as e:CODE
LOWci/praktika/result.py1794 except Exception:CODE
LOWci/praktika/result.py1810 except Exception:CODE
LOWci/praktika/result.py1964 except Exception:CODE
LOWci/praktika/result.py2021 except Exception:CODE
LOWci/praktika/result.py2117 except Exception as e:CODE
LOWci/praktika/hook_html.py38 except Exception as e:CODE
LOWci/praktika/utils.py273 except Exception:CODE
LOWci/praktika/utils.py435 except Exception as e:CODE
LOWci/praktika/utils.py524 except Exception as e:CODE
LOWci/praktika/utils.py536 except Exception as e:CODE
MEDIUMci/praktika/utils.py518def terminate_process_group(pid, force=False):CODE
MEDIUMci/praktika/utils.py530def terminate_process(pid, force=False):CODE
LOWci/praktika/settings.py226 except Exception:CODE
LOWci/praktika/cidb.py281 except Exception as ex:CODE
LOWci/praktika/cidb.py320 except Exception as ex:CODE
LOWci/praktika/cidb.py426 except Exception as ex:CODE
LOWci/praktika/issue.py84 except Exception as e:CODE
LOWci/praktika/native_jobs.py273 except Exception as e:CODE
LOWci/praktika/native_jobs.py599 except Exception as e:CODE
LOWci/praktika/native_jobs.py750 except Exception as e:CODE
LOWci/praktika/native_jobs.py812 except Exception:CODE
941 more matches not shown…
Cross-Language Confusion180 hits · 984 pts
SeverityFileLineSnippetContext
HIGHci/docker/sqlancer-test/swap-clickhouse-jdbc.py133 " if (select.getJoinList().size() == 0 && select.getFromList().size() <= 2) {\n"CODE
HIGHci/docker/sqlancer-test/swap-clickhouse-jdbc.py144 " if (select.getJoinList().size() == 0 && select.getFromList().size() <= 2) {\n"CODE
HIGHci/tests/test_print_stacktraces.py10``args`` is undefined, and any helper that closed over it crashed withSTRING
HIGHci/praktika/yaml_generator.py236 sudo apt-get update && sudo apt install -y python3-pipCODE
HIGHci/praktika/native_jobs.py578 "git rev-parse --is-shallow-repository | grep -q true && git fetch --unshallow --prune --no-recurse-submodules -CODE
HIGHci/praktika/infrastructure/runner/runner-init.py548launchctl disable system/com.apple.bluetoothd || trueCODE
HIGHci/praktika/infrastructure/runner/runner-init.py554mdutil -a -i off || trueCODE
HIGHci/praktika/infrastructure/runner/runner-init.py555rm -rf /.Spotlight-V100 || trueCODE
HIGHci/jobs/performance_tests.py1032 f"git rev-parse --is-shallow-repository | grep -q true && git fetch --unshallow --prune --no-recurse-submoduCODE
HIGHci/jobs/performance_tests.py1036 f"rm -rf ./tests/performance && git checkout {reference_sha} ./tests/performance",CODE
HIGHci/jobs/install_check.py46 clickhouse-client --receive_timeout=5 -q 'SELECT version()' && break || sleep 1CODE
HIGHci/jobs/install_check.py56 > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1CODE
HIGHci/jobs/install_check.py56 > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1CODE
HIGHci/jobs/install_check.py64 } && break || sleep 1CODE
HIGHci/jobs/install_check.py74 clickhouse-client --receive_timeout=5 -q 'SELECT version()' && break || sleep 1CODE
HIGHci/jobs/install_check.py79 > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1CODE
HIGHci/jobs/install_check.py79 > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1CODE
HIGHci/jobs/install_check.py87 } && break || sleep 1CODE
HIGHci/jobs/install_check.py149[ -f /etc/debian_version ] && CONFIGURE=configure || CONFIGURE=CODE
HIGHci/jobs/install_check.py159[ -f /etc/debian_version ] && CONFIGURE=configure || CONFIGURE=CODE
HIGHci/jobs/keeper_stress_job.py487 Shell.run("docker system prune -af --volumes || true; docker builder prune -af || true; docker network prune -f || tCODE
HIGHci/jobs/keeper_stress_job.py595 Shell.run("docker system prune -af --volumes || true; docker network prune -f || true")CODE
HIGHci/jobs/build_toolchain.py669 f" -exec sh -c 'file \"$1\" | grep -q ELF && strip --strip-unneeded \"$1\"' _ {{}} \\;"CODE
HIGHci/jobs/collect_clickhouse_profiles.py157 Shell.check(f"df -h {temp_dir} 2>/dev/null || df -h", verbose=True)CODE
HIGHci/jobs/collect_clickhouse_profiles.py158 Shell.check("free -h 2>/dev/null || head -3 /proc/meminfo", verbose=True)CODE
HIGHci/jobs/collect_clickhouse_profiles.py508 Shell.check(f"cp -al {PERF_DB_PATH} {server_dir}/db || cp -r {PERF_DB_PATH} {server_dir}/db")CODE
HIGHci/jobs/collect_clickhouse_profiles.py509 Shell.check(f"cp -R {PERF_WD}/coordination0 {server_dir}/coordination || mkdir -p {server_dir}/coordination")CODE
HIGHci/jobs/collect_clickhouse_profiles.py560 r = Shell.check(f"mkdir -p {PGO_BUILD_DIR} && git submodule sync && git submodule init")CODE
HIGHci/jobs/build_clickhouse.py233 f"mkdir -p {build_dir} && git submodule sync && git submodule init"CODE
HIGHci/jobs/docs_job.py99 "export DOCUSAURUS_IGNORE_SSG_WARNINGS=true && yarn build-docs",CODE
HIGHci/jobs/llvm_coverage_job.py43 check = Shell.get_output(f"wget --spider '{url}' 2>&1 || true", verbose=False)CODE
HIGHci/jobs/scripts/print_newly_covered_code.py203 current_file: str | None = None # +++ b/... path (None = /dev/null)CODE
HIGHci/jobs/scripts/clickhouse_proc.py198 "(ulimit -n 1048576 2>/dev/null || ulimit -n $(ulimit -Hn)) && "STRING
HIGHci/jobs/scripts/clickhouse_proc.py1229 "head -n 1 || true"STRING
HIGHci/jobs/scripts/clickhouse_proc.py1232 f"cd {self.log_dir} && grep -a '<Fatal>' clickhouse-server*.log 2>/dev/null | head -n 1 || true"STRING
HIGHci/jobs/scripts/clickhouse_proc.py1576 f"cat /usr/share/zoneinfo/{tz} > /etc/localtime && echo '{tz}' > /etc/timezone",STRING
HIGHci/jobs/scripts/functional_tests/export_coverage.py53 f"rm -rf {temp_dir}/system_tables && mkdir -p {temp_dir}/system_tables"CODE
HIGHci/jobs/scripts/check_style/filter_embedded_docs.py16 <check producing path:lineno hits> | filter_embedded_docs.py && echo "violation"STRING
HIGHci/jobs/scripts/workflow_hooks/version_log.py13 f"git rev-parse --is-shallow-repository | grep -q true && git fetch --unshallow --prune --no-recurse-submodules CODE
HIGHci/jobs/scripts/stress/stress.py82 "pgrep -f 'clickhouse-client|clickhouse client' 2>/dev/null || true",CODE
HIGHci/jobs/scripts/stress/stress.py460 "timeout 50s tail --pid=$(pidof gdb) -f /dev/null || kill -9 $(pidof gdb) ||:",CODE
HIGHci/defs/job_configs.py236 'for i in $(seq 2 16); do sudo ifconfig lo0 -alias 127.0.0.$i 2>/dev/null || true; done',CODE
HIGHtests/ci/create_release.py28mkdir actions-runner && cd actions-runnerSTRING
HIGHtests/ci/create_release.py48dpkg-buildpackage -b --no-sign && sudo dpkg -i ../reprepro_$(dpkg-parsechangelog --show-field Version)_$(dpkg-architectuSTRING
HIGHtests/ci/artifactory.py84 _CLEAN_LOG_FILE_CMD = f"tail -n 1000 {self.LOG_FILE} > {self.LOG_FILE}_tmp && mv {self.LOG_FILE}_tmp {self.LOG_FCODE
HIGHtests/ci/artifactory.py289 rpm_command = f"dnf config-manager --add-repo={self.repo_url} && dnf makecache && dnf -y install clickhouse-clieCODE
HIGHtests/ci/artifactory.py290 cmd = f'docker run --rm fedora:{self.FEDORA_VERSION} /bin/bash -c "dnf -y install dnf-plugins-core && dnf configCODE
HIGHtests/ci/artifactory.py295 rpm_command_2 = f"dnf config-manager --add-repo={self.repo_url} && dnf makecache && dnf -y install clickhouse-clCODE
HIGHtests/ci/artifactory.py296 cmd = f'docker run --rm fedora:{self.FEDORA_VERSION} /bin/bash -c "dnf -y install dnf-plugins-core && dnf configCODE
HIGHtests/ci/ssh.py41 f"{ssh_options}UserKnownHostsFile=/dev/null,StrictHostKeyChecking=no"CODE
HIGHtests/ci/report.py266 return elem.children[idx].innerText || elem.children[idx].textContent;CODE
HIGHtests/ci/report.py270 v1 !== '' && v2 !== '' && !isNaN(v1) && !isNaN(v2) ? v1 - v2 : v1.toString().localeCompare(v2)CODE
HIGHtests/ci/report.py295 document.getElementById('fish').style.display = (document.body.clientHeight > 3000 && theme == 'dark') ? 'block'CODE
HIGHtests/ci/report.py302 if (new_theme && new_theme != theme) {{CODE
HIGH…zero_database_access/test_user_zero_database_access.py133 "export CLICKHOUSE_USER=env_user_with_password && export CLICKHOUSE_PASSWORD=clickhouse && /usr/bin/clicCODE
HIGHtests/integration/test_postgresql_protocol/test.py513 f"cd /pg_testapp && dotnet run -- --host {node.hostname} --port {server_port} --username default --password CODE
HIGH…n/test_keeper_https_control_standalone_cluster/test.py95 ["bash", "-c", "kill {pid} >/dev/null 2>&1 || true".format(pid=pid)],CODE
HIGH…n/test_keeper_https_control_standalone_cluster/test.py107 "kill -0 {pid} 2>/dev/null && echo yes || echo no".format(pid=pid),CODE
HIGH…n/test_keeper_https_control_standalone_cluster/test.py107 "kill -0 {pid} 2>/dev/null && echo yes || echo no".format(pid=pid),CODE
HIGHtests/integration/test_attach_without_fetching/test.py130 f"cd {data_path}detached/2_0_0_0 && ls *.bin",CODE
120 more matches not shown…
Self-Referential Comments158 hits · 454 pts
SeverityFileLineSnippetContext
MEDIUMci/praktika/result.py1813 # Create a result for the module/node that failed to collectCOMMENT
MEDIUMci/praktika/cidb.py199 # Create the base recordCOMMENT
MEDIUMci/praktika/cidb.py403 # Create a session objectCOMMENT
MEDIUMci/jobs/build_toolchain.py359 # Create a minimal stub sysroot for cross-target builtins compilation.COMMENT
MEDIUMci/jobs/sqlstorm_test.py172 # Create the remote `system.*_log` tables and the materialized viewsSTRING
MEDIUMci/jobs/collect_clickhouse_profiles.py797 # Create an empty marker so the artifact still uploadsCOMMENT
MEDIUMci/jobs/scripts/functional_tests/setup_log_cluster.sh96 # Create the destination table with adapted name and structure:COMMENT
MEDIUMci/jobs/scripts/check_style/check-mypy-diff.py339 # Create a worktree for the base branch (master) to compareCOMMENT
MEDIUMtests/casa_del_dolor/properties.py33 # Create a list of valid charactersCOMMENT
MEDIUMtests/casa_del_dolor/properties.py1695 # Create a temporary fileCOMMENT
MEDIUMtests/casa_del_dolor/properties.py1739 # Create a temporary fileCOMMENT
MEDIUMtests/casa_del_dolor/utils/httpserver.py205 # Create a handler factory with custom argumentsCOMMENT
MEDIUMtests/ci/create_release.py25# Create a folderSTRING
MEDIUMtests/integration/test_keeper_client_config/test.py49 # Create an ACL-protected node for identity testsCOMMENT
MEDIUMtests/integration/test_postgresql_protocol/test.py529 # Create a restricted user that can only SELECT from default databaseCOMMENT
MEDIUMtests/integration/test_merge_tree_s3/test.py769 # Create a dummy file of 2M size to fill the disk space of cache diskSTRING
MEDIUM…s/integration/test_keeper_max_append_byte_size/test.py84 # Create the base path onceCOMMENT
MEDIUM…egration/test_restore_replica_metadata_version/test.py64 # Create a partCOMMENT
MEDIUM…tion/test_postgresql_replica_database_engine/test_3.py361 # Create a table with wrong table structureSTRING
MEDIUMtests/integration/test_distributed_format/test.py243 # Create a malformed directory that would cause the bugSTRING
MEDIUMtests/integration/test_distributed_format/test.py247 # Create a dummy file so the directory isn't considered emptySTRING
MEDIUMtests/integration/test_storage_s3/test.py2225 # Creating the table resolves the server credentials (the bare URL uses the global <s3>COMMENT
MEDIUMtests/integration/test_storage_s3/test.py2286 # Creating the table requires opting in -- the disk resolves the server's environment credentials.COMMENT
MEDIUMtests/integration/test_encrypted_disk/test.py408 # Create a table without data.STRING
MEDIUMtests/integration/test_filesystem/test.py39 # Create a controlled directory outside user_files for symlink testing.COMMENT
MEDIUM…ation/test_attach_table_from_s3_plain_readonly/test.py67 # Create an atomic DB with mergetree sample dataCOMMENT
MEDIUM…ation/test_attach_table_from_s3_plain_readonly/test.py93 # Create a replicated databaseCOMMENT
MEDIUM…ation/test_attach_table_from_s3_plain_readonly/test.py101 # Create a MergeTree table at one node, by attaching the merge tree dataCOMMENT
MEDIUMtests/integration/test_keeper_invalid_digest/test.py78 # Create a zookeeper connection to node1COMMENT
MEDIUM…iceberg_with_spark/test_metadata_file_path_security.py22 # Create a simple Iceberg table with a few versionsCOMMENT
MEDIUMtests/integration/test_refreshable_mv/test.py580 # Create the MV on node2 without waiting for node1. `EMPTY`+`EVERY 1 YEAR` avoid any refresh,COMMENT
MEDIUMtests/integration/test_refreshable_mv/test.py663 # Create the MV on node2 without waiting for node1; its initial refresh EXCHANGEs re.repro_tgt_storage.COMMENT
MEDIUMtests/integration/test_backup_restore_new/test.py520 # Create a column of 4GB+10KSTRING
MEDIUMtests/integration/test_backup_restore_new/test.py2007 # Create a materialized view and a dictionary with a local table as source.STRING
MEDIUM…/test_storage_kafka/test_schema_registry_skip_bytes.py100 # Create a binary message with 19-byte envelope header + JSON payloadCOMMENT
MEDIUMtests/integration/test_dictionaries_mysql/test.py57 # Create a MySQL databaseSTRING
MEDIUMtests/integration/test_storage_mysql/test.py794 # Create a second engine table pointing at performance_schema.session_status toSTRING
MEDIUMtests/integration/test_storage_mysql/test.py900 # Create a DATABASE pointing at performance_schema, then read session_status throughSTRING
MEDIUMtests/integration/test_scheduler_io/test.py1124 # Create a test configuration with resources and workloadsCOMMENT
MEDIUMtests/integration/test_refreshable_mat_view/test.py90 # Create a custom environment and add the functionsCOMMENT
MEDIUM…gration/test_backup_restore_azure_blob_storage/test.py425 # Create a named collection via SQLCOMMENT
MEDIUM…gration/test_backup_restore_azure_blob_storage/test.py470 # Create a named collection via SQL with placeholder blob_pathCOMMENT
MEDIUM…tegration/test_refreshable_mat_view_replicated/test.py94 # Create a custom environment and add the functionsCOMMENT
MEDIUM…ntegration/test_dictionaries_update_and_reload/test.py237 # Creating the file source makes the dictionary able to load.COMMENT
MEDIUM…ntegration/test_dictionaries_update_and_reload/test.py279 # Creating the file source makes the dictionary able to load.COMMENT
MEDIUMtests/integration/test_backup_restore_s3/test.py412 # Create a named collection via SQLCOMMENT
MEDIUMtests/integration/test_backup_restore_s3/test.py435 # Create a named collection via SQL with a placeholder URLCOMMENT
MEDIUMtests/integration/test_allow_feature_tier/test.py136 # Creating a different table should not be possibleSTRING
MEDIUMtests/integration/test_allow_feature_tier/test.py148 # Creating a different table and altering its settings to enable experimental should not be possible eitherSTRING
MEDIUMtests/integration/test_keeper_raft_cert_reload/test.py112 # Create a node from first nodeCOMMENT
MEDIUM…/integration/test_ldap_external_user_directory/test.py179 # Create the underlying table on both nodes.COMMENT
MEDIUM…/integration/test_ldap_external_user_directory/test.py190 # Create a Distributed table on instance1 that points to local_table.COMMENT
MEDIUMtests/integration/test_arrowflight_storage/test.py194 # Create a named collection for ArrowFlightCOMMENT
MEDIUMtests/integration/test_arrowflight_storage/test.py231 # Create a named collection with authenticationCOMMENT
MEDIUMtests/integration/test_arrowflight_storage/test.py269 # Create a named collection for ArrowFlight storageCOMMENT
MEDIUMtests/integration/helpers/cluster.py6361 # Create a dictionary containing cluster & instance env variables.COMMENT
MEDIUM…ration/test_zero_copy_drop_table_with_leftover/test.py70 # Create a fake part directory that is NOT tracked in data_parts_by_info.COMMENT
MEDIUM…ration/test_zero_copy_drop_table_with_leftover/test.py194 # Create a fake leftover part directoryCOMMENT
MEDIUM…ies/0_stateless/04057_backup_replicated_db_recreate.sh51# Create the original database with a handful of tables so `max_log_ptr` advancesCOMMENT
MEDIUM…s/queries/0_stateless/03837_db_table_uuid_collision.sh4# Creating a table via ON CLUSTER with the same UUID as an existing database should giveCOMMENT
98 more matches not shown…
Deep Nesting416 hits · 377 pts
SeverityFileLineSnippetContext
LOWci/infra/scripts/update_userdata.py192CODE
LOWci/infra/scripts/update_userdata.py327CODE
LOWci/docker/reqgenerator.py36CODE
LOWci/docker/reqgenerator.py49CODE
LOWci/tests/test_cleanup_test_groups.py49CODE
LOWci/praktika/validator.py15CODE
LOWci/praktika/validator.py321CODE
LOWci/praktika/digest.py106CODE
LOWci/praktika/runner.py168CODE
LOWci/praktika/runner.py297CODE
LOWci/praktika/runner.py609CODE
LOWci/praktika/runner.py954CODE
LOWci/praktika/runner.py993CODE
LOWci/praktika/event.py65CODE
LOWci/praktika/yaml_generator.py310CODE
LOWci/praktika/gh.py229CODE
LOWci/praktika/gh.py569CODE
LOWci/praktika/gh.py634CODE
LOWci/praktika/gh.py1118CODE
LOWci/praktika/gh.py1274CODE
LOWci/praktika/gh.py1129CODE
LOWci/praktika/job.py272CODE
LOWci/praktika/mangle.py23CODE
LOWci/praktika/mangle.py160CODE
LOWci/praktika/hook_cache.py13CODE
LOWci/praktika/parser.py88CODE
LOWci/praktika/result.py122CODE
LOWci/praktika/result.py434CODE
LOWci/praktika/result.py603CODE
LOWci/praktika/result.py732CODE
LOWci/praktika/result.py852CODE
LOWci/praktika/result.py1360CODE
LOWci/praktika/result.py1458CODE
LOWci/praktika/result.py1536CODE
LOWci/praktika/result.py1684CODE
LOWci/praktika/secret.py29CODE
LOWci/praktika/utils.py314CODE
LOWci/praktika/utils.py673CODE
LOWci/praktika/utils.py733CODE
LOWci/praktika/utils.py841CODE
LOWci/praktika/utils.py1143CODE
LOWci/praktika/utils.py38CODE
LOWci/praktika/utils.py97CODE
LOWci/praktika/_environment.py67CODE
LOWci/praktika/cidb.py245CODE
LOWci/praktika/cidb.py293CODE
LOWci/praktika/cidb.py402CODE
LOWci/praktika/workflow.py87CODE
LOWci/praktika/issue.py523CODE
LOWci/praktika/native_jobs.py111CODE
LOWci/praktika/native_jobs.py287CODE
LOWci/praktika/native_jobs.py369CODE
LOWci/praktika/native_jobs.py959CODE
LOWci/praktika/s3.py92CODE
LOWci/praktika/s3.py253CODE
LOWci/praktika/s3.py294CODE
LOWci/praktika/s3.py573CODE
LOWci/praktika/__main__.py294CODE
LOWci/praktika/execution/machine_init.py26CODE
LOWci/praktika/infrastructure/iam_instance_profile.py30CODE
356 more matches not shown…
Verbosity Indicators148 hits · 257 pts
SeverityFileLineSnippetContext
LOWci/praktika/json.html2206 // Step 1: Fetch sync metadataCOMMENT
LOWci/praktika/json.html2225 // Step 2: Fetch private PR resultCOMMENT
LOWci/praktika/json.html2243 // Step 3: Transform results — prefix names, add downstream href, rewrite linksCOMMENT
LOWci/praktika/hook_cache.py95 # Step 1: Separate jobs into two groups based on digest prefix relationshipsCOMMENT
LOWci/praktika/hook_cache.py135 # Step 2: Fetch records for root jobsCOMMENT
LOWci/praktika/hook_cache.py150 # Step 3: Filter dependent jobs - only fetch if their prefix was successfully fetchedCOMMENT
LOWci/praktika/hook_cache.py163 # Step 4: Fetch records for filtered dependent jobsCOMMENT
LOWci/praktika/hook_cache.py176 # Step 2: Apply the fetched records sequentiallyCOMMENT
LOWci/jobs/sqllogic_test.py460 # Step 1: Start ClickHouseCOMMENT
LOWci/jobs/sqllogic_test.py473 # Step 2: Clone sqllogictest repoCOMMENT
LOWci/jobs/sqllogic_test.py508 # Step 3: Run self-testCOMMENT
LOWci/jobs/sqllogic_test.py531 # Step 4: Run statements-testCOMMENT
LOWci/jobs/sqllogic_test.py554 # Step 5: Run complete-testCOMMENT
LOWci/jobs/sqllogic_test.py577 # Step 6: Generate report, check thresholds, and detect new failuresCOMMENT
LOWci/jobs/build_toolchain.py485 # Step 1: Instrument clang with BOLTCOMMENT
LOWci/jobs/build_toolchain.py505 # Step 2: Create symlinks for the instrumented binary so cmake canCOMMENT
LOWci/jobs/build_toolchain.py519 # Step 3: Configure ClickHouse build with BOLT-instrumented clangCOMMENT
LOWci/jobs/build_toolchain.py543 # Step 4: Time-limited build to collect BOLT profilesCOMMENT
LOWci/jobs/build_toolchain.py568 # Step 5: Merge BOLT profilesCOMMENT
LOWci/jobs/build_toolchain.py582 # Step 6: Apply BOLT optimizationCOMMENT
LOWci/jobs/build_toolchain.py605 # Step 7: Replace original binary with BOLTed versionCOMMENT
LOWci/jobs/sqlstorm_test.py344 # Step 0: Run the query-rewriter unit tests so they gate this PR and anyCOMMENT
LOWci/jobs/sqlstorm_test.py354 # Step 1: Start ClickHouseCOMMENT
LOWci/jobs/sqlstorm_test.py378 # Step 2: Clone SQLStorm repo (for queries)COMMENT
LOWci/jobs/sqlstorm_test.py412 # Step 3: Clone OLAPBench repo (for schema definition)COMMENT
LOWci/jobs/sqlstorm_test.py443 # Step 4: Download StackOverflow DBA datasetCOMMENT
LOWci/jobs/sqlstorm_test.py483 # Step 5: Run benchmarkCOMMENT
LOWci/jobs/sqlstorm_test.py526 # Step 6: Generate report and check thresholdsCOMMENT
LOWci/jobs/ast_fuzzer_job.py141 # Step 1: changed/new test files in this PRCOMMENT
LOWci/jobs/ast_fuzzer_job.py146 # Step 2: tests that failed in previous CI runs for this PRCOMMENT
LOWci/jobs/ast_fuzzer_job.py155 # Step 3: coverage-relevant tests (direct lines, indirect callees, siblings)COMMENT
LOWtests/ci/pr_info.py104 # We need to check if the PR is created in our repo, becauseCOMMENT
LOWtests/ci/cherry_pick.py972 # We need to check if there is an open release branch for each cherry-pick PRCOMMENT
LOWtests/ci/cherry_pick.py991 # And then, we need to check if the original PR is marked as backported for anyCOMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py388 # Step 1: Verify initial 6 rowsCOMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py404 # Step 2: Add files in middle and end of existing partitionsCOMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py436 # Step 3: Add files for new hostname and newer timestampCOMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py457 # Step 4: Restart ClickHouse node (test persistence)COMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py465 # Step 5: Add mixed files (some before, some after max processed)COMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py487 # Step 6: Verify ZooKeeper structure - check partition keysCOMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py256 # Step 1: Add node4 to the cluster.COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py290 # Step 2: Remove the first follower.COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py313 # Step 3: Add node5 to the cluster. node1/3/4 are active at this point,COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py339 # Step 4: Remove the second follower.COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py359 # Step 5: Add node6 to the cluster. node1/4/5 are active at this point,COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py385 # Step 6: Yield leadership so that node4, node5, or node6 wins the nextCOMMENT
LOWtests/integration/test_ttl_multilevel_group_by/test.py58 # Step 1: Ensure all 10 rows were insertedSTRING
LOWtests/integration/test_ttl_multilevel_group_by/test.py62 # Step 2: Wait for the first TTL (13 seconds) to apply — should reduce to 6 rows (one per item_id)STRING
LOWtests/integration/test_ttl_multilevel_group_by/test.py66 # Step 3: Wait for second TTL (18 seconds since insert) to apply — should reduce to 2 rows (one per user_id)STRING
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh46# Step 1: create the data lake target with the deflate metadata format so theCOMMENT
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh54# Step 2: corrupt the on-disk metadata via an INSERT with an out-of-rangeCOMMENT
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh63# Step 3: build the dependency chain - a plain `MergeTree` source plus aCOMMENT
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh72# Step 4: DETACH+ATTACH the data lake target to clear the in-memoryCOMMENT
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh79# Step 5: INSERT into the source. The dependency builder will reachCOMMENT
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh31# Step 1: create the table with the deflate metadata format.COMMENT
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh38# Step 2: provoke the corrupt-metadata-on-disk state via an INSERT with anCOMMENT
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh45# Step 3: detach + attach to clear the in-memory `current_metadata` cache,COMMENT
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh53# Step 4: the previously-crashing operations must now raise a regularCOMMENT
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh18# Step 1: Create table and populate with two INSERTs.COMMENT
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh28# Step 2: Re-create the table pointing to v1 metadata (time-travel).COMMENT
88 more matches not shown…
Cross-File Repetition51 hits · 255 pts
SeverityFileLineSnippetContext
HIGH…ation/test_database_iceberg_lakekeeper_catalog/test.py0drop database if exists {name}; set allow_database_iceberg=true; set write_full_path_in_iceberg_metadata=1; create databSTRING
HIGH…tegration/test_database_iceberg_nessie_catalog/test.py0drop database if exists {name}; set allow_database_iceberg=true; set write_full_path_in_iceberg_metadata=1; create databSTRING
HIGHtests/integration/test_database_iceberg/test.py0drop database if exists {name}; set allow_database_iceberg=true; set write_full_path_in_iceberg_metadata=1; create databSTRING
HIGH…_iceberg_no_spark/test_read_in_order_with_pyiceberg.py0drop database if exists {name}; set allow_database_iceberg=true; set write_full_path_in_iceberg_metadata=1; create databSTRING
HIGH…ation/test_database_iceberg_lakekeeper_catalog/test.py0create database {catalog_name} engine = datalakecatalog('{base_url}', 'minio', '{minio_secret_key}') settings {",".join(STRING
HIGH…tegration/test_database_iceberg_nessie_catalog/test.py0create database {catalog_name} engine = datalakecatalog('{base_url}', 'minio', '{minio_secret_key}') settings {",".join(STRING
HIGHtests/integration/test_database_iceberg/test.py0create database {catalog_name} engine = datalakecatalog('{base_url}', 'minio', '{minio_secret_key}') settings {",".join(STRING
HIGH…ation/test_database_iceberg_lakekeeper_catalog/test.py0set allow_experimental_database_iceberg = 1; create database {catalog_name} engine = datalakecatalog('{base_url}', 'miniSTRING
HIGHtests/integration/test_database_iceberg/test.py0set allow_experimental_database_iceberg = 1; create database {catalog_name} engine = datalakecatalog('{base_url}', 'miniSTRING
HIGH…tegration/test_database_iceberg_nessie_catalog/test.py0set allow_experimental_database_iceberg = 1; create database {catalog_name} engine = datalakecatalog('{base_url}', 'miniSTRING
HIGHtests/integration/test_reload_zookeeper/test.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo1</host> <port>2181</port> </node> <session_timeout_ms>2000</session_STRING
HIGH…gration/test_replicated_user_defined_functions/test.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo1</host> <port>2181</port> </node> <session_timeout_ms>2000</session_STRING
HIGHtests/integration/test_replicated_users/test.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo1</host> <port>2181</port> </node> <session_timeout_ms>2000</session_STRING
HIGHtests/integration/test_reload_zookeeper/test.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_STRING
HIGH…gration/test_replicated_user_defined_functions/test.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_STRING
HIGHtests/integration/test_replicated_users/test.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_STRING
HIGH…s/integration/test_reload_auxiliary_zookeepers/test.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_STRING
HIGHtests/integration/test_s3_with_https/test.py0create table encrypted_test ( id int64, data string ) engine=mergetree() order by id settings storage_policy='{new_storaSTRING
HIGHtests/integration/helpers/s3_url_proxy_tests_util.py0create table encrypted_test ( id int64, data string ) engine=mergetree() order by id settings storage_policy='{new_storaSTRING
HIGHtests/integration/test_encrypted_disk/test.py0create table encrypted_test ( id int64, data string ) engine=mergetree() order by id settings storage_policy='{new_storaSTRING
HIGH…egration/test_merge_tree_check_part_with_cache/test.py0create table encrypted_test ( id int64, data string ) engine=mergetree() order by id settings storage_policy='{new_storaSTRING
HIGHtests/integration/test_plain_rewr_legacy_layout/test.py0create table encrypted_test ( id int64, data string ) engine=mergetree() order by id settings storage_policy='{new_storaSTRING
HIGHtests/integration/test_merge_tree_s3/test.py0create table {table_name} ( dt date, id int64, data string, index min_max (id) type minmax granularity 3 ) engine = {tabSTRING
HIGH…integration/test_merge_tree_azure_blob_storage/test.py0create table {table_name} ( dt date, id int64, data string, index min_max (id) type minmax granularity 3 ) engine = {tabSTRING
HIGH…_storage_azure_blob_storage/test_check_after_upload.py0create table {table_name} ( dt date, id int64, data string, index min_max (id) type minmax granularity 3 ) engine = {tabSTRING
HIGHtests/integration/test_alter_moving_garbage/test.py0create table {table_name} ( dt date, id int64, data string, index min_max (id) type minmax granularity 3 ) engine = {tabSTRING
HIGHtests/integration/test_storage_iceberg_disks/test.py0select query, type, is_initial_query, read_rows, read_bytes from system.query_log where type = 'querystart' and positionSTRING
HIGH…rage_iceberg_with_spark/test_cluster_table_function.py0select query, type, is_initial_query, read_rows, read_bytes from system.query_log where type = 'querystart' and positionSTRING
HIGHtests/integration/test_database_iceberg/test.py0select query, type, is_initial_query, read_rows, read_bytes from system.query_log where type = 'querystart' and positionSTRING
HIGHtests/integration/test_https_replication/test.py0create database test; create table real_table(date date, id uint32, dummy uint32) engine = mergetree partition by toyyyySTRING
HIGH…s/integration/test_https_replication/test_change_ip.py0create database test; create table real_table(date date, id uint32, dummy uint32) engine = mergetree partition by toyyyySTRING
HIGHtests/integration/test_replication_credentials/test.py0create database test; create table real_table(date date, id uint32, dummy uint32) engine = mergetree partition by toyyyySTRING
HIGHtests/integration/test_replace_partition/test.py0create database test; create table real_table(date date, id uint32, dummy uint32) engine = mergetree partition by toyyyySTRING
HIGHtests/integration/test_row_policy/test.py0create database mydb; create table mydb.filtered_table1 (a uint8, b uint8) engine mergetree order by a; insert into mydbSTRING
HIGH…isabled_access_control_improvements/test_row_policy.py0create database mydb; create table mydb.filtered_table1 (a uint8, b uint8) engine mergetree order by a; insert into mydbSTRING
HIGH…ments/test_users_without_row_policies_can_read_rows.py0create database mydb; create table mydb.filtered_table1 (a uint8, b uint8) engine mergetree order by a; insert into mydbSTRING
HIGHtests/integration/test_hedged_requests_parallel/test.py0<clickhouse> <profiles> <default> <sleep_in_send_data_ms>{sleep_in_send_data_ms}</sleep_in_send_data_ms> </default> </prSTRING
HIGHtests/integration/test_hedged_requests/test.py0<clickhouse> <profiles> <default> <sleep_in_send_data_ms>{sleep_in_send_data_ms}</sleep_in_send_data_ms> </default> </prSTRING
HIGHtests/integration/test_secure_socket/test.py0<clickhouse> <profiles> <default> <sleep_in_send_data_ms>{sleep_in_send_data_ms}</sleep_in_send_data_ms> </default> </prSTRING
HIGH…ration/test_cluster_discovery/test_dynamic_clusters.py0start cluster, check nodes count in system.clusters, then stop/start some nodes and check that it (dis)appeared in clustSTRING
HIGH…ration/test_cluster_discovery/test_auxiliary_keeper.py0start cluster, check nodes count in system.clusters, then stop/start some nodes and check that it (dis)appeared in clustSTRING
HIGHtests/integration/test_cluster_discovery/test.py0start cluster, check nodes count in system.clusters, then stop/start some nodes and check that it (dis)appeared in clustSTRING
HIGH…st_storage_iceberg_concurrent/test_concurrent_reads.py0create table {table_name} ( number int ) using iceberg options('format-version'='2');STRING
HIGH…ceberg_interoperability_azure/test_interoperability.py0create table {table_name} ( number int ) using iceberg options('format-version'='2');STRING
HIGH…est_storage_iceberg_interoperability_azure/conftest.py0create table {table_name} ( number int ) using iceberg options('format-version'='2');STRING
HIGH…ts/integration/test_zookeeper_fallback_session/test.py0create table simple (date date, id uint32) engine = replicatedmergetree('/clickhouse/tables/0/simple', '1') partition bySTRING
HIGHtests/integration/test_zookeeper_config/test.py0create table simple (date date, id uint32) engine = replicatedmergetree('/clickhouse/tables/0/simple', '1') partition bySTRING
HIGH…sts/integration/test_zookeeper_config/test_password.py0create table simple (date date, id uint32) engine = replicatedmergetree('/clickhouse/tables/0/simple', '1') partition bySTRING
HIGH…_stateless/02808_custom_disk_with_user_defined_name.sh0select count() from system.disks where name = '$disk_name'STRING
HIGHtests/queries/0_stateless/02344_describe_cache.sh0select count() from system.disks where name = '$disk_name'STRING
HIGH…es/0_stateless/03324_cache_disk_validation_max_size.sh0select count() from system.disks where name = '$disk_name'STRING
Structural Annotation Overuse132 hits · 232 pts
SeverityFileLineSnippetContext
LOWci/praktika/json.html2206 // Step 1: Fetch sync metadataCOMMENT
LOWci/praktika/json.html2225 // Step 2: Fetch private PR resultCOMMENT
LOWci/praktika/json.html2243 // Step 3: Transform results — prefix names, add downstream href, rewrite linksCOMMENT
LOWci/praktika/hook_cache.py95 # Step 1: Separate jobs into two groups based on digest prefix relationshipsCOMMENT
LOWci/praktika/hook_cache.py135 # Step 2: Fetch records for root jobsCOMMENT
LOWci/praktika/hook_cache.py150 # Step 3: Filter dependent jobs - only fetch if their prefix was successfully fetchedCOMMENT
LOWci/praktika/hook_cache.py163 # Step 4: Fetch records for filtered dependent jobsCOMMENT
LOWci/praktika/hook_cache.py176 # Step 2: Apply the fetched records sequentiallyCOMMENT
LOWci/jobs/sqllogic_test.py460 # Step 1: Start ClickHouseCOMMENT
LOWci/jobs/sqllogic_test.py473 # Step 2: Clone sqllogictest repoCOMMENT
LOWci/jobs/sqllogic_test.py508 # Step 3: Run self-testCOMMENT
LOWci/jobs/sqllogic_test.py531 # Step 4: Run statements-testCOMMENT
LOWci/jobs/sqllogic_test.py554 # Step 5: Run complete-testCOMMENT
LOWci/jobs/sqllogic_test.py577 # Step 6: Generate report, check thresholds, and detect new failuresCOMMENT
LOWci/jobs/build_toolchain.py485 # Step 1: Instrument clang with BOLTCOMMENT
LOWci/jobs/build_toolchain.py505 # Step 2: Create symlinks for the instrumented binary so cmake canCOMMENT
LOWci/jobs/build_toolchain.py519 # Step 3: Configure ClickHouse build with BOLT-instrumented clangCOMMENT
LOWci/jobs/build_toolchain.py543 # Step 4: Time-limited build to collect BOLT profilesCOMMENT
LOWci/jobs/build_toolchain.py568 # Step 5: Merge BOLT profilesCOMMENT
LOWci/jobs/build_toolchain.py582 # Step 6: Apply BOLT optimizationCOMMENT
LOWci/jobs/build_toolchain.py605 # Step 7: Replace original binary with BOLTed versionCOMMENT
LOWci/jobs/sqlstorm_test.py344 # Step 0: Run the query-rewriter unit tests so they gate this PR and anyCOMMENT
LOWci/jobs/sqlstorm_test.py354 # Step 1: Start ClickHouseCOMMENT
LOWci/jobs/sqlstorm_test.py378 # Step 2: Clone SQLStorm repo (for queries)COMMENT
LOWci/jobs/sqlstorm_test.py412 # Step 3: Clone OLAPBench repo (for schema definition)COMMENT
LOWci/jobs/sqlstorm_test.py443 # Step 4: Download StackOverflow DBA datasetCOMMENT
LOWci/jobs/sqlstorm_test.py483 # Step 5: Run benchmarkCOMMENT
LOWci/jobs/sqlstorm_test.py526 # Step 6: Generate report and check thresholdsCOMMENT
LOWci/jobs/ast_fuzzer_job.py141 # Step 1: changed/new test files in this PRCOMMENT
LOWci/jobs/ast_fuzzer_job.py146 # Step 2: tests that failed in previous CI runs for this PRCOMMENT
LOWci/jobs/ast_fuzzer_job.py155 # Step 3: coverage-relevant tests (direct lines, indirect callees, siblings)COMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py388 # Step 1: Verify initial 6 rowsCOMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py404 # Step 2: Add files in middle and end of existing partitionsCOMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py436 # Step 3: Add files for new hostname and newer timestampCOMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py457 # Step 4: Restart ClickHouse node (test persistence)COMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py465 # Step 5: Add mixed files (some before, some after max processed)COMMENT
LOWtests/integration/test_storage_s3_queue/test_6.py487 # Step 6: Verify ZooKeeper structure - check partition keysCOMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py256 # Step 1: Add node4 to the cluster.COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py290 # Step 2: Remove the first follower.COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py313 # Step 3: Add node5 to the cluster. node1/3/4 are active at this point,COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py339 # Step 4: Remove the second follower.COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py359 # Step 5: Add node6 to the cluster. node1/4/5 are active at this point,COMMENT
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py385 # Step 6: Yield leadership so that node4, node5, or node6 wins the nextCOMMENT
LOWtests/integration/test_ttl_multilevel_group_by/test.py58 # Step 1: Ensure all 10 rows were insertedSTRING
LOWtests/integration/test_ttl_multilevel_group_by/test.py62 # Step 2: Wait for the first TTL (13 seconds) to apply — should reduce to 6 rows (one per item_id)STRING
LOWtests/integration/test_ttl_multilevel_group_by/test.py66 # Step 3: Wait for second TTL (18 seconds since insert) to apply — should reduce to 2 rows (one per user_id)STRING
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh46# Step 1: create the data lake target with the deflate metadata format so theCOMMENT
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh54# Step 2: corrupt the on-disk metadata via an INSERT with an out-of-rangeCOMMENT
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh63# Step 3: build the dependency chain - a plain `MergeTree` source plus aCOMMENT
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh72# Step 4: DETACH+ATTACH the data lake target to clear the in-memoryCOMMENT
LOW…ss/04240_iceberg_supports_parallel_insert_mv_104891.sh79# Step 5: INSERT into the source. The dependency builder will reachCOMMENT
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh31# Step 1: create the table with the deflate metadata format.COMMENT
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh38# Step 2: provoke the corrupt-metadata-on-disk state via an INSERT with anCOMMENT
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh45# Step 3: detach + attach to clear the in-memory `current_metadata` cache,COMMENT
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh53# Step 4: the previously-crashing operations must now raise a regularCOMMENT
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh18# Step 1: Create table and populate with two INSERTs.COMMENT
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh28# Step 2: Re-create the table pointing to v1 metadata (time-travel).COMMENT
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh36# Step 3: INSERT with explicit v1 path.COMMENT
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh44# Step 4: Verify all data is present by reading from the latest metadata.COMMENT
LOW…eries/0_stateless/02832_alter_max_sessions_for_user.sh29 # Step 0: Set max_sessions_for_user.COMMENT
72 more matches not shown…
AI Slop Vocabulary67 hits · 188 pts
SeverityFileLineSnippetContext
MEDIUMci/docker/integration/hive_server/hadoop-env.sh136# Similarly, end users should utilize ${HOME}/.hadooprc .COMMENT
MEDIUMci/tests/test_integration_flaky_empty_result.py197# green top-level status, and a non-timeout empty (harness failure) capped run would reportCOMMENT
MEDIUMci/tests/test_integration_flaky_empty_result.py228 # The skipped module is still listed alongside the harness ERROR.COMMENT
MEDIUMci/tests/test_cleanup_test_groups.py72 # an early confirmation that the harness is actually running the testCOMMENT
MEDIUMci/tests/test_upgrade_runner_download_boundary.py41# string keeps the backslashes literal so the bash harness sees exactly what theCOMMENT
MEDIUMci/tests/test_e2e.py65 # a server-startup or harness regression, so we point at the logs instead.COMMENT
MEDIUMci/tests/test_e2e.py82 # Malformed status.tsv -> harness bug; keep the traceback for debugging.COMMENT
MEDIUMci/jobs/functional_tests.py886 # does not flip a harness-level termination into green.COMMENT
MEDIUMci/jobs/integration_test_job.py584 # empty result is reported as best-effort rather than as a harness failure.COMMENT
MEDIUMci/jobs/integration_test_job.py1305 # harness failure (should be `ERROR`) as a green top-level result.COMMENT
MEDIUMci/jobs/integration_test_job.py1325 # internal error, ...), which is a real harness failure and must stay ERROR.COMMENT
MEDIUMci/jobs/ast_fuzzer_job.py309 # start failure, harness error, or infra); malformed status.tsv ->COMMENT
MEDIUMci/jobs/ast_fuzzer_job.py310 # harness bug. _format_status_error inlines the log tails so the abortCOMMENT
LOWci/jobs/scripts/functional_tests_results.py250 # UNKNOWN, do not synthesize a "Server died" leaf) and just add anCOMMENT
LOWci/jobs/scripts/docs/lychee_check.py168 # cannot simply set it false. The locale pass checks resolution only.COMMENT
LOWci/jobs/scripts/perf/compare.sh1379 # Grepping numactl results from log is too crazy, I'll just call it again.COMMENT
MEDIUM…on/test_drop_replica_with_auxiliary_zookeepers/test.py312 # The self-protection guard for a LIVE local database must be robust to trailing slashes.STRING
MEDIUM…on/test_drop_replica_with_auxiliary_zookeepers/test.py365 # The table-level self-protection guard must be robust to trailing slashes too.STRING
MEDIUMtests/integration/test_ttl_move/test.py1404 # It is quite robust because we don't validate mid-states interactively, the only logical check is to assert forSTRING
MEDIUM…/integration/test_refreshable_mv_no_multi_read/test.py24# test body rather than as a main_config that the harness would also try to manage.COMMENT
MEDIUM…_executable_user_defined_function/test_system_table.py33# Working UDF config with comprehensive configuration optionsCOMMENT
MEDIUMtests/integration/test_mysql_kill_query/test.py262 # robust even if the first emission lands before the tail starts) and strictlyCOMMENT
MEDIUM…/integration/test_keeper_opentelemetry_tracing/test.py218 # find traces pertaining to zookeeper write requests related to our DDLSTRING
MEDIUM…/integration/test_background_operations_config/test.py8# We leverage 'sleepEachRow' for mutate queries to trigger operation timeout:COMMENT
LOW…tegration/test_distributed_inter_server_secret/test.py245# connection from n1 to n2 from another test (and we cannot simply useCOMMENT
MEDIUM…integration/test_executable_udf_profile_events/test.py266 # Ratio assertion is robust to machine speed: a missing-cutime bug on theCOMMENT
MEDIUMtests/integration/test_multiple_disks/test.py647 # The test tries to utilize 35/40=87.5% of space, while during lastCOMMENT
MEDIUM…ries/0_stateless/03578_parallel_replicas_minicrawl.sql25{"date":"2025-07-27","rank":43314,"domain":"clickhouse.com","log":"* Trying 172.66.40.249:80...\n* Connected to clickhCODE
LOWtests/queries/0_stateless/03015_optimize_final_rmt.sh19# this query should wait for the running merges, not just return immediatelyCOMMENT
MEDIUM…ateless/01079_parallel_alter_detach_table_zookeeper.sh122 # In this case, it might be more robust than SYSTEM SYNC REPLICACOMMENT
MEDIUM…ueries/0_stateless/04077_lwd_alter_delete_privilege.sh8# ALTER UPDATE). This test uses ALTER TABLE (comprehensive).COMMENT
MEDIUM…stateless/03036_test_parquet_bloom_filter_push_down.sh22# dictionary-based row group filter (which the test harness randomizes) to keep the counts stable.COMMENT
MEDIUM…s/04339_point_in_polygon_cache_size_local_ram_clamp.sh12# The clamped value depends on the host's RAM, so the assertions are deliberately RAM-robust:COMMENT
MEDIUM…less/03036_test_parquet_bloom_filter_push_down_ipv6.sh22# row group filter (which the test harness randomizes) to keep the counts stable.COMMENT
LOW…ueries/0_stateless/00704_drop_truncate_memory_table.sh21# But if the table will be dropped before query - just pass.COMMENT
MEDIUM…/0_stateless/04403_mv_insert_renaming_subquery_join.sh7# The analyzer is not randomized by the test harness, so run the scenario explicitlyCOMMENT
MEDIUM…/03261_test_merge_parquet_bloom_filter_minmax_stats.sh22# dictionary-based row group filter (which the test harness randomizes) to keep the counts stable.COMMENT
MEDIUMprograms/server/docs.html774 /// contain those functions, nor CSS escapes; so the safe and robust rule is to drop any `style`COMMENT
MEDIUMsrc/Interpreters/TransactionLog.cpp332 /// Definitely not safe to removeCOMMENT
MEDIUMsrc/Interpreters/IJoin.h154 /// This serves as a runtime check in JoiningTransform to decide whether to utilize the parallel processing ofCOMMENT
MEDIUMsrc/Interpreters/IJoin.h156 /// If the join supports parallel processing, it can still decide during build phase whether to utilize it or not.COMMENT
MEDIUMsrc/Interpreters/HashJoin/HashJoin.h426 // we can cache the selector size at construction to make the holder robustCOMMENT
MEDIUMsrc/Interpreters/FileCache/FileCache.cpp3115 /// we allow ourselves to be suboptional here in favour of being robustCOMMENT
MEDIUMsrc/Databases/DataLake/GlueCatalog.cpp395 /// Skip field if it's not "current" (for example Renamed). No idea how someone can utilize "non currentCOMMENT
MEDIUMsrc/Storages/ObjectStorage/DataLakes/Iceberg/Utils.cpp482 /// Do not utilize filesystem cache if more precise cache enabledCOMMENT
MEDIUM…rage/DataLakes/Iceberg/StatelessMetadataFileGetter.cpp85 /// Do not utilize filesystem cache if more precise cache enabledCOMMENT
MEDIUM…rage/DataLakes/Iceberg/StatelessMetadataFileGetter.cpp156 /// Do not utilize filesystem cache if more precise cache enabledCOMMENT
MEDIUMsrc/Storages/MergeTree/KeyCondition.h306 /// Special for pointInPolygon to utilize minmax indices.COMMENT
MEDIUMsrc/Storages/MergeTree/MergeTreeWhereOptimizer.cpp232 /// Root function node must be contained in atom_map if we want to utilize primary index.COMMENT
MEDIUMsrc/Storages/MergeTree/MergeTreeWhereOptimizer.cpp237 /// Non-root function node must be monotonic and deterministic in scope of query if we want to utilize primaCOMMENT
MEDIUMsrc/Storages/MergeTree/MergeTreeData.h161/// Essentially it is an index too.COMMENT
MEDIUMsrc/Coordination/tests/gtest_coordination_snapshot.cpp2295 /// Drill step 2 (scan-order-robust): whichever idx-80 copy got registered, theCOMMENT
MEDIUMsrc/AggregateFunctions/AggregateFunctionStatistics.cpp203 /// and utilize FMA, rather than forcing a 64-bit memory store on every row.COMMENT
MEDIUM…eSeries/AggregateFunctionTimeseriesExtrapolatedValue.h161 // extrapolationThreshold below. Essentially, we are assuming a more orCOMMENT
MEDIUMsrc/IO/SharedThreadPools.h38 /// This is needed to utilize as much a possible resources to accomplish some task.COMMENT
MEDIUM…/Processors/Formats/Impl/NativeORCBlockInputFormat.cpp658 /// Transform range with the same left bound and right bound to equal, which could utilize bloom filCOMMENT
MEDIUMsrc/Processors/Formats/Impl/Parquet/Write.cpp898 /// Alternatively, we could avoid using arrow's dictionary encoding code and leverageCOMMENT
MEDIUMsrc/Processors/QueryPlan/ReadFromMergeTree.cpp336 /// TODO: this approach is fragile, it'd be more robust to update sorting description for the whole plan during planCOMMENT
MEDIUM…ueryPlan/Optimizations/optimizeUseNormalProjection.cpp664 /// Enables PREWHERE on projections to improve read efficiency and leverage query condition cache.COMMENT
MEDIUM…Plan/Optimizations/optimizeDirectReadFromTextIndex.cpp304/// 2. We want to leverage the PREWHERE for virtual columns, because text indexCOMMENT
7 more matches not shown…
Hallucination Indicators15 hits · 170 pts
SeverityFileLineSnippetContext
CRITICAL…va/org/apache/paimon/rest/PaimonIncrementalWriter.java47 Catalog catalog = org.apache.paimon.catalog.CatalogFactory.createCatalog(context);CODE
CRITICAL…a/org/apache/paimon/rest/RESTCatalogServerStarter.java78 Catalog catalog = org.apache.paimon.catalog.CatalogFactory.createCatalog(context);CODE
CRITICALtests/casa_del_dolor/catalogs/datagenerator.py835 iceberg_table = jvm.org.apache.iceberg.spark.Spark3Util.loadIcebergTable(CODE
CRITICALtests/casa_del_dolor/catalogs/datagenerator.py853 appender_factory = jvm.org.apache.iceberg.data.GenericAppenderFactory(CODE
CRITICALtests/casa_del_dolor/catalogs/datagenerator.py870 jvm.org.apache.iceberg.encryption.EncryptedFiles.plainAsEncryptedOutput(CODE
CRITICALtests/casa_del_dolor/catalogs/datagenerator.py878 record = jvm.org.apache.iceberg.data.GenericRecord.create(delete_schema)CODE
CRITICALtests/casa_del_dolor/catalogs/datagenerator.py930 iceberg_table = jvm.org.apache.iceberg.spark.Spark3Util.loadIcebergTable(CODE
CRITICAL…integration/test_merge_tree_azure_blob_storage/test.py6from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICAL…ries/0_stateless/data_minio/paimon_all_types/README.md212 return org.apache.paimon.catalog.CatalogFactory.createCatalog(CatalogContext.create(new Path(rootPath)));CODE
CRITICAL…ts/queries/0_stateless/data_minio/deletes_db/README.md257table = jvm.org.apache.iceberg.hadoop.HadoopTables(hadoop_conf).load(f"/out/warehouse/default/{TABLE}")CODE
CRITICAL…ts/queries/0_stateless/data_minio/deletes_db/README.md267appender_factory = jvm.org.apache.iceberg.data.GenericAppenderFactory(CODE
CRITICAL…ts/queries/0_stateless/data_minio/deletes_db/README.md272 jvm.org.apache.iceberg.encryption.EncryptedFiles.plainAsEncryptedOutput(out),CODE
CRITICAL…ts/queries/0_stateless/data_minio/deletes_db/README.md277 record = jvm.org.apache.iceberg.data.GenericRecord.create(delete_schema)CODE
CRITICALprograms/server/js/marked.min.js6!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?defCODE
CRITICALprograms/server/js/xterm.min.js7!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof defineCODE
Redundant / Tautological Comments77 hits · 114 pts
SeverityFileLineSnippetContext
LOWdocker/server/entrypoint.sh96 # Check if the `defaul` user is changed through any mounted file. It will mean that user took care of it alreadyCOMMENT
LOWci/praktika/event.py217 # Check if any event in the group should be retainedCOMMENT
LOWci/praktika/job.py283 # Check if excludedCOMMENT
LOWci/praktika/job.py289 # Check if includedCOMMENT
LOWci/praktika/hook_cache.py116 # Check if this job's digest starts with any other job's digestCOMMENT
LOWci/praktika/hook_cache.py153 # Check if any successfully fetched digest is a prefix of this digestCOMMENT
LOWci/praktika/result.py1113 # Check if colors should be used: local run + TTY + terminal supports colorsCOMMENT
LOWci/praktika/issue.py267 # Check if test name matchesCOMMENT
LOWci/praktika/native_jobs.py246 # Check if cache already exists in S3COMMENT
LOWci/praktika/native_jobs.py852 # Check if any parent is reachable from BASE_BRANCHCOMMENT
LOWci/praktika/native_jobs.py857 # Check if parent is ancestor of BASE_BRANCH or BASE_BRANCH is ancestor of parentCOMMENT
LOWci/praktika/__main__.py309 # Check if html is in the only list (case-insensitive)COMMENT
LOWci/praktika/infrastructure/lambda_function.py338 # Check if function existsCOMMENT
LOW…/praktika/infrastructure/native/lambda_slack_worker.py227 # Check if any job has failed or erroredCOMMENT
LOWci/jobs/check_style.py200 # Check if any pattern matches in the concatenated stringCOMMENT
LOWci/jobs/integration_test_job.py629 # Set on_error_hook to collect logs on hard timeoutCOMMENT
LOWci/jobs/build_toolchain.py560 # Check if we collected any profilesCOMMENT
LOWci/jobs/scripts/check_ci.py591 # Check if workflow has unknown failures before matching against open issuesCOMMENT
LOWci/jobs/scripts/check_ci.py806 # Check if PR number was provided as command-line argumentCOMMENT
LOWci/jobs/scripts/done.py95 # Display resultsCOMMENT
LOWci/jobs/scripts/log_parser.py437 # Check if line matches the numbered stack trace patternCOMMENT
LOWci/jobs/scripts/log_parser.py484 # Check if line contains DB:: namespaceCOMMENT
LOWci/jobs/scripts/merge_llvm_coverage.sh35# Check if tools were foundCOMMENT
LOWci/jobs/scripts/perf/download.sh66 # Check if the dataset path existsCOMMENT
LOWci/jobs/scripts/workflow_hooks/pr_body_check.py32 # Check if the entry is on the same line (e.g. "Changelog entry: Fix something")COMMENT
LOW…/jobs/scripts/workflow_hooks/pr_labels_and_category.py178 # Check if the category is on the same line (e.g. "Changelog category: Bug Fix")COMMENT
LOWci/jobs/scripts/stress/stress.py433 # Display output before raising the exception as requestedCOMMENT
LOWtests/casa_del_dolor/utils/httpserver.py83 # Check if this is an async requestCOMMENT
LOWtests/casa_del_dolor/utils/backgroundworker.py47 # Check if thread is already runningCOMMENT
LOWtests/casa_del_dolor/catalogs/datalakes.py738 # Set timezone to match ClickHouseSTRING
LOWtests/casa_del_dolor/catalogs/clickhousetospark.py230 # Check if it's a named tuple elementCOMMENT
LOWtests/docker_scripts/upgrade_runner.sh58# Check if we cloned previous release repository successfullyCOMMENT
LOWtests/ci/version_helper.py418 # Check if we have shallow checkout by comparing number of linesCOMMENT
LOWtests/ci/changelog.py344 # Check if the category is on the same lineCOMMENT
LOWtests/ci/changelog.py368 # Check if the entry is on the same lineCOMMENT
LOWtests/ci/get_previous_release_tag.py44 # Check if the artifact exists on GitHub.COMMENT
LOWtests/ci/ci_utils.py157 # Check if there is a next pageCOMMENT
LOWtests/ci/ci_utils.py200 # Check if there is a next pageCOMMENT
LOWtests/ci/cherry_pick.py559 # Check if we've already pinged to avoid spammingCOMMENT
LOW…sts/integration/test_mark_cache_profile_events/test.py50 # Check if any eviction metric has increasedCOMMENT
LOW…sts/integration/test_mark_cache_profile_events/test.py262 # Check if eviction metrics appear in query logSTRING
LOW…ation/test_stop_insert_when_disk_close_to_full/test.py167 # Set threshold to 3 MiBSTRING
LOWtests/integration/test_cgroup_metrics/test.py137 # Check if this is a nested cgroup (important for reproducing the bug)STRING
LOWtests/integration/test_cgroup_metrics/test.py231 # Check if we've seen a meaningful increase (at least 0.001 seconds)STRING
LOW…n/test_modify_engine_on_restart/test_zk_path_exists.py60 # Check if we can cancel convertationCOMMENT
LOWtests/integration/test_jbod_balancer/test.py82 # Check if we can assign new mergesCOMMENT
LOWtests/integration/test_keeper_force_recovery/test.py95 # Check if node 6 has a Keeper config (it only has one after the test runs)COMMENT
LOW…tegration/test_prometheus_protocols/test_evaluation.py3511 # Set __name__ to a constant: there is no tag "", so its value is treated as "" which always matches regex "",COMMENT
LOWtests/integration/helpers/network.py39 # # Check if iptables existsCOMMENT
LOW…/0_stateless/03734_client_receive_timeout_exit_code.sh10# Set interactive_delay to a very large value to prevent progress packets from resetting the timeoutCOMMENT
LOW…/0_stateless/02360_rename_table_along_with_log_name.sh15regexp="${CLICKHOUSE_DATABASE}\\.x" # Check if there are still log entries with old table nameCODE
LOWtests/queries/0_stateless/03776_client_sni_override.sh77# Check if SNI was sent - extract just the ASCII representation column from the hex dumpCOMMENT
LOW…queries/0_stateless/03792_profile_events_null_queue.sh22# Check if clickhouse-driver is availableCOMMENT
LOWtests/queries/0_stateless/02874_array_random_sample.sh220 # Check if the array contains exactly 2 unique elementsCOMMENT
LOWtests/queries/0_stateless/03417_http_exception_tag.sh26# Check if the response contains __exception__ followed by newline, then TAG, then newlineCOMMENT
LOW…0_stateless/03807_parquet_reader_race_next_subgroup.sh24# Read the file multiple times in parallel to trigger the race.COMMENT
LOWtests/queries/0_stateless/03408_parquet_checksums.sh21# Write file with checksums.COMMENT
LOWtests/queries/0_stateless/03408_parquet_checksums.sh37# Write file without checksums.COMMENT
LOW…ateless/04070_async_insert_result_rows_double_count.sh56# Print results for comparisonCOMMENT
LOWtests/sqlstorm/runner.py240 # Check if database exists using a direct client call (run_clickhouse_query uses --format Null)COMMENT
17 more matches not shown…
AI Response Leakage11 hits · 82 pts
SeverityFileLineSnippetContext
HIGHtests/integration/test_transactions/test.py166 # In this version, `removal_tid` is not updated when it locks the object for removal.COMMENT
HIGHtests/integration/test_transactions/test.py189 # In this version, `removal_tid` is not updated when it locks the object for removal.COMMENT
HIGHtests/integration/test_transactions/test.py202 # In this version, `removal_tid` is not updated when it locks the object for removal.COMMENT
HIGHtests/integration/test_transactions/test.py235 # In this version, `removal_tid` is not updated when it locks the object for removal.COMMENT
HIGHtests/integration/test_transactions/test.py258 # In this version, `removal_tid` is not updated when it locks the object for removal.COMMENT
HIGHtests/integration/test_transactions/test.py271 # In this version, `removal_tid` is not updated when it locks the object for removal.COMMENT
HIGHtests/integration/test_transactions/test.py373 # In this version, `removal_tid` is not updated when it locks the object for removal.COMMENT
HIGHtests/integration/test_transactions/test.py396 # In this version, `removal_tid` is not updated when it locks the object for removal.COMMENT
HIGHtests/queries/0_stateless/02922_server_exit_code.sh16# In this example, we provide an invalid path to the server's config, ignore its logs and check the exit code.COMMENT
HIGHbase/poco/XML/include/Poco/DOM/DOMImplementation.h40 /// In this implementation, DOMImplementation is implemented as a singleton.COMMENT
HIGHbase/poco/XML/include/Poco/DOM/DocumentType.h53 /// Note: In this implementation, only theCOMMENT
Unused Imports64 hits · 63 pts
SeverityFileLineSnippetContext
LOWci/praktika/__init__.py6CODE
LOWci/praktika/__init__.py7CODE
LOWci/praktika/__init__.py8CODE
LOWci/praktika/__init__.py9CODE
LOWci/praktika/__init__.py10CODE
LOWci/praktika/__init__.py11CODE
LOWci/praktika/infrastructure/cloud.py5CODE
LOWci/praktika/infrastructure/cloud.py6CODE
LOWci/praktika/infrastructure/cloud.py7CODE
LOWci/praktika/infrastructure/cloud.py8CODE
LOWci/praktika/infrastructure/cloud.py9CODE
LOWci/praktika/infrastructure/cloud.py11CODE
LOWci/praktika/infrastructure/cloud.py14CODE
LOWci/praktika/infrastructure/cloud.py15CODE
LOWci/praktika/infrastructure/cloud.py16CODE
LOWci/praktika/infrastructure/cloud.py17CODE
LOWci/praktika/infrastructure/cloud.py18CODE
LOWci/praktika/infrastructure/cloud.py19CODE
LOWci/praktika/infrastructure/cloud.py20CODE
LOWci/praktika/infrastructure/runner/runner-init.py3CODE
LOWci/jobs/scripts/job_hooks/promql_compliance_hook.py20CODE
LOWci/jobs/scripts/job_hooks/promql_compliance_s3.py10CODE
LOWci/jobs/scripts/docs/generate_cloud_api_reference.py43CODE
LOWci/jobs/scripts/docs/snippet_component_imports_check.py11CODE
LOWtests/casa_del_dolor/catalogs/datagenerator.py36CODE
LOWtests/ci/pr_version_info.py66CODE
LOW…ration/test_arrowflight_interface/flight_sql_client.py36CODE
LOW…est_prometheus_protocols/update_compliance_baseline.py32CODE
LOW…/integration/test_prometheus_protocols/generate_pb2.py7CODE
LOW…ion/test_prometheus_protocols/pb2/prompb/remote_pb2.py15CODE
LOW…ion/test_prometheus_protocols/pb2/prompb/remote_pb2.py16CODE
LOW…tion/test_prometheus_protocols/pb2/prompb/types_pb2.py15CODE
LOW…on/test_prometheus_protocols/pb2/gogoproto/gogo_pb2.py15CODE
LOW…ation/test_fetch_partition_with_outdated_parts/test.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/gates/__init__.py1CODE
LOWtests/stress/keeper/faults/__init__.py3CODE
LOW.claude/tools/analyze-assembly.py11CODE
LOW…eper-stress-analysis/scripts/build_cumulative_gains.py10CODE
LOW.claude/skills/perf-comparison/scripts/parse_perf_py.py3CODE
LOW.claude/skills/perf-comparison/scripts/perf_api.py7CODE
LOW.claude/skills/perf-comparison/scripts/test_perf_api.py3CODE
LOWutils/grpc-client/generate_pb2.py7CODE
LOWutils/grpc-client/generate_pb2.py9CODE
4 more matches not shown…
Fake / Example Data54 hits · 60 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_storage_mysql/test.py984 "INSERT INTO clickhouse.test_joins_mysql_users VALUES (469722, 'user@example.com', '2019-08-30 07:55:01')"STRING
LOW…gration/test_backup_restore_azure_blob_storage/test.py477 blob_path = 'placeholder'CODE
LOWtests/integration/test_e2e_catalogs/test.py1242 sql = catalog_manager.create_db_sql(db, bearer_token="dummy_token")CODE
LOWtests/integration/test_storage_delta/test.py1413 pa.array(["John Doe", "Jane Smith", "Jake Johnson"], type=pa.string()),CODE
LOWtests/integration/test_storage_delta/test.py1651 pa.array(["John Doe", "Jane Smith", "Jake Johnson"], type=pa.string()),CODE
LOWtests/integration/test_storage_delta/test.py1764 'http://{started_cluster.minio_host}:{started_cluster.minio_port}/{started_cluster.minio_bucket}/{TABLE_NAME}/',CODE
LOW…tion/test_azure_workload_identity/mock_token_server.py83 token = {"access_token": "dummy-token", "expires_in": 3600, "token_type": "Bearer"}STRING
LOW…tateless/04142_ai_functions_named_collection_access.sh21 api_key = 'fake-key';CODE
LOWtests/queries/0_stateless/03822_map_json_dictionary.sql613(1, 'DeepTest1', '{"level1":{"level2":{"level3":{"level4":{"level5":{"value":"deep_value_1","numbers":[1,2,3],"nested":{CODE
LOW…03254_timeseries_to_grid_aggregate_function_sparse.sql108SELECT intDiv(toUnixTimestamp(timestamp), 130)*130 as fake_key, timeSeriesResampleToGridWithStaleness(100, 200, 10, 15)(CODE
LOW…03254_timeseries_to_grid_aggregate_function_sparse.sql113 SELECT intDiv(toUnixTimestamp(timestamp), 130)*130 as fake_key, timeSeriesResampleToGridWithStaleness(100, 200, 10, CODE
LOWtests/queries/0_stateless/03300_ai_functions.sql61 api_key = 'fake-key';CODE
LOWtests/queries/0_stateless/03300_ai_functions.sql72 api_key = 'fake-key';CODE
LOWtests/queries/0_stateless/03300_ai_functions.sql83 api_key = 'fake-key';CODE
LOWtests/queries/0_stateless/03300_ai_functions.sql138 api_key = 'fake-key';CODE
LOWtests/queries/0_stateless/03300_ai_functions.sql187 api_key = 'fake-key';CODE
LOWtests/queries/0_stateless/03300_ai_functions.sql207 api_key = 'fake-key';CODE
LOWtests/queries/0_stateless/02919_storage_fuzzjson.sql21 "name": "Jane Doe",CODE
LOW…/queries/0_stateless/02918_fuzzjson_table_function.sql45 json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", "CODE
LOW…/queries/0_stateless/02918_fuzzjson_table_function.sql50 json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", "CODE
LOW…/queries/0_stateless/02918_fuzzjson_table_function.sql57 json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", "CODE
LOW…/queries/0_stateless/02918_fuzzjson_table_function.sql66 json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", "CODE
LOW…queries/0_stateless/02884_string_distance_function.sql56-- Lorem ipsumCODE
LOW…queries/0_stateless/02884_string_distance_function.sql57-- Chinese chars lorem ipsumCODE
LOW…queries/0_stateless/02884_string_distance_function.sql59 materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin quis mauris enim. Nam venenatis nunc.'),CODE
LOW…queries/0_stateless/02884_string_distance_function.sql59 materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin quis mauris enim. Nam venenatis nunc.'),CODE
LOW…queries/0_stateless/02884_string_distance_function.sql141SELECT levenshteinDistanceUTF8('半テ絶力へじづひ情日ヲフオマ型読9緊覧だづや田立だリ九高わす二申むドい生著るべや断彰ユカツ複95済モナス稿国ネサナユ近無メエ飯承ぱ項天法ら抜乾凍刷くゃイあ。公当記てあ茂全ー間仙CODE
LOWtests/queries/0_stateless/01509_format_raw_blob.sh13Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWtests/queries/0_stateless/01509_format_raw_blob.sh13Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOW…0_stateless/04492_ai_functions_default_credentials.sql24 api_key = 'fake-key';CODE
LOW…0_stateless/04492_ai_functions_default_credentials.sql29 api_key = 'fake-key';CODE
LOWtests/performance/cryptographic_hashes.xml31 <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac CODE
LOWtests/performance/cryptographic_hashes.xml31 <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac CODE
LOWtests/performance/general_purpose_hashes.xml25 <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac CODE
LOWtests/performance/general_purpose_hashes.xml25 <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac CODE
LOWutils/trace-visualizer/index.html49 <div id="placeholder" class="chart-placeholder"></div>CODE
LOWutils/parser-memory-profiler/generate_report.py461 <span class="placeholder">Select a query from the list</span>CODE
LOWutils/parser-memory-profiler/generate_report.py499 <div class="placeholder">Select a query to view call graph</div>CODE
LOWutils/parser-memory-profiler/generate_report.py504 <div class="placeholder">Select a query to view flame graph</div>CODE
LOWutils/parser-memory-profiler/generate_report.py587 graphContainer.innerHTML = '<div class="placeholder">No call graph available</div>';CODE
LOWutils/parser-memory-profiler/generate_report.py596 flameContainer.innerHTML = '<div class="placeholder">No flame graph available</div>';CODE
LOWdocs/_specs/cloud-openapi.json22763 "example": "user@example.com"CODE
LOWdocs/_specs/cloud-openapi.json22935 "example": "user@example.com"CODE
LOWdocs/_specs/cloud-openapi.json23157 "example": "user@example.com"CODE
LOWprograms/server/dashboard.html558 'from': {'placeholder': '2023-01-01 00:00:00', 'title': 'Enter date in 2023-01-01 00:00:00 format. If empty, it is cCODE
LOWprograms/server/dashboard.html559 'to': {'placeholder': '2023-01-02 00:00:00', 'title': 'Enter date in 2023-01-01 00:00:00 format. If empty, it is curCODE
LOWprograms/server/dashboard.html560 'seconds': {'placeholder': '86400', 'title': 'Number of seconds to look back from current time. Default is 86400 (1 CODE
LOWprograms/server/dashboard.html695 if ('placeholder' in default_params_desc[name]) {CODE
LOWprograms/server/dashboard.html696 param_value.placeholder = default_params_desc[name]['placeholder'];CODE
LOWprograms/server/processors_profile.html382 <div class="placeholder">Select a query above to render its pipeline with <code>elapsed_us</code> heatmaCODE
LOW…torages/System/StorageSystemContributors.generated.cpp781 "John Doe",CODE
LOW…rages/ObjectStorageQueue/StorageObjectStorageQueue.cpp1880 std::string dummy_data;CODE
LOW…rages/ObjectStorageQueue/StorageObjectStorageQueue.cpp1883 const bool node_exists = zk->tryGetWatch(processed_node_path, dummy_data, &dummy_stat, labelled_event);CODE
LOWsrc/Coordination/tests/gtest_coordination_snapshot.cpp344 acl_map.addMapping(std::numeric_limits<DB::ACLId>::max() - 1, {{1, "digest", "placeholder"}});CODE
AI Structural Patterns54 hits · 46 pts
SeverityFileLineSnippetContext
LOWci/praktika/runner.py297CODE
LOWci/praktika/runner.py993CODE
LOWci/praktika/yaml_generator.py615CODE
LOWci/praktika/result.py122CODE
LOWci/praktika/result.py852CODE
LOWci/praktika/secret.py59CODE
LOWci/praktika/secret.py103CODE
LOWci/praktika/utils.py314CODE
LOWci/jobs/check_style.py52CODE
LOWci/jobs/vector_search_stress_job.py79CODE
LOWci/jobs/scripts/clickhouse_version.py47CODE
LOWci/jobs/scripts/log_parser.py689CODE
LOWtests/ci/git_helper.py92CODE
LOW…efined_function/user_scripts/input_python_exception.py9CODE
LOWtests/integration/test_disks_app_interactive/test.py132CODE
LOWtests/integration/test_disks_app_interactive/test.py223CODE
LOWtests/integration/test_ytsaurus/yt_helpers.py109CODE
LOWtests/integration/test_cgroup_metrics/test.py100CODE
LOWtests/integration/test_hedged_requests_parallel/test.py118CODE
LOWtests/integration/test_refreshable_mat_view/test.py363CODE
LOWtests/integration/test_ssh/test.py108CODE
LOW…tegration/test_refreshable_mat_view_replicated/test.py389CODE
LOWtests/integration/test_rename_column/test.py133CODE
LOWtests/integration/test_tcp_hello_string_limits/test.py52CODE
LOWtests/integration/test_grpc_protocol/test.py57CODE
LOWtests/integration/helpers/client.py54CODE
LOWtests/integration/helpers/client.py82CODE
LOWtests/integration/helpers/s3_queue_common.py27CODE
LOWtests/integration/helpers/s3_queue_common.py133CODE
LOWtests/integration/helpers/cluster.py165CODE
LOWtests/integration/helpers/cluster.py543CODE
LOWtests/integration/helpers/cluster.py2052CODE
LOWtests/integration/helpers/cluster.py4758CODE
LOWtests/integration/helpers/cluster.py5025CODE
LOWtests/integration/helpers/cluster.py5059CODE
LOWtests/integration/helpers/cluster.py5139CODE
LOWtests/integration/helpers/cluster.py5199CODE
LOWtests/integration/helpers/cluster.py5231CODE
LOWtests/integration/helpers/cluster.py5282CODE
LOWtests/integration/helpers/cluster.py5649CODE
LOWtests/integration/helpers/test_tools.py65CODE
LOWtests/integration/helpers/iceberg_utils.py225CODE
LOWtests/integration/helpers/iceberg_utils.py412CODE
LOWtests/integration/helpers/kafka/common.py396CODE
LOWtests/integration/helpers/kafka/common.py416CODE
LOWtests/integration/test_hedged_requests/test.py148CODE
LOWtests/integration/test_database_delta/test.py321CODE
LOW.claude/tools/fetch_perf_report.py179CODE
LOWutils/grpc-client/clickhouse-grpc-client.py71CODE
LOWutils/grpc-client/pb2/clickhouse_grpc_pb2_grpc.py100CODE
LOWutils/grpc-client/pb2/clickhouse_grpc_pb2_grpc.py117CODE
LOWutils/grpc-client/pb2/clickhouse_grpc_pb2_grpc.py134CODE
LOWutils/grpc-client/pb2/clickhouse_grpc_pb2_grpc.py151CODE
LOWdocs/_migration/migrate.py1464CODE
Synthetic Comment Markers6 hits · 42 pts
SeverityFileLineSnippetContext
HIGHci/praktika/workflow.py108 # exact match - consider it as requested jobCOMMENT
HIGHci/jobs/scripts/stress/stress.py433 # Display output before raising the exception as requestedCOMMENT
HIGHutils/merge-selector-lab/pack.py3# Forgive my ignorance. This AI-generated script is used instead of a proper js bundler.COMMENT
HIGHdocs/_site/customizations/kapa-init.js58 'data-modal-disclaimer': 'This is a custom LLM for ClickHouse with access to all developer documentation, open GitCODE
HIGHsrc/Storages/Kafka/StorageKafka.cpp145 // Claim as many consumers as requested, but don't blockCOMMENT
HIGHsrc/Client/AI/tests/gtest_ai_sql_generator.cpp271 // If the AI generated SQL, it should be safeCOMMENT
Modern AI Meta-Vocabulary12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUM…ries/0_stateless/03578_parallel_replicas_minicrawl.sql25{"date":"2025-07-27","rank":43314,"domain":"clickhouse.com","log":"* Trying 172.66.40.249:80...\n* Connected to clickhCODE
MEDIUM…ries/0_stateless/03578_parallel_replicas_minicrawl.sql25{"date":"2025-07-27","rank":43314,"domain":"clickhouse.com","log":"* Trying 172.66.40.249:80...\n* Connected to clickhCODE
MEDIUM.claude/skills/alloc-profile/SKILL.md158# thread pool scaffolding, libc entry points, raw addresses, lambda wrappersCOMMENT
MEDIUMdocs/_migration/migrate.py2275 # (agentic-analytics.mdx) have no upstream counterpart at all.COMMENT
MEDIUMdocs/changelogs/v25.10.3.100-stable.md18* Backported in [#90728](https://github.com/ClickHouse/ClickHouse/issues/90728): Update warning messages when approachinCOMMENT
MEDIUMdocs/changelogs/v25.10.3.100-stable.md18* Backported in [#90728](https://github.com/ClickHouse/ClickHouse/issues/90728): Update warning messages when approachinCOMMENT
MEDIUMdocs/changelogs/v25.8.12.129-lts.md20* Backported in [#90774](https://github.com/ClickHouse/ClickHouse/issues/90774): Update warning messages when approachinCOMMENT
MEDIUMdocs/changelogs/v25.8.12.129-lts.md20* Backported in [#90774](https://github.com/ClickHouse/ClickHouse/issues/90774): Update warning messages when approachinCOMMENT
MEDIUMdocs/changelogs/v25.9.6.117-stable.md23* Backported in [#90775](https://github.com/ClickHouse/ClickHouse/issues/90775): Update warning messages when approachinCOMMENT
MEDIUMdocs/changelogs/v25.9.6.117-stable.md23* Backported in [#90775](https://github.com/ClickHouse/ClickHouse/issues/90775): Update warning messages when approachinCOMMENT
MEDIUMdocs/changelogs/v25.11.1.558-stable.md147* Backported in [#90730](https://github.com/ClickHouse/ClickHouse/issues/90730): Update warning messages when approachinCOMMENT
MEDIUMdocs/changelogs/v25.11.1.558-stable.md147* Backported in [#90730](https://github.com/ClickHouse/ClickHouse/issues/90730): Update warning messages when approachinCOMMENT
Slop Phrases17 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUMci/jobs/sqlancer_job.sh5# 2. Other than for demonstration purposes it would be wierd to write this in bashCOMMENT
LOW…ts/integration/test_config_xml_full/configs/config.xml584 Regexps are not aligned: don't forget to add ^ and $. Also don't forget to escape dot (.) metacharacterCODE
MEDIUM…queries/0_stateless/03011_definitive_guide_to_cast.sql138-- It's worth noting that the operator form does not allow to specify the type name as a string literal:CODE
LOWprograms/server/config.xml1064 Regexps are not aligned: don't forget to add ^ and $. Also don't forget to escape dot (.) metacharacterCODE
LOWsrc/Storages/ObjectStorage/S3/Configuration.cpp459 /// When adding new arguments in the signature don't forget to update addStructureAndFormatToArgsIfNeeded as well.COMMENT
MEDIUMsrc/Storages/Kafka/StorageKafkaUtils.cpp472The Kafka table engine doesn't support columns with [default value](/sql-reference/statements/create/table#default_valueCODE
LOWsrc/Storages/MergeTree/MergeTreeData.cpp2713 "(don't forget to return setting back to default value)",CODE
LOWsrc/Storages/MergeTree/MergeTreeData.cpp2724 "section or in table settings in .sql file (don't forget to return setting back to default value)",CODE
LOWsrc/Core/BaseSettingsProgramOptions.h52/// (Don't forget to call notify() on the `variables_map` after parsing it!)COMMENT
MEDIUMsrc/DataTypes/registerDataTypeDateTime.cpp146ClickHouse outputs values depending on the value of the [date_time_output_format](../../operations/settings/settings-forCODE
LOWsrc/DataTypes/Native.cpp483 /// When working with values of these types in LLVM, don't forget to do setAlignment(llvm::Align(8)) for all loads/sCOMMENT
LOWsrc/IO/SeekableReadBuffer.h35 * may get into inconsistent state. Don't forget to reset it on the first nextImpl()COMMENT
LOWsrc/IO/ReadHelpers.h413// Buffer pointer is left at EOL, don't forget to advance it.COMMENT
LOWsrc/Common/AsynchronousMetrics.cpp431 // achieve temporal separation with MetricTransmitter. Don't forget toCOMMENT
LOWsrc/Common/PODArray.h24 * Don't forget to apply std::decay when using this constexpr.COMMENT
LOWsrc/Common/COW.h239 * If you override 'mutate' method in inherited classes, don't forget to make it virtual in base class or to make iCOMMENT
LOWsrc/Client/BuzzHouse/Generator/SQLExpression.cpp999/// Don't forget to clear levels!COMMENT
Modern Structural Boilerplate25 hits · 23 pts
SeverityFileLineSnippetContext
LOWci/praktika/__init__.py13__all__ = ["Artifact", "Docker", "Job", "Secret", "Workflow", "CloudInfrastructure"]CODE
LOWci/praktika/_environment.py386 def set_pr_labels(self, labels: List[str], reset: bool = False) -> None:CODE
LOWci/praktika/info.py236 def set_workflow_inputs(inputs: dict) -> None:CODE
LOWtests/casa_del_dolor/dolor.py375logger = logging.getLogger(__name__)CODE
LOWtests/ci/github_helper.py32logger = logging.getLogger(__name__)CODE
LOWtests/ci/create_release.py471 def update_version_and_contributors_list(self, dry_run: bool) -> None:CODE
LOWtests/ci/build_download_helper.py29logger = logging.getLogger(__name__)CODE
LOWtests/ci/official_docker_update.py79def update_docs(repos: LibraryRepos, dry_run: bool = True) -> None:CODE
LOWtests/ci/official_docker_update.py186def update_library_images(repos: LibraryRepos, dry_run: bool = True) -> None:CODE
LOWtests/ci/official_docker_update.py295def update_ldf_repo(repos: LibraryRepos, dry_run: bool = True) -> None:CODE
LOWtests/ci/get_previous_release_tag.py18logger = logging.getLogger(__name__)CODE
LOWtests/ci/ci_utils.py17logger = logging.getLogger(__name__)CODE
LOWtests/ci/git_helper.py19logger = logging.getLogger(__name__)CODE
LOWtests/ci/git_helper.py255 def _update_tags(self, suppress_stderr: bool = False) -> None:CODE
LOWtests/ci/report.py17logger = logging.getLogger(__name__)CODE
LOWtests/ci/report.py356 def set_raw_logs(self, raw_logs: str) -> None:STRING
LOWtests/ci/report.py359 def set_log_files(self, log_files_literal: str) -> None:STRING
LOWtests/integration/test_drop_is_lock_free/test.py9logger = logging.getLogger(__name__)CODE
LOW…sts/integration/test_mark_cache_profile_events/test.py7logger = logging.getLogger(__name__)CODE
LOW…ts/integration/test_cache_s3_object_truncation/test.py43logger = logging.getLogger(__name__)CODE
LOW…n/test_plain_rewritable_backward_compatibility/test.py30logger = logging.getLogger(__name__)CODE
LOW…s/integration/test_mutations_analyzer_override/test.py65def set_override(value: str) -> None:STRING
LOWtests/stress/keeper/gates/__init__.py22__all__ = [CODE
LOWtests/stress/keeper/faults/__init__.py9__all__ = ["apply_step"]CODE
LOWdocs/_migration/migrate.py2354def update_slug_map(slug_map_csv: Path, all_rows: list[dict], updates: dict[str, dict[str, str]]) -> None:CODE
Example Usage Blocks13 hits · 20 pts
SeverityFileLineSnippetContext
LOW…eries/0_stateless/helpers/install_predefined_backup.sh6# Usage:COMMENT
LOW.claude/tools/cppexpr.sh5# Usage:COMMENT
LOW…laude/skills/keeper-stress-analysis/scripts/rebuild.sh4# Usage:COMMENT
LOW.claude/skills/good-prs/report.sh17# Usage:COMMENT
LOWutils/data-lakes-importer.py8# Usage example:COMMENT
LOWutils/merge-selector-lab/pack.py95# Example usageCOMMENT
LOWutils/merge-selector-lab/renderMath.js69// Example usage:COMMENT
LOWbase/poco/Foundation/include/Poco/TypeList.h261/// Usage example:COMMENT
LOWbase/poco/Foundation/include/Poco/Process.h119 /// Usage example:COMMENT
LOWbase/poco/Foundation/include/Poco/Process.h153 /// Usage example:COMMENT
LOWbase/poco/Foundation/include/Poco/Dynamic/Var.h128 /// Example usage:COMMENT
LOWbase/poco/Foundation/include/Poco/Dynamic/Var.h151 /// Example usage:COMMENT
LOWsrc/Common/examples/parallel_aggregation.cpp30/// Usage example:COMMENT
TODO Padding11 hits · 16 pts
SeverityFileLineSnippetContext
LOWprograms/install/Install.cpp155 // TODO: implement.COMMENT
LOWprograms/install/Install.cpp174 // TODO: implement.COMMENT
LOW…tSSL_OpenSSL/include/Poco/Net/SecureStreamSocketImpl.h93 /// TODO: implement IPv6 versionCOMMENT
LOWsrc/Interpreters/InterpreterSelectQuery.cpp262 /// TODO: implement some AST builders for this kind of stuffCOMMENT
LOWsrc/Interpreters/convertFieldToType.cpp913 /// TODO: implement proper tryConvertFieldToType without try/catch by adding template flag to convertFieldToTypeImplCOMMENT
LOWsrc/Storages/MergeTree/MergeTreeReaderTextIndex.cpp457 /// TODO: implement distributed index analysis for text index.COMMENT
LOW…Processors/QueryPlan/Optimizations/makeDistributed.cpp568 /// TODO: implement better logic for choosing number of parallel readersCOMMENT
LOW…Processors/QueryPlan/Optimizations/makeDistributed.cpp587 /// TODO: implement better logic for choosing number of parallel readersCOMMENT
LOWsrc/Columns/ColumnSparse.cpp563 /// TODO: implement without conversion to full column.COMMENT
LOWsrc/Columns/ColumnSparse.cpp734 /// TODO: implement specializations.COMMENT
LOWsrc/Columns/ColumnObject.h132 /// TODO: implement more optimal insertManyFromCOMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHci/praktika/utils.py734 Compresses a file or directory using zstd. Args: path: Path to the file or directory to coSTRING
HIGHci/praktika/utils.py842 Compresses a file or directory using gzip. Args: path: Path to the file or directory to coSTRING
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/en/interfaces/client.md456 <api_key>your-api-key-here</api_key>CODE
HIGHdocs/en/interfaces/client.md488 api_key: your-api-key-hereCODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…erg_schema_evolution/test_array_evolved_with_struct.py191CODE
MEDIUM…erg_schema_evolution/test_array_evolved_with_struct.py197CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…efined_function/user_scripts/input_python_exception.py5def process_data(value):CODE
LOWutils/query-latency-analyzer/js/data-processing.js15function processData(raw_data) {CODE