AI Slop Code RIsk Monitor

slatedb/slatedb

A cloud native embedded storage engine built on object storage.

4.2 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for slatedb/slatedb, a Rust project with 3,479 GitHub stars. SynthScan examined 235,814 lines of code across 383 source files, recording 797 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 4.2 (Low pattern signal); it is not an authorship estimate.

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

4.2
Adjusted Signal
4.2
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
3.5K
Stars
Rust
Language
235.8K
Lines of Code
383
Files
797
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 14.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.9/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 20.2/100 · LOW

Which changes need focused human review? 797 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 28HIGH 0MEDIUM 7LOW 762

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 797 distinct pattern matches across 10 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 Block691 hits · 609 pts
SeverityFileLineSnippetContext
LOWslatedb-common/src/clock.rs1//! This module contains utility methods and structs for handling time.COMMENT
LOWslatedb-common/src/clock.rs81COMMENT
LOWslatedb-common/src/lib.rs1//! Common utilities shared across SlateDB crates.COMMENT
LOWslatedb-common/src/metrics.rs1//! # Metrics ModuleCOMMENT
LOWslatedb-common/src/metrics.rs21// ---------------------------------------------------------------------------COMMENT
LOWslatedb-common/src/metrics.rs41COMMENT
LOWslatedb-common/src/metrics.rs61COMMENT
LOWslatedb-common/src/metrics.rs81 /// - `name` – Dotted metric name.COMMENT
LOWslatedb-common/src/metrics.rs141/// Controls which metrics are active. Metrics with a level below the configuredCOMMENT
LOWslatedb-common/src/rand.rs21pub(crate) type RngAlg = Xoroshiro128PlusPlus;COMMENT
LOWslatedb-common/src/utils.rs1use crate::clock::SystemClock;COMMENT
LOWslatedb-txn-obj/src/lib.rs1//! # SlateDB Transactional ObjectCOMMENT
LOWslatedb-txn-obj/src/lib.rs21//! monotonically increasing IDs. This is useful if it's important to observe earlier versions ofCOMMENT
LOWslatedb-txn-obj/src/lib.rs41//! ## Error semanticsCOMMENT
LOWslatedb-txn-obj/src/lib.rs261/// corresponding `update` or `refresh` fails with`Fenced`.COMMENT
LOWslatedb-txn-obj/src/lib.rs321 })COMMENT
LOWslatedb-txn-obj/src/lib.rs341 /// - `get_epoch`: Extracts the epoch from the object value.COMMENT
LOWslatedb-txn-obj/src/lib.rs581/// [`TransactionalObjectError::ObjectVersionExists`] as a failed write if the just-created ID isCOMMENT
LOWslatedb-txn-obj/src/lib.rs601///COMMENT
LOWslatedb-txn-obj/src/lib.rs621 new_value: &T,COMMENT
LOWslatedb-txn-obj/src/object_store.rs141 Err(e) => Err(TransactionalObjectError::from(e)),COMMENT
LOWslatedb-cli/src/args.rs81 CreateCheckpoint {COMMENT
LOWslatedb-cli/src/args.rs101 #[arg(short, long)]COMMENT
LOWslatedb-cli/src/args.rs141 ListCheckpoints {COMMENT
LOWslatedb-cli/src/args.rs181 max_keys: Option<u64>,COMMENT
LOWslatedb-cli/src/args.rs201 #[arg(short, long)]COMMENT
LOWslatedb-cli/src/args.rs261 /// `"Full"` sweeps every tree in the DB (root + every named segment)COMMENT
LOWslatedb-cli/src/args.rs301 /// Configuration for WAL garbage collection should be set in theCOMMENT
LOWslatedb-dst/tests/segments.rs1//! Verifies deterministic scenario-test behavior for RFC-0024 segmentedCOMMENT
LOWslatedb-dst/tests/determinism.rs1//! Verifies deterministic scenario-test behavior for SlateDB under DSTCOMMENT
LOWslatedb-dst/tests/rescaling.rs1//! Verifies that RFC-0004 projection and union preserve database contents underCOMMENT
LOWslatedb-dst/tests/rescaling.rs21//! keeps every point operation, write batch, and prefix scan inside one child.COMMENT
LOWslatedb-dst/src/deterministic_local_filesystem.rs181 }COMMENT
LOWslatedb-dst/src/rescaling.rs1//! Data-preservation checks for RFC-0004 split and merge scenarios.COMMENT
LOWslatedb-dst/src/rescaling.rs21//! operations, write batches, and scans stay within one child. The childCOMMENT
LOWslatedb-dst/src/scenarios.rs1//! Shared structures and execution logic for running DST scenarios.COMMENT
LOWslatedb-dst/src/scenarios.rs41use crate::{DeterministicLocalFilesystem, Harness};COMMENT
LOWslatedb-dst/src/scenarios.rs61 /// Mock-clock deadline (ms since the unix epoch) at which theCOMMENT
LOWslatedb-dst/src/harness.rs81 /// This exposes the database path, object stores, clock, failpointCOMMENT
LOWslatedb-dst/src/harness.rs121 ///COMMENT
LOWslatedb-dst/src/harness.rs161COMMENT
LOWslatedb-dst/src/harness.rs181 self.shared.startup_ctx.merge_operator()COMMENT
LOWslatedb-dst/src/harness.rs261 /// Returns the shared failpoint registry for the harness run.COMMENT
LOWslatedb-dst/src/harness.rs281COMMENT
LOWslatedb-dst/src/harness.rs401 ///COMMENT
LOWslatedb-dst/src/harness.rs441 selfCOMMENT
LOWslatedb-dst/src/harness.rs461 /// clock-wrapped object stores.COMMENT
LOWslatedb-dst/src/harness.rs501 /// ## ReturnsCOMMENT
LOWslatedb-dst/src/harness.rs521COMMENT
LOWslatedb-dst/src/harness.rs541COMMENT
LOWslatedb-dst/src/harness.rs601 runtime.block_on(self.run_async())COMMENT
LOWslatedb-dst/src/prefix_extractor.rs1//! Deterministic prefix extractors for DST scenarios.COMMENT
LOWslatedb-dst/src/utils.rs181 }),COMMENT
LOWslatedb-dst/src/actors/compactor.rs41 })COMMENT
LOWslatedb-dst/src/actors/mod.rs1//! Reusable deterministic workload actors for DST scenarios.COMMENT
LOWwebsite/public/robots.txt1# SlateDB websiteCOMMENT
LOWwebsite/scripts/generate-md-mirrors.js1// Generate per-page .md mirrors of every docs page so LLM agents (and humansCOMMENT
LOWrfcs/0004-checkpoints.md81### Manifest SchemaCOMMENT
LOWrfcs/0004-checkpoints.md321/// Configuration options for the database reader. These options are set on client startup.COMMENT
LOWrfcs/0013-compaction-state-persistence.md161COMMENT
631 more matches not shown…
Hallucination Indicators28 hits · 280 pts
SeverityFileLineSnippetContext
CRITICALslatedb/src/checkpoint.rs357 assert_eq!(latest_manifest.manifest.core.tree.l0.len(), 1);CODE
CRITICALslatedb/src/db.rs2458 assert!(!manifest.manifest.core.tree.l0.is_empty());CODE
CRITICALslatedb/src/db.rs2481 assert!(!manifest.manifest.core.tree.compacted.is_empty());CODE
CRITICALslatedb/src/db.rs3568 manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/db.rs3897 assert_eq!(1, state.state.manifest.value.core.tree.l0.len());CODE
CRITICALslatedb/src/db.rs3898 let view = state.state.manifest.value.core.tree.l0.front().unwrap();CODE
CRITICALslatedb/src/db.rs7023 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs7024 manifest.manifest.core.tree.compacted.len()CODE
CRITICALslatedb/src/db.rs7048 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs7049 manifest.manifest.core.tree.compacted.len()CODE
CRITICALslatedb/src/db.rs7063 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs7064 manifest.manifest.core.tree.compacted.len()CODE
CRITICALslatedb/src/db.rs8780 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs9588 s.current_manifest.manifest.core.checkpoints.len() > initial_checkpoint_countCODE
CRITICALslatedb/src/db.rs9596 status.current_manifest.manifest.core.checkpoints.len(),CODE
CRITICALslatedb/src/db.rs11279 .modify(|m| m.state.manifest.value.core.segments.clear());CODE
CRITICALslatedb/src/clone.rs896 if !current.manifest.core.tree.compacted.is_empty() {CODE
CRITICALslatedb/src/clone.rs897 assert_eq!(current.manifest.core.tree.l0.len(), 8 - max_sources);CODE
CRITICALslatedb/src/clone.rs1801 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/clone.rs1905 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/clone.rs2007 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/garbage_collector.rs1535 assert_eq!(current_manifest.manifest.core.tree.l0.len(), 2);CODE
CRITICALslatedb/src/garbage_collector.rs1536 assert_eq!(current_manifest.manifest.core.tree.compacted.len(), 1);CODE
CRITICALslatedb/src/garbage_collector.rs1573 assert_eq!(current_manifest.manifest.core.tree.l0.len(), 2);CODE
CRITICALslatedb/src/garbage_collector.rs1574 assert_eq!(current_manifest.manifest.core.tree.compacted.len(), 1);CODE
CRITICALslatedb/src/sst_reader.rs398 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/memtable_flusher/tracker.rs1431 modifier.state.manifest.value.core.segments.clear();CODE
CRITICAL…rc/test/java/io/slatedb/uniffi/SlateDbLoggingTest.java59 org.junit.jupiter.api.Assertions.assertFalse(condition);CODE
Hyper-Verbose Identifiers43 hits · 43 pts
SeverityFileLineSnippetContext
LOWbindings/python/tests/test_reader.py52async def test_reader_build_fails_when_database_is_missing() -> None:CODE
LOWbindings/python/tests/test_reader.py77async def test_reader_scan_variants() -> None:CODE
LOWbindings/python/tests/test_reader.py179async def test_reader_refresh_polling_updates_visible_state() -> None:CODE
LOWbindings/python/tests/test_reader.py200async def test_reader_default_mode_replays_new_wal_data() -> None:CODE
LOWbindings/python/tests/test_reader.py217async def test_reader_skip_wal_replay_ignores_wal_only_data() -> None:CODE
LOWbindings/python/tests/test_reader.py244async def test_reader_merge_operator() -> None:CODE
LOWbindings/python/tests/test_reader.py263async def test_reader_builder_validation_and_errors() -> None:CODE
LOWbindings/python/tests/test_reader.py294async def test_reader_invalid_ranges_raise_invalid_errors() -> None:CODE
LOWbindings/python/tests/test_reader.py332async def test_reader_shared_db_cache() -> None:CODE
LOWbindings/python/tests/test_reader.py362async def test_reader_db_cache_disabled() -> None:CODE
LOWbindings/python/tests/test_admin.py28async def test_admin_builder_accepts_configuration_and_is_single_use() -> None:CODE
LOWbindings/python/tests/test_admin.py61async def test_admin_manifest_read_list_and_state_view() -> None:CODE
LOWbindings/python/tests/test_admin.py102async def test_admin_compaction_queries_handle_empty_store_and_invalid_ids() -> None:CODE
LOWbindings/python/tests/test_admin.py123async def test_admin_run_gc_once_accepts_default_and_custom_options() -> None:CODE
LOWbindings/python/tests/test_admin.py154async def test_admin_checkpoint_listing_tracks_reader_lifecycle() -> None:CODE
LOWbindings/python/tests/test_admin.py192async def test_admin_sequence_lookups_use_persisted_tracker() -> None:CODE
LOWbindings/python/tests/test_admin.py248async def test_admin_create_detached_checkpoint_without_options() -> None:CODE
LOWbindings/python/tests/test_admin.py273async def test_admin_create_detached_checkpoint_with_lifetime() -> None:CODE
LOWbindings/python/tests/test_admin.py302async def test_admin_create_detached_checkpoint_with_name() -> None:CODE
LOWbindings/python/tests/test_admin.py332async def test_admin_create_detached_checkpoint_from_source() -> None:CODE
LOWbindings/python/tests/test_admin.py358async def test_admin_refresh_checkpoint_updates_lifetime() -> None:CODE
LOWbindings/python/tests/test_admin.py392async def test_admin_refresh_checkpoint_without_lifetime() -> None:CODE
LOWbindings/python/tests/test_admin.py412async def test_admin_refresh_checkpoint_with_invalid_id_fails() -> None:CODE
LOWbindings/python/tests/test_admin.py427async def test_admin_delete_checkpoint_removes_checkpoint() -> None:CODE
LOWbindings/python/tests/test_admin.py452async def test_admin_delete_checkpoint_with_invalid_id_fails() -> None:CODE
LOWbindings/python/tests/test_admin.py467async def test_admin_delete_multiple_checkpoints() -> None:CODE
LOWbindings/python/tests/test_logging.py10async def test_logging_callback_delivery_and_duplicate_init_rejection() -> None:CODE
LOWbindings/python/tests/test_metrics.py115async def test_default_metrics_recorder_snapshot_and_lookups() -> None:CODE
LOWbindings/python/tests/test_metrics.py144async def test_db_builder_accepts_custom_metrics_recorder() -> None:CODE
LOWbindings/python/tests/test_metrics.py159async def test_reader_builder_accepts_default_metrics_recorder() -> None:CODE
LOWbindings/python/tests/test_db.py32async def test_db_lifecycle_and_status() -> None:CODE
LOWbindings/python/tests/test_db.py55async def test_db_status_segments_without_extractor() -> None:CODE
LOWbindings/python/tests/test_db.py65async def test_db_status_segments_with_extractor() -> None:CODE
LOWbindings/python/tests/test_db.py94async def test_db_crud_and_metadata() -> None:CODE
LOWbindings/python/tests/test_db.py243async def test_db_batch_write_and_consumption() -> None:CODE
LOWbindings/python/tests/test_db.py281async def test_db_merge_and_merge_with_options() -> None:CODE
LOWbindings/python/tests/test_db.py303async def test_db_snapshot_isolation() -> None:CODE
LOWbindings/python/tests/test_db.py340async def test_db_invalid_inputs_map_to_typed_errors() -> None:CODE
LOWbindings/python/tests/test_db.py383async def test_db_writer_fencing_reports_closed_reason() -> None:CODE
LOWbindings/python/tests/test_wal_reader.py17async def test_wal_reader_reports_no_new_files_after_cursor() -> None:CODE
LOWbindings/python/tests/test_wal_reader.py27async def test_wal_reader_streams_new_wals_through_one_iterator() -> None:CODE
LOWbindings/python/tests/test_wal_reader.py53async def test_wal_reader_decodes_value_tombstone_and_merge_rows() -> None:CODE
LOWbindings/python/tests/test_wal_reader.py72async def test_wal_reader_can_start_at_the_next_wal() -> None:CODE
Verbosity Indicators8 hits · 18 pts
SeverityFileLineSnippetContext
LOW⚡slatedb/src/transaction_manager.rs955 // Step 1: Create a transactionCOMMENT
LOW⚡slatedb/src/transaction_manager.rs959 // Step 2: Simulate conflict detection during transactionCOMMENT
LOW⚡slatedb/src/transaction_manager.rs965 // Step 3: Create another transaction that will commit firstCOMMENT
LOW⚡slatedb/src/transaction_manager.rs969 // Step 4: Commit the other transactionCOMMENT
LOW⚡slatedb/src/transaction_manager.rs973 // Step 5: Check for conflicts again - should detect conflict on key1COMMENT
LOW⚡slatedb/src/transaction_manager.rs977 // Step 6: Commit our transaction despite conflict (simulating retry logic)COMMENT
LOW⚡slatedb/src/transaction_manager.rs981 // Step 7: Verify final stateCOMMENT
LOW⚡slatedb/src/transaction_manager.rs985 // Step 8: Verify min_active_seq is now NoneCOMMENT
Structural Annotation Overuse8 hits · 18 pts
SeverityFileLineSnippetContext
LOW⚡slatedb/src/transaction_manager.rs955 // Step 1: Create a transactionCOMMENT
LOW⚡slatedb/src/transaction_manager.rs959 // Step 2: Simulate conflict detection during transactionCOMMENT
LOW⚡slatedb/src/transaction_manager.rs965 // Step 3: Create another transaction that will commit firstCOMMENT
LOW⚡slatedb/src/transaction_manager.rs969 // Step 4: Commit the other transactionCOMMENT
LOW⚡slatedb/src/transaction_manager.rs973 // Step 5: Check for conflicts again - should detect conflict on key1COMMENT
LOW⚡slatedb/src/transaction_manager.rs977 // Step 6: Commit our transaction despite conflict (simulating retry logic)COMMENT
LOW⚡slatedb/src/transaction_manager.rs981 // Step 7: Verify final stateCOMMENT
LOW⚡slatedb/src/transaction_manager.rs985 // Step 8: Verify min_active_seq is now NoneCOMMENT
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMslatedb-dst/Cargo.toml14# Disable `libtest` harness because it fights with Criterion's `--output-format bencher`COMMENT
MEDIUMwebsite/package-lock.json6953 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUMslatedb/Cargo.toml136# Disable `libtest` harness because it fights with Criterion's `--output-format bencher`COMMENT
MEDIUMslatedb/src/partitioned_keyspace.rs190 // we could do something more robust here, but its fine since the test cases areCOMMENT
MEDIUMslatedb-bencher/Cargo.toml15# Disable `libtest` harness because it fights with Criterion's `--output-format bencher`COMMENT
Unused Imports8 hits · 8 pts
SeverityFileLineSnippetContext
LOWbindings/python/tests/test_reader.py1CODE
LOWbindings/python/tests/test_admin.py1CODE
LOWbindings/python/tests/conftest.py1CODE
LOWbindings/python/tests/test_logging.py1CODE
LOWbindings/python/tests/test_metrics.py1CODE
LOWbindings/python/tests/test_db.py1CODE
LOWbindings/python/tests/test_wal_reader.py1CODE
LOWbindings/python/slatedb/uniffi/__init__.py6CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWslatedb-bencher/benchmark-db.sh48# Set CLOUD_PROVIDER to local if not already setCOMMENT
LOWslatedb-bencher/benchmark-transaction.sh47 # Set RUST_LOG to INFO level to prevent gigabyte-sized log filesCOMMENT
LOWslatedb-bencher/benchmark-transaction.sh74# Set CLOUD_PROVIDER to local if not already setCOMMENT
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMrfcs/0024-segment-oriented-compaction.md661- **Composition with projection/union.** [Projection and union](./0004-checkpoints.md#manifest-projection-and-union) opeCODE
MEDIUMrfcs/0019-change-data-capture.md420- Githb issue [#249](https://github.com/slatedb/slatedb/issues/249) (CDC Streaming to support data sinks and event driveCODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbindings/python/tests/conftest.py175 except Exception as error: # noqa: BLE001 # pragma: no cover - helper for polling assertionsCODE