Make your JSON data collaborative and version-controlled with CRDTs
This report presents the forensic synthetic code analysis of loro-dev/loro, a Rust project with 5,992 GitHub stars. SynthScan v2.0 examined 245,931 lines of code across 637 source files, recording 696 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 4.2 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).
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.
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.
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.
The scanner identified 696 distinct pattern matches across 9 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/kv-store/src/sstable.rs | 26 | /// ┌──────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 32 | /// └──────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 44 | /// ┌────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 50 | /// └────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 279 | /// ┌─────────────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/sstable.rs | 285 | /// └─────────────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 34 | //! ┌────────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 40 | //! └────────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 44 | //! ┌─────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 50 | //! └─────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 54 | //! ┌────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 60 | //! └────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 103 | //! ┌────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 109 | //! └────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 113 | //! ┌──────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/kv-store/src/lib.rs | 119 | //! └──────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/lib.rs | 11 | //! ┌─────────────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/lib.rs | 17 | //! └─────────────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/lib.rs | 81 | //! ┌──────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/lib.rs | 87 | //! └──────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 32 | /// ┌──────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 38 | /// └──────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 84 | /// ┌────────────────────────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 90 | /// └────────────────────────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 366 | /// ┌─────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM | crates/kv-store/src/block.rs | 372 | /// └─────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1349 | // ┌────┐ ┌───────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1351 | // └────┘ └───────────────┘│ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1352 | // ┌───────┐ │ ┌────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1353 | // │Del 1@0│◀─────────────────┴─│Meta 2@1│ ◀─── undo 2 ops redo 2 ops | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/handler.rs | 1354 | // └───────┘ └────────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 773 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 775 | // └─────┬──────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 778 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 780 | // └─────┬──────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 783 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 785 | // └─────┬──────┘ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 791 | // loop ┌────────────┐ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 793 | // └─────┬──────┘ │ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 799 | // ┌────────────┐ │ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 801 | // └─────┬──────┘ │ │ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 804 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 806 | // └─────┬──────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 811 | // │ ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 813 | // │ └─────┬──────┘ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 816 | // ┌────────────┐ | COMMENT |
| MEDIUM⚡ | crates/loro-internal/src/undo.rs | 818 | // └────────────┘ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 11 | //! ┌────────────────────────┬─────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 13 | //! └────────────────────────┴─────────────────────────────────────┘ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 14 | //! ┌──────────────┬──────────────┬────────────────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 16 | //! └──────────────┴──────────────┴────────────────────────────────┘ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 17 | //! ┌──────────────────────────────────────────────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 18 | //! │ N LEB128 Change AtomLen │◁───┼───── Important metadata | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 19 | //! └──────────────────────────────────────────────────────────────┘ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 20 | //! ┌───────────────────┬────────────────────────┬─────────────────┐ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 22 | //! └───────────────────┴────────────────────────┴─────────────────┘ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 23 | //! ┌──────────────────────────────────────────────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 25 | //! └──────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 26 | //! ┌──────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | …s/loro-internal/src/oplog/change_store/block_encode.rs | 28 | //! └──────────────────────────────────────────────────────────────┘ | COMMENT |
| 95 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | deny.toml | 1 | # This template contains all of the possible sections and their default values | COMMENT |
| LOW | deny.toml | 21 | # The triple can be any string, but only the target triples built in to | COMMENT |
| LOW | deny.toml | 41 | unmaintained = "warn" | COMMENT |
| LOW | deny.toml | 61 | #severity-threshold = | COMMENT |
| LOW | deny.toml | 81 | "ISC" | COMMENT |
| LOW | deny.toml | 101 | # 2. License isn't copyleft | COMMENT |
| LOW | deny.toml | 121 | # The name of the crate the clarification applies to | COMMENT |
| LOW | deny.toml | 141 | # visit https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field. | COMMENT |
| LOW | deny.toml | 161 | # * simplest-path - The path to the version with the fewest edges is highlighted | COMMENT |
| LOW | deny.toml | 181 | ] | COMMENT |
| LOW | cliff.toml | 1 | # git-cliff ~ default configuration file | COMMENT |
| LOW | cliff.toml | 81 | # skip_tags = "" | COMMENT |
| LOW | crates/delta/benches/rope.rs | 41 | } | COMMENT |
| LOW | crates/delta/benches/rope.rs | 61 | // }); | COMMENT |
| LOW | crates/delta/benches/rope.rs | 81 | // }); | COMMENT |
| LOW | crates/delta/benches/rope.rs | 101 | // }); | COMMENT |
| LOW | crates/delta/benches/rope.rs | 121 | // group.throughput(Throughput::Bytes(*size as u64)); | COMMENT |
| LOW | crates/kv-store/src/sstable.rs | 21 | /// walk can retain its entire store decompressed. | COMMENT |
| LOW | crates/kv-store/src/sstable.rs | 41 | } | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 1 | //! # MemKvStore Documentation | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 21 | //! 3. Block Chunks: A series of data blocks containing key-value pairs. | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 41 | //! | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 61 | //! | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 81 | //! ┌──────────────────────────┐ | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 101 | //! The Block Meta section contains metadata for all blocks in the SSTable. | COMMENT |
| LOW | crates/kv-store/src/lib.rs | 121 | //! Encoding: | COMMENT |
| LOW | crates/kv-store/src/block.rs | 361 | } | COMMENT |
| LOW | crates/generic-btree/src/lib.rs | 1961 | COMMENT | |
| LOW | crates/loro-internal/proptest-regressions/dag/test.txt | 1 | # Seeds for failure cases proptest has generated in the past. It is | COMMENT |
| LOW | …tes/loro-internal/tests/mergeable_container/pending.rs | 1 | //! Importing ops on mergeable children whose causal dependencies (the child's creation | COMMENT |
| LOW | …ro-internal/tests/mergeable_container/type_conflict.rs | 1 | //! Concurrent different-kind creation, resolved by the parent map's marker LWW. | COMMENT |
| LOW | …ates/loro-internal/tests/mergeable_container/delete.rs | 1 | //! Delete semantics for mergeable children. | COMMENT |
| LOW | …ates/loro-internal/tests/mergeable_container/delete.rs | 101 | COMMENT | |
| LOW | …ro-internal/tests/mergeable_container/discriminator.rs | 1 | //! Marker-based mergeable type-conflict resolution. | COMMENT |
| LOW | …es/loro-internal/tests/mergeable_container/snapshot.rs | 1 | //! Snapshot and update-import round-trips, including LWW recovery. | COMMENT |
| LOW | …internal/tests/mergeable_container/events_and_paths.rs | 161 | assert!(did_undo, "undo must report it did something"); | COMMENT |
| LOW | crates/loro-internal/examples/encoding.rs | 1 | use std::time::Instant; | COMMENT |
| LOW | crates/loro-internal/examples/encoding.rs | 141 | // // let times = 300; | COMMENT |
| LOW | crates/loro-internal/examples/encoding_parallel.rs | 1 | use bench_utils::{get_automerge_actions, TextAction}; | COMMENT |
| LOW | crates/loro-internal/examples/encoding_parallel.rs | 21 | // text.insert(&loro, pos, ins).unwrap(); | COMMENT |
| LOW | crates/loro-internal/examples/encoding_parallel.rs | 41 | // let mut c2 = LoroCore::new(Default::default(), Some(1)); | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 1 | // #[global_allocator] | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 21 | // } | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 41 | // let profiler = dhat::Profiler::builder().trim_backtraces(None).build(); | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 61 | // let pos = pos % (text.len() + 1); | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 81 | // } | COMMENT |
| LOW | crates/loro-internal/examples/mem.rs | 101 | // concurrent_actors(200); | COMMENT |
| LOW | crates/loro-internal/benches/text_r.rs | 181 | let l = LoroDoc::new(); | COMMENT |
| LOW | crates/loro-internal/src/parent.rs | 81 | let child_idx = self.arena.register_container(&container_id); | COMMENT |
| LOW | crates/loro-internal/src/dag.rs | 481 | } | COMMENT |
| LOW | crates/loro-internal/src/dag.rs | 781 | } | COMMENT |
| LOW | crates/loro-internal/src/dag.rs | 1041 | // such paths are proved covered, equality with `left` is the exact proof | COMMENT |
| LOW | crates/loro-internal/src/fork.rs | 1 | //! The fork module provides functionality to create a new LoroDoc instance at a specified version | COMMENT |
| LOW | crates/loro-internal/src/fork.rs | 21 | //! | COMMENT |
| LOW | crates/loro-internal/src/handler.rs | 1341 | position, | COMMENT |
| LOW | crates/loro-internal/src/handler.rs | 4581 | #[cfg(feature = "counter")] | COMMENT |
| LOW | crates/loro-internal/src/handler.rs | 4601 | /// reference to it. See [`MERGEABLE_NAMESPACE_PREFIX`](loro_common::MERGEABLE_NAMESPACE_PREFIX). | COMMENT |
| LOW | crates/loro-internal/src/handler.rs | 4621 | /// the active marker while preserving each mergeable child's deterministic state. | COMMENT |
| LOW | crates/loro-internal/src/encoding.rs | 21 | COMMENT | |
| LOW | crates/loro-internal/src/encoding.rs | 41 | /// | COMMENT |
| 400 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/loro-wasm/index.ts | 466 | function decorateAllPrototypeMethods(prototype: object) { | CODE |
| LOW | crates/loro-wasm/scripts/post-rollup.ts | 44 | async function injectExplicitWasmReexports( | CODE |
| LOW | crates/loro-wasm/scripts/build.ts | 324 | async function stripReferenceTypesFeatureHint() { | CODE |
| LOW | loro-js/src/codec/serde-columnar.ts | 27 | export function decodeColumnarVecMaybeWrapped(bytes: Uint8Array): Uint8Array[] { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 453 | export function decodeMovableListStateSnapshot( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 541 | export function encodeMovableListStateSnapshot( | CODE |
| LOW⚡ | loro-js/src/codec/state-snapshot.ts | 579 | export function decodeCounterStateSnapshot(bytes: Uint8Array): CounterStateSnapshot { | CODE |
| LOW⚡ | loro-js/src/codec/state-snapshot.ts | 584 | export function encodeCounterStateSnapshot(state: CounterStateSnapshot): Uint8Array { | CODE |
| LOW⚡ | loro-js/src/codec/state-snapshot.ts | 590 | export function decodeContainerStateSnapshot( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 612 | export function encodeContainerStateSnapshot(state: ContainerStateSnapshot): Uint8Array { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 632 | export function decodeContainerStateWrapper(bytes: Uint8Array): ContainerStateWrapper { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 643 | export function encodeContainerStateWrapper(wrapper: ContainerStateWrapper): Uint8Array { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 689 | export function decodeLazyStateSnapshotStore( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 717 | export function getLazyStateSnapshotContainer( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 732 | export function rewriteLazyStateSnapshotStore( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 822 | function decodePostcardUsizeVector(bytes: Uint8Array): number[] { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 835 | function encodePostcardUsizeVector(values: readonly number[]): Uint8Array { | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 844 | function collectSortedMapKeysForDecode( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 855 | function collectSortedMapKeysForEncode( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 962 | function validateDecodedMovableList( | CODE |
| LOW | loro-js/src/codec/state-snapshot.ts | 1003 | function validateEncodedMovableList(state: MovableListStateSnapshot): void { | CODE |
| LOW | loro-js/src/codec/sstable.ts | 550 | function validateEntriesForEncoding(entries: readonly SstableEntry[]): void { | CODE |
| LOW | loro-js/src/codec/version.ts | 6 | export function readPostcardVersionVector(reader: PostcardReader): Id[] { | CODE |
| LOW⚡ | loro-js/src/codec/version.ts | 20 | export function writePostcardVersionVector( | CODE |
| LOW⚡ | loro-js/src/codec/version.ts | 30 | export function decodePostcardVersionVector(bytes: Uint8Array): Id[] { | CODE |
| LOW⚡ | loro-js/src/codec/version.ts | 37 | export function encodePostcardVersionVector(version: VersionVector): Uint8Array { | CODE |
| LOW | loro-js/src/codec/change-block-codec.ts | 762 | function assertNonnegativePosition(value: number): number { | CODE |
| LOW | loro-js/src/codec/container-id.ts | 60 | export function containerTypeToHistoricalByte(type: ContainerTypeValue): number { | CODE |
| LOW | loro-js/src/codec/container-id.ts | 80 | export function containerTypeFromHistoricalByte(value: number): ContainerTypeValue { | CODE |
| LOW⚡ | loro-js/src/codec/container-id.ts | 183 | export function decodePostcardContainerId(bytes: Uint8Array): ContainerId { | CODE |
| LOW⚡ | loro-js/src/codec/container-id.ts | 190 | export function encodePostcardContainerId(id: ContainerId): Uint8Array { | CODE |
| LOW⚡ | loro-js/src/codec/container-id.ts | 196 | export function readPostcardOptionalContainerId( | CODE |
| LOW | loro-js/src/codec/container-id.ts | 212 | export function writePostcardOptionalContainerId( | CODE |
| LOW | loro-js/src/codec/container-id.ts | 224 | export function decodePostcardOptionalContainerId( | CODE |
| LOW | loro-js/src/codec/container-id.ts | 233 | export function encodePostcardOptionalContainerId( | CODE |
| LOW | loro-js/src/runtime/jsonpath.ts | 66 | export function compileJsonPathEventMatcher( | CODE |
| LOW | loro-js/src/runtime/document.ts | 6309 | function longestIncreasingSubsequenceIndices(values: readonly number[]): Set<number> { | CODE |
| LOW | loro-js/src/runtime/document.ts | 6334 | function movableMoveTransitionMode( | CODE |
| LOW | loro-js/src/runtime/document.ts | 6355 | function hasMaterializedSequenceInsertions( | CODE |
| LOW | loro-js/src/runtime/document.ts | 6454 | function appendToTrailingListInsert( | CODE |
| LOW | loro-js/src/runtime/document.ts | 6780 | function lowerBoundIndexedOperation( | CODE |
| LOW | loro-js/src/runtime/document.ts | 6827 | function latestIncludedTreePlacement( | CODE |
| LOW | loro-js/src/runtime/document.ts | 6851 | function latestIncludedSequenceValue( | CODE |
| LOW | loro-js/src/runtime/document.ts | 6893 | function findSequenceMoveMetaIndex( | CODE |
| LOW | loro-js/src/runtime/document.ts | 6935 | function historyRecordsToJsonSchema( | CODE |
| LOW | loro-js/src/runtime/document.ts | 6959 | function historyRecordToJsonChange( | CODE |
| LOW | loro-js/src/runtime/document.ts | 7211 | function jsonSchemaToHistoryRecords(schema: JsonSchema): HistoryRecord[] { | CODE |
| LOW | loro-js/src/runtime/document.ts | 7498 | function jsonValueToChangeLoroValue( | CODE |
| LOW | loro-js/src/runtime/document.ts | 7683 | function importStatusBetweenVersions( | CODE |
| LOW | loro-js/src/runtime/containers.ts | 2398 | function writePostcardCursorContainer( | CODE |
| LOW | loro-js/src/runtime/containers.ts | 2413 | function readPostcardCursorContainer(reader: PostcardReader): CodecContainerId { | CODE |
| LOW | loro-js/src/runtime/containers.ts | 2937 | function lowerBoundSequenceValueMeta( | CODE |
| LOW | loro-js/src/runtime/containers.ts | 2951 | function lowerBoundSequenceMoveMeta( | CODE |
| LOW | packages/fractional-index/src/index.ts | 370 | function jitterBytesWithNormalized( | CODE |
| LOW | packages/fractional-index/src/index.ts | 584 | function assertNonNegativeSafeInteger( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/loro-internal/src/state.rs | 688 | // We can utilize the output of the Diff to determine which child nodes should be revived. | COMMENT |
| MEDIUM | crates/loro-internal/src/history_cache.rs | 634 | // PERF: utilize this lamport | COMMENT |
| MEDIUM | crates/loro-internal/src/encoding/json_schema.rs | 1748 | /// structure. Redacted documents maintain seamless collaboration capabilities with both | COMMENT |
| MEDIUM | crates/loro-internal/src/state/tree_state.rs | 1340 | // The code will be more robust and easy to understand | COMMENT |
| MEDIUM | crates/loro-wasm/src/lib.rs | 5009 | /// a list structure, we can utilize the ID of each item/character on List CRDT or | COMMENT |
| MEDIUM | crates/loro/src/lib.rs | 1925 | /// a document, it is more effective to leverage the unique ID of each item/character | COMMENT |
| MEDIUM | crates/loro/src/lib.rs | 2787 | /// a document, it is more effective to leverage the unique ID of each item/character | COMMENT |
| MEDIUM | crates/loro/src/lib.rs | 3470 | /// a document, it is more effective to leverage the unique ID of each item/character | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/loro-internal/src/loro.rs | 1242 | /// NOTE: This method will make the doc enter the **detached mode**. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 1818 | // Step 1: Export the initial state from the GC snapshot. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 1825 | // Step 2: Create a new document and import the initial snapshot. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 1831 | // Step 3: Export updates since the shallow start version vector to the current version. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 1834 | // Step 4: Import these updates into the new document. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 1838 | // Step 5: Checkout to the current state's frontiers and compare the states. | COMMENT |
| LOW | …oro-internal/src/encoding/outdated_encode_reordered.rs | 39 | /// NOTE: This method expects that the remote_changes are already sorted by lamport value | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/loro-internal/src/loro.rs | 1818 | // Step 1: Export the initial state from the GC snapshot. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 1825 | // Step 2: Create a new document and import the initial snapshot. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 1831 | // Step 3: Export updates since the shallow start version vector to the current version. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 1834 | // Step 4: Import these updates into the new document. | COMMENT |
| LOW⚡ | crates/loro-internal/src/loro.rs | 1838 | // Step 5: Checkout to the current state's frontiers and compare the states. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/examples/benches/bench_text.rs | 299 | "section={section_idx}; paragraph={i}; lorem ipsum dolor sit amet, consectetur adipiscing elit. " | CODE |
| LOW | crates/examples/benches/bench_text.rs | 299 | "section={section_idx}; paragraph={i}; lorem ipsum dolor sit amet, consectetur adipiscing elit. " | CODE |
| LOW | crates/loro-common/src/internal_string.rs | 277 | let long_str1 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut la | CODE |
| LOW | crates/loro-common/src/internal_string.rs | 277 | let long_str1 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut la | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/loro-internal/src/handler.rs | 2523 | // TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/create-release-pr.yml | 57 | # Check if the output contains any error messages | COMMENT |