Repository Analysis

denoland/celld

self-hosted, distributed Durable Objects

7.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of denoland/celld, a Rust project with 2,677 GitHub stars. SynthScan v2.0 examined 70,574 lines of code across 105 source files, recording 278 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 7.2 places this repository in the Low AI signal 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).

7.2
Adjusted Score
7.2
Raw Score
100%
Time Factor
2026-08-05
Last Push
2.7K
Stars
Rust
Language
70.6K
Lines of Code
105
Files
278
Pattern Hits
2026-08-09
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

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 1HIGH 0MEDIUM 108LOW 169

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 278 distinct pattern matches across 8 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.

Decorative Section Separators106 hits · 328 pts
SeverityFileLineSnippetContext
MEDIUMcrates/ltx/tests/faults_inject.rs34// ── oracle / env helpers ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/faults_inject.rs97// ── a real replicated L0 chain to damage ────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/faults_inject.rs289// ── On-disk byte-level fault injection against a real chain ──────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs133// ── TestLTXDir / TestLTXLevelDir ──────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs9// ── helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs19// ── test vectors ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs100// ── TestChecksum ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs146// ── REVIEWER (T4): path.Join normalization divergence ─────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs191// ── REVIEWER (T1 review): path.Clean ".." backtrack divergence ────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs246// ── LTXFilePath ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs262// ── TXID formatting / parsing ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs294// ── REVIEWER (T4): leading-sign divergence vs Go strconv.ParseUint ─────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs320// ── Pos formatting / parsing ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs349// ── TestNewLTXError ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs438// ── TestLTXErrorHints ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/litestream_helpers.rs452// ── TestLTXError_IsAutoRecoverable ────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/fuzz_parsers.rs49// ── Iteration budget (bounded so `cargo test` stays fast & reproducible) ─────COMMENT
MEDIUMcrates/ltx/tests/fuzz_parsers.rs62// ── Self-contained deterministic PRNG (SplitMix64) ───────────────────────────COMMENT
MEDIUMcrates/ltx/tests/fuzz_parsers.rs101// ── Golden-corpus loaders (read-only ground truth) ───────────────────────────COMMENT
MEDIUMcrates/ltx/tests/fuzz_parsers.rs123// ── Panic-capture harness ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/fuzz_parsers.rs233// ── Byte-mutation strategies (applied to a fresh copy of a golden file) ──────COMMENT
MEDIUMcrates/ltx/tests/fuzz_parsers.rs327// ── Hand-written adversarial corpus (deterministic, always run) ──────────────COMMENT
MEDIUMcrates/ltx/tests/fuzz_parsers.rs410// ── Tests ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/differential_xtool.rs253// ───────────────────────────── D1 (write path) ─────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/differential_xtool.rs284// ──────────────────────────── D2 (restore path) ────────────────────────────COMMENT
MEDIUMcrates/ltx/tests/differential_xtool.rs316// ─────────────────────────── D3 (format cross-check) ───────────────────────COMMENT
MEDIUMcrates/ltx/src/wal.rs60// ── Errors ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/wal.rs186// ── WalReader ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/wal.rs612 // ── Port of TestWALReader/OK (wal_reader_test.go:16-75) ────────────────────COMMENT
MEDIUMcrates/ltx/src/wal.rs648 // ── Port of TestWALReader/SaltMismatch (wal_reader_test.go:77-109) ─────────COMMENT
MEDIUMcrates/ltx/src/wal.rs690 // ── Port of TestWALReader/ZeroLength (wal_reader_test.go:145-150) ──────────COMMENT
MEDIUMcrates/ltx/src/wal.rs697 // ── Port of TestWALReader/PartialHeader (wal_reader_test.go:152-157) ───────COMMENT
MEDIUMcrates/ltx/src/wal.rs704 // ── Port of TestWALReader/BadMagic (wal_reader_test.go:159-164) ────────────COMMENT
MEDIUMcrates/ltx/src/wal.rs742 // ── Port of TestWALReader/ErrBufferSize (wal_reader_test.go:190-204) ───────COMMENT
MEDIUMcrates/ltx/src/wal.rs880 // ── GOLDEN (byte-exact): real SQLite WAL from tests/fixtures/golden ────────COMMENT
MEDIUMcrates/ltx/src/error.rs67// ── LTXError ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/error.rs149// ── Chain-walking helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/error.rs215// ── Marker error types for downcast detection ─────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/error.rs254// ── Public constructor ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs57// ── Constants (s3/leaser.go:21-25, heartbeat.go:11-15) ────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs79// ── Sentinel errors (leaser.go:10-22, s3/leaser.go:30-33) ─────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs210// ── Lease value type (leaser.go:31-44) ────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs257// ── Leaser trait (leaser.go:24-29) ────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs281// ── S3 implementation (s3/leaser.go:42-266) ───────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs616// ── HeartbeatClient (heartbeat.go:17-84) ──────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs742// ── RFC-3339 SystemTime (de)serialisation ─────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs972 // ── Lease value-type & serde ──────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs1115 // ── LeaseExistsError Display (port of leaser.go:17-21) ─────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs1138 // ── lockKey (port of TestLeaser_LockKey, leaser_test.go:536-569) ───────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs1154 // ── Type (port of TestLeaser_Type, leaser_test.go:571-577) ─────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs1163 // ── Acquire (ports of the four AcquireLease tests) ─────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs1351 // ── Renew (ports of the RenewLease tests) ──────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs1413 // ── Release (ports of the ReleaseLease tests) ──────────────────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs1492 // ── Concurrency: two/many contenders → exactly one primary ─────────────────COMMENT
MEDIUMcrates/ltx/src/leaser.rs1582 // ── HeartbeatClient (heartbeat.go behaviour) ───────────────────────────────COMMENT
MEDIUMcrates/ltx/src/lib.rs92// ── Naming constants ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/lib.rs100// ── SQLite checkpoint modes ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/lib.rs109// ── SQLite WAL size constants ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/ltx/src/lib.rs27// ── Crate-root re-exports — the ergonomic public surface (PLAN.md §4) ─────────COMMENT
MEDIUMcrates/ltx/src/lib.rs125// ── TXID ──────────────────────────────────────────────────────────────────────COMMENT
46 more matches not shown…
Over-Commented Block156 hits · 146 pts
SeverityFileLineSnippetContext
LOWcrates/ltx/tests/integration_resilience.rs1//! integration_resilience — T11: the resilience half of the round-trip gate.COMMENT
LOWcrates/ltx/tests/faults_inject.rs1//! faults_inject — T14: fault injection on the replica, then restore.COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs21// Taken from litestream_test.go:20-46.COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs141#[test]COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs161// LTXDir("foo/..") = "ltx" (Rust currently: "foo/../ltx")COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs181 "LTXDir must collapse repeated separators like Go path.Join"COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs201// path_clean("a/b/../c") = "a//c" (Go path.Clean: "a/c")COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs301// The Rust port (lib.rs `parse_txid` / `parse_pos`) usesCOMMENT
LOWcrates/ltx/tests/litestream_helpers.rs521 c.recoverable,COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs541// still auto-recoverable. This is the normal production shape: a low-levelCOMMENT
LOWcrates/ltx/tests/integration_file.rs1//! integration_file — the **G2 round-trip gate** (PLAN.md §6.4) against theCOMMENT
LOWcrates/ltx/tests/fuzz_parsers.rs1//! fuzz_parsers — T16 / Gate G4: robustness (fuzz) targets for the LTX and WALCOMMENT
LOWcrates/ltx/tests/fuzz_parsers.rs21//! that actually parses untrusted input. Go gets this no-panic property "forCOMMENT
LOWcrates/ltx/tests/fuzz_parsers.rs41//! * **mutated golden** bytes — the real-litestream L0 `.ltx` files and theCOMMENT
LOWcrates/ltx/tests/differential_xtool.rs1//! differential_xtool — **GATE G3 ("M1 correct"), PLAN.md §6.3**: cross-toolCOMMENT
LOWcrates/ltx/tests/differential_xtool.rs21//!COMMENT
LOWcrates/ltx/tests/property_roundtrip.rs1//! property_roundtrip — T12: a property test (proptest) that replicate→restoreCOMMENT
LOWcrates/ltx/tests/integration_minio.rs1//! integration_minio — runs the T5 generic `run_client_suite` against the T7COMMENT
LOWcrates/ltx/scripts/capture-golden.sh1#!/usr/bin/env bashCOMMENT
LOWcrates/ltx/scripts/db_equal.sh1#!/usr/bin/env bashCOMMENT
LOWcrates/ltx/src/replica.rs1//! replica.rs — single-replica sync loop + restore orchestration.COMMENT
LOWcrates/ltx/src/replica.rs21//! `ltx/0/` (verified against `tests/fixtures/golden/replica`, captured fromCOMMENT
LOWcrates/ltx/src/replica.rs81/// mirrors `AutoRecoverEnabled` (replica.go:58) for the monitor'sCOMMENT
LOWcrates/ltx/src/replica.rs161 /// (replica.go:244-248).COMMENT
LOWcrates/ltx/src/replica.rs321 /// than the replica (a lower TXID) and, if so, seeds the local L0 directoryCOMMENT
LOWcrates/ltx/src/replica.rs381COMMENT
LOWcrates/ltx/src/replica.rs681}COMMENT
LOWcrates/ltx/src/wal.rs1//! wal.rs — SQLite WAL header/frame parsing + cumulative SQLite checksums.COMMENT
LOWcrates/ltx/src/wal.rs21//! [16..20] salt-1COMMENT
LOWcrates/ltx/src/wal.rs61COMMENT
LOWcrates/ltx/src/wal.rs81 /// `invalid wal header magic: <hex>` — the magic was neitherCOMMENT
LOWcrates/ltx/src/wal.rs101COMMENT
LOWcrates/ltx/src/wal.rs121 page_size: u32,COMMENT
LOWcrates/ltx/src/wal.rs181}COMMENT
LOWcrates/ltx/src/wal.rs241 salt2: 0,COMMENT
LOWcrates/ltx/src/wal.rs321 /// Returns `true` when checksums for this WAL are big-endian (magicCOMMENT
LOWcrates/ltx/src/error.rs1//! error.rs — thiserror-based error model + `Result` alias.COMMENT
LOWcrates/ltx/src/error.rs21 /// No snapshot is available for restore.COMMENT
LOWcrates/ltx/src/error.rs41 /// Corresponds to `ErrLTXMissing` in litestream.go:36.COMMENT
LOWcrates/ltx/src/error.rs61COMMENT
LOWcrates/ltx/src/error.rs261/// Uses chain-walking (matching Go's `errors.Is` semantics) so that aCOMMENT
LOWcrates/ltx/src/leaser.rs1//! leaser.rs — object-storage lease fencing: acquire / renew / release + theCOMMENT
LOWcrates/ltx/src/leaser.rs21//!COMMENT
LOWcrates/ltx/src/leaser.rs201 /// The analogue of Go's `errors.As(err, &leaseErr)` (s3/leaser.go:117, 154).COMMENT
LOWcrates/ltx/src/leaser.rs221#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]COMMENT
LOWcrates/ltx/src/leaser.rs281// ── S3 implementation (s3/leaser.go:42-266) ───────────────────────────────────COMMENT
LOWcrates/ltx/src/leaser.rs601/// Best-effort hostname lookup with no external crate. Returns `None` whenCOMMENT
LOWcrates/ltx/src/leaser.rs621/// HTTP GET at a configurable URL; an empty URL makes [`HeartbeatClient::ping`] aCOMMENT
LOWcrates/ltx/src/leaser.rs741COMMENT
LOWcrates/ltx/src/leaser.rs801 }COMMENT
LOWcrates/ltx/src/leaser.rs1301COMMENT
LOWcrates/ltx/src/lib.rs1//! `rustyriver` — embeddable streaming replication of a SQLite database toCOMMENT
LOWcrates/ltx/src/lib.rs61/// A [`ReplicaClient`] that stores LTX files on the local filesystem.COMMENT
LOWcrates/ltx/src/lib.rs81COMMENT
LOWcrates/ltx/src/lib.rs121COMMENT
LOWcrates/ltx/src/lib.rs201///COMMENT
LOWcrates/ltx/src/lib.rs301 })?;COMMENT
LOWcrates/ltx/src/lib.rs361// naive `format!("{}/ltx", root)` skips this cleaning, so a root carrying aCOMMENT
LOWcrates/ltx/src/lib.rs381/// `path.Clean` semantics rather than reimplementing them.COMMENT
LOWcrates/ltx/src/lib.rs501// Ported from litestream@v0.5.11 litestream.go:184-197.COMMENT
96 more matches not shown…
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALcrates/celld/assets.rs129 self.inner.index.config.binding.as_deref()CODE
Hyper-Verbose Identifiers7 hits · 7 pts
SeverityFileLineSnippetContext
LOWcrates/celld/js/node_stream.js462 function getOwnPropertyValueOrDefault(options, key, defaultValue) {CODE
LOWcrates/celld/js/node_stream.js2960 return function pipeOnDrainFunctionResult() {CODE
LOWcrates/celld/js/node_util.js557function validateThisInternalField(object, fieldKey, className) {CODE
LOWcrates/celld/js/node_util.js3023function formatWithOptionsInternal(inspectOptions, args) {CODE
LOWcrates/celld/js/node_util.js3631function findLooseMatchingPrimitives(prim) {CODE
LOWcrates/celld/js/node_util.js4194function transferableAbortController() {CODE
LOWcrates/celld/js/node_crypto.js1130 function processGeneratePrimeOptions(options) {CODE
Verbosity Indicators3 hits · 7 pts
SeverityFileLineSnippetContext
LOWcrates/ltx/tests/litestream_helpers.rs118 // Step 1: WAL header (24 bytes)COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs122 // Step 2: frame header (8 bytes)COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs125 // Step 3: frame data (4096 bytes)COMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOWcrates/ltx/tests/litestream_helpers.rs118 // Step 1: WAL header (24 bytes)COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs122 // Step 2: frame header (8 bytes)COMMENT
LOWcrates/ltx/tests/litestream_helpers.rs125 // Step 3: frame data (4096 bytes)COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcrates/ltx/scripts/db_equal.sh4# db_equal.sh A <db1> <db2> # logical equality (default, version-robust)COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcrates/ltx/src/lib.rs10//! filled by their owning tasks and are scaffold placeholders until then.COMMENT