Repository Analysis

paradedb/paradedb

One Postgres for your application data, full-text search, vector retrieval, and aggregations. Home of the pg_search extension.

3.6 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of paradedb/paradedb, a Rust project with 9,045 GitHub stars. SynthScan v2.0 examined 226,667 lines of code across 946 source files, recording 720 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 3.6 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.6
Adjusted Score
3.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
9.0K
Stars
Rust
Language
226.7K
Lines of Code
946
Files
720
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 1HIGH 6MEDIUM 17LOW 696

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 720 distinct pattern matches across 13 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 Block620 hits · 620 pts
SeverityFileLineSnippetContext
LOWtokenizers/src/edge_ngram.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/cjk.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/code.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/icu.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/lib.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/token_length.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/ngram.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/lindera.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/manager.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/manager.rs341}COMMENT
LOWtokenizers/src/manager.rs1341COMMENT
LOWtokenizers/src/token_trim.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/chinese_convert.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtokenizers/src/unicode_words.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWdocker/generate-dockerfiles.sh1#!/usr/bin/env bashCOMMENT
LOWtests/antithesis/singleton_driver_property-tests.sh1#!/bin/bashCOMMENT
LOWtests/tests/copy.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/bm25_search.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/mlt.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/sorting.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/cleanup.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/domain_type.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/vacuum.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/key.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/joins.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/hybrid.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/term.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/ltree.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/mutation.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/index_config.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/pg_dump.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/fast_fields.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/range.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/citus_compatibility.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/citus_compatibility.rs21use sqlx::PgConnection;COMMENT
LOWtests/tests/index_sorting.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/index_sorting.rs601/// Test that parallel workers produce correctly sorted results with sorted index.COMMENT
LOWtests/tests/index_sorting.rs941 // All values from first NULL onwards should be NULLCOMMENT
LOWtests/tests/icu.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/heap.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/columnar.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/columnar.rs341 );COMMENT
LOWtests/tests/columnar.rs361}COMMENT
LOWtests/tests/ivm.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/iam.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/query.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/query.rs101COMMENT
LOWtests/tests/query.rs361 assert_eq!(columns.len(), 3);COMMENT
LOWtests/tests/range_term.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/sqlsmith.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/qgen.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/qgen.rs821///COMMENT
LOWtests/tests/qgen.rs1181}COMMENT
LOWtests/tests/qgen.rs1381}COMMENT
LOWtests/tests/find_var_relation.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/aggregate_custom_scan.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/lindera.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/documentation.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/aggregate.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
LOWtests/tests/str_ff_exec.rs1// Copyright (c) 2023-2026 ParadeDB, Inc.COMMENT
560 more matches not shown…
Fake / Example Data42 hits · 42 pts
SeverityFileLineSnippetContext
LOWtests/tests/documentation.rs129 "John Doe".into()CODE
LOWtests/tests/documentation.rs2074 assert_eq!(rows[0], (1, 1, 3, 99.99, "John Doe".into()));CODE
LOWtests/tests/search_config.rs65 "('John Doe', 'New Book Release', 'Exciting new book released by renowned author.'),CODE
LOW…ests/pg_regress/common/snippet_json_advanced_setup.sql36(3, '{"content": "test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut laboCODE
LOW…ests/pg_regress/common/snippet_json_advanced_setup.sql36(3, '{"content": "test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut laboCODE
LOW…sts/pg_regress/common/snippet_position_basic_setup.sql15('test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magCODE
LOW…sts/pg_regress/common/snippet_position_basic_setup.sql15('test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magCODE
LOW…/pg_regress/common/snippet_position_advanced_setup.sql42(4, 3, 'test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloCODE
LOW…/pg_regress/common/snippet_position_advanced_setup.sql42(4, 3, 'test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloCODE
LOW…h/tests/pg_regress/common/snippet_json_basic_setup.sql24('test Lorem ipsum dolor sit amet...test',CODE
LOW…h/tests/pg_regress/common/snippet_json_basic_setup.sql24('test Lorem ipsum dolor sit amet...test',CODE
LOW…tests/pg_regress/common/parallel_build_small_setup.sql11SELECT 'lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore maCODE
LOW…tests/pg_regress/common/parallel_build_small_setup.sql11SELECT 'lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore maCODE
LOW…_search/tests/pg_regress/sql/score_join_predicates.sql41(4, 3, 'test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloCODE
LOW…_search/tests/pg_regress/sql/score_join_predicates.sql41(4, 3, 'test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloCODE
LOWpg_search/tests/pg_regress/sql/aggregate_join_alias.sql28 (1, 'Acme Corp', 'acme.com'),CODE
LOWpg_search/tests/pg_regress/sql/deprecated_score.sql41(4, 3, 'test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloCODE
LOWpg_search/tests/pg_regress/sql/deprecated_score.sql41(4, 3, 'test Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloCODE
LOWpg_search/tests/pg_regress/sql/lateral-join.sql56 ('John Doe', 'Tech writer specializing in databases', 'database'),CODE
LOWpg_search/tests/pg_regress/sql/composite_advanced.sql28 'field1_' || i || ' lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut laborCODE
LOWpg_search/tests/pg_regress/sql/composite_advanced.sql28 'field1_' || i || ' lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut laborCODE
LOW…earch/tests/pg_regress/sql/aggregate_join_coverage.sql30 ('Laptop order bulk', 'Acme Corp', 10, 9999),CODE
LOW…earch/tests/pg_regress/sql/aggregate_join_coverage.sql31 ('Laptop order single', 'Acme Corp', 1, 999),CODE
LOWpg_search/tests/pg_regress/sql/deprecated_snippet.sql13('test Lorem ipsum dolor sit amet...test');CODE
LOWpg_search/tests/pg_regress/sql/deprecated_snippet.sql13('test Lorem ipsum dolor sit amet...test');CODE
LOWpg_search/tests/pg_regress/sql/snippet_limit_offset.sql13('test Lorem ipsum dolor sit amet...test');CODE
LOWpg_search/tests/pg_regress/sql/snippet_limit_offset.sql13('test Lorem ipsum dolor sit amet...test');CODE
LOWpg_search/tests/pg_regress/sql/join_key_types.sql435(12345678901234567890, 'John Doe', 'Checking'),CODE
LOWpg_search/tests/pg_regress/sql/issue_3474.sql13('test Lorem ipsum dolor sit amet...test');CODE
LOWpg_search/tests/pg_regress/sql/issue_3474.sql13('test Lorem ipsum dolor sit amet...test');CODE
LOWpg_search/tests/pg_regress/sql/join_outer_pathkey.sql27INSERT INTO companies_op VALUES (1, 'Acme Corp'), (2, 'Globex Inc'), (3, 'Initech');CODE
LOWpg_search/tests/pg_regress/sql/issue_4532.sql36 (1, 1, 'Acme Corp'),CODE
LOWpg_search/src/bootstrap/test_table.rs735 (1, 3, 99.99, "John Doe"),CODE
LOWpg_search/src/bootstrap/test_table.rs738 (2, 6, 501.87, "John Doe"),CODE
LOWpg_search/src/scan/segmented_topk_exec.rs1421 SELECT 'lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor ' ||CODE
LOWpg_search/src/scan/segmented_topk_exec.rs1421 SELECT 'lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor ' ||CODE
LOWpg_search/src/postgres/build_parallel.rs873 SELECT 'lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore CODE
LOWpg_search/src/postgres/build_parallel.rs873 SELECT 'lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore CODE
LOW…src/postgres/customscan/datafusion/expr_translators.rs598 Some(col("placeholder"))CODE
LOW…earch/src/postgres/customscan/datafusion/translator.rs273 Some(col("placeholder"))CODE
LOWpg_search/src/index/writer/index.rs486 document.add_text(text_field, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempoCODE
LOWpg_search/src/index/writer/index.rs486 document.add_text(text_field, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempoCODE
Decorative Section Separators7 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMpg_search/src/postgres/customscan/joinscan/mod.rs106//! ┌─────────────────┐ ┌──────────────────┐ ┌─────────────────────┐COMMENT
MEDIUMpg_search/src/postgres/customscan/joinscan/mod.rs111//! └─────────────────┘ └──────────────────┘ └─────────────────────┘COMMENT
MEDIUMpg_search/src/postgres/customscan/joinscan/mod.rs114//! ┌─────────────────────┐COMMENT
MEDIUMpg_search/src/postgres/customscan/joinscan/mod.rs117//! └─────────────────────┘COMMENT
MEDIUMpg_search/src/query/builder.rs52//! output ──────────────────> (query, None)COMMENT
MEDIUMpg_search/src/query/builder.rs56//! output ──┬── clone ──────> (cloned_query, Some(output))COMMENT
MEDIUMpg_search/src/query/builder.rs57//! └── keep ───────> Must keep output for children closure.COMMENT
Structural Annotation Overuse19 hits · 30 pts
SeverityFileLineSnippetContext
LOWtests/tests/replication.rs501 // Step 1: Create and start the primary Postgres instanceCOMMENT
LOWtests/tests/replication.rs516 // Step 2: Create the standby using pg_basebackupCOMMENT
LOWbenchmarks/DATASET_PREPARATION.md15## Step 1: Load Source Data into S3COMMENT
LOWbenchmarks/DATASET_PREPARATION.md40## Step 2: Create a ConfigCOMMENT
LOWbenchmarks/DATASET_PREPARATION.md75## Step 3: Sample the Source DataCOMMENT
LOWbenchmarks/DATASET_PREPARATION.md110## Step 4: Convert Sampled Data to CSVCOMMENT
LOWbenchmarks/DATASET_PREPARATION.md150## Step 5: Load the HeapCOMMENT
LOWbenchmarks/DATASET_PREPARATION.md165## Step 6: Snapshot or Restore the HeapCOMMENT
LOWbenchmarks/DATASET_PREPARATION.md208## Step 7: Run BenchmarksCOMMENT
LOWpg_search/tests/pg_regress/README.md28### Step 1: Create SQL Test FileCOMMENT
LOWpg_search/tests/pg_regress/README.md50### Step 2: Generate Expected OutputCOMMENT
LOWpg_search/tests/pg_regress/README.md59### Step 3: Verify the Expected OutputCOMMENT
LOWpg_search/src/postgres/composite.rs210 // Step 1: Get fields (this validates type is composite, not RECORD, not domain)COMMENT
LOWpg_search/src/postgres/composite.rs213 // Step 2: Check for nested compositesCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs97 // Step 1: Build the join DataFrame from the RelNode treeCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs110 // Step 2: Build GROUP BY expressionsCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs140 // Step 3: Build aggregate expressionsCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs233 // Step 4: Apply aggregateCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs250 // Step 5: If TopK is requested, add sort + limit so DataFusion handlesCOMMENT
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHstressgres/suites/background-merge.toml0drop table test cascade; drop extension pg_search cascade;STRING
HIGHstressgres/suites/single-server.toml0drop table test cascade; drop extension pg_search cascade;STRING
HIGHstressgres/suites/bulk-updates.toml0drop table test cascade; drop extension pg_search cascade;STRING
HIGHstressgres/suites/background-merge.toml0select pg_relation_size('idxtest') / current_setting('block_size')::int as block_count, ( select count(*)::bigint from pSTRING
HIGHstressgres/suites/single-server.toml0select pg_relation_size('idxtest') / current_setting('block_size')::int as block_count, ( select count(*)::bigint from pSTRING
HIGHstressgres/suites/bulk-updates.toml0select pg_relation_size('idxtest') / current_setting('block_size')::int as block_count, ( select count(*)::bigint from pSTRING
AI Slop Vocabulary7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMpg_search/src/scan/pre_filter.rs72//! `PreFilter`s do not execute custom matching logic. Instead, they leverage native DataFusionCOMMENT
MEDIUMpg_search/src/scan/late_materialization.rs97/// plan tree to find its exact root `Column` at the `TableScan` level, allowing robust exact matching.COMMENT
MEDIUMpg_search/src/postgres/var.rs515/// for robust traversal through all wrapper types (RelabelType, CoerceViaIO, FuncExpr, etc.).COMMENT
MEDIUMpg_search/src/postgres/utils.rs1041/// Uses PostgreSQL's expression_tree_walker for robust traversalCOMMENT
MEDIUMpg_search/src/postgres/customscan/opexpr.rs370/// exists in the pg_type catalog. This is more robust than maintaining aCOMMENT
MEDIUM…/postgres/customscan/aggregatescan/datafusion_build.rs892 // match is robust to rti aliasing across sub-COMMENT
MEDIUMpg_search/src/postgres/storage/fsm.rs546/// swapped until the entry is finished moving. Essentially, tags have an affinity for their key/valueCOMMENT
Verbosity Indicators9 hits · 15 pts
SeverityFileLineSnippetContext
LOWtests/tests/replication.rs501 // Step 1: Create and start the primary Postgres instanceCOMMENT
LOWtests/tests/replication.rs516 // Step 2: Create the standby using pg_basebackupCOMMENT
LOWpg_search/src/postgres/composite.rs210 // Step 1: Get fields (this validates type is composite, not RECORD, not domain)COMMENT
LOWpg_search/src/postgres/composite.rs213 // Step 2: Check for nested compositesCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs97 // Step 1: Build the join DataFrame from the RelNode treeCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs110 // Step 2: Build GROUP BY expressionsCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs140 // Step 3: Build aggregate expressionsCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs233 // Step 4: Apply aggregateCOMMENT
LOW…c/postgres/customscan/aggregatescan/datafusion_exec.rs250 // Step 5: If TopK is requested, add sort + limit so DataFusion handlesCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALpg_search/src/postgres/customscan/joinscan/mod.rs1449 let snapshot = state.csstate.ss.ps.state.as_ref().unwrap().es_snapshot;CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMdocker/bootstrap.sh5# This file is NOT executed when running in CloudNativePG as it circumvents the normalCOMMENT
MEDIUMscripts/pg_search_common.sh76# Create a new database for testingCOMMENT
MEDIUM.github/workflows/publish-github-release.yml155 # Create the tag ref ourselves, using the GitHub App token, BEFORECOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/pg_search_run.sh9# Usage:COMMENT
LOWscripts/pg_search_test.sh9# Usage:COMMENT
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/scripts/django_snippet_harness.py5CODE
LOW.github/scripts/sqlalchemy_snippet_harness.py5CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/test-pg_search-schema.yml137 # Check if pg-schema-diff crashed or had an errorCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/scripts/sqlalchemy_snippet_harness.py89__all__ = [CODE