Repository Analysis

slatedb/slatedb

A cloud native embedded storage engine built on object storage.

4.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of slatedb/slatedb, a Rust project with 3,365 GitHub stars. SynthScan v2.0 examined 216,137 lines of code across 359 source files, recording 748 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 4.4 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.4
Adjusted Score
4.4
Raw Score
100%
Time Factor
2026-08-29
Last Push
3.4K
Stars
Rust
Language
216.1K
Lines of Code
359
Files
748
Pattern Hits
2026-08-29
Scan Date
0.07
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 26HIGH 0MEDIUM 7LOW 715

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block646 hits · 574 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
586 more matches not shown…
Hallucination Indicators26 hits · 260 pts
SeverityFileLineSnippetContext
CRITICALslatedb/src/checkpoint.rs358 assert_eq!(latest_manifest.manifest.core.tree.l0.len(), 1);CODE
CRITICALslatedb/src/db.rs2452 assert!(!manifest.manifest.core.tree.l0.is_empty());CODE
CRITICALslatedb/src/db.rs2475 assert!(!manifest.manifest.core.tree.compacted.is_empty());CODE
CRITICALslatedb/src/db.rs3529 manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/db.rs3856 assert_eq!(1, state.state.manifest.value.core.tree.l0.len());CODE
CRITICALslatedb/src/db.rs3857 let view = state.state.manifest.value.core.tree.l0.front().unwrap();CODE
CRITICALslatedb/src/db.rs6556 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs6557 manifest.manifest.core.tree.compacted.len()CODE
CRITICALslatedb/src/db.rs6581 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs6582 manifest.manifest.core.tree.compacted.len()CODE
CRITICALslatedb/src/db.rs6596 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs6597 manifest.manifest.core.tree.compacted.len()CODE
CRITICALslatedb/src/db.rs8310 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs9130 s.current_manifest.manifest.core.checkpoints.len() > initial_checkpoint_countCODE
CRITICALslatedb/src/db.rs9138 status.current_manifest.manifest.core.checkpoints.len(),CODE
CRITICALslatedb/src/db.rs10795 .modify(|m| m.state.manifest.value.core.segments.clear());CODE
CRITICALslatedb/src/clone.rs1511 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/clone.rs1601 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/clone.rs1699 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/garbage_collector.rs1511 assert_eq!(current_manifest.manifest.core.tree.l0.len(), 2);CODE
CRITICALslatedb/src/garbage_collector.rs1512 assert_eq!(current_manifest.manifest.core.tree.compacted.len(), 1);CODE
CRITICALslatedb/src/garbage_collector.rs1548 assert_eq!(current_manifest.manifest.core.tree.l0.len(), 2);CODE
CRITICALslatedb/src/garbage_collector.rs1549 assert_eq!(current_manifest.manifest.core.tree.compacted.len(), 1);CODE
CRITICALslatedb/src/sst_reader.rs378 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/memtable_flusher/tracker.rs1347 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 Identifiers41 hits · 41 pts
SeverityFileLineSnippetContext
LOWbindings/python/tests/test_reader.py50async def test_reader_build_fails_when_database_is_missing() -> None:CODE
LOWbindings/python/tests/test_reader.py75async def test_reader_scan_variants() -> None:CODE
LOWbindings/python/tests/test_reader.py177async def test_reader_refresh_polling_updates_visible_state() -> None:CODE
LOWbindings/python/tests/test_reader.py198async def test_reader_default_mode_replays_new_wal_data() -> None:CODE
LOWbindings/python/tests/test_reader.py215async def test_reader_skip_wal_replay_ignores_wal_only_data() -> None:CODE
LOWbindings/python/tests/test_reader.py242async def test_reader_merge_operator() -> None:CODE
LOWbindings/python/tests/test_reader.py261async def test_reader_builder_validation_and_errors() -> None:CODE
LOWbindings/python/tests/test_reader.py292async def test_reader_invalid_ranges_raise_invalid_errors() -> 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
LOWslatedb/src/transaction_manager.rs955 // Step 1: Create a transactionCOMMENT
LOWslatedb/src/transaction_manager.rs959 // Step 2: Simulate conflict detection during transactionCOMMENT
LOWslatedb/src/transaction_manager.rs965 // Step 3: Create another transaction that will commit firstCOMMENT
LOWslatedb/src/transaction_manager.rs969 // Step 4: Commit the other transactionCOMMENT
LOWslatedb/src/transaction_manager.rs973 // Step 5: Check for conflicts again - should detect conflict on key1COMMENT
LOWslatedb/src/transaction_manager.rs977 // Step 6: Commit our transaction despite conflict (simulating retry logic)COMMENT
LOWslatedb/src/transaction_manager.rs981 // Step 7: Verify final stateCOMMENT
LOWslatedb/src/transaction_manager.rs985 // Step 8: Verify min_active_seq is now NoneCOMMENT
Structural Annotation Overuse8 hits · 18 pts
SeverityFileLineSnippetContext
LOWslatedb/src/transaction_manager.rs955 // Step 1: Create a transactionCOMMENT
LOWslatedb/src/transaction_manager.rs959 // Step 2: Simulate conflict detection during transactionCOMMENT
LOWslatedb/src/transaction_manager.rs965 // Step 3: Create another transaction that will commit firstCOMMENT
LOWslatedb/src/transaction_manager.rs969 // Step 4: Commit the other transactionCOMMENT
LOWslatedb/src/transaction_manager.rs973 // Step 5: Check for conflicts again - should detect conflict on key1COMMENT
LOWslatedb/src/transaction_manager.rs977 // Step 6: Commit our transaction despite conflict (simulating retry logic)COMMENT
LOWslatedb/src/transaction_manager.rs981 // Step 7: Verify final stateCOMMENT
LOWslatedb/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