Repository Analysis

duckdb/duckdb

DuckDB is an analytical in-process SQL database management system

3.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of duckdb/duckdb, a C++ project with 39,373 GitHub stars. SynthScan v2.0 examined 1,596,355 lines of code across 6335 source files, recording 4753 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 3.1 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.1
Adjusted Score
3.1
Raw Score
100%
Time Factor
2026-07-13
Last Push
39.4K
Stars
C++
Language
1.6M
Lines of Code
6.3K
Files
4.8K
Pattern Hits
2026-07-14
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 139LOW 4589

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 4753 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 Block3807 hits · 3610 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
3747 more matches not shown…
Hyper-Verbose Identifiers372 hits · 318 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.py103def test_mode_json_empty_result(shell):CODE
LOWtools/shell/tests/test_shell_rendering.py125def test_long_type_empty_result(shell):CODE
LOWtools/shell/tests/test_logging.py22def test_logging_custom_delim(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
LOWtools/shell/tests/test_command_line_arguments.py38def test_storage_version_latest(shell):CODE
LOWtools/shell/tests/test_command_line_arguments.py80def test_storage_version_error(shell):CODE
LOWtools/shell/tests/test_schema_metadata_rendering.py34def test_detaching_default_db(shell):CODE
LOWtools/shell/tests/test_duckbox_streaming.py21def test_analyze_streaming_wrap(shell):CODE
LOWtools/shell/tests/test_read_from_stdin.py50 def test_read_stdin_csv_where_filename(self, shell):STRING
312 more matches not shown…
Decorative Section Separators79 hits · 210 pts
SeverityFileLineSnippetContext
MEDIUMtools/shell/tests/test_format.py59# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/shell/tests/test_format.py61# ---------------------------------------------------------------------------COMMENT
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.yml581# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml583# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml728# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml730# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml969# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml971# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1170# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1172# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1255# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1257# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1440# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1442# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1527# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1530# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1615# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1617# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1755# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1758# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/transformer_plan.py9# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/transformer_plan.py11# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/transformer_plan.py219# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/transformer_plan.py221# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/transformer_plan.py746# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/transformer_plan.py748# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py473# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py483# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py19# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py192# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py198# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py246# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py248# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py825# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/generate_transformer.py827# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/parser/peg/sql_formatter.cpp20// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/parser/peg/sql_formatter.cpp22// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/parser/peg/sql_formatter.cpp82// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/parser/peg/sql_formatter.cpp84// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/parser/peg/sql_formatter.cpp118// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/parser/peg/sql_formatter.cpp120// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/parser/peg/sql_formatter.cpp187// ─────────────────────────────────────────────────────────────────────────────COMMENT
19 more matches not shown…
Unused Imports177 hits · 174 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
117 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.cpp646 value_ptr, length, result.state_machine.dialect_options.state_machine_options.escape.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp647 result.state_machine.dialect_options.state_machine_options.quote.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp648 result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp1550 result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp1582 result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp1592 !result.state_machine.dialect_options.state_machine_options.delimiter.GetValue().empty()) {CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp1594 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.py177 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.py1882 except Exception as exc:CODE
LOWscripts/ci/check_staged_extensions.py180 except Exception as error:CODE
LOWscripts/ci/check_staged_extensions.py196 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.py1453 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.py1470 except Exception as e:CODE
LOWscripts/parser/generate_transformer.py1494 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/test_capi_profiling.cpp241 auto dummy_value = duckdb_create_bool(true);CODE
LOWtest/api/capi/test_capi_profiling.cpp244 count = duckdb_get_map_size(dummy_value);CODE
LOWtest/api/capi/test_capi_profiling.cpp253 key = duckdb_get_map_key(dummy_value, i);CODE
LOWtest/api/capi/test_capi_profiling.cpp260 value = duckdb_get_map_value(dummy_value, i);CODE
LOWtest/api/capi/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.json362 "example": "regexp_extract('John Doe', '([a-z]+) ([a-z]+)', ['first_name', 'last_name'], 'i')",CODE
LOWsrc/parser/peg/transformer/peg_transformer_factory.cpp365 Value dummy_value;CODE
LOWsrc/parser/peg/transformer/peg_transformer_factory.cpp366 if (!ConstructConstantFromExpression(cast.Child(), dummy_value)) {CODE
LOWsrc/parser/peg/transformer/peg_transformer_factory.cpp376 if (!dummy_value.DefaultTryCastAs(cast_type, value, &error_message)) {CODE
LOWsrc/parser/peg/transformer/peg_transformer_factory.cpp377 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.cpp227 if (!dummy_value.DefaultTryCastAs(cast_type, value, &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 Nesting84 hits · 72 pts
SeverityFileLineSnippetContext
LOWtools/shell/tests/test_rendering_mode_regression.py12CODE
LOWtools/juliapkg/scripts/generate_c_api_julia.py800CODE
LOWtools/juliapkg/scripts/generate_c_api_julia.py694CODE
LOWtools/juliapkg/scripts/generate_c_api_julia.py747CODE
LOWtools/juliapkg/scripts/generate_c_api.py71CODE
LOWtools/juliapkg/scripts/generate_c_api.py117CODE
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/sync_out_of_tree_extensions.py423CODE
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.py266CODE
LOWscripts/package_build.py466CODE
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_c_api.py172CODE
LOWscripts/generate_c_api.py217CODE
LOWscripts/generate_c_api.py247CODE
LOWscripts/generate_c_api.py266CODE
LOWscripts/generate_c_api.py481CODE
LOWscripts/generate_c_api.py680CODE
LOWscripts/generate_c_api.py805CODE
LOWscripts/generate_functions.py38CODE
LOWscripts/generate_functions.py123CODE
LOWscripts/ci/run_tests.py280CODE
LOWscripts/ci/run_tests.py600CODE
LOWscripts/ci/run_tests.py627CODE
LOWscripts/ci/run_tests.py683CODE
LOWscripts/ci/run_tests.py757CODE
LOWscripts/ci/run_tests.py875CODE
LOWscripts/ci/run_tests.py906CODE
LOWscripts/ci/run_tests.py1392CODE
LOWscripts/ci/run_tests.py1558CODE
LOWscripts/ci/run_tests.py1691CODE
LOWscripts/ci/run_tests.py1822CODE
LOWscripts/ci/run_tests.py1944CODE
LOWscripts/ci/check_staged_extensions.py153CODE
LOWscripts/ci/test_run_tests.py181CODE
24 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 Vocabulary15 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMextension/icu/third_party/icu/common/locmap.cpp1173 // The purpose of this function is to leverage the Windows platform name->lcidCOMMENT
LOWextension/icu/third_party/icu/common/unicode/platform.h62 * Solution: #define any defines for non @internal API here, so that they are visible in the docs. If you just set PREDCOMMENT
MEDIUMextension/icu/third_party/icu/i18n/decNumberLocal.h48 #define DECCHECK 0 /* 1 to enable robust checking */COMMENT
LOWextension/icu/third_party/icu/i18n/dtptngen.cpp1299 // in #13183 just add b/B to skeleton, no longer need to set special flagsCOMMENT
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
MEDIUM…nclude/duckdb/parser/parsed_data/create_macro_info.hpp29 //! Essentially we used to only support a single function in the CreateMacroInfoCOMMENT
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/operator/join/physical_iejoin.cpp1850 // We can't leverage any more threads than tasks.COMMENT
Verbosity Indicators19 hits · 31 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.cpp862 // we need to check if there is data available within our current readerCOMMENT
LOWextension/icu/icu_extension.cpp265 // Step 1: Strip leading zerosCOMMENT
LOWextension/icu/icu_extension.cpp272 // Step 2: Parse hours based on whether colon is presentCOMMENT
LOWextension/icu/third_party/icu/common/locmap.cpp1173 // The purpose of this function is to leverage the Windows platform name->lcidCOMMENT
LOWextension/icu/third_party/icu/i18n/dtptngen.cpp685 // We need to check if there is an hour cycle on localeCOMMENT
LOWextension/icu/third_party/icu/i18n/tzgnames.cpp948 // then we need to check if the name is same with the location name.COMMENT
LOWthird_party/catch/catch.hpp12786 // No children have started. We need to check if they _can_COMMENT
LOWsrc/function/table/arrow_conversion.cpp1393 //! We need to check if our indexes fit in a uint32_tCOMMENT
LOWsrc/function/table/arrow_conversion.cpp1401 //! 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.cpp896 // We need to check if we are getting the correct number of columns here.COMMENT
LOWsrc/main/database_manager.cpp406 // If we are loading a database type from an extension, then we need to check if that extension is loaded.COMMENT
Self-Referential Comments10 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMtools/shell/tests/test_autocomplete.py304 # Create the filesCOMMENT
MEDIUMtools/juliapkg/scripts/generate_c_api_julia.py700 self._analyze_types(function_groups) # Create the julia type mapSTRING
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
MEDIUMscripts/generate_c_api.py37# Define the extension structCOMMENT
MEDIUMscripts/generate_c_api.py757 # Create the versioning definesSTRING
MEDIUMscripts/regression/benchmark.py71 # Define the argumentsSTRING
MEDIUMscripts/regression/benchmark.py90 # Create an instance of BenchmarkRunnerConfig using parsed argumentsSTRING
MEDIUMscripts/regression/test_runner.py37# Define the argumentsCOMMENT
Structural Annotation Overuse11 hits · 19 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.cpp265 // Step 1: Strip leading zerosCOMMENT
LOWextension/icu/icu_extension.cpp272 // Step 2: Parse hours based on whether colon is presentCOMMENT
LOW…tension/icu/third_party/icu/i18n/number_scientific.cpp85 // NOTE: This method is only called one place, NumberRangeFormatterImpl.COMMENT
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
Slop Phrases5 hits · 10 pts
SeverityFileLineSnippetContext
LOW…/icu/third_party/icu/i18n/double-conversion-bignum.cpp434 // Don't forget to update the used_digits and the exponent.COMMENT
MEDIUMextension/icu/third_party/icu/i18n/unicode/dtfmtsym.h68 * DateFormatSymbols object, they can feel free to modify the date-timeCOMMENT
MEDIUMextension/icu/third_party/icu/i18n/unicode/dtitvinf.h146 * they can feel free to modify it as necessary.COMMENT
LOWextension/icu/scripts/makedata.sh37# build the data, make sure to create "filters.json" first, see aboveCOMMENT
LOWthird_party/thrift/thrift/transport/TBufferTransports.h481 // Don't forget to update constrctors, initCommon, and swap ifCOMMENT
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWtools/juliapkg/scripts/generate_c_api_julia.py443 # Check if the argument is (likely) an indexCOMMENT
LOWtest/bwc/utils/test_report.py75 # 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
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWextension/json/json_functions/json_contains.cpp151 // TODO: implement json_contains that accepts path argument as wellCOMMENT
LOWextension/icu/third_party/icu/i18n/rbnf.cpp1481 // TODO: implement UParseErrorCOMMENT
LOWsrc/include/duckdb/function/window_function.hpp283 auto HasSerializationCallbacks() const -> bool { return false; } // TODO: implement thisCODE
LOWsrc/logging/log_manager.cpp25 // TODO: implement ThreadLocalLogger and return it hereCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md133Please do not submit pull requests generated by AI (LLMs).CODE
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/shell/tests/test_format.py66CODE
LOWtools/juliapkg/scripts/generate_c_api_julia.py360CODE
LOWtest/bwc/utils/query_exclusions.py60CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWextension/icu/third_party/icu/common/ucase.cpp1448# Usage:COMMENT
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