AI Slop Code Risk Monitor

malisper/pgrust

SlopCodeMonitor badge for malisper/pgrust Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Postgres rewritten in Rust, now faster than Postgres and Clickhouse

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for malisper/pgrust, a Rust project with 5,713 GitHub stars. SynthScan examined 5,460,506 lines of code across 13165 source files, recording 7546 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 1.6 (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.

1.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-26
Last Push
5.7K
Stars
Rust
Language
5.5M
Lines of Code
13.2K
Files
7.5K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 6.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.5/100 · LOW

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

PR Review Velocity Impact 7.6/100 · LOW

Which changes need focused human review? 7546 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 1HIGH 56MEDIUM 404LOW 7085

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 7546 distinct pattern matches across 23 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 Block6693 hits · 6487 pts
SeverityFileLineSnippetContext
LOWCargo.toml1021# mi_arena_purge_now(arena_id, force), one arena's freed ranges purged now under the arenas' purge try-guard (pgrust'sCOMMENT
LOWcrates/pl/plpgsql/src/gram.rs3001COMMENT
LOWcrates/pl/plpgsql/src/exec.rs1// pl_exec.c. Statement set: block (incl. EXCEPTION sections), assign,COMMENT
LOWcrates/pl/plpgsql/src/exec.rs741 /// here the check is deferred to the first evaluation, as before).COMMENT
LOWcrates/pl/plpgsql/src/exec.rs761// PLpgSQL_expr.expr_simple_state + expr_simple_plan/plansource + the typeCOMMENT
LOWcrates/pl/plpgsql/src/exec.rs801 // Datum references compile to ParamCallback steps (C EEOP_PARAM_CALLBACKCOMMENT
LOWcrates/pl/plpgsql/src/exec.rs821 // exiting — the pin bookkeeping is already gone with the cache.COMMENT
LOWcrates/pl/plpgsql/src/exec.rs881// task's compiled functions. This port's pool retains the worker THREAD acrossCOMMENT
LOWcrates/pl/plpgsql/src/exec.rs2081 // re-prepares whenever the probe says the source needs re-analysisCOMMENT
LOWcrates/pl/plpgsql/src/exec.rs2361 push_name(&mut names, &mut seen, whole_row.clone());COMMENT
LOWcrates/pl/plpgsql/src/exec.rs3661 }COMMENT
LOWcrates/pl/plpgsql/src/handler.rs61// have the decrement land on a different entry (funccache.c use_count).COMMENT
LOWcrates/pl/plpgsql/src/handler.rs1021// The extra-check mask of a stored plpgsql.extra_* value. The check hookCOMMENT
LOW…es/gravity/kernels/tests/sort_v4r190_decorated_sort.rs1//! V4R-190 (M3-MERGE): `agg_sort` orders records whose sort words carry no average and no text through word rowsCOMMENT
LOWcrates/gravity/kernels/tests/gravity_kernels_suite.rs1//! gravity_kernels's integration tests (tests/<stem>.rs) that can share one process, as ONE test binary: one moduleCOMMENT
LOWcrates/gravity/kernels/tests/registered.rs1//! The integration test files of gravity_kernels: tests/*.rs and tests/*/main.rs, what cargo's autotests would build.COMMENT
LOWcrates/gravity/kernels/tests/registered.rs41const ROOT_ONLY: [&str; 2] = ["#[global_allocator]", "current_exe("];COMMENT
LOWcrates/gravity/kernels/src/contract.rs41/// # SafetyCOMMENT
LOWcrates/gravity/kernels/src/host_abi/v4/m7.rs1//! M7's host entries (M7-plan.md §6, cards/M7.md L1 / L2 hosts): the C-ABI functions M7's lowered IR calls for the joinCOMMENT
LOWcrates/gravity/kernels/src/host_abi/v4/mod.rs1//! Lowerer v4's host entries (docs/gravity/lowerv4/plan.md §4.3): the C-ABI functions lowered IR calls, one module perCOMMENT
LOWcrates/gravity/kernels/src/typesem/userfp.rs1//! USEROP (D1604 / D1889 serve): `m6_user_fp`, the exact image of a user key (gravity_fn typesem keysem/user.rs): the FCOMMENT
LOWcrates/gravity/kernels/src/typesem/userfp.rs361/// # SafetyCOMMENT
LOWcrates/gravity/kernels/src/par_hashagg/hand.rs1//! The `par_hashagg` kernel: the accumulator front, the fold, the owner set and the emits (the params, `spill_bits` andCOMMENT
LOWcrates/gravity/kernels/src/table/fold_entries.rs61}COMMENT
LOWcrates/gravity/kernels/src/table/fold_entries.rs101/// D3809: the bytes a started-small region's partitions are cut by, from the driver's `need` 0 answer: its share, elseCOMMENT
LOWcrates/gravity/kernels/src/table/fold_entries.rs141}COMMENT
LOWcrates/gravity/kernels/src/table/fold_entries.rs281 let t = (*st).t.ptr();COMMENT
LOWcrates/gravity/kernels/src/table/fold_entries.rs621pub const CASCADE_HDR: usize = 3;COMMENT
LOWcrates/gravity/kernels/src/table/route.rs1//! The route of a grouped count(DISTINCT)'s pairs (STEP-19, gap-optoverfit mechanism R). It replaces `GROUPED_MIN` = 1 COMMENT
LOWcrates/gravity/kernels/src/table/route.rs21//!COMMENT
LOWcrates/gravity/kernels/src/table/emit.rs101pub const SK_BPCHAR: u64 = 1 << 15;COMMENT
LOWcrates/gravity/kernels/src/table/emit.rs581 /// claims. The runs form only (`FORM_RUNS`); null: refused. The lowered emit calls it at a claim's fresh call only COMMENT
LOWcrates/gravity/kernels/src/table/emit.rs1881COMMENT
LOWcrates/gravity/kernels/src/table/img_reclaim.rs1//! D3312: a phase-1 table's key images reclaimed at an in-memory compact. Budget 150 lines.COMMENT
LOWcrates/gravity/kernels/src/ops/agg/raw.rs1//! agg's raw half (rules R6 / R8: the family's unsafe code lives here): the aggregate slice's host entries, writtenCOMMENT
LOWcrates/gravity/kernels/src/ops/agg/trans/hosted.rs21/// aggpresorted ORDER BY aggregate advances per row as its rows come (nodeAgg with `aggsortrequired` false: no run keptCOMMENT
LOWcrates/gravity/kernels/src/ops/agg/trans/entries/raw.rs1//! entries.rs's host entries and the unsafe reads under them. Each entry is a `contract::host` function under the oneCOMMENT
LOWcrates/gravity/kernels/src/ops/agg/trans/hosted/raw.rs21 /// (0 for a by-value one); the image lives until the slot's next final call.COMMENT
LOWcrates/gravity/kernels/src/ops/agg/trans/hosted/raw.rs41 /// D1520: the addresses of the direct arguments of the final `m6_agg_final_direct` is making (0 outside one): perCOMMENT
LOWcrates/gravity/kernels/src/ops/agg/trans/hosted/raw.rs161 ((*head).direct, (*head).given) = (0, 0);COMMENT
LOWcrates/gravity/kernels/src/ops/sort/cut.rs1//! M3-TOPS' cut (runs.topk_rows, bound_first; cards/M3.md L3): a sort run ordered in place by its `pad[2]` bits (asCOMMENT
LOWcrates/gravity/kernels/src/ops/sort/cut.rs41 }COMMENT
LOWcrates/gravity/kernels/src/ops/sort/rowsort.rs161/// A hosted key whose comparator cannot raise on two equal copies (the lowering's word, from the key's type: no collataCOMMENT
LOWcrates/gravity/kernels/src/ops/sort/polled.rs1//! C9's kernel face (D4140): the one polled step of the kernels crate's host code. The kernelsCOMMENT
LOWcrates/gravity/kernels/src/ops/sort/runs.rs21/// `n - 1` the bound exec v4/m3_sort.rs `run_bound` reads; cleared when the run is emptied (a put, an open's empty run)COMMENT
LOWcrates/gravity/kernels/src/ops/sort/topk.rs21/// have taken a new least code, each starting a rest; any other replacement sets it to 0) and the calls left while theCOMMENT
LOWcrates/gravity/kernels/src/ops/sort/topn/twopass_top.rs1//! keyed.twopass's pass-1 export owner under the top rule (V4R-192; the ladder's `EXPORT_DUPS`, kernels cb/t3.rsCOMMENT
LOWcrates/gravity/kernels/src/ops/sort/raw/runs.rs21COMMENT
LOW…/gravity/kernels/src/ops/group/raw/entries_distinct.rs21/// NEW-40: the runs word `agg_distinct_window` writes at `st + (arg >> 32)` when that offset is not 0, over a taken winCOMMENT
LOWcrates/gravity/kernels/src/ops/srf/raw.rs101/// A store reader's head (H-c's incumbent FunctionScan; H-d's table function and H-e's ENR take the same face): theCOMMENT
LOWcrates/gravity/kernels/src/ops/shared/object/entries.rs1//! M8's host entries (M8-plan.md §1.4 / §6, cards/M8.md L1 / L2): the C-ABI functions M8's lowered IR calls for nestsCOMMENT
LOWcrates/gravity/kernels/src/ops/shared/object/entries.rs21//! unchanged. Each entry is listed in the `hosts:` rows of the lowerv4 file that calls it.COMMENT
LOWcrates/gravity/kernels/src/ops/shared/object/entries.rs41/// The SubHash proto's `arg` bit of an `unknownEqFalse` SubPlan's set: as PG's `buildSubPlanHash` without `hashnulls`, COMMENT
LOWcrates/gravity/kernels/src/ops/shared/object/entries.rs81/// D2034: raw.rs `RerunPull`'s code on a rerun set's object (a recursive union's streamed term).COMMENT
LOWcrates/gravity/kernels/src/ops/shared/object/entries.rs101/// first read (its per-thread frame pair, cards/M8.md L0-b / L0-c), which returns the pair's address once the valuesCOMMENT
LOWcrates/gravity/kernels/src/ops/scan/raw.rs1//! The scan family's raw half in kernels (rules R6 / R8): the IR host entries of the scan family,COMMENT
LOWcrates/gravity/kernels/src/ops/scan/raw.rs21 #[guard(i64::MIN as u64)]COMMENT
LOWcrates/gravity/kernels/src/ops/scan/raw.rs61}COMMENT
LOWcrates/gravity/kernels/src/ops/scan/entries_heap.rs1//! M2's heap page-window entries (cards/M2.md L1, road `heap.pages`): the IR's page protocol over a raw-page heap siteCOMMENT
LOWcrates/gravity/kernels/src/ops/setop/entries.rs1//! M9's host entries (W8-RECURSE: `setop.recursive`, PostgreSQL's RecursiveUnion, nodeRecursiveunion.c): the layout ofCOMMENT
6633 more matches not shown…
Decorative Section Separators133 hits · 418 pts
SeverityFileLineSnippetContext
MEDIUMcrates/gravity/lint/rules/run.py434# ---------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMcrates/gravity/lint/rules/common.py103# ---------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMcrates/gravity/lint/rules/common.py272# ---------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMcrates/gravity/lint/rules/common.py319# ---------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMcrates/gravity/lint/rules/rr_road_registry.py451# ---------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMcrates/gravity/lint/reports/dup_census.py149# ---------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMcrates/gravity/lint/reports/dup_census.py217# ---------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMcrates/gravity/lint/reports/dup_census.py540# ---------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/postgres-18.6-reference/src/tools/gen_keywordlist.pl1#----------------------------------------------------------------------COMMENT
MEDIUM…s/postgres-18.6-reference/src/tools/gen_keywordlist.pl29#----------------------------------------------------------------------COMMENT
MEDIUMcrates/postgres-18.6-reference/src/tools/PerfectHash.pm1#----------------------------------------------------------------------COMMENT
MEDIUMcrates/postgres-18.6-reference/src/tools/PerfectHash.pm28#----------------------------------------------------------------------COMMENT
MEDIUMcrates/postgres-18.6-reference/src/tools/msvc_gendef.pl33 # ------------------------------------------------------------------------COMMENT
MEDIUM…/postgres-18.6-reference/src/tools/mark_pgdllimport.pl3#----------------------------------------------------------------------COMMENT
MEDIUM…/postgres-18.6-reference/src/tools/mark_pgdllimport.pl23#----------------------------------------------------------------------COMMENT
MEDIUM…e/src/test/recovery/t/044_invalidate_inactive_slots.pl40# ========================================================================COMMENT
MEDIUM…e/src/test/recovery/t/044_invalidate_inactive_slots.pl103# =============================================================================COMMENT
MEDIUM….6-reference/src/test/recovery/t/019_replslot_limit.pl413# =============================================================================COMMENT
MEDIUM….6-reference/src/test/recovery/t/019_replslot_limit.pl478# =============================================================================COMMENT
MEDIUM….6-reference/src/test/recovery/t/019_replslot_limit.pl480# =============================================================================COMMENT
MEDIUM….6-reference/src/test/recovery/t/019_replslot_limit.pl538# =============================================================================COMMENT
MEDIUM….6-reference/src/test/subscription/t/028_row_filter.pl23# ====================================================================COMMENT
MEDIUM….6-reference/src/test/subscription/t/028_row_filter.pl77# ====================================================================COMMENT
MEDIUM….6-reference/src/test/subscription/t/028_row_filter.pl79# ====================================================================COMMENT
MEDIUM….6-reference/src/test/subscription/t/028_row_filter.pl179# ====================================================================COMMENT
MEDIUM….6-reference/src/test/subscription/t/028_row_filter.pl181# ======================================================COMMENT
MEDIUM….6-reference/src/test/subscription/t/028_row_filter.pl800# ======================================================COMMENT
MEDIUM…s-18.6-reference/src/test/subscription/t/014_binary.pl43# ------------------------------------------------------COMMENT
MEDIUM…s-18.6-reference/src/test/subscription/t/014_binary.pl45# ------------------------------------------------------COMMENT
MEDIUM…s-18.6-reference/src/test/subscription/t/014_binary.pl84# ----------------------------------COMMENT
MEDIUM…s-18.6-reference/src/test/subscription/t/014_binary.pl86# ----------------------------------COMMENT
MEDIUM…s-18.6-reference/src/test/subscription/t/014_binary.pl135# ------------------------------------------------------------------------------COMMENT
MEDIUM…s-18.6-reference/src/test/subscription/t/014_binary.pl137# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡…s-18.6-reference/src/test/subscription/t/014_binary.pl180# ---------------------------------------------------------------COMMENT
MEDIUM⚡…s-18.6-reference/src/test/subscription/t/014_binary.pl182# ---------------------------------------------------------------COMMENT
MEDIUM…s-18.6-reference/src/test/subscription/t/014_binary.pl243# -----------------------------------------------------COMMENT
MEDIUM…s-18.6-reference/src/test/subscription/t/014_binary.pl245# -----------------------------------------------------COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl24# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl90# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl92# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl178# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl180# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl264# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl266# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl345# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl347# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl408# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl410# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl479# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl481# =============================================================================COMMENT
MEDIUM…nce/src/test/subscription/t/032_subscribe_use_index.pl548# =============================================================================COMMENT
MEDIUM…8.6-reference/src/test/subscription/t/011_generated.pl104# =============================================================================COMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/011_generated.pl121# =============================================================================COMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/011_generated.pl125# --------------------------------------------------COMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/011_generated.pl129# --------------------------------------------------COMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/011_generated.pl220# =============================================================================COMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/011_generated.pl230# =============================================================================COMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/011_generated.pl232# --------------------------------------------------COMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/011_generated.pl235# --------------------------------------------------COMMENT
MEDIUM…8.6-reference/src/test/subscription/t/011_generated.pl281# --------------------------------------------------COMMENT
73 more matches not shown…
AI Slop Vocabulary132 hits · 391 pts
SeverityFileLineSnippetContext
MEDIUMcrates/gravity/lowerv4_it/Cargo.toml2# as a test-only package (BD-3). cargo gives every dev-dependency to a lib's unit-test harness as well, and the rigCOMMENT
MEDIUMcrates/gravity/lowerv4/Cargo.toml8# to the lib unit-test harness too, and the rig needs gravity_exec, so with the tests here this crate's 537 unit testsCOMMENT
MEDIUMcrates/bin/fuzzgen/Cargo.toml30# Antithesis harness builds only: Rng::next_u64 draws from the SDK entropyCOMMENT
MEDIUM…/postgres-18.6-reference/contrib/amcheck/t/005_pitr.pl35# VACUUM to delete the aforementioned leaf page. Force an XLogFlush() byCOMMENT
LOW…postgres-18.6-reference/src/pl/tcl/sql/pltcl_setup.sql194 # If not a Postgres error, just return the basic error messageCOMMENT
LOWcrates/postgres-18.6-reference/src/tools/PerfectHash.pm76 # It's not worth passing this around as a parameter; just use a global.COMMENT
LOW…ostgres-18.6-reference/src/test/kerberos/t/001_auth.pl16# just add whatever other tests are needed to here.COMMENT
MEDIUM…s/postgres-18.6-reference/src/test/ssl/t/SSL/Server.pm74# mode and this way they will find a port to run on in a more robust way.COMMENT
MEDIUM…src/test/recovery/t/053_standby_login_event_trigger.pl15# To keep the test robust the event trigger is set up in a dedicatedCOMMENT
LOW…6-reference/src/test/recovery/t/015_promotion_pages.pl55# Now just use a dummy table and run some operations to move minRecoveryPointCOMMENT
MEDIUM…8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm1832 # so callers can harness this port for the widest range of purposes.COMMENT
LOW…8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm2184 # because of a timeout and the caller requested to handle that, just returnCOMMENT
LOW…8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm3326 # Before release 12 walreceiver just set the application name toCOMMENT
MEDIUM…8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm3336 # harness won't accept a skip; otherwise, it won't acceptCOMMENT
LOW…-reference/src/test/modules/test_pg_dump/t/001_base.pl27# test_key indicates that a given run should simply use the sameCOMMENT
LOW…stgres-18.6-reference/src/bin/pg_dump/t/002_pg_dump.pl20# test_key indicates that a given run should simply use the sameCOMMENT
LOW…postgres-18.6-reference/src/backend/catalog/Catalog.pm332 # parse. We can't just use a regex because of values inCOMMENT
LOW…/postgres-18.6-reference/src/backend/catalog/genbki.pl323 # special SQL names for types etc; we just use the names in the sourceCOMMENT
LOW…es-18.6-reference/src/interfaces/ecpg/preproc/parse.pl507 # Not a nonterminal declaration, so just add it to $line.COMMENT
MEDIUMcrates/backend/access/transam/xlogutils/Cargo.toml12# Antithesis harness builds only (antithesis/ directory): the FPI-restoreCOMMENT
MEDIUMcrates/backend/access/heap/heaptoast/src/lib.rs60// notes/vacuum-morsels.md). The pre-check keeps seamless contexts (pureCOMMENT
MEDIUMcrates/backend/access/pgrcolumnar/pgrc_qa/Cargo.toml7# harness binary.COMMENT
MEDIUM…ckend/access/pgrcolumnar/pgrc_qa/tests/kill9_ladder.rs12//! The #254 leg runs the harness in `--no-commit-last` mode: a loggedCOMMENT
MEDIUM…ates/backend/access/pgrcolumnar/pgrc_qa/src/harness.rs126/// is false the final round publishes but never writes its commit record (the #254 shape), and the harness exits.COMMENT
MEDIUMcrates/backend/access/pgrcolumnar/pgrc_write/Cargo.toml52# RealVfs (production); MemVfs and the sim harness never see governor opsCOMMENT
MEDIUMcrates/backend/postmaster/launch_backend/Cargo.toml12# cfg comes from harness/CI RUSTFLAGS only (law §0.1 of sim-net-e2e).COMMENT
MEDIUMcrates/backend/tcop/postgres/Cargo.toml121# P4 sim-net harness (cfg pgrust_sim; both crates are empty/off-path otherwise)COMMENT
MEDIUMcrates/backend/utils/misc/guc_tables/Cargo.toml26# only by the sim harness's RUSTFLAGS; gates the "clone" file_copy_methodCOMMENT
MEDIUMcrates/backend/utils/misc/guc/Cargo.toml43# only by the sim harness's RUSTFLAGS; gates the file_copy_method=cloneCOMMENT
MEDIUMcrates/backend/utils/adt/arrayfuncs/src/io.rs870 // function has to be robust enough to cope with invalid data. However,COMMENT
MEDIUMcrates/backend/utils/adt/jsonpath/src/lib.rs18// CHECK_FOR_INTERRUPTS(): the InterruptPending pre-check keeps seamlessCOMMENT
MEDIUMcrates/backend/utils/adt/oracle_compat/src/lib.rs53// keeps seamless contexts (pure unit tests) off the seam.COMMENT
MEDIUMcrates/backend/utils/adt/numeric/src/math.rs609// Estimate log10(abs(ln(var))); robust against invalid ln() inputs (returns 0).COMMENT
MEDIUMcrates/backend/storage/lmgr/lmgr_proc/Cargo.toml30# KilledBySignal) for the panic-robust PGPROC release in ProcKill /COMMENT
MEDIUMcrates/backend/storage/file/vfs/Cargo.toml18# set exclusively by the sim harness's RUSTFLAGS — never in .cargo/config, anyCOMMENT
MEDIUMcrates/backend/storage/file/vfs/src/asset-manifest.toml17# Share-tree asset roots, relative to the share dir the harness names viaCOMMENT
MEDIUMcrates/backend/storage/file/fd/Cargo.toml51# only by the sim harness's RUSTFLAGS; fd's sim-only regression tests use it.COMMENT
MEDIUMcrates/backend/storage/file/write_governor/Cargo.toml14# (see resolve()), so the sim harness never sees governor-injected ops.COMMENT
MEDIUMcrates/backend/main/main_main/Cargo.toml23# Antithesis harness builds only (antithesis/ directory): SDK assertions +COMMENT
MEDIUMcrates/backend/main/main_main/Cargo.toml25# none of it. The harness image build (root Dockerfile, ARG ANTITHESIS=1)COMMENT
MEDIUM…contracts-reference/tpde/include/tpde/ValuePartRef.hpp433 // Essentially lock(), except that we know that the lock count is zero.COMMENT
MEDIUMcrates/tpde/fadec/tests/reference/encode2.c54 // Essentially just an and+or due to struct layout.COMMENT
MEDIUM…ates/tpde/compiler-x64/tests/reference/fadec/encode2.c54 // Essentially just an and+or due to struct layout.COMMENT
MEDIUM…compiler-x64/tests/reference/fadec/corrected/encode2.c54 // Essentially just an and+or due to struct layout.COMMENT
MEDIUM…ests/reference/tpde/tpde/include/tpde/ValuePartRef.hpp433 // Essentially lock(), except that we know that the lock count is zero.COMMENT
MEDIUM…de/function-writer-x64/tests/reference/fadec/encode2.c54 // Essentially just an and+or due to struct layout.COMMENT
MEDIUM…ler/tests/reference/tpde/include/tpde/ValuePartRef.hpp433 // Essentially lock(), except that we know that the lock count is zero.COMMENT
MEDIUM…stream/deps/spdlog/include/spdlog/fmt/bundled/format.h3501 // Compilers are not aware of how to leverage the maximum value ofCOMMENT
MEDIUMcrates/_support/pgsync/Cargo.toml29# Antithesis harness builds only (antithesis/ directory): the ParkLotCOMMENT
MEDIUMcrates/contrib/pgvector_hnsw/src/utils.rs751 // Make robust to issues.COMMENT
MEDIUMcrates/common/controldata_utils/Cargo.toml28# `pgrust_sim` (non-default cfg, set only by the sim harness RUSTFLAGS): theCOMMENT
MEDIUMcrates/port/pg_strong_random/Cargo.toml12# harness's RUSTFLAGS — never in .cargo/config, any product profile, orCOMMENT
MEDIUMcrates/port/pg_clock/Cargo.toml15# VFS dispatch mechanism verbatim). It is set exclusively by the sim harness'sCOMMENT
MEDIUMwasm/wasm-web-e2e.sh3# harness boots postgres.wasm under NODE (no browser) over a packed in-memoryCOMMENT
MEDIUMwasm/wasm-web-opfs-e2e.sh6# Node. Node has no OPFS, so the store is the harness's in-memory Map — theCOMMENT
MEDIUM⚡wasm/blog/source/posts.json40 "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres iCODE
MEDIUM⚡wasm/blog/source/posts.json40 "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres iCODE
MEDIUM⚡wasm/blog/source/posts.json96 "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I&#8217;ve written dozenCODE
MEDIUM⚡wasm/blog/source/posts.json96 "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I&#8217;ve written dozenCODE
MEDIUM…/pgrust-rebuilding-postgres-in-rust-with-ai/index.html143<p>I was previously the CEO of a 120-person company at Freshpaint. And while I wanted to read the code all the time, I wCODE
72 more matches not shown…
Self-Referential Comments113 hits · 350 pts
SeverityFileLineSnippetContext
MEDIUM…/contrib/pg_visibility/t/001_concurrent_transaction.pl36# Create a sample table and run vacuumCOMMENT
MEDIUM….6-reference/contrib/pg_visibility/t/002_corrupt_vm.pl21# Create a sample table with at least 10 pages and then run VACUUM. 10 isCOMMENT
MEDIUM…eference/contrib/amcheck/t/004_verify_nbtree_unique.pl18# Create a custom operator class and an index which uses it.COMMENT
MEDIUM…/postgres-18.6-reference/contrib/amcheck/t/005_pitr.pl16# Create a table with each of 6 PK values spanning 1/4 of a block. Delete theCOMMENT
MEDIUM…-18.6-reference/contrib/amcheck/t/001_verify_heapam.pl115# Create a test sequence of the given name.COMMENT
MEDIUM…s/postgres-18.6-reference/src/test/ssl/t/SSL/Server.pm15 # Create a new clusterCOMMENT
MEDIUM…-reference/src/test/recovery/t/042_low_level_backup.pl51# Create a table that will be used to verify that recovery started at theCOMMENT
MEDIUM…src/test/recovery/t/040_standby_failover_slots_sync.pl37# Create a subscriber node, wait for sync to completeCOMMENT
MEDIUM…src/test/recovery/t/040_standby_failover_slots_sync.pl50# Create a subscription that enables failover.COMMENT
MEDIUM…src/test/recovery/t/040_standby_failover_slots_sync.pl135# Create a standbyCOMMENT
MEDIUM…src/test/recovery/t/040_standby_failover_slots_sync.pl357# Create a cascading standbyCOMMENT
MEDIUM…src/test/recovery/t/040_standby_failover_slots_sync.pl389# Create a failover slot and advance the restart_lsn to a position where aCOMMENT
MEDIUM…src/test/recovery/t/040_standby_failover_slots_sync.pl745# Create a logical 'test_decoding' replication slot with failover enabledCOMMENT
MEDIUM…-reference/src/test/recovery/t/033_replay_tsp_drops.pl121# Create a database in the tablespace and a table in default tablespaceCOMMENT
MEDIUM….6-reference/src/test/recovery/t/008_fsm_truncation.pl24# Create a primary node and its standby, initializing both with some dataCOMMENT
MEDIUM…ce/src/test/recovery/t/035_standby_logical_decoding.pl47# Create the required logical slots on standby.COMMENT
MEDIUM⚡…ce/src/test/recovery/t/035_standby_logical_decoding.pl499# Create a table on the primaryCOMMENT
MEDIUM⚡…ce/src/test/recovery/t/035_standby_logical_decoding.pl503# Create a table (same structure) on the subscriber nodeCOMMENT
MEDIUM⚡…ce/src/test/recovery/t/035_standby_logical_decoding.pl507# Create a publication on the primaryCOMMENT
MEDIUM…ce/src/test/recovery/t/035_standby_logical_decoding.pl554# Create the injection_points extensionCOMMENT
MEDIUM…ce/src/test/recovery/t/035_standby_logical_decoding.pl909# Create a slot on a database that would not be dropped. This slot should notCOMMENT
MEDIUM…ce/src/test/recovery/t/035_standby_logical_decoding.pl948# Create a physical replication slot on the standby.COMMENT
MEDIUM…ce/src/test/recovery/t/035_standby_logical_decoding.pl1065# Create a logical slot on the cascading standby for this test.COMMENT
MEDIUM…nce/src/test/recovery/t/046_checkpoint_logical_slot.pl36# Create the two slots we'll need.COMMENT
MEDIUM…nce/src/test/recovery/t/046_checkpoint_logical_slot.pl159# Create a standbyCOMMENT
MEDIUM…6-reference/src/test/recovery/t/014_unlogged_reinit.pl21# Create an unlogged table and an unlogged sequence to test that forksCOMMENT
MEDIUM…6-reference/src/test/recovery/t/014_unlogged_reinit.pl43# Create an unlogged table in a tablespace.COMMENT
MEDIUM….6-reference/src/test/recovery/t/019_replslot_limit.pl39# Create a standby linking to it using the replication slotCOMMENT
MEDIUM….6-reference/src/test/recovery/t/019_replslot_limit.pl426# Create a standby linking to the primary using the replication slotCOMMENT
MEDIUM…src/test/recovery/t/054_unlogged_sequence_promotion.pl24# Create the unlogged sequence after the standby has started, so its init forkCOMMENT
MEDIUM…postgres-18.6-reference/src/test/recovery/t/017_shm.pl44# Create a shmem segment that will conflict with gnat's first choiceCOMMENT
MEDIUM…ce/src/test/recovery/t/047_checkpoint_physical_slot.pl37# Create a physical replication slot.COMMENT
MEDIUM…8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm16 # Create a data directory with initdbCOMMENT
MEDIUM…erence/src/test/perl/PostgreSQL/Test/BackgroundPsql.pm16 # Create a data directory with initdbCOMMENT
MEDIUM….6-reference/src/test/subscription/t/017_stream_ddl.pl6# This file is mainly to test the DDL/DML interaction of the publisher side,COMMENT
MEDIUM…ence/src/test/subscription/t/033_run_as_table_owner.pl232# Create a new subscription "admin_sub" owned by regress_admin2. It'sCOMMENT
MEDIUM…rc/test/subscription/t/019_stream_subxact_ddl_abort.pl7# This file is mainly to test the DDL/DML interaction of the publisher side,COMMENT
MEDIUM…18.6-reference/src/test/subscription/t/029_on_error.pl107# Create a pub/sub to set up logical replication. This tests that theCOMMENT
MEDIUM…s-18.6-reference/src/test/subscription/t/030_origin.pl46# Create the same table on node_BCOMMENT
MEDIUM…res-18.6-reference/src/test/subscription/t/100_bugs.pl181# Create the tables in all nodes.COMMENT
MEDIUM…res-18.6-reference/src/test/subscription/t/100_bugs.pl186# Create a cascaded replication setup like:COMMENT
MEDIUM…res-18.6-reference/src/test/subscription/t/100_bugs.pl550# Create an AFTER INSERT trigger on the table that raises and subsequentlyCOMMENT
MEDIUM…res-18.6-reference/src/test/subscription/t/100_bugs.pl638# Create a publication with the zero-division row filter. It always throws anCOMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/035_conflicts.pl14# Create a publisher nodeCOMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/035_conflicts.pl19# Create a subscriber nodeCOMMENT
MEDIUM⚡…8.6-reference/src/test/subscription/t/035_conflicts.pl24# Create a table on publisherCOMMENT
MEDIUM…8.6-reference/src/test/subscription/t/035_conflicts.pl47# Create the subscriptionCOMMENT
MEDIUM…-reference/src/test/subscription/t/024_add_drop_pub.pl49# Create a new table on publisherCOMMENT
MEDIUM…-reference/src/test/subscription/t/024_add_drop_pub.pl54# Create a new table on subscriberCOMMENT
MEDIUM⚡…s-18.6-reference/src/test/subscription/t/014_binary.pl184# Create a custom type without send/rcv functionsCOMMENT
MEDIUM…es-18.6-reference/src/test/subscription/t/026_stats.pl137# Create the publication and subscription with sync and apply errorsCOMMENT
MEDIUM…8.6-reference/src/test/subscription/t/011_generated.pl140# Create the table and subscription in the 'postgres' database.COMMENT
MEDIUM…8.6-reference/src/test/subscription/t/011_generated.pl147# Create the table and subscription in the 'test_pgc_true' database.COMMENT
MEDIUM…erence/src/test/subscription/t/022_twophase_cascade.pl56# Create the same tables on node_B and node_CCOMMENT
MEDIUM…erence/src/test/subscription/t/022_twophase_cascade.pl66# Create the same tables on node_B and node_CCOMMENT
MEDIUM…8.6-reference/src/test/modules/commit_ts/t/001_base.pl17# Create a table, compare "now()" to the commit TS of its xminCOMMENT
MEDIUM…18.6-reference/src/test/modules/brin/t/01_workitems.pl20# Create a table with an autosummarizing BRIN indexCOMMENT
MEDIUM…-18.6-reference/src/test/modules/test_aio/t/001_aio.pl1124 # Create a corruption and then read the block without waiting forCOMMENT
MEDIUM…erence/src/test/modules/xid_wraparound/t/002_limits.pl36# Create a test table. We disable autovacuum on the table to run it onlyCOMMENT
MEDIUM…e/src/test/modules/xid_wraparound/t/003_wraparounds.pl32# Create a test table. We disable autovacuum on the table to runCOMMENT
53 more matches not shown…
Deep Nesting218 hits · 211 pts
SeverityFileLineSnippetContext
LOWcrates/gravity/lint/alloclint/homes.py37CODE
LOWcrates/gravity/lint/alloclint/homes.py125CODE
LOWcrates/gravity/lint/alloclint/homes.py208CODE
LOWcrates/gravity/lint/alloclint/homes.py327CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py139CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py549CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py581CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py770CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py177CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py266CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py385CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py986CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py1050CODE
LOWcrates/gravity/lint/alloclint/crosscheck.py1298CODE
LOWcrates/gravity/lint/alloclint/unreached.py168CODE
LOWcrates/gravity/lint/alloclint/unreached.py215CODE
LOWcrates/gravity/lint/alloclint/unreached.py280CODE
LOWcrates/gravity/lint/alloclint/unreached.py315CODE
LOWcrates/gravity/lint/alloclint/unreached.py408CODE
LOWcrates/gravity/lint/alloclint/unreached.py178CODE
LOWcrates/gravity/lint/alloclint/ratchet.py121CODE
LOWcrates/gravity/lint/alloclint/ratchet.py224CODE
LOWcrates/gravity/lint/alloclint/ratchet.py442CODE
LOWcrates/gravity/lint/alloclint/ratchet.py705CODE
LOWcrates/gravity/lint/alloclint/ratchet.py775CODE
LOWcrates/gravity/lint/alloclint/ratchet.py1106CODE
LOWcrates/gravity/lint/alloclint/mcxt.py59CODE
LOWcrates/gravity/lint/alloclint/mcxt.py96CODE
LOWcrates/gravity/lint/alloclint/mcxt.py198CODE
LOWcrates/gravity/lint/alloclint/mcxt.py229CODE
LOWcrates/gravity/lint/rules/rq_polls.py124CODE
LOWcrates/gravity/lint/rules/rq_polls.py200CODE
LOWcrates/gravity/lint/rules/rq_polls.py443CODE
LOWcrates/gravity/lint/rules/rq_polls.py251CODE
LOWcrates/gravity/lint/rules/rq_polls.py316CODE
LOWcrates/gravity/lint/rules/run.py141CODE
LOWcrates/gravity/lint/rules/run.py215CODE
LOWcrates/gravity/lint/rules/run.py334CODE
LOWcrates/gravity/lint/rules/run.py437CODE
LOWcrates/gravity/lint/rules/rcf_charge_first.py46CODE
LOWcrates/gravity/lint/rules/rcf_charge_first.py60CODE
LOWcrates/gravity/lint/rules/rcf_charge_first.py99CODE
LOWcrates/gravity/lint/rules/ry_stack_image.py58CODE
LOWcrates/gravity/lint/rules/ry_stack_image.py72CODE
LOWcrates/gravity/lint/rules/ry_stack_image.py90CODE
LOWcrates/gravity/lint/rules/ry_stack_image.py113CODE
LOWcrates/gravity/lint/rules/a1_keyhash.py36CODE
LOWcrates/gravity/lint/rules/a1_keyhash.py83CODE
LOWcrates/gravity/lint/rules/rl2_limit_panic.py45CODE
LOWcrates/gravity/lint/rules/r05_layering.py62CODE
LOWcrates/gravity/lint/rules/exempt.py110CODE
LOWcrates/gravity/lint/rules/rl_lifetime.py62CODE
LOWcrates/gravity/lint/rules/rl_lifetime.py77CODE
LOWcrates/gravity/lint/rules/rsn_spawn_pinned.py34CODE
LOWcrates/gravity/lint/rules/rsn_spawn_pinned.py47CODE
LOWcrates/gravity/lint/rules/rg_spill.py140CODE
LOWcrates/gravity/lint/rules/rt_thread_state.py99CODE
LOWcrates/gravity/lint/rules/rt_thread_state.py171CODE
LOWcrates/gravity/lint/rules/rt_thread_state.py244CODE
LOWcrates/gravity/lint/rules/rt_thread_state.py265CODE
158 more matches not shown…
Cross-Language Confusion36 hits · 168 pts
SeverityFileLineSnippetContext
HIGHcrates/gravity/lint/alloclint/crosscheck.py46RE_VT_FIELD = re.compile(r'ptr (@(?:"[^"]+"|[-\w$.]+)|null)|\[(\d+) x i8\]')CODE
HIGHcrates/gravity/lint/alloclint/crosscheck.py736 " self.sel.push(row as u16); // alloc: Node charged o", # 11CODE
HIGHcrates/gravity/lint/alloclint/crosscheck.py738 " self.didx.push(self.sel.len() as u16 - 1); // alloc: Node charged o", # 13CODE
HIGHcrates/gravity/lint/alloclint/ratchet.py1165 open(src_f, "w").write("fn live() {\n let a = k.clone();\n v.push(1);\n let t: Vec<u8> = x;\n}\n"CODE
HIGHcrates/gravity/lint/alloclint/ratchet.py1166 "fn only_tests() {\n let x = 1;\n w.push(2);\n}\n")CODE
HIGH⚡crates/gravity/lint/alloclint/ratchet.py1270 open(os.path.join(t, f), "w").write("\n" * 19 + "v.push(x); // alloc: Exec charged w.stmt_owner()\n"CODE
HIGH⚡crates/gravity/lint/alloclint/ratchet.py1271 "v.push(y); // alloc: charged slot.owner\n" + "v.push(z); // alloc: Exec\n")CODE
HIGH⚡crates/gravity/lint/alloclint/ratchet.py1280 CC_SRC = ("fn put(out: &mut Vec<u8>, v: u8) {\n out.push(v); // alloc: Exec charged caller\n}\n\n"CODE
HIGH⚡crates/gravity/lint/alloclint/ratchet.py1281 "fn enc(out: &mut Vec<u8>) {\n out.push(1); // alloc: Exec charged caller\n"CODE
HIGH⚡crates/gravity/lint/alloclint/ratchet.py1282 " out.push(2); // alloc: Node charged caller (the caller charges it)\n}\n")CODE
HIGHcrates/gravity/lint/alloclint/ratchet.py1313 'r.push_str(&e.to_string()); // alloc: Cold\n' + "v.push(1); // alloc: Cold\CODE
HIGHcrates/gravity/lint/alloclint/ratchet.py1368 open(os.path.join(t, f), "w").write("fn put() {\n let g = memledger::arena::cache_scope_for(o, k);\n v.pusCODE
HIGHcrates/gravity/lint/alloclint/ratchet.py1369 " g.finish();\n v.push(2);\n Err(Box::new(PgError::error(m))) // alCODE
HIGHcrates/gravity/lint/alloclint/ratchet.py1392 + "x: Vec<u8>, // alloc: Cold\n" + "e: String, // alloc: Cold\n" + "v.push(1CODE
HIGHcrates/gravity/lint/alloclint/ratchet.py1812 open(os.path.join(r, f), "a").write("fn more(out: &mut Vec<u8>) {\n out.push(3);\n}\n")CODE
HIGHcrates/gravity/lint/rules/rq_polls.py546 {"files": [(_W, "fn walk(&mut self, n: u32) -> PgResult<()> {\n let mut a = 0;\n while a < n && self.has(a)? {CODE
HIGHcrates/gravity/lint/rules/rl_lifetime.py235 "fn mark(b: &mut Builder<'_, '_>, q: u16) { b.graph.kept.push(q); }\n")CODE
HIGHcrates/gravity/lint/rules/rsn_spawn_pinned.py100 "pub fn go() {\n let h = std::thread::Builder::new().name(\"x\".into()).spawn(move || work()).unwrap(CODE
HIGHcrates/gravity/lint/rules/rsn_spawn_pinned.py102 "pub fn go() {\n let h = std::thread::Builder::new().name(\"x\".into()).spawn(pagegive::pinned(move || CODE
HIGHcrates/gravity/lint/rules/r03_literal_gates.py42 "pub fn quiet(f: &Call) -> bool { f.funcid == 2108 || matches!(f.typid, INT4OID | INT8OID) }\n")]CODE
HIGHcrates/gravity/lint/rules/r03_literal_gates.py44 "pub fn same(a: &Op, b: &Op) -> bool { a.opno == b.opno && a.opfuncid != 0 }\n")]CODE
HIGHcrates/gravity/lint/rules/rx_keyimage.py190 "fn wide(k: &KeyDecl) -> bool {\n k.image == DeclImage::NumMantissa && k.words == 1\n}\n")]CODE
HIGHcrates/gravity/lint/rules/rf_lock_forms.py216 {"files": [(_LR + "planted.rs", "fn b_role(px: &mut Px<'_, '_>, k: usize) -> bool { px.locks.push(k); pair_mark(px, CODE
HIGHcrates/gravity/lint/rules/rc_demand.py14by path and name, with its owner lane and kind (null, drop, pin, walk), and the local walks the census of 2026-10-11 namSTRING
HIGHcrates/tpde/fadec-gen/tests/generated_execution.py276 for (unsigned i = 0; i < 16; ++i) assert(storage[i] == 0x5a && storage[48+i] == 0x5a);CODE
HIGHcrates/tpde/fadec-gen/tests/generated_execution.py390 checked(["cc", "-std=c11", "-O0", "-fsanitize=undefined,bounds", "-fno-sanitize-recover=all",STRING
HIGHcrates/tpde/fadec-gen/tests/reference/parseinstrs.py1100 rex_expr.append(f"(op_reg_idx(op{i}) >= 4 && op_reg_idx(op{i}) <= 15?0x40:0)")STRING
HIGHcrates/tpde/fadec-gen/tests/reference/parseinstrs.py1123 code += f" if (rex && op_reg_gph(op{i})) return 0;\n"STRING
HIGHcrates/tpde/fadec/tests/oracle.py491 "-fsanitize=address,undefined,bounds", "-fno-sanitize-recover=all", "-I", str(work),CODE
HIGHcrates/tpde/fadec/tests/reference/parseinstrs.py1100 rex_expr.append(f"(op_reg_idx(op{i}) >= 4 && op_reg_idx(op{i}) <= 15?0x40:0)")STRING
HIGHcrates/tpde/fadec/tests/reference/parseinstrs.py1123 code += f" if (rex && op_reg_gph(op{i})) return 0;\n"STRING
HIGH…tpde/compiler-x64/tests/reference/fadec/parseinstrs.py1100 rex_expr.append(f"(op_reg_idx(op{i}) >= 4 && op_reg_idx(op{i}) <= 15?0x40:0)")STRING
HIGH…tpde/compiler-x64/tests/reference/fadec/parseinstrs.py1123 code += f" if (rex && op_reg_gph(op{i})) return 0;\n"STRING
HIGH…nction-writer-x64/tests/reference/fadec/parseinstrs.py1100 rex_expr.append(f"(op_reg_idx(op{i}) >= 4 && op_reg_idx(op{i}) <= 15?0x40:0)")STRING
HIGH…nction-writer-x64/tests/reference/fadec/parseinstrs.py1123 code += f" if (rex && op_reg_gph(op{i})) return 0;\n"STRING
HIGHcrates/tpde/disarm-gen/tests/encoder_helpers.py319static_assert(sizeof(uintptr_t)==8 && sizeof(ptrdiff_t)==8);CODE
Modern AI Meta-Vocabulary31 hits · 89 pts
SeverityFileLineSnippetContext
MEDIUMcrates/gravity/kernels/tests/sort_v4_m3.rs415/// D1581 (G4 L1', V4R-517): the heads' does-not-apply witness (guardrails G1-G4). m3_sort.rs `index_by` orders a var ruCOMMENT
MEDIUM…ference/src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl3# The test cases come from FreeBSD upstream, but this test scaffolding is ours.COMMENT
MEDIUM…d/access/transam/xlogrecovery/tests/sim_crash_sweep.rs2480 // Property 3 scaffold: clog-committed txns must be a PREFIX 1..=hCOMMENT
MEDIUMcrates/backend/access/transam/rmgr/src/lib.rs90#[allow(unused_macros)] // stub scaffolding for not-yet-ported redo callbacksCOMMENT
MEDIUMcrates/backend/access/pgrcolumnar/pgrc_qa/Cargo.toml6# ships from here; the lib is rig scaffolding for the tests + the crashCOMMENT
MEDIUMcrates/backend/access/pgrcolumnar/pgrc_am/src/dml.rs1//! # dml — the M5e trickle-DML AM-face contract (M5e-SCOUT scaffold; NOCOMMENT
MEDIUMcrates/backend/access/pgrcolumnar/pgrc_am/src/dml.rs1//! # dml — the M5e trickle-DML AM-face contract (M5e-SCOUT scaffold; NOCOMMENT
MEDIUMcrates/backend/access/pgrcolumnar/pgrc_write/src/dml.rs1//! # dml — the M5e trickle-DML producer faces (M5e-SCOUT scaffold; NOCOMMENT
MEDIUMcrates/backend/access/pgrcolumnar/pgrc_write/src/dml.rs1//! # dml — the M5e trickle-DML producer faces (M5e-SCOUT scaffold; NOCOMMENT
MEDIUMcrates/backend/access/pgrcolumnar/pgrc_write/src/dml.rs320 // in `pgrc_am::dml`'s scaffold tests, where both crates areCOMMENT
MEDIUMcrates/backend/tcop/postgres/src/sim_net.rs647// registration hook lands — this snapshot is the scaffold stand-in.COMMENT
MEDIUMcrates/backend/tcop/postgres/src/sim_sched_demo.rs34//! degrades to plain std (scaffold mode, exactly the pre-compose behavior).COMMENT
MEDIUMcrates/backend/tcop/postgres/src/sim_sched_demo.rs114/// sleeps over OS scheduling (scaffold mode) — same line, no SCHEDOP.COMMENT
MEDIUMcrates/backend/tcop/postgres/src/sim_sched_demo.rs161/// OS scheduling (scaffold mode) — same line, no SCHEDOP.COMMENT
MEDIUMcrates/backend/tcop/postgres/src/sim_sched_demo.rs190 // scheduler is off (scaffold mode: fallback timer trips).COMMENT
MEDIUM…/backend/storage/file/vfs/tests/sim_shared_universe.rs29 // --- ingest APIs: scaffold + durable-from-birth file -----------------COMMENT
MEDIUMcrates/backend/storage/file/vfs/src/sim_boot.rs22//! ingest mints to scaffold each root's absolute path are namespace plumbingCOMMENT
MEDIUMcrates/backend/storage/file/vfs/src/sim_boot.rs178 return Ok(()); // root "/" needs no scaffoldCODE
MEDIUM⚡wasm/blog/source/posts.json40 "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres iCODE
MEDIUM⚡wasm/blog/source/posts.json40 "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres iCODE
MEDIUM⚡wasm/blog/source/posts.json40 "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres iCODE
MEDIUM⚡wasm/blog/source/posts.json40 "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres iCODE
MEDIUM⚡wasm/blog/source/posts.json96 "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I&#8217;ve written dozenCODE
MEDIUM⚡wasm/blog/source/posts.json96 "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I&#8217;ve written dozenCODE
MEDIUM…/pgrust-rebuilding-postgres-in-rust-with-ai/index.html131<p>That&#8217;s when I decided to try going multi-agent.</p>CODE
MEDIUM…/pgrust-rebuilding-postgres-in-rust-with-ai/index.html143<p>I was previously the CEO of a 120-person company at Freshpaint. And while I wanted to read the code all the time, I wCODE
MEDIUMwasm/blog/postgres-in-rust-regression-suite/index.html137<p>This time I approached the project a little bit differently. This time, I set up my &#8220;agentic infrastructure&#82CODE
MEDIUMproofs/cash/Cargo.toml12# direct deps needed as stub-target / scaffolding paths (wave-4 extension):COMMENT
MEDIUMproofs/text-slice/run-all.sh8# Solve-time tiers (measured under multi-agent load 2026-07-28, inflatedCOMMENT
MEDIUMcrash-simulator/src/runner/shrink.rs4//! on the begin-property line in the scaffold format) does notCOMMENT
MEDIUMcrash-simulator/src/runner/driver.rs15//! `DiffClassifier` hook traits and ships basic scaffold impls only.COMMENT
Cross-File Repetition15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHcrates/gravity/lint/rules/rk_keysem.py0-> ({(path, fn): (line, owner, kind)}, [(line, problem)]).STRING
HIGHcrates/gravity/lint/rules/rd_deps.py0-> ({(path, fn): (line, owner, kind)}, [(line, problem)]).STRING
HIGHcrates/gravity/lint/rules/rl_lifetime.py0-> ({(path, fn): (line, owner, kind)}, [(line, problem)]).STRING
HIGHcrates/gravity/lint/rules/rx_keyimage.py0-> ({(path, fn): (line, owner, kind)}, [(line, problem)]).STRING
HIGHcrates/gravity/lint/rules/rc_demand.py0-> ({(path, fn): (line, owner, kind)}, [(line, problem)]).STRING
HIGHcrates/gravity/lint/rules/rl_lifetime.py0-> the index after the bracket that closes the one at t[i] (`o`), or -1.STRING
HIGHcrates/gravity/lint/rules/rv_visible.py0-> the index after the bracket that closes the one at t[i] (`o`), or -1.STRING
HIGHcrates/gravity/lint/rules/rs_stack.py0-> the index after the bracket that closes the one at t[i] (`o`), or -1.STRING
HIGHcrates/tpde/fadec-gen/tests/reference/parseinstrs.py0// auto-generated file -- do not modify! #if defined(fd_decode_table_data) {"".join(f"{e:#06x}," for e in table_data)} #STRING
HIGHcrates/tpde/fadec/tests/reference/parseinstrs.py0// auto-generated file -- do not modify! #if defined(fd_decode_table_data) {"".join(f"{e:#06x}," for e in table_data)} #STRING
HIGH…tpde/compiler-x64/tests/reference/fadec/parseinstrs.py0// auto-generated file -- do not modify! #if defined(fd_decode_table_data) {"".join(f"{e:#06x}," for e in table_data)} #STRING
HIGH…nction-writer-x64/tests/reference/fadec/parseinstrs.py0// auto-generated file -- do not modify! #if defined(fd_decode_table_data) {"".join(f"{e:#06x}," for e in table_data)} #STRING
HIGH…pde/function-writer-a64/tests/upstream/disarm/parse.py0enum da64instkind {{ da64i_unknown=0, {"".join(mnems_strs)} }}; enum da64instgroup {{ da64g_unknown=0, {"".join(grpnum_sSTRING
HIGHcrates/tpde/disarm/reference/parse.py0enum da64instkind {{ da64i_unknown=0, {"".join(mnems_strs)} }}; enum da64instgroup {{ da64g_unknown=0, {"".join(grpnum_sSTRING
HIGHcrates/tpde/disarm-gen/reference/parse.py0enum da64instkind {{ da64i_unknown=0, {"".join(mnems_strs)} }}; enum da64instgroup {{ da64g_unknown=0, {"".join(grpnum_sSTRING
Redundant / Tautological Comments35 hits · 52 pts
SeverityFileLineSnippetContext
LOW…-reference/contrib/unaccent/generate_unaccent_rules.py117 # Check if the base letter of this letter has marks.COMMENT
LOW…stgres-18.6-reference/contrib/sepgsql/t/001_sepgsql.pl228# Check if the truncate permission exists in the loaded policy, and if so,COMMENT
LOW…rence/src/test/recovery/t/041_checkpoint_at_promote.pl38# Check if the extension injection_points is available, as it may beCOMMENT
LOW…s-18.6-reference/src/test/recovery/t/001_stream_rep.pl583# Check if the previous segment gets correctly recycled after theCOMMENT
LOW…src/test/recovery/t/040_standby_failover_slots_sync.pl246# Check if the synced slot is invalidatedCOMMENT
LOW…src/test/recovery/t/040_standby_failover_slots_sync.pl868# Set two_phase to true and enable the subscriptionCOMMENT
LOW…e/src/test/recovery/t/044_invalidate_inactive_slots.pl58# Check if the 'injection_points' extension is available, as it may beCOMMENT
LOW…6-reference/src/test/recovery/t/016_min_consistency.pl49# Set shared_buffers to a very low value to enforce discard and flushCOMMENT
LOW…ce/src/test/recovery/t/035_standby_logical_decoding.pl125# Check if all the slots on standby are dropped. These include the 'activeslot'COMMENT
LOW…ce/src/test/recovery/t/035_standby_logical_decoding.pl303# Check if the extension injection_points is available, as it may beCOMMENT
LOW…ce/src/test/recovery/t/035_standby_logical_decoding.pl627# Set hot_standby_feedback to onCOMMENT
LOW…nce/src/test/recovery/t/046_checkpoint_logical_slot.pl26# Check if the extension injection_points is available, as it may beCOMMENT
LOW…erence/src/test/recovery/t/048_vacuum_horizon_floor.pl108# Set primary_conninfo to something invalid on the replica and reload theCOMMENT
LOW…ce/src/test/recovery/t/047_checkpoint_physical_slot.pl27# Check if the extension injection_points is available, as it may beCOMMENT
LOW…ce/src/test/recovery/t/047_checkpoint_physical_slot.pl126# Check if the required wal segment exists.COMMENT
LOW…8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm1647 # Add node to list of nodesCOMMENT
LOW…-18.6-reference/src/test/perl/PostgreSQL/Test/Utils.pm154 # Check if this environment is MSYS2.COMMENT
LOW…ference/src/test/subscription/t/023_twophase_stream.pl465# Set max_prepared_transactions to correct value to resume the replicationCOMMENT
LOW…18.6-reference/src/test/subscription/t/021_twophase.pl83# Set max_prepared_transactions to correct value to resume the replicationCOMMENT
LOW…18.6-reference/src/test/subscription/t/021_twophase.pl489# Set two_phase to "true" and failover to "true" before the COMMIT PREPARED.COMMENT
LOW…/test/modules/xid_wraparound/t/001_emergency_vacuum.pl105# Check if these tables are vacuumed.COMMENT
LOW…/test/modules/xid_wraparound/t/001_emergency_vacuum.pl119# Check if vacuum failsafe was triggered for each table.COMMENT
LOW…nce/src/test/modules/test_misc/t/007_catcache_inval.pl24# Check if the extension injection_points is available, as it may beCOMMENT
LOW…/src/test/modules/test_misc/t/006_signal_autovacuum.pl29# Check if the extension injection_points is available, as it may beCOMMENT
LOW…eference/src/test/modules/test_misc/t/003_check_guc.pl54 # Check if this line matches a GUC parameter:COMMENT
LOW…reference/src/test/modules/test_misc/t/005_timeouts.pl28# Check if the extension injection_points is available, as it may beCOMMENT
LOW…s-18.6-reference/src/test/authentication/t/003_peer.pl82# Check if peer authentication is supported on this platform.COMMENT
LOW….6-reference/src/test/authentication/t/007_pre_auth.pl28# Check if the extension injection_points is available, as it may beCOMMENT
LOW…tgres-18.6-reference/src/bin/pg_rewind/t/RewindTest.pm132 # Set wal_keep_size to prevent WAL segment recycling after enforcedCOMMENT
LOW…nce/src/bin/pg_basebackup/t/040_pg_createsubscriber.pl369# Check if node S is still a standbyCOMMENT
LOW….6-reference/src/bin/pg_amcheck/t/004_verify_heapam.pl679 # Set xmin to xmax of tuple at offset 30.COMMENT
LOW…-reference/src/bin/pg_upgrade/t/005_char_signedness.pl42# Check if the value is successfully updated.COMMENT
LOW…-reference/src/bin/pg_upgrade/t/005_char_signedness.pl88# Check if the default char signedness of the new cluster inheritedCOMMENT
LOW…-18.6-reference/src/bin/pg_upgrade/t/002_pg_upgrade.pl592# Check if there are any logs coming from pg_upgrade, that would only beCOMMENT
LOW…nce/src/interfaces/libpq/t/005_negotiate_encryption.pl152# Check if the extension injection_points is available, as it may beCOMMENT
Slop Phrases24 hits · 40 pts
SeverityFileLineSnippetContext
LOW…postgres-18.6-reference/contrib/postgres_fdw/deparse.c1006 * expanded later, but don't forget to add deparse support below.COMMENT
LOW…res-18.6-reference/contrib/postgres_fdw/postgres_fdw.c2831 /* ... and don't forget to disable the callback */COMMENT
LOW…tes/postgres-18.6-reference/src/tools/version_stamp.pl103print "Don't forget to run autoconf $aconfver before committing.\n";CODE
LOW…-reference/src/test/recovery/t/006_logical_decoding.pl143# make sure you can't drop a slot while activeCOMMENT
LOW…es-18.6-reference/src/bin/pg_dump/pg_backup_archiver.c2140 * a sign byte. If you change this, don't forget to change the fileCOMMENT
LOW…ates/postgres-18.6-reference/src/include/mb/pg_wchar.h227 * WARNING: If you add some encoding don't forget to updateCOMMENT
MEDIUMcrates/postgres-18.6-reference/src/include/lib/ilist.h46 * Here's a simple example demonstrating how this can be used. Let's assumeCOMMENT
LOW…tgres-18.6-reference/src/backend/access/transam/xlog.c5420 * If you change them, don't forget to update the list.COMMENT
LOW…-reference/src/backend/access/brin/brin_minmax_multi.c636 /* don't forget to include the null terminator ;-) */COMMENT
LOW…-18.6-reference/src/backend/access/common/reloptions.c51 * (vi) don't forget to document the optionCOMMENT
LOW…stgres-18.6-reference/src/backend/access/heap/heapam.c2281 * If heaptup is a private copy, release it. Don't forget to copy t_selfCOMMENT
LOW…stgres-18.6-reference/src/backend/access/heap/heapam.c4382 * If heaptup is a private copy, release it. Don't forget to copy t_selfCOMMENT
LOW…/postgres-18.6-reference/src/backend/nodes/bitmapset.c1429 * Note: don't forget to specify bitmap_match as the match function!COMMENT
LOW…res-18.6-reference/src/backend/utils/misc/guc_tables.c794 * 6. Don't forget to document the option (at least in config.sgml).COMMENT
LOW…-18.6-reference/src/backend/utils/adt/expandedrecord.c1464 * But don't forget to mark header as dummy.COMMENT
LOW…stgres-18.6-reference/src/backend/utils/adt/selfuncs.c1003 /* Don't forget to account for nulls. */COMMENT
LOW…es/postgres-18.6-reference/src/backend/utils/adt/acl.c797 * you make a change here, don't forget to update the GRANT man page,COMMENT
LOW…tgres-18.6-reference/src/backend/utils/hash/dynahash.c1642 /* don't forget to terminate the rebuilt hash chains... */COMMENT
LOW…s/postgres-18.6-reference/src/backend/regex/regc_nfa.c2927 /* Don't forget to free sclone's donemap when done with it */COMMENT
LOW…ostgres-18.6-reference/src/backend/storage/lmgr/lock.c2037 /* don't forget to clear waitMask bit if appropriate */COMMENT
MEDIUMwasm/blog/source/posts.json82 "rendered": "<blockquote><p>It&#8217;s been a week since I published the <a href=\"https://malisper.me/pgrust-rebuCODE
MEDIUM⚡wasm/blog/source/posts.json96 "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I&#8217;ve written dozenCODE
MEDIUM…/pgrust-rebuilding-postgres-in-rust-with-ai/index.html54<blockquote><p><a href="https://malisper.me/table-of-contents/">I&#8217;ve written dozens of blog posts about Postgres iCODE
LOWproofs/mbconv/c/orig/pg_wchar.h227 * WARNING: If you add some encoding don't forget to updateCOMMENT
Fake / Example Data22 hits · 30 pts
SeverityFileLineSnippetContext
LOW…stgres-18.6-reference/src/test/regress/sql/tsearch.sql559'Lorem ipsum urna. Nullam nullam ullamcorper urna.',CODE
LOW…stgres-18.6-reference/src/test/regress/sql/tsearch.sql564'Lorem ipsum urna. Nullam nullam ullamcorper urna.',CODE
LOW…stgres-18.6-reference/src/test/regress/sql/tsearch.sql640'Lorem ipsum urna. Nullam nullam ullamcorper urna.',CODE
LOW…rence/src/test/modules/oauth_validator/t/001_server.pl511 "ALTER SYSTEM SET oauth_validator.authn_id TO 'test\@example.org'");CODE
LOW…rence/src/test/modules/oauth_validator/t/001_server.pl532# Allow "user@example.com" to log in under the test role.COMMENT
LOW…es/postgres-18.6-reference/src/bin/psql/t/001_basic.pl362 "\\copy copy_default from $copy_default_sql_file with (format 'csv', default 'placeholder');CODE
LOW⚡crates/postgres-18.6-reference/src/include/utils/elog.h279 * "ereturn(context, dummy_value, ...);" is exactly the same asCOMMENT
LOW⚡crates/postgres-18.6-reference/src/include/utils/elog.h280 * "errsave(context, ...); return dummy_value;". This saves a bitCOMMENT
LOW⚡crates/postgres-18.6-reference/src/include/utils/elog.h282 * actions to take after reporting a soft error. "dummy_value"COMMENT
LOW⚡crates/postgres-18.6-reference/src/include/utils/elog.h285#define ereturn_domain(context, dummy_value, domain, ...) \COMMENT
LOW⚡crates/postgres-18.6-reference/src/include/utils/elog.h288 return dummy_value; \CODE
LOW⚡crates/postgres-18.6-reference/src/include/utils/elog.h291#define ereturn(context, dummy_value, ...) \COMMENT
LOW⚡crates/postgres-18.6-reference/src/include/utils/elog.h292 ereturn_domain(context, dummy_value, TEXTDOMAIN, __VA_ARGS__)CODE
LOW…s-18.6-reference/src/backend/optimizer/plan/planmain.c215 * Examine any "placeholder" expressions generated during subquery pullup.COMMENT
LOW…erfaces/ecpg/test/expected/preproc-pointer_to_struct.c147 { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into customers values ( 'John Doe' , '12345' )", ECPGt_EOITCODE
LOW…erfaces/ecpg/test/expected/preproc-pointer_to_struct.c159 { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into customers values ( 'Jane Doe' , '67890' )", ECPGt_EOITCODE
LOW…nterfaces/ecpg/test/expected/preproc-array_of_struct.c143 { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into customers values ( 'John Doe' , '12345' )", ECPGt_EOITCODE
LOW…nterfaces/ecpg/test/expected/preproc-array_of_struct.c155 { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into customers values ( 'Jane Doe' , '67890' )", ECPGt_EOITCODE
LOWcrates/backend/optimizer/plan/planner/src/selfuncs.rs4982 let dummy_id = run.intern_expr(dummy);CODE
LOWcrates/backend/optimizer/plan/planner/src/selfuncs.rs4983 let args = [left_id, dummy_id];CODE
LOWcrates/backend/utils/adt/regexp/src/tests.rs1185 let hay = b"lorem ipsum dolor sit amet consectetur adipiscing elit";CODE
LOWcrates/backend/utils/adt/regexp/src/tests.rs1185 let hay = b"lorem ipsum dolor sit amet consectetur adipiscing elit";CODE
TODO Padding19 hits · 28 pts
SeverityFileLineSnippetContext
LOW…contracts-reference/tpde/include/tpde/ValuePartRef.hpp283 // TODO: implement this. This needs size information to copy the value.COMMENT
LOW…contracts-reference/tpde/include/tpde/ValuePartRef.hpp297 // TODO: implement this. This needs size information to copy the value.COMMENT
LOW…acts-reference/tpde/include/tpde/util/VectorWriter.hpp136 // TODO: implement and use sleb_lenCOMMENT
LOW…tests/upstream/tpde/include/tpde/util/VectorWriter.hpp136 // TODO: implement and use sleb_lenCOMMENT
LOW…ests/reference/tpde/tpde/include/tpde/ValuePartRef.hpp283 // TODO: implement this. This needs size information to copy the value.COMMENT
LOW…ests/reference/tpde/tpde/include/tpde/ValuePartRef.hpp297 // TODO: implement this. This needs size information to copy the value.COMMENT
LOW…reference/tpde/tpde/include/tpde/util/VectorWriter.hpp136 // TODO: implement and use sleb_lenCOMMENT
LOW…s/reference/tpde/tpde/include/tpde/x64/CompilerX64.hpp1295 // TODO: implement for AVX/AVX-512.COMMENT
LOW…s/reference/tpde/tpde/include/tpde/x64/CompilerX64.hpp1912 default: // TODO: implement optimized access for non-gd-modelCODE
LOW…reference/tpde/tpde/include/tpde/util/VectorWriter.hpp136 // TODO: implement and use sleb_lenCOMMENT
LOW…tests/upstream/tpde/include/tpde/util/VectorWriter.hpp136 // TODO: implement and use sleb_lenCOMMENT
LOW…/raw_reference/tpde/include/tpde/arm64/CompilerA64.hpp2009 default: // TODO: implement optimized access for non-gd-modelCODE
LOW…tests/upstream/tpde/include/tpde/util/VectorWriter.hpp136 // TODO: implement and use sleb_lenCOMMENT
LOW…ler/tests/reference/tpde/include/tpde/ValuePartRef.hpp283 // TODO: implement this. This needs size information to copy the value.COMMENT
LOW…ler/tests/reference/tpde/include/tpde/ValuePartRef.hpp297 // TODO: implement this. This needs size information to copy the value.COMMENT
LOW…ests/reference/tpde/include/tpde/util/VectorWriter.hpp136 // TODO: implement and use sleb_lenCOMMENT
LOW…_party/libmimalloc-sys/c_src/mimalloc/v2/src/options.c603// TODO: implement ourselves to reduce dependencies on the C runtimeCOMMENT
LOW…d_party/libmimalloc-sys/c_src/mimalloc/v3/src/bitmap.c372 // TODO: implement mi_bchunk_xsetNX instead of setNXCOMMENT
LOW…_party/libmimalloc-sys/c_src/mimalloc/v3/src/options.c628// TODO: implement ourselves to reduce dependencies on the C runtimeCOMMENT
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHcrates/gravity/lowerv4/src/frame/iface.rs100 /// At least as strict as requested.COMMENT
HIGH…es-18.6-reference/src/tools/ci/ci_macports_packages.sh62# If setting all the required packages as requested fails, we needCOMMENT
HIGHcrates/backend/postmaster/autovacuum/src/worker.rs684 // Perform additional work items, as requested by backendsCOMMENT
Verbosity Indicators14 hits · 22 pts
SeverityFileLineSnippetContext
LOW…ostgres-18.6-reference/contrib/amcheck/verify_heapam.c1754 * We go further, because we need to check if the toast datum is corrupt.COMMENT
LOW….6-reference/src/bin/pg_amcheck/t/004_verify_heapam.pl145# The purpose of this function is to write a tuple back to disk with someCOMMENT
LOW…postgres-18.6-reference/src/backend/utils/mb/mbutils.c73 * This variable stores the conversion function to convert from UTF-8COMMENT
LOW…stgres-18.6-reference/src/backend/storage/ipc/shm_mq.c870 * The purpose of this function is to make sure that the processCOMMENT
LOW…ostgres-18.6-reference/src/backend/executor/execMain.c154 * If the transaction is read-only, we need to check if any writes areCOMMENT
LOW…-reference/src/backend/replication/pgoutput/pgoutput.c2271 * across all publications. So we need to check if the alreadyCOMMENT
LOW…res-18.6-reference/src/backend/partitioning/partdesc.c448 * The purpose of this function is to ensure that we get the sameCOMMENT
LOW⚡crates/backend/executor/runtime/src/tests.rs2791 // Step 1: equal pass across queries -> scan order picks A; A completesCOMMENT
LOW⚡crates/backend/executor/runtime/src/tests.rs2800 // Step 3: equal pass, same query, shallow in the LOWER slot — theCOMMENT
LOW…am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h1244 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOW…am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h1299 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOW…am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h1331 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWproofs/mbconv/c/orig/mbutils.c73 * This variable stores the conversion function to convert from UTF-8COMMENT
LOWcrash-simulator/src/runner/shrink.rs53 // Step 1: truncate after the failing interaction.COMMENT
Excessive Try-Catch Wrapping20 hits · 20 pts
SeverityFileLineSnippetContext
LOW…18.6-reference/src/pl/plpython/sql/plpython_import.sql27except Exception as ex:CODE
LOW…8.6-reference/src/pl/plpython/sql/plpython_ereport.sql124except Exception as e:CODE
LOW…8.6-reference/src/pl/plpython/sql/plpython_ereport.sql132except Exception as e:CODE
LOW…es-18.6-reference/src/pl/plpython/sql/plpython_spi.sql34except Exception as ex:CODE
LOW…es-18.6-reference/src/pl/plpython/sql/plpython_spi.sql48except Exception as ex:CODE
LOW…es-18.6-reference/src/pl/plpython/sql/plpython_spi.sql63except Exception as ex:CODE
LOW…reference/src/pl/plpython/sql/plpython_transaction.sql170except Exception as e:CODE
LOWcrates/tpde/fadec-gen/tests/generated_execution.py426 except Exception as error:STRING
LOWcrates/tpde/fadec-gen/tests/generated_execution.py444 except Exception as error:STRING
LOWcrates/tpde/fadec-gen/tests/oracle.py255 except Exception as error:CODE
LOWcrates/tpde/fadec-gen/tests/oracle.py331 except Exception as error:CODE
LOWcrates/tpde/fadec-gen/tests/oracle.py350 except Exception as error:CODE
MEDIUMcrates/tpde/fadec-gen/tests/oracle.py327def attempt_profile(mode, modes, undoc):CODE
LOWcrates/tpde/fadec/tests/oracle.py541 except Exception as error:CODE
LOWcrates/tpde/fadec/tests/oracle.py578 except Exception:CODE
LOWwasm/pgwire_stdio_driver.py207 except Exception as e: # EOFError, BrokenPipeError, timeoutCODE
LOWproofs/check-suite-names.py106 except Exception as e:CODE
LOWproofs/check-suite-names.py232 except Exception as e: # compile break, kani missing, etc.CODE
MEDIUMscripts/gen-gravity-function-tiers.py89def __exit__(self, *a):CODE
LOWscripts/gen-gravity-function-tiers.py1360 except Exception:STRING
Unused Imports20 hits · 20 pts
SeverityFileLineSnippetContext
LOWcrates/gravity/lint/rules/rg_spill.py25CODE
LOWcrates/gravity/lint/rules/rt_thread_state.py63CODE
LOW…ose/testdata/gravity/lowerv4/tools/graphprops_facts.py36CODE
LOW…reference/contrib/pgcrypto/scripts/pgp_session_data.py25CODE
LOWcrates/tpde/fadec-gen/tests/reference/parseinstrs.py9CODE
LOWcrates/tpde/fadec/tests/oracle.py14CODE
LOWcrates/tpde/fadec/tests/reference/parseinstrs.py9CODE
LOW…tpde/compiler-x64/tests/reference/fadec/parseinstrs.py9CODE
LOW…nction-writer-x64/tests/reference/fadec/parseinstrs.py9CODE
LOW…pde/function-writer-a64/tests/upstream/disarm/parse.py5CODE
LOWcrates/tpde/disarm/tests/source_model.py5CODE
LOWcrates/tpde/disarm/tests/encoder_domains.py5CODE
LOWcrates/tpde/disarm/tests/encoder_domains.py7CODE
LOWcrates/tpde/disarm/tests/encoder_domains.py8CODE
LOWcrates/tpde/disarm/tests/encoder_domains.py10CODE
LOWcrates/tpde/disarm/tests/encoder_domains.py11CODE
LOWcrates/tpde/disarm/reference/parse.py5CODE
LOWcrates/tpde/disarm-gen/reference/parse.py5CODE
LOWcrash-simulator/tests/parity/gen_fixtures.py79CODE
LOWscripts/gen-gravity-function-tiers.py76CODE
Structural Annotation Overuse6 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡crates/backend/executor/runtime/src/tests.rs2791 // Step 1: equal pass across queries -> scan order picks A; A completesCOMMENT
LOW⚡crates/backend/executor/runtime/src/tests.rs2800 // Step 3: equal pass, same query, shallow in the LOWER slot — theCOMMENT
LOW…am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h1244 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOW…am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h1299 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOW…am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h1331 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWcrash-simulator/src/runner/shrink.rs53 // Step 1: truncate after the failing interaction.COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL…s/backend/access/pgrcolumnar/pgrc_front/src/segscan.rs101 if self.scan.rs_base.rs_rd.pgstat_enabled.get() {CODE
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOW…contracts-reference/tpde/include/tpde/ValuePartRef.hpp194 /// Usage example:COMMENT
LOW…ests/reference/tpde/tpde/include/tpde/ValuePartRef.hpp194 /// Usage example:COMMENT
LOW…ler/tests/reference/tpde/include/tpde/ValuePartRef.hpp194 /// Usage example:COMMENT
LOW…e/base/tests/upstream/deps/spdlog/include/spdlog/mdc.h14// Usage example:COMMENT
LOWwasm/wasm-build.sh19# Usage:COMMENT
LOWproofs/typcache-mock/generate.pl5# Usage:COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH⚡wasm/blog/source/posts.json96 "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I&#8217;ve written dozenCODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHproofs/typcache-mock/fidelity_check.py37except ValueError:CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…-reference/contrib/unaccent/generate_unaccent_rules.py160def parse_cldr_latin_ascii_transliterator(latinAsciiFilePath):CODE
LOW…reference/contrib/pgcrypto/scripts/pgp_session_data.py287def build_literal_data_packet(data: bytes) -> bytes:CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/gravity-gate/multiset.py735CODE