Repository Analysis

automerge/automerge

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.

6.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of automerge/automerge, a JavaScript project with 6,541 GitHub stars. SynthScan v2.0 examined 168,878 lines of code across 501 source files, recording 620 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 6.0 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).

6.0
Adjusted Score
6.0
Raw Score
100%
Time Factor
2026-08-28
Last Push
6.5K
Stars
JavaScript
Language
168.9K
Lines of Code
501
Files
620
Pattern Hits
2026-08-29
Scan Date
0.00
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 0HIGH 0MEDIUM 243LOW 377

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 620 distinct pattern matches across 5 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 Separators240 hits · 656 pts
SeverityFileLineSnippetContext
MEDIUMrust/hexane/benches/column_ops.rs269// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs271// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs273// ── Bool get (random access) ────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs458// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs460// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs470// ── Bulk load: v0 vs v1 vs prefix ────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs25// ── Helpers: build columns ──────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs50// ── Get (random access) ─────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs77// ── Small splice: insert only (no deletes) ──────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs129// ── String splice ───────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs193// ── Large splice: insert 100k elements into a 1k column ─────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs213// ── Large splice: delete only ───────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs240// ── Large splice: replace ───────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs300// ── Bool small splice: replace ──────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs352// ── Bool large splice: insert 100k ──────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs372// ── Bool large splice: delete only ──────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs389// ── Bool large splice: replace ──────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs407// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs409// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs536// ── PrefixColumn queries: get vs get_prefix vs get_index_for_prefix ──────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs688// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs690// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs722// ── Delta get (random access) ────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs749// ── Delta insert ─────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs776// ── Sparse Option<i64> delta mutations at 100k (50% None vs 0% None) ────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs889// ── Delta save ───────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs924// ── Delta save (monotonic data — shows compression advantage) ────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs945// ── Delta load ───────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs968// ── Delta bulk construction ──────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs1011// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs1013// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMrust/hexane/benches/column_ops.rs1065// ── nth() on alternating 10k-element runs (1M total) ────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs1130// ── Prefix iter: random values ──────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs1168// ── Prefix iter: alternating runs ───────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs1188// ── Prefix nth: alternating runs ────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs1231// ── Prefix nth: random values ───────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_ops.rs1252// ── Save benchmarks ─────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/max_segments.rs28// ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/max_segments.rs38// ── Bulk load u64 100k ───────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/max_segments.rs90// ── Get u64 100k ─────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/max_segments.rs142// ── Insert-1 u64 10k ─────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/max_segments.rs208// ── Splice replace-5 u64 10k ─────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/max_segments.rs302// ── Get bool 100k ────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/max_segments.rs354// ── Insert-1 bool 10k ────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/max_segments.rs420// ── Save u64 100k ────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/max_segments.rs472// ── Slab count (informational) ───────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/btree_b_sweep.rs52// ── Column<u64> (LenWeight = usize) ────────────────────────────────────────COMMENT
MEDIUMrust/hexane/benches/btree_b_sweep.rs131// ── DeltaColumn<i64> (SlabAgg = 4×i64) ─────────────────────────────COMMENT
MEDIUMrust/hexane/benches/column_u64_mutations.rs53// ╔══════════════════════════════════════════════════════════════════════════╗COMMENT
MEDIUMrust/hexane/benches/column_u64_mutations.rs55// ╚══════════════════════════════════════════════════════════════════════════╝COMMENT
MEDIUMrust/hexane/benches/column_u64_mutations.rs124// ╔══════════════════════════════════════════════════════════════════════════╗COMMENT
MEDIUMrust/hexane/benches/column_u64_mutations.rs126// ╚══════════════════════════════════════════════════════════════════════════╝COMMENT
MEDIUMrust/hexane/src/edit.rs65// ── Progressive editing ─────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/src/edit.rs461 // ── internals ───────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/src/splice_fuzz.rs41// ── the target abstraction ──────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/src/splice_fuzz.rs122// ── the harness ─────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/src/splice_fuzz.rs342// ── targets ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/src/splice_fuzz.rs553// ── tests ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/src/encoder.rs30// ── RLE Encoder ─────────────────────────────────────────────────────────────COMMENT
MEDIUMrust/hexane/src/encoder.rs494// ── Bool Encoder ────────────────────────────────────────────────────────────COMMENT
180 more matches not shown…
Over-Commented Block376 hits · 354 pts
SeverityFileLineSnippetContext
LOWrust/deny.toml1# This template contains all of the possible sections and their default valuesCOMMENT
LOWrust/deny.toml21targets = [COMMENT
LOWrust/deny.toml41# A list of advisory IDs to ignore. Note that ignored advisories will stillCOMMENT
LOWrust/deny.toml61# This section is considered when running `cargo deny check licenses`COMMENT
LOWrust/deny.toml101# The name of the crate the clarification applies toCOMMENT
LOWrust/deny.toml121# One or more private registries that you might publish crates to, if a crateCOMMENT
LOWrust/deny.toml141highlight = "all"COMMENT
LOWrust/deny.toml161 # is still on roxmltree 0.20; both come from resvg, used byCOMMENT
LOWrust/deny.toml181# List of URLs for allowed crate registries. Defaults to the crates.io indexCOMMENT
LOWrust/benchmark-battery/src/main.rs21#[derive(Debug, Subcommand)]COMMENT
LOWrust/benchmark-battery/src/main.rs41 #[arg(long, default_value_t = scenarios::TierFilter::Fast)]COMMENT
LOWrust/benchmark-battery/src/main.rs61 /// Add measured results to the existing output file, preserving earlier results.COMMENT
LOWrust/benchmark-battery/src/main.rs81 #[arg(long, default_value_t = 5.0)]COMMENT
LOWrust/hexane/proptest-regressions/tests.txt1# Seeds for failure cases proptest has generated in the past. It isCOMMENT
LOWrust/hexane/tests/pending.rs1//! Known bugs with no fix yet.COMMENT
LOWrust/hexane/examples/column_splice_profile.rs1//! Profile target for `Column<u64>` splice performance.COMMENT
LOWrust/hexane/benches/remap.rs1//! `Column::remap` benchmark — re-encode every value through a closure.COMMENT
LOWrust/hexane/src/edit.rs81/// a byte splice and an index update, and leaves the skipped bytes whereCOMMENT
LOWrust/hexane/src/edit.rs121 orig: usize,COMMENT
LOWrust/hexane/src/edit.rs141 rebuilds: usize,COMMENT
LOWrust/hexane/src/splice_fuzz.rs1//! Model-based splice fuzzing with slab-boundary targeting and automaticCOMMENT
LOWrust/hexane/src/splice_fuzz.rs21//! reloaded column passed. So these fuzzers splice repeatedly into oneCOMMENT
LOWrust/hexane/src/encoder.rs1//! Streaming encoder for building column data from a sequence of values.COMMENT
LOWrust/hexane/src/encoder.rs101 /// of `value` (or is empty). Both clauses must hold:COMMENT
LOWrust/hexane/src/encoder.rs121/// Both output methods consume the encoder.COMMENT
LOWrust/hexane/src/encoder.rs601/// Streaming encoder for boolean columns.COMMENT
LOWrust/hexane/src/btree.rs1//! Generic B+tree slab index. Generic over an aggregate type `A`COMMENT
LOWrust/hexane/src/btree.rs21//! thin ~B× slower than leaves (losing a child only when a whole leafCOMMENT
LOWrust/hexane/src/btree.rs41///COMMENT
LOWrust/hexane/src/btree.rs61/// Implemented by [`PrefixSlabWeight<P>`](crate::prefix::PrefixSlabWeight)COMMENT
LOWrust/hexane/src/btree.rs1261 }COMMENT
LOWrust/hexane/src/bool.rs21// No boolean value is stored — the value is implicit from the run's positionCOMMENT
LOWrust/hexane/src/bool.rs41/// unmodified prefix/suffix bytes and the splice region.COMMENT
LOWrust/hexane/src/bool.rs101 len,COMMENT
LOWrust/hexane/src/bool.rs141 tail,COMMENT
LOWrust/hexane/src/bool.rs921 merge_bytesCOMMENT
LOWrust/hexane/src/bool.rs1161///COMMENT
LOWrust/hexane/src/error.rs1/// Errors returned when decoding or validating column data.COMMENT
LOWrust/hexane/src/encoding.rs141COMMENT
LOWrust/hexane/src/lib.rs61COMMENT
LOWrust/hexane/src/lib.rs121};COMMENT
LOWrust/hexane/src/lib.rs201COMMENT
LOWrust/hexane/src/lib.rs221 type Encoding<C: Codec>: ColumnEncoding<Value = Self, Codec = C>COMMENT
LOWrust/hexane/src/lib.rs241 /// a `map` over it). Lets generic code like `RleCow::get` shortenCOMMENT
LOWrust/hexane/src/lib.rs261/// impl ColumnValue for ValueMeta {COMMENT
LOWrust/hexane/src/lib.rs281/// trueCOMMENT
LOWrust/hexane/src/lib.rs321 /// to reject null runs in non-nullable columns.COMMENT
LOWrust/hexane/src/lib.rs341COMMENT
LOWrust/hexane/src/lib.rs361 /// The default panics, which is correct for non-nullable types (`NULLABLE = false`).COMMENT
LOWrust/hexane/src/lib.rs461 fn as_column_ref(&self) -> bool {COMMENT
LOWrust/hexane/src/lib.rs481/// let mut bytes = Column::<Vec<u8>>::new();COMMENT
LOWrust/hexane/src/raw.rs1//! Raw-byte arena column.COMMENT
LOWrust/hexane/src/raw.rs21use crate::PackError;COMMENT
LOWrust/hexane/src/raw.rs301 /// likewise ascending.COMMENT
LOWrust/hexane/src/raw.rs481 total_len: data.len(),COMMENT
LOWrust/hexane/src/raw.rs581COMMENT
LOWrust/hexane/src/index.rs1//! `ColumnIndex` abstracts the slab-index backing of a `Column`.COMMENT
LOWrust/hexane/src/index.rs41 /// If `index >= total_items`, returns `(len(), 0)` — past-end sentinel,COMMENT
LOWrust/hexane/src/prefix.rs21/// `Copy` is a supertrait — the inverse-prefix search uses scalarCOMMENT
LOWrust/hexane/src/prefix.rs41/// | `bool` | `u32` |COMMENT
316 more matches not shown…
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMrust/hexane/V1_MIGRATION.md178## Cross-check scaffolding patternCOMMENT
MEDIUMrust/hexane/V1_MIGRATION.md239### Migrated columns (v0 scaffolding removed — v1 is the source of truth)COMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMjavascript/src/index.ts135 * receiveSyncMessage}. Here's a simple example of a loop which just keeps twoCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWrust/automerge/tests/batch_insert.rs686 doc.insert(&list_id, 0, "placeholder").unwrap();CODE