AI Slop Code RIsk Monitor

duckdb/duckdb

DuckDB is an analytical in-process SQL database management system

4.2 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for duckdb/duckdb, a C++ project with 42,076 GitHub stars. SynthScan examined 1,430,281 lines of code across 6213 source files, recording 5182 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 4.2 (Low pattern signal); it is not an authorship estimate.

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

4.2
Adjusted Signal
4.2
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
42.1K
Stars
C++
Language
1.4M
Lines of Code
6.2K
Files
5.2K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 13.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.6/100 · LOW

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

Agent Over-Engineering Ratio 6.4/100 · LOW

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

PR Review Velocity Impact 19.8/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 11HIGH 25MEDIUM 460LOW 4686

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block3713 hits · 3482 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
3653 more matches not shown…
Decorative Section Separators405 hits · 1212 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
MEDIUM⚡test/py/test_temp_dir_contract.py134# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/py/test_temp_dir_contract.py255# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/py/test_temp_dir_contract.py303# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/py/test_temp_dir_contract.py391# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/py/test_temp_dir_contract.py421# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/py/test_temp_dir_contract.py453# -----------------------------------------------------------------------------STRING
MEDIUM⚡test/py/test_temp_dir_contract.py558# -----------------------------------------------------------------------------STRING
MEDIUMtest/py/test_temp_dir_contract.py517# -----------------------------------------------------------------------------STRING
MEDIUMscripts/sync_out_of_tree_extensions.py382 # ── Fresh clone ──────────────────────────────────────────────────────COMMENT
MEDIUMscripts/sync_out_of_tree_extensions.py398 # ── Skip patches: leave the existing repo untouched ──────────────────COMMENT
MEDIUMscripts/sync_out_of_tree_extensions.py401 # ── Existing repo ────────────────────────────────────────────────────COMMENT
MEDIUM⚡scripts/generate_util.py68# ---------------------------------------------------------------------------STRING
MEDIUM⚡scripts/generate_util.py70# ---------------------------------------------------------------------------STRING
MEDIUM⚡scripts/generate_util.py511# ---------------------------------------------------------------------------STRING
MEDIUM⚡scripts/generate_util.py513# ---------------------------------------------------------------------------STRING
MEDIUM⚡scripts/generate_util.py791# ---------------------------------------------------------------------------STRING
MEDIUM⚡scripts/generate_util.py793# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py30# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py32# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py274# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py276# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py387# ---------------------------------------------------------------------------STRING
MEDIUMscripts/generate_util.py389# ---------------------------------------------------------------------------STRING
MEDIUMscripts/parser/grammar_types.yml44# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml46# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml618# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml620# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml781# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml783# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1037# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1039# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1245# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1247# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1330# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1332# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1518# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1520# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1609# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1612# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/parser/grammar_types.yml1720# ---------------------------------------------------------------------------COMMENT
345 more matches not shown…
Hyper-Verbose Identifiers597 hits · 530 pts
SeverityFileLineSnippetContext
LOWtools/sqllogic/tests/test_require_env.py105def test_require_env_not_absent(unittest_binary, tmp_path, source):CODE
LOWtools/sqllogic/tests/test_require_env.py119def test_require_env_actual_value_tag(unittest_binary, tmp_path, directive, values, tag_value, runs):CODE
LOWtools/sqllogic/tests/test_unittest_stdin.py4def test_unittest_stdin_separate_writes(unittest_binary):CODE
LOW⚡tools/shell/tests/test_autocomplete.py161def test_autocomplete_funky_column(shell, autocomplete_extension):CODE
LOW⚡tools/shell/tests/test_autocomplete.py170def test_autocomplete_semicolon(shell, autocomplete_extension):CODE
LOW⚡tools/shell/tests/test_autocomplete.py178def test_autocomplete_comments(shell, autocomplete_extension):CODE
LOW⚡tools/shell/tests/test_autocomplete.py188def test_autocomplete_scalar_functions(shell, autocomplete_extension):CODE
LOW⚡tools/shell/tests/test_autocomplete.py196def test_autocomplete_aggregates(shell, autocomplete_extension):CODE
LOW⚡tools/shell/tests/test_autocomplete.py204def test_autocomplete_builtin_views(shell, autocomplete_extension):CODE
LOW⚡tools/shell/tests/test_autocomplete.py212def test_autocomplete_table_function(shell, autocomplete_extension):CODE
LOW⚡tools/shell/tests/test_autocomplete.py280def test_autocomplete_disambiguation_column(shell, autocomplete_extension):CODE
LOW⚡tools/shell/tests/test_autocomplete.py289def test_autocomplete_disambiguation_table(shell, autocomplete_extension):CODE
LOW⚡tools/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/test_highlighting.py50def test_deprecated_highlight_commands(shell):CODE
LOWtools/shell/tests/test_highlighting.py71def test_deprecated_highlight_constant(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
LOW⚡tools/shell/tests/test_prompt.py10def test_prompt_unterminated_bracket(shell):CODE
LOW⚡tools/shell/tests/test_prompt.py18def test_prompt_unterminated_escape(shell):CODE
LOW⚡tools/shell/tests/test_prompt.py26def test_prompt_invalid_option(shell):CODE
LOW⚡tools/shell/tests/test_prompt.py34def test_prompt_missing_query(shell):CODE
LOW⚡tools/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
LOW⚡tools/shell/tests/test_readable_numbers.py98def test_disable_readable_numbers(shell):CODE
LOW⚡tools/shell/tests/test_readable_numbers.py107def test_large_number_rendering_all(shell):CODE
537 more matches not shown…
Unused Imports163 hits · 160 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.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
LOWtools/shell/tests/test_open.py6CODE
103 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.cpp217 if (result.state_machine.dialect_options.state_machine_options.new_line.GetValue() != NewLineIdentifier::CARRY_ON) {CODE
CRITICAL⚡…/operator/csv_scanner/scanner/string_value_scanner.cpp632 value_ptr, length, result.state_machine.dialect_options.state_machine_options.escape.GetValue(),CODE
CRITICAL⚡…/operator/csv_scanner/scanner/string_value_scanner.cpp633 result.state_machine.dialect_options.state_machine_options.quote.GetValue(),CODE
CRITICAL⚡…/operator/csv_scanner/scanner/string_value_scanner.cpp634 result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(),CODE
CRITICAL…/operator/csv_scanner/scanner/string_value_scanner.cpp1573 result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(),CODE
CRITICAL⚡…/operator/csv_scanner/scanner/string_value_scanner.cpp1605 result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(),CODE
CRITICAL⚡…/operator/csv_scanner/scanner/string_value_scanner.cpp1615 !result.state_machine.dialect_options.state_machine_options.delimiter.GetValue().empty()) {CODE
CRITICAL⚡…/operator/csv_scanner/scanner/string_value_scanner.cpp1617 result.state_machine.dialect_options.state_machine_options.delimiter.GetValue().size() - 1;CODE
Excessive Try-Catch Wrapping59 hits · 101 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.py70 print('Error: could not find compilation database.')CODE
MEDIUMscripts/run-clang-tidy.py372 print('Error exporting fixes.\n', file=sys.stderr)CODE
MEDIUMscripts/run-clang-tidy.py381 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
LOW⚡scripts/format.py34except Exception as e:CODE
LOW⚡scripts/format.py44except Exception as e:CODE
LOW⚡scripts/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
MEDIUM⚡scripts/cleanup_config_skip_tests.py184 print(f"Error parsing {config_path}: {e}", file=sys.stderr)CODE
LOW⚡scripts/cleanup_config_skip_tests.py185 except Exception as e:CODE
MEDIUM⚡scripts/cleanup_config_skip_tests.py186 print(f"Error processing {config_path}: {e}", file=sys.stderr)CODE
LOWscripts/run-clangd-tidy.py332 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.py2168 except Exception as exc:CODE
LOWscripts/ci/run_tests.py2219 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.py147 except Exception:CODE
LOWscripts/lldb/pointer_print/pointer_print.py216 except Exception:CODE
LOWscripts/parser/generate_transformer_trampoline.py237 except Exception as e:CODE
LOWscripts/parser/generate_transformer_trampoline.py439 except Exception as e:CODE
MEDIUM⚡scripts/parser/grammar_types.py22 print("Error: PyYAML is required. Install with: pip install pyyaml", file=sys.stderr)CODE
MEDIUM⚡scripts/parser/grammar_types.py26 print(f"Error: {types_file} not found.", file=sys.stderr)CODE
MEDIUM⚡scripts/parser/grammar_types.py33 print(f"Error: {types_file} is malformed (expected a top-level mapping).", file=sys.stderr)CODE
MEDIUM⚡scripts/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
MEDIUM⚡scripts/parser/grammar_types.py140 print(f"Error: {types_file} contains duplicate rule listings:", file=sys.stderr)CODE
MEDIUM⚡scripts/parser/grammar_types.py155 print(f"Error: additional_transform_result_types in {types_file} must be a list of strings.", file=sys.stderr)CODE
MEDIUM⚡scripts/parser/grammar_types.py166 print(f"Error: matcher_rule_overrides in {types_file} must be a mapping.", file=sys.stderr)CODE
MEDIUM⚡scripts/parser/grammar_types.py177 print(f"Error: {key} in {types_file} must be a list.", file=sys.stderr)CODE
MEDIUM⚡scripts/parser/grammar_types.py185 print(f"Error: {key} in {types_file} contains unknown grammar rules:", file=sys.stderr)CODE
MEDIUMscripts/parser/inline_grammar.py312 print(f"Error: rule '{rule_name}' references undefined rule '{ref}'")CODE
LOWscripts/parser/inline_grammar.py360 except Exception as e:CODE
LOWscripts/parser/inline_grammar.py385 except Exception as e:CODE
MEDIUMscripts/parser/transformer_trampoline_config.py26 print(f"Error: {config_file} contains invalid trampoline transformer metadata:", file=sys.stderr)CODE
Cross-Language Confusion16 hits · 82 pts
SeverityFileLineSnippetContext
HIGHtools/shell/tests/test_shell_rendering.py77 .statement("select 'val || other_val' c;")CODE
HIGH⚡tools/shell/tests/test_large_value_rendering.py60 "value": {"type": {"id": "BLOB", "type_info": null}, "is_null": false, "value": "10"}CODE
HIGH⚡tools/shell/tests/test_large_value_rendering.py63 "from_table": {"type": "EMPTY", "alias": "", "sample": null, "query_location": 18446744073709551615},CODE
HIGH⚡tools/shell/tests/test_large_value_rendering.py64 "where_clause": null,CODE
HIGH⚡tools/shell/tests/test_large_value_rendering.py68 "having": null,CODE
HIGH⚡tools/shell/tests/test_large_value_rendering.py69 "sample": null,CODE
HIGH⚡tools/shell/tests/test_rendering_mode_regression.py1306expected_results[all_types_source]["json"] = '''[{"bool":false,"tinyint":-128,"smallint":-32768,"int":-2147483648,"biginSTRING
HIGH⚡tools/shell/tests/test_rendering_mode_regression.py1307{"bool":true,"tinyint":127,"smallint":32767,"int":2147483647,"bigint":9223372036854775807,"hugeint":"1701411834604692317STRING
HIGH⚡tools/shell/tests/test_rendering_mode_regression.py1308{"bool":null,"tinyint":null,"smallint":null,"int":null,"bigint":null,"hugeint":null,"uhugeint":null,"utinyint":null,"usmSTRING
HIGH⚡tools/shell/tests/test_rendering_mode_regression.py1311expected_results[all_types_source]["jsonlines"] = '''{"bool":false,"tinyint":-128,"smallint":-32768,"int":-2147483648,"bSTRING
HIGH⚡tools/shell/tests/test_rendering_mode_regression.py1312{"bool":true,"tinyint":127,"smallint":32767,"int":2147483647,"bigint":9223372036854775807,"hugeint":"1701411834604692317STRING
HIGH⚡tools/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.py650 # Non-nullable: const accessor returns const ParsedExpression& directly (assume non-null)STRING
HIGHscripts/ci/test_run_tests.py2344 if mkdir "{state_dir}/slot-1" 2>/dev/null; thenCODE
HIGHscripts/ci/test_run_tests.py2346 elif mkdir "{state_dir}/slot-2" 2>/dev/null; thenCODE
HIGHscripts/parser/generate_transformer_trampoline.py1031 lines.append("\tauto has_transform_process = child_rule && child_rule->transform_process;")CODE
Deep Nesting83 hits · 68 pts
SeverityFileLineSnippetContext
LOWtools/shell/tests/test_connect_hops.py38CODE
LOWtools/shell/tests/test_rendering_mode_regression.py12CODE
LOWextension/tpch/dbgen/generate_text_checkpoints.py131CODE
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.py44CODE
LOWscripts/sync_out_of_tree_extensions.py87CODE
LOWscripts/sync_out_of_tree_extensions.py369CODE
LOWscripts/generate_extensions_function.py111CODE
LOWscripts/test_peg_parser.py38CODE
LOWscripts/test_peg_parser.py110CODE
LOWscripts/generate_util.py165CODE
LOWscripts/generate_util.py803CODE
LOWscripts/package_build.py240CODE
LOWscripts/package_build.py487CODE
LOWscripts/run-clang-tidy.py187CODE
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.py141CODE
LOWscripts/clang-tidy-diff.py52CODE
LOWscripts/generate_functions.py38CODE
LOWscripts/generate_functions.py123CODE
LOWscripts/ci/run_tests.py295CODE
LOWscripts/ci/run_tests.py655CODE
LOWscripts/ci/run_tests.py773CODE
LOWscripts/ci/run_tests.py848CODE
LOWscripts/ci/run_tests.py966CODE
LOWscripts/ci/run_tests.py1014CODE
LOWscripts/ci/run_tests.py1599CODE
LOWscripts/ci/run_tests.py1768CODE
23 more matches not shown…
Fake / Example Data60 hits · 66 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
LOW⚡test/api/capi/v1/test_capi_profiling.cpp241 auto dummy_value = duckdb_create_bool(true);CODE
LOW⚡test/api/capi/v1/test_capi_profiling.cpp244 count = duckdb_get_map_size(dummy_value);CODE
LOW⚡test/api/capi/v1/test_capi_profiling.cpp253 key = duckdb_get_map_key(dummy_value, i);CODE
LOW⚡test/api/capi/v1/test_capi_profiling.cpp260 value = duckdb_get_map_value(dummy_value, i);CODE
LOW⚡test/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.hpp203 // 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
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
LOW⚡…cution/operator/csv_scanner/sniffer/type_detection.cpp283 return TryDecimalStringCast(value_ptr, value_size, dummy_value, width, scale);CODE
LOW⚡…cution/operator/csv_scanner/sniffer/type_detection.cpp287 int32_t dummy_value;CODE
LOW⚡…cution/operator/csv_scanner/sniffer/type_detection.cpp288 return TryDecimalStringCast(value_ptr, value_size, dummy_value, width, scale);CODE
LOW⚡…cution/operator/csv_scanner/sniffer/type_detection.cpp292 int64_t dummy_value;CODE
LOW⚡…cution/operator/csv_scanner/sniffer/type_detection.cpp293 return TryDecimalStringCast(value_ptr, value_size, dummy_value, width, scale);CODE
LOW⚡…cution/operator/csv_scanner/sniffer/type_detection.cpp297 hugeint_t dummy_value;CODE
LOW⚡…cution/operator/csv_scanner/sniffer/type_detection.cpp298 return TryDecimalStringCast(value_ptr, value_size, dummy_value, width, scale);CODE
AI Slop Vocabulary17 hits · 47 pts
SeverityFileLineSnippetContext
MEDIUMtest/py/test_temp_dir_contract.py34# Dumps the substituted contract vars so the harness can assert on them from outside.STRING
MEDIUMthird_party/httplib/httplib.hpp14563 // Cross-host/scheme redirect - create new client with robust setupCOMMENT
MEDIUMthird_party/httplib/httplib.hpp14568// New method for robust redirect client creationCOMMENT
MEDIUMthird_party/httplib/httplib.hpp14630 // Setup client with robust configurationCOMMENT
MEDIUMthird_party/httplib/httplib.hpp14638// 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.py145 # 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/parser/peg/matcher.hpp226//! Essentially a std::variant<MatchInput, MatcherResult>COMMENT
MEDIUM…lude/duckdb/parser/peg/transformer/peg_transformer.hpp293//! Essentially a std::variant<TransformInput, arena_ptr<TransformResultValue>>.COMMENT
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.cpp92 // We utilize projection pushdown to avoid potentially expensive fs operations.COMMENT
MEDIUMsrc/execution/physical_plan/plan_asof_join.cpp365 // Check to see if we can leverage partitioningCOMMENT
MEDIUMsrc/execution/operator/join/physical_iejoin.cpp1324 // We can't leverage any more threads than tasks.COMMENT
MEDIUMsrc/main/secret/secret_storage.cpp340//! when the connection (its ClientContext) goes away - giving automatic, crash-robust cleanup with no cooperation.COMMENT
Empty Error Handlers8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHtest/bwc/utils/duckdb_cli.py100except Exception:CODE
HIGHtest/bwc/utils/duckdb_cli.py106except Exception:CODE
HIGHtest/bwc/utils/duckdb_cli.py118except Exception:CODE
HIGHscripts/test_zero_initialize.py133except FileNotFoundError as e:CODE
HIGHscripts/test_compile.py27except:CODE
HIGHscripts/generate_plan_storage_version.py17except:CODE
HIGHscripts/run-clangd-tidy.py158except OSError:CODE
HIGHscripts/ci/retry.py103except (PermissionError, ProcessLookupError):CODE
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.cpp1026 // we need to check if there is data available within our current readerCOMMENT
LOW⚡extension/icu/icu_extension.cpp281 // Step 1: Strip leading zerosCOMMENT
LOW⚡extension/icu/icu_extension.cpp288 // Step 2: Parse hours based on whether colon is presentCOMMENT
LOWthird_party/catch/catch.hpp12787 // No children have started. We need to check if they _can_COMMENT
LOWsrc/function/table/arrow_conversion.cpp1409 //! We need to check if our indexes fit in a uint32_tCOMMENT
LOWsrc/function/table/arrow_conversion.cpp1417 //! 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.cpp890 // We need to check if we are getting the correct number of columns here.COMMENT
LOWsrc/main/database_manager.cpp478 // 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
LOW⚡extension/icu/icu_extension.cpp281 // Step 1: Strip leading zerosCOMMENT
LOW⚡extension/icu/icu_extension.cpp288 // 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
MEDIUM⚡tools/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 Comments6 hits · 9 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
LOWscripts/capi_v1_regen.sh4# Set CAPIGEN_PYTHON to a Python that has capigen installed (make generate-filesCOMMENT
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtools/shell/tests/test_read_from_stdin.py220CODE
MEDIUMtools/shell/tests/test_read_from_stdin.py241CODE
MEDIUMtools/shell/tests/test_read_from_stdin.py242CODE
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.cpp150 // TODO: implement json_contains that accepts path argument as wellCOMMENT
LOWsrc/include/duckdb/function/window_function.hpp286 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.py417CODE
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