Repository Analysis

slatedb/slatedb

A cloud native embedded storage engine built on object storage.

4.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of slatedb/slatedb, a Rust project with 3,206 GitHub stars. SynthScan v2.0 examined 201,484 lines of code across 335 source files, recording 716 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 4.5 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.5
Adjusted Score
4.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.2K
Stars
Rust
Language
201.5K
Lines of Code
335
Files
716
Pattern Hits
2026-07-14
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 25HIGH 0MEDIUM 7LOW 684

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 716 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 Block615 hits · 544 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.rs641 /// List stored object versions in ascending ID order over the supplied ID bounds.COMMENT
LOWslatedb-txn-obj/src/object_store.rs101///COMMENT
LOWslatedb-txn-obj/src/object_store.rs121 object_store,COMMENT
LOWslatedb-txn-obj/src/object_store.rs201 // a write that occurred before a boundary file exists is valid even ifCOMMENT
LOWslatedb-cli/src/args.rs81 CreateCheckpoint {COMMENT
LOWslatedb-cli/src/args.rs101 #[arg(short, long)]COMMENT
LOWslatedb-cli/src/args.rs141 /// `ldb scan`.COMMENT
LOWslatedb-cli/src/args.rs161COMMENT
LOWslatedb-cli/src/args.rs181 /// manifest. This provides a point-in-time view protected from garbage collection.COMMENT
LOWslatedb-cli/src/args.rs201 #[arg(long, default_value_t = false)]COMMENT
LOWslatedb-cli/src/args.rs241 ArgGroup::new("compaction_request")COMMENT
LOWslatedb-cli/src/args.rs261 /// ```jsonCOMMENT
LOWslatedb-cli/src/args.rs281 .multiple(true)COMMENT
LOWslatedb-cli/src/args.rs301 /// minimum WAL fence age that should be considered for collection andCOMMENT
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.rs161 }COMMENT
LOWslatedb-dst/src/actors/compactor.rs41 })COMMENT
LOWslatedb-dst/src/actors/mod.rs1//! Reusable deterministic workload actors for DST scenarios.COMMENT
555 more matches not shown…
Hallucination Indicators25 hits · 250 pts
SeverityFileLineSnippetContext
CRITICALslatedb/src/checkpoint.rs357 assert_eq!(latest_manifest.manifest.core.tree.l0.len(), 1);CODE
CRITICALslatedb/src/db.rs2315 assert!(!manifest.manifest.core.tree.l0.is_empty());CODE
CRITICALslatedb/src/db.rs2338 assert!(!manifest.manifest.core.tree.compacted.is_empty());CODE
CRITICALslatedb/src/db.rs3554 assert_eq!(1, state.state.manifest.value.core.tree.l0.len());CODE
CRITICALslatedb/src/db.rs3555 let view = state.state.manifest.value.core.tree.l0.front().unwrap();CODE
CRITICALslatedb/src/db.rs6037 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs6038 manifest.manifest.core.tree.compacted.len()CODE
CRITICALslatedb/src/db.rs6063 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs6064 manifest.manifest.core.tree.compacted.len()CODE
CRITICALslatedb/src/db.rs6078 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs6079 manifest.manifest.core.tree.compacted.len()CODE
CRITICALslatedb/src/db.rs7841 manifest.manifest.core.tree.l0.len(),CODE
CRITICALslatedb/src/db.rs8669 s.current_manifest.manifest.core.checkpoints.len() > initial_checkpoint_countCODE
CRITICALslatedb/src/db.rs8677 status.current_manifest.manifest.core.checkpoints.len(),CODE
CRITICALslatedb/src/db.rs10078 .modify(|m| m.state.manifest.value.core.segments.clear());CODE
CRITICALslatedb/src/clone.rs1222 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/clone.rs1313 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/garbage_collector.rs1482 assert_eq!(current_manifest.manifest.core.tree.l0.len(), 2);CODE
CRITICALslatedb/src/garbage_collector.rs1483 assert_eq!(current_manifest.manifest.core.tree.compacted.len(), 1);CODE
CRITICALslatedb/src/garbage_collector.rs1519 assert_eq!(current_manifest.manifest.core.tree.l0.len(), 2);CODE
CRITICALslatedb/src/garbage_collector.rs1520 assert_eq!(current_manifest.manifest.core.tree.compacted.len(), 1);CODE
CRITICALslatedb/src/sst_reader.rs320 !manifest.manifest.core.tree.l0.is_empty(),CODE
CRITICALslatedb/src/memtable_flusher/tracker.rs1315 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
CRITICAL…/test/java/io/slatedb/uniffi/SlateDbWalReaderTest.java143 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.py216async def test_reader_skip_wal_replay_ignores_wal_only_data() -> None:CODE
LOWbindings/python/tests/test_reader.py243async def test_reader_merge_operator() -> None:CODE
LOWbindings/python/tests/test_reader.py262async def test_reader_builder_validation_and_errors() -> None:CODE
LOWbindings/python/tests/test_reader.py293async 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.py240async def test_db_batch_write_and_consumption() -> None:CODE
LOWbindings/python/tests/test_db.py277async def test_db_merge_and_merge_with_options() -> None:CODE
LOWbindings/python/tests/test_db.py298async def test_db_snapshot_isolation() -> None:CODE
LOWbindings/python/tests/test_db.py335async def test_db_invalid_inputs_map_to_typed_errors() -> None:CODE
LOWbindings/python/tests/test_db.py378async def test_db_writer_fencing_reports_closed_reason() -> None:CODE
LOWbindings/python/tests/test_wal_reader.py16async def test_wal_reader_empty_store_listing() -> None:CODE
LOWbindings/python/tests/test_wal_reader.py22async def test_wal_reader_listing_bounds_and_navigation() -> None:CODE
LOWbindings/python/tests/test_wal_reader.py47async def test_wal_reader_metadata_and_row_decoding() -> None:CODE
LOWbindings/python/tests/test_wal_reader.py80async def test_wal_reader_missing_file_metadata_failure() -> 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.sh208# Set CLOUD_PROVIDER to local if not already setCOMMENT
LOWslatedb-bencher/benchmark-transaction.sh48 # Set RUST_LOG to INFO level to prevent gigabyte-sized log filesCOMMENT
LOWslatedb-bencher/benchmark-transaction.sh264# Set CLOUD_PROVIDER to local if not already setCOMMENT
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMrfcs/0024-segment-oriented-compaction.md660- **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.py169 except Exception as error: # pragma: no cover - helper for polling assertionsCODE