Repository Analysis

duckdb/duckdb

DuckDB is an analytical in-process SQL database management system

3.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of duckdb/duckdb, a C++ project with 40,769 GitHub stars. SynthScan v2.0 examined 1,302,251 lines of code across 5913 source files, recording 4505 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 3.7 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).

3.7
Adjusted Score
3.7
Raw Score
100%
Time Factor
2026-08-28
Last Push
40.8K
Stars
C++
Language
1.3M
Lines of Code
5.9K
Files
4.5K
Pattern Hits
2026-08-29
Scan Date
0.00
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 11HIGH 14MEDIUM 205LOW 4275

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 4505 distinct pattern matches across 21 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 Block3428 hits · 3238 pts
SeverityFileLineSnippetContext
LOWbenchmark/interpreted_benchmark.cpp1#include "interpreted_benchmark.hpp"COMMENT
LOWbenchmark/benchmark_runner.cpp1#include "benchmark_runner.hpp"COMMENT
LOWbenchmark/include/duckdb_benchmark.hpp1//===----------------------------------------------------------------------===//COMMENT
LOWbenchmark/include/benchmark_runner.hpp1//===----------------------------------------------------------------------===//COMMENT
LOWbenchmark/include/interpreted_benchmark.hpp1//===----------------------------------------------------------------------===//COMMENT
LOWbenchmark/include/benchmark_configuration.hpp1//===----------------------------------------------------------------------===//COMMENT
LOWbenchmark/include/benchmark.hpp1//===----------------------------------------------------------------------===//COMMENT
LOWbenchmark/include/duckdb_benchmark_macro.hpp1//===----------------------------------------------------------------------===//COMMENT
LOWbenchmark/aoc24/queries/day25.sql21.#..#COMMENT
LOWbenchmark/aoc24/queries/day25.sql41COMMENT
LOWbenchmark/aoc24/queries/day25.sql101.##.#COMMENT
LOWbenchmark/aoc24/queries/day25.sql121COMMENT
LOWbenchmark/aoc24/queries/day25.sql161COMMENT
LOWbenchmark/aoc24/queries/day25.sql221#.#..COMMENT
LOWbenchmark/aoc24/queries/day25.sql281COMMENT
LOWbenchmark/aoc24/queries/day25.sql301.#.#.COMMENT
LOWbenchmark/aoc24/queries/day25.sql341#..##COMMENT
LOWbenchmark/aoc24/queries/day25.sql361COMMENT
LOWbenchmark/aoc24/queries/day25.sql381#...#COMMENT
LOWbenchmark/aoc24/queries/day25.sql681COMMENT
LOWbenchmark/aoc24/queries/day25.sql701#.#.#COMMENT
LOWbenchmark/aoc24/queries/day25.sql741...#.COMMENT
LOWbenchmark/aoc24/queries/day25.sql781#.#.#COMMENT
LOWbenchmark/aoc24/queries/day25.sql841COMMENT
LOWbenchmark/aoc24/queries/day25.sql901#####COMMENT
LOWbenchmark/aoc24/queries/day25.sql921COMMENT
LOWbenchmark/aoc24/queries/day25.sql1001COMMENT
LOWbenchmark/aoc24/queries/day25.sql1121COMMENT
LOWbenchmark/aoc24/queries/day25.sql1141##..#COMMENT
LOWbenchmark/aoc24/queries/day25.sql1181.#.##COMMENT
LOWbenchmark/aoc24/queries/day25.sql1221#.#.#COMMENT
LOWbenchmark/aoc24/queries/day25.sql1301#.#.#COMMENT
LOWbenchmark/aoc24/queries/day25.sql1321COMMENT
LOWbenchmark/aoc24/queries/day25.sql1381#.#..COMMENT
LOWbenchmark/aoc24/queries/day25.sql1421#.###COMMENT
LOWbenchmark/aoc24/queries/day25.sql1501#####COMMENT
LOWbenchmark/aoc24/queries/day25.sql1661#.#.#COMMENT
LOWbenchmark/aoc24/queries/day25.sql1701#.#..COMMENT
LOWbenchmark/aoc24/queries/day25.sql1741...#.COMMENT
LOWbenchmark/aoc24/queries/day25.sql1781.#.#.COMMENT
LOWbenchmark/aoc24/queries/day25.sql1841COMMENT
LOWbenchmark/aoc24/queries/day25.sql2061#.#..COMMENT
LOWbenchmark/aoc24/queries/day25.sql2081COMMENT
LOWbenchmark/aoc24/queries/day25.sql2101##.#.COMMENT
LOWbenchmark/aoc24/queries/day25.sql2161COMMENT
LOWbenchmark/aoc24/queries/day25.sql2181.##..COMMENT
LOWbenchmark/aoc24/queries/day25.sql2221.#.##COMMENT
LOWbenchmark/aoc24/queries/day25.sql2361COMMENT
LOWbenchmark/aoc24/queries/day25.sql2381####.COMMENT
LOWbenchmark/aoc24/queries/day25.sql2421..#..COMMENT
LOWbenchmark/aoc24/queries/day25.sql2561COMMENT
LOWbenchmark/aoc24/queries/day25.sql2581.#.#.COMMENT
LOWbenchmark/aoc24/queries/day25.sql2641COMMENT
LOWbenchmark/aoc24/queries/day25.sql2681COMMENT
LOWbenchmark/aoc24/queries/day25.sql2741###.#COMMENT
LOWbenchmark/aoc24/queries/day25.sql3041COMMENT
LOWbenchmark/aoc24/queries/day25.sql3101####.COMMENT
LOWbenchmark/aoc24/queries/day25.sql3121COMMENT
LOWbenchmark/aoc24/queries/day25.sql3361COMMENT
LOWbenchmark/aoc24/queries/day25.sql3401COMMENT
3368 more matches not shown…
Decorative Section Separators149 hits · 420 pts
SeverityFileLineSnippetContext
MEDIUMtools/shell/tests/test_format.py59# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/shell/tests/test_format.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py109# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py111# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py181# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py183# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py293# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py295# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py356# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py358# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py1241# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py1243# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py1363# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py1365# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py1445# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py1447# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py1587# ---------------------------------------------------------------------------COMMENT
MEDIUMextension/icu/scripts/generate_collation_data.py1589# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/py/test_temp_dir_contract.py133# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/py/test_temp_dir_contract.py254# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/py/test_temp_dir_contract.py302# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/py/test_temp_dir_contract.py390# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/py/test_temp_dir_contract.py420# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/py/test_temp_dir_contract.py452# -----------------------------------------------------------------------------STRING
MEDIUMtest/py/test_temp_dir_contract.py557# -----------------------------------------------------------------------------STRING
MEDIUMtest/py/test_temp_dir_contract.py516# -----------------------------------------------------------------------------STRING
MEDIUMscripts/sync_out_of_tree_extensions.py311 # ── Fresh clone ──────────────────────────────────────────────────────COMMENT
MEDIUMscripts/sync_out_of_tree_extensions.py327 # ── Skip patches: leave the existing repo untouched ──────────────────COMMENT
MEDIUMscripts/sync_out_of_tree_extensions.py330 # ── Existing repo ────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_util.py68# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py70# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py495# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py497# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py776# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py778# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py30# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py32# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py265# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py267# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py373# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py375# ---------------------------------------------------------------------------STRING
MEDIUMscripts/parser/grammar_types.yml41# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml43# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml602# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml604# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml752# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml754# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1006# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1008# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1214# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1216# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1299# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1301# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1487# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1489# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1577# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1580# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1665# ---------------------------------------------------------------------------COMMENT
89 more matches not shown…
Hyper-Verbose Identifiers452 hits · 401 pts
SeverityFileLineSnippetContext
LOWtools/sqllogic/tests/test_unittest_stdin.py4def test_unittest_stdin_separate_writes(unittest_binary):CODE
LOWtools/shell/tests/test_autocomplete.py161def test_autocomplete_funky_column(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py170def test_autocomplete_semicolon(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py178def test_autocomplete_comments(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py188def test_autocomplete_scalar_functions(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py196def test_autocomplete_aggregates(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py204def test_autocomplete_builtin_views(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py212def test_autocomplete_table_function(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py280def test_autocomplete_disambiguation_column(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py289def test_autocomplete_disambiguation_table(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py298def test_autocomplete_directory(shell, autocomplete_extension, tmp_path):CODE
LOWtools/shell/tests/test_autocomplete.py20def test_autocomplete_first_from(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py64def test_autocomplete_into_table(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py91def test_autocomplete_delete_from(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py100def test_autocomplete_from_table(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py118def test_autocomplete_update_table(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py135def test_autocomplete_update_column(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_autocomplete.py144def test_autocomplete_funky_table(shell, autocomplete_extension):CODE
LOWtools/shell/tests/test_highlighting.py13def test_highlight_column_header(shell):CODE
LOWtools/shell/tests/test_highlighting.py35def test_custom_highlight_error(shell):CODE
LOWtools/shell/tests/conftest.py19def pytest_collection_modifyitems(config, items):CODE
LOWtools/shell/tests/test_shell_rendering.py104def test_mode_json_nested_variant(shell):CODE
LOWtools/shell/tests/test_shell_rendering.py115def test_mode_json_empty_result(shell):CODE
LOWtools/shell/tests/test_shell_rendering.py137def test_long_type_empty_result(shell):CODE
LOWtools/shell/tests/test_logging.py22def test_logging_custom_delim(shell):CODE
LOWtools/shell/tests/test_logging.py32def test_logging_shell_pretty(shell):CODE
LOWtools/shell/tests/test_logging.py47def test_logging_shell_pretty_multiline(shell):CODE
LOWtools/shell/tests/test_logging.py61def test_logging_warning_dedup(shell):CODE
LOWtools/shell/tests/test_logging.py76def test_logging_error_no_dedup(shell):CODE
LOWtools/shell/tests/test_pager.py6def test_pager_status_default(shell):CODE
LOWtools/shell/tests/test_pager.py36def test_pager_on_with_pager_env(shell):CODE
LOWtools/shell/tests/test_pager.py48def test_pager_on_with_duckdb_pager_env(shell):CODE
LOWtools/shell/tests/test_pager.py61def test_pager_duckdb_pager_priority(shell):CODE
LOWtools/shell/tests/test_pager.py73def test_pager_custom_command(shell):CODE
LOWtools/shell/tests/test_pager.py84def test_pager_custom_command_with_args(shell):CODE
LOWtools/shell/tests/test_pager.py94def test_pager_with_query_output(shell):CODE
LOWtools/shell/tests/test_pager.py105def test_pager_doesnt_affect_error_messages(shell):CODE
LOWtools/shell/tests/test_pager.py117def test_pager_preserves_nullvalue(shell):CODE
LOWtools/shell/tests/test_pager.py128def test_pager_multiple_queries(shell):CODE
LOWtools/shell/tests/test_safe_mode.py22def test_safe_mode_dot_command(shell, param):CODE
LOWtools/shell/tests/test_safe_mode.py33def test_safe_mode_database_basic(shell, random_filepath):CODE
LOWtools/shell/tests/test_safe_mode.py45def test_safe_mode_database_commands(shell, random_filepath, command, persistent):CODE
LOWtools/shell/tests/test_prompt.py10def test_prompt_unterminated_bracket(shell):CODE
LOWtools/shell/tests/test_prompt.py18def test_prompt_unterminated_escape(shell):CODE
LOWtools/shell/tests/test_prompt.py26def test_prompt_invalid_option(shell):CODE
LOWtools/shell/tests/test_prompt.py34def test_prompt_missing_query(shell):CODE
LOWtools/shell/tests/test_prompt.py42def test_prompt_invalid_color(shell):CODE
LOWtools/shell/tests/test_errors.py69def test_single_quotes_in_error(shell):CODE
LOWtools/shell/tests/test_errors.py80def test_double_quotes_in_error(shell):CODE
LOWtools/shell/tests/test_warning.py82def test_changing_logging_settings(shell, tmp_path):CODE
LOWtools/shell/tests/test_readable_numbers.py23def test_readable_numbers_exhaustive(shell, test_rounding):CODE
LOWtools/shell/tests/test_readable_numbers.py45def test_readable_numbers_rounding(shell):CODE
LOWtools/shell/tests/test_readable_numbers.py58def test_readable_rounding_edge_case(shell):CODE
LOWtools/shell/tests/test_readable_numbers.py68def test_readable_numbers_limit(shell):CODE
LOWtools/shell/tests/test_readable_numbers.py98def test_disable_readable_numbers(shell):CODE
LOWtools/shell/tests/test_readable_numbers.py107def test_large_number_rendering_all(shell):CODE
LOWtools/shell/tests/test_readable_numbers.py117def test_readable_numbers_columns(shell):CODE
LOWtools/shell/tests/test_readable_numbers.py126def test_readable_numbers_row_count(shell):CODE
LOWtools/shell/tests/test_readable_numbers.py135def test_readable_numbers_row_count_wide(shell):CODE
LOWtools/shell/tests/test_readable_numbers.py144def test_readable_numbers_row_count_wide_single_col(shell):CODE
392 more matches not shown…
Unused Imports168 hits · 165 pts
SeverityFileLineSnippetContext
LOWtools/shell/tests/test_autocomplete.py3CODE
LOWtools/shell/tests/test_autocomplete.py4CODE
LOWtools/shell/tests/test_autocomplete.py5CODE
LOWtools/shell/tests/test_autocomplete.py6CODE
LOWtools/shell/tests/test_autocomplete.py8CODE
LOWtools/shell/tests/test_autocomplete.py9CODE
LOWtools/shell/tests/test_highlighting.py4CODE
LOWtools/shell/tests/test_highlighting.py5CODE
LOWtools/shell/tests/test_highlighting.py6CODE
LOWtools/shell/tests/test_shell_rendering.py4CODE
LOWtools/shell/tests/test_shell_rendering.py5CODE
LOWtools/shell/tests/test_shell_rendering.py6CODE
LOWtools/shell/tests/test_shell_rendering.py8CODE
LOWtools/shell/tests/test_shell_rendering.py9CODE
LOWtools/shell/tests/test_logging.py3CODE
LOWtools/shell/tests/test_logging.py4CODE
LOWtools/shell/tests/test_logging.py5CODE
LOWtools/shell/tests/test_logging.py7CODE
LOWtools/shell/tests/test_pager.py3CODE
LOWtools/shell/tests/test_safe_mode.py4CODE
LOWtools/shell/tests/test_safe_mode.py5CODE
LOWtools/shell/tests/test_safe_mode.py6CODE
LOWtools/shell/tests/test_prompt.py3CODE
LOWtools/shell/tests/test_prompt.py4CODE
LOWtools/shell/tests/test_prompt.py5CODE
LOWtools/shell/tests/test_prompt.py6CODE
LOWtools/shell/tests/test_errors.py4CODE
LOWtools/shell/tests/test_errors.py5CODE
LOWtools/shell/tests/test_errors.py6CODE
LOWtools/shell/tests/test_profiling.py3CODE
LOWtools/shell/tests/test_profiling.py4CODE
LOWtools/shell/tests/test_profiling.py5CODE
LOWtools/shell/tests/test_profiling.py6CODE
LOWtools/shell/tests/test_readable_numbers.py4CODE
LOWtools/shell/tests/test_readable_numbers.py5CODE
LOWtools/shell/tests/test_readable_numbers.py6CODE
LOWtools/shell/tests/test_readable_numbers.py8CODE
LOWtools/shell/tests/test_command_line_arguments.py3CODE
LOWtools/shell/tests/test_command_line_arguments.py4CODE
LOWtools/shell/tests/test_command_line_arguments.py5CODE
LOWtools/shell/tests/test_command_line_arguments.py6CODE
LOWtools/shell/tests/test_command_line_arguments.py8CODE
LOWtools/shell/tests/test_command_line_arguments.py9CODE
LOWtools/shell/tests/test_duckbox_streaming.py3CODE
LOWtools/shell/tests/test_duckbox_streaming.py4CODE
LOWtools/shell/tests/test_duckbox_streaming.py5CODE
LOWtools/shell/tests/test_duckbox_streaming.py6CODE
LOWtools/shell/tests/test_read_from_stdin.py4CODE
LOWtools/shell/tests/test_read_from_stdin.py5CODE
LOWtools/shell/tests/test_read_from_stdin.py6CODE
LOWtools/shell/tests/test_read_from_stdin.py8CODE
LOWtools/shell/tests/test_import.py3CODE
LOWtools/shell/tests/test_import.py4CODE
LOWtools/shell/tests/test_import.py5CODE
LOWtools/shell/tests/test_import.py6CODE
LOWtools/shell/tests/test_import.py8CODE
LOWtools/shell/tests/test_import.py9CODE
LOWtools/shell/tests/test_open.py3CODE
LOWtools/shell/tests/test_open.py4CODE
LOWtools/shell/tests/test_open.py5CODE
108 more matches not shown…
Hallucination Indicators11 hits · 140 pts
SeverityFileLineSnippetContext
CRITICAL…ion/operator/csv_scanner/sniffer/dialect_detection.cpp309 if (sniffed_column_counts.state_machine.options.dialect_options.skip_rows.IsSetByUser()) {CODE
CRITICAL…ion/operator/csv_scanner/sniffer/dialect_detection.cpp311 sniffed_column_counts.state_machine.options.dialect_options.skip_rows.GetValue();CODE
CRITICAL…ion/operator/csv_scanner/sniffer/dialect_detection.cpp355 sniffed_column_counts.state_machine.dialect_options.state_machine_options.quote.GetValue() != '\0';CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp216 if (result.state_machine.dialect_options.state_machine_options.new_line.GetValue() != NewLineIdentifier::CARRY_ON) {CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp630 value_ptr, length, result.state_machine.dialect_options.state_machine_options.escape.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp631 result.state_machine.dialect_options.state_machine_options.quote.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp632 result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp1558 result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp1590 result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp1600 !result.state_machine.dialect_options.state_machine_options.delimiter.GetValue().empty()) {CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp1602 result.state_machine.dialect_options.state_machine_options.delimiter.GetValue().size() - 1;CODE
Excessive Try-Catch Wrapping63 hits · 105 pts
SeverityFileLineSnippetContext
LOWtest/bwc/runner.py278 except Exception as e:CODE
LOWtest/bwc/runner.py314 except Exception as e:CODE
MEDIUMtest/bwc/update_cache.py52 print(f"Error: cache directory not found in test-utils: {cache_dir}")CODE
MEDIUMtest/bwc/export_cache.py107 print(f"Error: runtime directory not found: {runtime_dir}")CODE
LOWtest/bwc/utils/test_files_parser.py496 except Exception as e:CODE
LOWtest/bwc/utils/test_files_parser.py675 except Exception as e:CODE
LOWtest/bwc/utils/duckdb_cli.py62 except Exception as e:CODE
LOWtest/bwc/utils/duckdb_cli.py100 except Exception:CODE
LOWtest/bwc/utils/duckdb_cli.py106 except Exception:CODE
LOWtest/bwc/utils/duckdb_cli.py118 except Exception:CODE
MEDIUMtest/bwc/utils/duckdb_cli.py35def start(self):CODE
LOWtest/io_metrics/run_io_metrics_test.py257 except Exception as e: # noqa: BLE001 - report any test error uniformlyCODE
LOWtest/parquet/generate_parquet_test.py43 except Exception as e:CODE
MEDIUMscripts/generate_storage_info.py90 print(f"Error: {path} not found.")CODE
MEDIUMscripts/generate_storage_info.py112 print(f"Error: Version map not found at {VERSION_MAP_PATH}")CODE
MEDIUMscripts/run-clang-tidy.py69 print('Error: could not find compilation database.')CODE
MEDIUMscripts/run-clang-tidy.py337 print('Error exporting fixes.\n', file=sys.stderr)CODE
MEDIUMscripts/run-clang-tidy.py346 print('Error applying fixes.\n', file=sys.stderr)CODE
MEDIUMscripts/create_patch.py36 print(f"Error: Extension CMake file not found: {cmake_path}")CODE
MEDIUMscripts/create_patch.py44 print(f"Error: Could not find GIT_TAG in {cmake_path}")CODE
MEDIUMscripts/create_patch.py61 print(f"Error: Failed to run git in {args.repository_path} — {e.stderr.strip()}")CODE
MEDIUMscripts/create_patch.py85 print(f"Error: Failed to run git diff — {e.stderr.strip()}")CODE
LOWscripts/format.py34except Exception as e:CODE
LOWscripts/format.py44except Exception as e:CODE
LOWscripts/format.py53except Exception as e:CODE
LOWscripts/generate_serialization.py1033 except Exception as e:CODE
MEDIUMscripts/cleanup_config_skip_tests.py166 print(f"Error: Config directory not found: {config_dir}", file=sys.stderr)CODE
MEDIUMscripts/cleanup_config_skip_tests.py184 print(f"Error parsing {config_path}: {e}", file=sys.stderr)CODE
LOWscripts/cleanup_config_skip_tests.py185 except Exception as e:CODE
MEDIUMscripts/cleanup_config_skip_tests.py186 print(f"Error processing {config_path}: {e}", file=sys.stderr)CODE
LOWscripts/run-clangd-tidy.py287 except Exception:STRING
LOWscripts/clang-tidy-diff.py79 except Exception as e:STRING
LOWscripts/asset-upload-gha.py74 except Exception as e:CODE
MEDIUMscripts/format_test_benchmark.py64 print("Error: -i cannot be used with stdin", file=sys.stderr)CODE
MEDIUMscripts/format_test_benchmark.py73 print(f"Error: {file_path} is not a file", file=sys.stderr)CODE
MEDIUMscripts/format_test_benchmark.py102 print("Error: -f/--full-path can only be used with stdin (-)", file=sys.stderr)CODE
MEDIUMscripts/format_test_benchmark.py105 print("Error: -f/--full-path cannot be used with multiple files", file=sys.stderr)CODE
LOWscripts/ci/run_tests.py1900 except Exception as exc:CODE
LOWscripts/ci/check_staged_extensions.py220 except Exception as error:CODE
LOWscripts/ci/check_staged_extensions.py236 except Exception as error:CODE
LOWscripts/lldb/pointer_print/pointer_print.py149 except Exception:CODE
LOWscripts/lldb/pointer_print/pointer_print.py246 except Exception:CODE
MEDIUMscripts/parser/generate_transformer_trampoline.py224 print("Error: manual transformer function signatures do not match generated grammar metadata:", file=sys.stderr)CODE
MEDIUMscripts/parser/generate_transformer_trampoline.py471 print("Error: missing trampoline transformer metadata in grammar_types.yml:", file=sys.stderr)CODE
LOWscripts/parser/generate_transformer_trampoline.py188 except Exception as e:CODE
LOWscripts/parser/generate_transformer_trampoline.py404 except Exception as e:CODE
MEDIUMscripts/parser/grammar_types.py22 print("Error: PyYAML is required. Install with: pip install pyyaml", file=sys.stderr)CODE
MEDIUMscripts/parser/grammar_types.py26 print(f"Error: {types_file} not found.", file=sys.stderr)CODE
MEDIUMscripts/parser/grammar_types.py33 print(f"Error: {types_file} is malformed (expected a top-level mapping).", file=sys.stderr)CODE
MEDIUMscripts/parser/grammar_types.py42 print(f"Error: matcher_rule_overrides in {types_file} must be a mapping.", file=sys.stderr)CODE
MEDIUMscripts/parser/grammar_types.py66 print(f"Error: {types_file} contains inconsistent rule metadata:", file=sys.stderr)CODE
MEDIUMscripts/parser/grammar_types.py131 print(f"Error: {types_file} contains duplicate rule listings:", file=sys.stderr)CODE
MEDIUMscripts/parser/grammar_types.py147 print(f"Error: matcher_rule_overrides in {types_file} must be a mapping.", file=sys.stderr)CODE
MEDIUMscripts/parser/grammar_types.py158 print(f"Error: packrat_memoized_rules in {types_file} must be a list.", file=sys.stderr)CODE
MEDIUMscripts/parser/grammar_types.py166 print(f"Error: packrat_memoized_rules in {types_file} contains unknown grammar rules:", file=sys.stderr)CODE
MEDIUMscripts/parser/generate_transformer.py1462 print("Error: missing transformer metadata in grammar_types.yml:", file=sys.stderr)CODE
LOWscripts/parser/generate_transformer.py969 except Exception as e:CODE
LOWscripts/parser/generate_transformer.py1479 except Exception as e:CODE
LOWscripts/parser/generate_transformer.py1503 except Exception as e:CODE
MEDIUMscripts/parser/inline_grammar.py306 print(f"Error: rule '{rule_name}' references undefined rule '{ref}'")CODE
3 more matches not shown…
Fake / Example Data67 hits · 75 pts
SeverityFileLineSnippetContext
LOWtools/shell/tests/test_large_value_rendering.py11long_string = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doCODE
LOWtools/shell/tests/test_large_value_rendering.py11long_string = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doCODE
LOWtest/api/capi/v1/test_capi_profiling.cpp241 auto dummy_value = duckdb_create_bool(true);CODE
LOWtest/api/capi/v1/test_capi_profiling.cpp244 count = duckdb_get_map_size(dummy_value);CODE
LOWtest/api/capi/v1/test_capi_profiling.cpp253 key = duckdb_get_map_key(dummy_value, i);CODE
LOWtest/api/capi/v1/test_capi_profiling.cpp260 value = duckdb_get_map_value(dummy_value, i);CODE
LOWtest/api/capi/v1/test_capi_profiling.cpp265 duckdb_destroy_value(&dummy_value);CODE
LOWthird_party/jemalloc/src/prof_recent.c85 * "placeholder"; the real recording of the allocation requires a lockCOMMENT
LOWsrc/include/duckdb/function/scalar/string_functions.hpp362 static constexpr const char *Example = "regexp_extract('abcde', '[a-z]{3}')\001regexp_extract('abc', '([a-z])(b)', 1)\0CODE
LOWsrc/include/duckdb/common/types.hpp200 // A "template" type functions as a "placeholder" type for function arguments and return types.COMMENT
LOWsrc/function/scalar/string/functions.json372 "example": "regexp_extract('John Doe', '([a-z]+) ([a-z]+)', ['first_name', 'last_name'], 'i')",CODE
LOWsrc/parser/peg/transformer/peg_transformer_factory.cpp348 Value dummy_value;CODE
LOWsrc/parser/peg/transformer/peg_transformer_factory.cpp349 if (!ConstructConstantFromExpression(cast.Child(), dummy_value)) {CODE
LOWsrc/parser/peg/transformer/peg_transformer_factory.cpp359 auto cast_value = dummy_value.DefaultTryCastAs(cast_type, &error_message);CODE
LOWsrc/parser/peg/transformer/peg_transformer_factory.cpp361 throw ConversionException("Unable to cast %s to %s", dummy_value.ToString(),CODE
LOWsrc/parser/tableref/pivotref.cpp209 Value dummy_value;CODE
LOWsrc/parser/tableref/pivotref.cpp210 if (!TryFoldConstantForBackwardsCompatibility(cast.Child(), dummy_value)) {CODE
LOWsrc/parser/tableref/pivotref.cpp222 auto cast_value = dummy_value.DefaultTryCastAs(cast_type, &error_message);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp165 bool dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp166 return TryCastStringBool(value_ptr, value_size, dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp169 int8_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp170 return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, false);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp173 int16_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp174 return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp177 int32_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp178 return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp181 int64_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp182 return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp185 hugeint_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp187 dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp190 uint8_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp191 return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp194 uint16_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp195 return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp198 uint32_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp199 return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp202 uint64_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp203 return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp206 uhugeint_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp208 dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp213 double dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp214 return TryDoubleCast<double>(value_ptr, value_size, dummy_value, true, decimal_separator);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp217 float dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp218 return TryDoubleCast<float>(value_ptr, value_size, dummy_value, true, decimal_separator);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp230 date_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp231 return Date::TryConvertDate(value_ptr, value_size, pos, dummy_value, special, true) == DateCastResult::SUCCESS;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp234 timestamp_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp239 .TryParseTimestamp(value, dummy_value, error_message);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp241 return Timestamp::TryConvertTimestamp(value_ptr, value_size, dummy_value, false, nullptr, true) ==CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp246 dtime_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp247 return Time::TryConvertTime(value_ptr, value_size, pos, dummy_value, true);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp255 int16_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp256 return TryDecimalStringCast<int16_t, ','>(value_ptr, value_size, dummy_value, width, scale);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp260 int32_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp261 return TryDecimalStringCast<int32_t, ','>(value_ptr, value_size, dummy_value, width, scale);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp265 int64_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp266 return TryDecimalStringCast<int64_t, ','>(value_ptr, value_size, dummy_value, width, scale);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp270 hugeint_t dummy_value;CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp271 return TryDecimalStringCast<hugeint_t, ','>(value_ptr, value_size, dummy_value, width, scale);CODE
LOW…cution/operator/csv_scanner/sniffer/type_detection.cpp282 int16_t dummy_value;CODE
7 more matches not shown…
Deep Nesting89 hits · 70 pts
SeverityFileLineSnippetContext
LOWtools/shell/tests/test_rendering_mode_regression.py12CODE
LOWextension/icu/scripts/generate_tz_data.py67CODE
LOWextension/icu/scripts/generate_collation_data.py150CODE
LOWextension/icu/scripts/generate_collation_data.py200CODE
LOWextension/icu/scripts/generate_collation_data.py261CODE
LOWextension/icu/scripts/generate_collation_data.py1261CODE
LOWextension/icu/scripts/generate_collation_data.py1527CODE
LOWextension/icu/scripts/generate_collation_data.py1811CODE
LOWextension/icu/scripts/generate_collation_data.py210CODE
LOWextension/icu/scripts/generate_collation_data.py411CODE
LOWextension/icu/scripts/generate_collation_data.py422CODE
LOWextension/icu/scripts/generate_collation_data.py438CODE
LOWextension/icu/scripts/generate_collation_data.py509CODE
LOWextension/icu/scripts/generate_collation_data.py527CODE
LOWextension/icu/scripts/generate_collation_data.py755CODE
LOWextension/icu/scripts/generate_collation_data.py1017CODE
LOWextension/icu/scripts/generate_collation_data.py1149CODE
LOWtest/bwc/runner.py181CODE
LOWtest/bwc/runner.py283CODE
LOWtest/bwc/export_cache.py65CODE
LOWtest/bwc/utils/test_files_parser.py208CODE
LOWtest/bwc/utils/test_files_parser.py420CODE
LOWtest/bwc/utils/duckdb_cli.py143CODE
LOWtest/bwc/utils/duckdb_installer.py85CODE
LOWtest/io_metrics/run_io_metrics_test.py200CODE
LOWscripts/amalgamation.py37CODE
LOWscripts/sync_out_of_tree_extensions.py41CODE
LOWscripts/sync_out_of_tree_extensions.py298CODE
LOWscripts/generate_extensions_function.py106CODE
LOWscripts/test_peg_parser.py38CODE
LOWscripts/test_peg_parser.py110CODE
LOWscripts/generate_util.py165CODE
LOWscripts/generate_util.py788CODE
LOWscripts/package_build.py228CODE
LOWscripts/package_build.py280CODE
LOWscripts/package_build.py492CODE
LOWscripts/run-clang-tidy.py164CODE
LOWscripts/create_patch.py73CODE
LOWscripts/create_patch.py93CODE
LOWscripts/test_benchmark_sql_runner.py42CODE
LOWscripts/generate_serialization.py836CODE
LOWscripts/generate_serialization.py507CODE
LOWscripts/test_zero_initialize.py79CODE
LOWscripts/cleanup_config_skip_tests.py27CODE
LOWscripts/test_serialization_bwc.py26CODE
LOWscripts/test_serialization_bwc.py166CODE
LOWscripts/ccache_workflow_summary.py175CODE
LOWscripts/clang-tidy-diff.py52CODE
LOWscripts/generate_functions.py38CODE
LOWscripts/generate_functions.py123CODE
LOWscripts/ci/run_tests.py281CODE
LOWscripts/ci/run_tests.py605CODE
LOWscripts/ci/run_tests.py632CODE
LOWscripts/ci/run_tests.py688CODE
LOWscripts/ci/run_tests.py762CODE
LOWscripts/ci/run_tests.py880CODE
LOWscripts/ci/run_tests.py920CODE
LOWscripts/ci/run_tests.py1410CODE
LOWscripts/ci/run_tests.py1576CODE
LOWscripts/ci/run_tests.py1709CODE
29 more matches not shown…
Cross-Language Confusion13 hits · 68 pts
SeverityFileLineSnippetContext
HIGHtools/shell/tests/test_shell_rendering.py77 .statement("select 'val || other_val' c;")CODE
HIGHtools/shell/tests/test_large_value_rendering.py60 "value": {"type": {"id": "BLOB", "type_info": null}, "is_null": false, "value": "10"}CODE
HIGHtools/shell/tests/test_large_value_rendering.py63 "from_table": {"type": "EMPTY", "alias": "", "sample": null, "query_location": 18446744073709551615},CODE
HIGHtools/shell/tests/test_large_value_rendering.py64 "where_clause": null,CODE
HIGHtools/shell/tests/test_large_value_rendering.py68 "having": null,CODE
HIGHtools/shell/tests/test_large_value_rendering.py69 "sample": null,CODE
HIGHtools/shell/tests/test_rendering_mode_regression.py1306expected_results[all_types_source]["json"] = '''[{"bool":false,"tinyint":-128,"smallint":-32768,"int":-2147483648,"biginSTRING
HIGHtools/shell/tests/test_rendering_mode_regression.py1307{"bool":true,"tinyint":127,"smallint":32767,"int":2147483647,"bigint":9223372036854775807,"hugeint":"1701411834604692317STRING
HIGHtools/shell/tests/test_rendering_mode_regression.py1308{"bool":null,"tinyint":null,"smallint":null,"int":null,"bigint":null,"hugeint":null,"uhugeint":null,"utinyint":null,"usmSTRING
HIGHtools/shell/tests/test_rendering_mode_regression.py1311expected_results[all_types_source]["jsonlines"] = '''{"bool":false,"tinyint":-128,"smallint":-32768,"int":-2147483648,"bSTRING
HIGHtools/shell/tests/test_rendering_mode_regression.py1312{"bool":true,"tinyint":127,"smallint":32767,"int":2147483647,"bigint":9223372036854775807,"hugeint":"1701411834604692317STRING
HIGHtools/shell/tests/test_rendering_mode_regression.py1313{"bool":null,"tinyint":null,"smallint":null,"int":null,"bigint":null,"hugeint":null,"uhugeint":null,"utinyint":null,"usmSTRING
HIGHscripts/generate_util.py634 # Non-nullable: const accessor returns const ParsedExpression& directly (assume non-null)STRING
AI Slop Vocabulary16 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMtest/py/test_temp_dir_contract.py33# Dumps the substituted contract vars so the harness can assert on them from outside.STRING
MEDIUMthird_party/httplib/httplib.hpp9193 // Cross-host/scheme redirect - create new client with robust setupCOMMENT
MEDIUMthird_party/httplib/httplib.hpp9198// New method for robust redirect client creationCOMMENT
MEDIUMthird_party/httplib/httplib.hpp9258 // Setup client with robust configurationCOMMENT
MEDIUMthird_party/httplib/httplib.hpp9266// New method for robust client setup (based on basic_manual_redirect.cppCOMMENT
MEDIUMthird_party/re2/re2/prefilter_tree.h114 // These are all the nodes formed by Compile. Essentially, there isCOMMENT
LOWscripts/generate_extensions_function.py140 # Otherwise, just add the character if we're inside braces.COMMENT
MEDIUMscripts/test_zero_initialize.py146 # generated DB files (otherwise the harness deletes loaded DBs under TEMP_DIR, leavingCOMMENT
MEDIUMapi_spec/v1/metadata.yaml81 # Hand rolled types here; leverage primitive to materialize in the spec, butCOMMENT
MEDIUM…nclude/duckdb/parser/parsed_data/create_macro_info.hpp29 //! Essentially we used to only support a single function in the CreateMacroInfoCOMMENT
MEDIUMsrc/include/duckdb/main/secret/secret_storage.hpp191//! That gives automatic, crash-robust cleanup (the secrets die with the ClientContext) and full isolation betweenCOMMENT
MEDIUMsrc/function/table/direct_file_reader.cpp64 // We utilize projection pushdown here to only read the file content if the 'data' column is requestedCOMMENT
MEDIUMsrc/function/table/direct_file_reader.cpp85 // We utilize projection pushdown to avoid potentially expensive fs operations.COMMENT
MEDIUMsrc/execution/physical_plan/plan_asof_join.cpp361 // Check to see if we can leverage partitioningCOMMENT
MEDIUMsrc/execution/operator/join/physical_iejoin.cpp1832 // We can't leverage any more threads than tasks.COMMENT
MEDIUMsrc/main/secret/secret_storage.cpp339//! when the connection (its ClientContext) goes away - giving automatic, crash-robust cleanup with no cooperation.COMMENT
Verbosity Indicators16 hits · 27 pts
SeverityFileLineSnippetContext
LOW…es/3. Visualizing Data.xcplaygroundpage/Contents.swift31 ## Step 1: Extracting DataCOMMENT
LOW…es/3. Visualizing Data.xcplaygroundpage/Contents.swift120 ## Step 2: Making ChartsSTRING
LOW…ges/2. Getting Started.xcplaygroundpage/Contents.swift36 ## Step 1: Fetching DataCOMMENT
LOW…ges/2. Getting Started.xcplaygroundpage/Contents.swift79 ## Step 2: Rendering DataCOMMENT
LOWextension/json/json_reader.cpp1008 // we need to check if there is data available within our current readerCOMMENT
LOWextension/icu/icu_extension.cpp280 // Step 1: Strip leading zerosCOMMENT
LOWextension/icu/icu_extension.cpp287 // Step 2: Parse hours based on whether colon is presentCOMMENT
LOWthird_party/catch/catch.hpp12786 // No children have started. We need to check if they _can_COMMENT
LOWsrc/function/table/arrow_conversion.cpp1400 //! We need to check if our indexes fit in a uint32_tCOMMENT
LOWsrc/function/table/arrow_conversion.cpp1408 //! We need to check if our indexes fit in a uint32_tCOMMENT
LOWsrc/execution/sample/base_reservoir_sample.cpp31 //! first we need to check if the reservoir already has "m" elementsCOMMENT
LOW…ion/operator/csv_scanner/sniffer/dialect_detection.cpp611 // Step 1: Generate state machinesCOMMENT
LOW…ion/operator/csv_scanner/sniffer/dialect_detection.cpp613 // Step 2: Analyze all candidates on the first chunkCOMMENT
LOW…ion/operator/csv_scanner/sniffer/dialect_detection.cpp617 // Step 3: Loop over candidates and find if they can still produce good results for the remaining chunksCOMMENT
LOW…/operator/csv_scanner/scanner/string_value_scanner.cpp885 // We need to check if we are getting the correct number of columns here.COMMENT
LOWsrc/main/database_manager.cpp400 // If we are loading a database type from an extension, then we need to check if that extension is loaded.COMMENT
Structural Annotation Overuse10 hits · 18 pts
SeverityFileLineSnippetContext
LOW…es/3. Visualizing Data.xcplaygroundpage/Contents.swift31 ## Step 1: Extracting DataCOMMENT
LOW…es/3. Visualizing Data.xcplaygroundpage/Contents.swift120 ## Step 2: Making ChartsSTRING
LOW…ges/2. Getting Started.xcplaygroundpage/Contents.swift36 ## Step 1: Fetching DataCOMMENT
LOW…ges/2. Getting Started.xcplaygroundpage/Contents.swift79 ## Step 2: Rendering DataCOMMENT
LOWextension/icu/icu_extension.cpp280 // Step 1: Strip leading zerosCOMMENT
LOWextension/icu/icu_extension.cpp287 // Step 2: Parse hours based on whether colon is presentCOMMENT
LOW.github/workflows/OnPR.yml24 # WARNING: This workflow runs with base-repository privileges.COMMENT
LOW…ion/operator/csv_scanner/sniffer/dialect_detection.cpp611 // Step 1: Generate state machinesCOMMENT
LOW…ion/operator/csv_scanner/sniffer/dialect_detection.cpp613 // Step 2: Analyze all candidates on the first chunkCOMMENT
LOW…ion/operator/csv_scanner/sniffer/dialect_detection.cpp617 // Step 3: Loop over candidates and find if they can still produce good results for the remaining chunksCOMMENT
Self-Referential Comments5 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMtools/shell/tests/test_autocomplete.py304 # Create the filesCOMMENT
MEDIUMextension/icu/scripts/generate_collation_tests.py87 "# This file is generated by extension/icu/scripts/generate_collation_tests.py",CODE
MEDIUMtest/bwc/runner.py332 # Create the report databaseCOMMENT
MEDIUMthird_party/mbedtls/mbedtls_wrapper.cpp28# Create a new keyCOMMENT
MEDIUMscripts/regression_test_python.py340 # Create the DataFrame with the specified data and column type as objectCOMMENT
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWtest/bwc/utils/test_report.py76 # Check if `self.comparison_results_file_name` existsCOMMENT
LOWtest/bwc/utils/duckdb_installer.py20 # Check if the cli already existsCOMMENT
LOWscripts/merge_vcpkg_deps.py88# Print outputCOMMENT
LOWscripts/generate_serialization.py977 # Check if is a templated classCOMMENT
LOWscripts/cleanup_config_skip_tests.py44 # Check if this config inherits from anotherCOMMENT
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtools/shell/tests/test_read_from_stdin.py200CODE
MEDIUMtools/shell/tests/test_read_from_stdin.py221CODE
MEDIUMtools/shell/tests/test_read_from_stdin.py222CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md133Please do not submit pull requests generated by AI (LLMs).CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWextension/json/json_functions/json_contains.cpp149 // TODO: implement json_contains that accepts path argument as wellCOMMENT
LOWsrc/include/duckdb/function/window_function.hpp278 auto HasSerializationCallbacks() const -> bool { return false; } // TODO: implement thisCODE
LOWsrc/logging/log_manager.cpp25 // TODO: implement ThreadLocalLogger and return it hereCOMMENT
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/shell/tests/test_format.py66CODE
LOWtest/bwc/utils/query_exclusions.py60CODE
LOWscripts/regression/test_comparison.py239CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWthird_party/thrift/thrift/transport/TBufferTransports.h481 // Don't forget to update constrctors, initCommon, and swap ifCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/generate_extensions_function.py15# Example usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/generate_metrics.py126def update_source(data: dict, source_path: str) -> None:CODE