AI Slop Code Risk Monitor

loro-dev/loro

SlopCodeMonitor badge for loro-dev/loro Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Make your JSON data collaborative and version-controlled with CRDTs

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for loro-dev/loro, a Rust project with 6,271 GitHub stars. SynthScan examined 320,505 lines of code across 831 source files, recording 760 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 3.4 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

3.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-10-23
Last Push
6.3K
Stars
Rust
Language
320.5K
Lines of Code
831
Files
760
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 7.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 607 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 4 finding(s).

Agent Over-Engineering Ratio 9.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 202 finding(s).

PR Review Velocity Impact 15.4/100 · LOW

Which changes need focused human review? 760 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 0MEDIUM 156LOW 604

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 760 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators149 hits · 562 pts
SeverityFileLineSnippetContext
MEDIUMcrates/kv-store/src/sstable.rs26/// ┌──────────────────────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUMcrates/kv-store/src/sstable.rs32/// └──────────────────────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUMcrates/kv-store/src/sstable.rs44 /// ┌────────────────────────────────────────────────────────────┐COMMENT
MEDIUMcrates/kv-store/src/sstable.rs50 /// └────────────────────────────────────────────────────────────┘COMMENT
MEDIUMcrates/kv-store/src/sstable.rs279 /// ┌─────────────────────────────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUMcrates/kv-store/src/sstable.rs285 /// └─────────────────────────────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs34//! ┌────────────────────────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs40//! └────────────────────────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs44//! ┌─────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs50//! └─────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs54//! ┌────────────────────┐COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs60//! └────────────────────┘COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs103//! ┌────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs109//! └────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs113//! ┌──────────────────────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡crates/kv-store/src/lib.rs119//! └──────────────────────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUMcrates/kv-store/src/lib.rs11//! ┌─────────────────────────────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUMcrates/kv-store/src/lib.rs17//! └─────────────────────────────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUMcrates/kv-store/src/lib.rs81//! ┌──────────────────────────┐COMMENT
MEDIUMcrates/kv-store/src/lib.rs87//! └──────────────────────────┘COMMENT
MEDIUMcrates/kv-store/src/block.rs32 /// ┌──────────────────────────┐COMMENT
MEDIUMcrates/kv-store/src/block.rs38 /// └──────────────────────────┘COMMENT
MEDIUMcrates/kv-store/src/block.rs84 /// ┌────────────────────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUMcrates/kv-store/src/block.rs90 /// └────────────────────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUMcrates/kv-store/src/block.rs366 /// ┌─────────────────────────────────────────────────────┐COMMENT
MEDIUMcrates/kv-store/src/block.rs372 /// └─────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡crates/loro-internal/src/handler.rs1477 // ┌────┐ ┌───────────────┐COMMENT
MEDIUM⚡crates/loro-internal/src/handler.rs1479 // └────┘ └───────────────┘│COMMENT
MEDIUM⚡crates/loro-internal/src/handler.rs1480 // ┌───────┐ │ ┌────────┐COMMENT
MEDIUM⚡crates/loro-internal/src/handler.rs1481 // │Del 1@0│◀─────────────────┴─│Meta 2@1│ ◀─── undo 2 ops redo 2 opsCOMMENT
MEDIUM⚡crates/loro-internal/src/handler.rs1482 // └───────┘ └────────┘COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs882 // ┌────────────┐COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs884 // └─────┬──────┘COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs887 // ┌────────────┐COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs889 // └─────┬──────┘COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs892 // ┌────────────┐COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs894 // └─────┬──────┘ │COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs900 // loop ┌────────────┐ │COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs902 // └─────┬──────┘ │ │COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs908 // ┌────────────┐ │ │COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs910 // └─────┬──────┘ │ │COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs913 // ┌────────────┐COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs915 // └─────┬──────┘COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs920 // │ ┌────────────┐COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs922 // │ └─────┬──────┘COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs925 // ┌────────────┐COMMENT
MEDIUM⚡crates/loro-internal/src/undo.rs927 // └────────────┘COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs11//! ┌────────────────────────┬─────────────────────────────────────┐COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs13//! └────────────────────────┴─────────────────────────────────────┘ │COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs14//! ┌──────────────┬──────────────┬────────────────────────────────┐ │COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs16//! └──────────────┴──────────────┴────────────────────────────────┘ │COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs17//! ┌──────────────────────────────────────────────────────────────┐ │COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs18//! │ N LEB128 Change AtomLen │◁───┼───── Important metadataCOMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs19//! └──────────────────────────────────────────────────────────────┘ │COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs20//! ┌───────────────────┬────────────────────────┬─────────────────┐ │COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs22//! └───────────────────┴────────────────────────┴─────────────────┘ │COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs23//! ┌──────────────────────────────────────────────────────────────┐ │COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs25//! └──────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs26//! ┌──────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡…s/loro-internal/src/oplog/change_store/block_encode.rs28//! └──────────────────────────────────────────────────────────────┘COMMENT
89 more matches not shown…
Over-Commented Block532 hits · 406 pts
SeverityFileLineSnippetContext
LOWdeny.toml1# This template contains all of the possible sections and their default valuesCOMMENT
LOWdeny.toml21 # The triple can be any string, but only the target triples built in toCOMMENT
LOWdeny.toml41unmaintained = "warn"COMMENT
LOWdeny.toml61#severity-threshold =COMMENT
LOWdeny.toml81 "ISC"COMMENT
LOWdeny.toml101# 2. License isn't copyleftCOMMENT
LOWdeny.toml121# The name of the crate the clarification applies toCOMMENT
LOWdeny.toml141# visit https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field.COMMENT
LOWdeny.toml161# * simplest-path - The path to the version with the fewest edges is highlightedCOMMENT
LOWdeny.toml181]COMMENT
LOWcliff.toml1# git-cliff ~ default configuration fileCOMMENT
LOWcliff.toml81# skip_tags = ""COMMENT
LOWcrates/delta/benches/rope.rs41 }COMMENT
LOWcrates/delta/benches/rope.rs61 // });COMMENT
LOWcrates/delta/benches/rope.rs81 // });COMMENT
LOWcrates/delta/benches/rope.rs101 // });COMMENT
LOWcrates/delta/benches/rope.rs121 // group.throughput(Throughput::Bytes(*size as u64));COMMENT
LOWcrates/json-float-consumer/src/lib.rs1//! Workspace member whose normal `loro` dependency must round-trip finiteCOMMENT
LOWcrates/kv-store/src/sstable.rs21/// walk can retain its entire store decompressed.COMMENT
LOWcrates/kv-store/src/sstable.rs41}COMMENT
LOWcrates/kv-store/src/lib.rs1//! # MemKvStore DocumentationCOMMENT
LOWcrates/kv-store/src/lib.rs21//! 3. Block Chunks: A series of data blocks containing key-value pairs.COMMENT
LOWcrates/kv-store/src/lib.rs41//!COMMENT
LOWcrates/kv-store/src/lib.rs61//!COMMENT
LOWcrates/kv-store/src/lib.rs81//! ┌──────────────────────────┐COMMENT
LOWcrates/kv-store/src/lib.rs101//! The Block Meta section contains metadata for all blocks in the SSTable.COMMENT
LOWcrates/kv-store/src/lib.rs121//! Encoding:COMMENT
LOWcrates/kv-store/src/block.rs361 }COMMENT
LOWcrates/generic-btree/src/lib.rs981 } else {COMMENT
LOWcrates/loro-internal/proptest-regressions/dag/test.txt1# Seeds for failure cases proptest has generated in the past. It isCOMMENT
LOWcrates/loro-internal/tests/test.rs1061// #[test]COMMENT
LOW…tes/loro-internal/tests/mergeable_container/pending.rs1//! Importing ops on mergeable children whose causal dependencies (the child's creationCOMMENT
LOW…ro-internal/tests/mergeable_container/type_conflict.rs1//! Concurrent different-kind creation, resolved by the parent map's marker LWW.COMMENT
LOW…ates/loro-internal/tests/mergeable_container/delete.rs1//! Delete semantics for mergeable children.COMMENT
LOW…ates/loro-internal/tests/mergeable_container/delete.rs101COMMENT
LOW…ro-internal/tests/mergeable_container/discriminator.rs1//! Marker-based mergeable type-conflict resolution.COMMENT
LOW…es/loro-internal/tests/mergeable_container/snapshot.rs1//! Snapshot and update-import round-trips, including LWW recovery.COMMENT
LOW…internal/tests/mergeable_container/events_and_paths.rs161 assert!(did_undo, "undo must report it did something");COMMENT
LOWcrates/loro-internal/examples/encoding.rs1use std::time::Instant;COMMENT
LOWcrates/loro-internal/examples/encoding.rs141 // // let times = 300;COMMENT
LOWcrates/loro-internal/examples/encoding_parallel.rs1use bench_utils::{get_automerge_actions, TextAction};COMMENT
LOWcrates/loro-internal/examples/encoding_parallel.rs21// text.insert(&loro, pos, ins).unwrap();COMMENT
LOWcrates/loro-internal/examples/encoding_parallel.rs41// let mut c2 = LoroCore::new(Default::default(), Some(1));COMMENT
LOWcrates/loro-internal/examples/mem.rs1// #[global_allocator]COMMENT
LOWcrates/loro-internal/examples/mem.rs21// }COMMENT
LOWcrates/loro-internal/examples/mem.rs41// let profiler = dhat::Profiler::builder().trim_backtraces(None).build();COMMENT
LOWcrates/loro-internal/examples/mem.rs61// let pos = pos % (text.len() + 1);COMMENT
LOWcrates/loro-internal/examples/mem.rs81// }COMMENT
LOWcrates/loro-internal/examples/mem.rs101 // concurrent_actors(200);COMMENT
LOWcrates/loro-internal/benches/text_r.rs181 let l = LoroDoc::new();COMMENT
LOWcrates/loro-internal/src/parent.rs101 let container_id = target.associated_meta_container();COMMENT
LOWcrates/loro-internal/src/dag.rs81 /// The replay base for diffing `a_id` into `b_id`: the meet when it is aCOMMENT
LOWcrates/loro-internal/src/dag.rs621/// causally after `v`. Replaying from `{v}` is safe because no concurrencyCOMMENT
LOWcrates/loro-internal/src/dag.rs901 /// staying concurrent with another, and the tree calculator's fast pathCOMMENT
LOWcrates/loro-internal/src/fork.rs1//! The fork module provides functionality to create a new LoroDoc instance at a specified versionCOMMENT
LOWcrates/loro-internal/src/fork.rs21//!COMMENT
LOWcrates/loro-internal/src/handler.rs4721 /// # ErrorsCOMMENT
LOWcrates/loro-internal/src/handler.rs4781 })COMMENT
LOWcrates/loro-internal/src/handler.rs4801 ///COMMENT
LOWcrates/loro-internal/src/handler.rs4821 /// Returns [`LoroError::MisuseDetachedContainer`] when called on a detached map.COMMENT
472 more matches not shown…
Hyper-Verbose Identifiers53 hits · 58 pts
SeverityFileLineSnippetContext
LOWcrates/loro-wasm/index.ts467function decorateAllPrototypeMethods(prototype: object) {CODE
LOWcrates/loro-wasm/scripts/post-rollup.ts44async function injectExplicitWasmReexports(CODE
LOWcrates/loro-wasm/scripts/build.ts351async function stripReferenceTypesFeatureHint() {CODE
LOWloro-js/tests/movable-list-invalid-ops.test.ts113function assertSameResultOnEveryImportPath(json: JsonSchema, expected: unknown): void {CODE
LOW…o-js/tests/shallow-snapshot-deleted-containers.test.ts100function docWithRowsDeletedBeforeCut(rows: number, fillerOps: number) {CODE
LOW…o-js/tests/shallow-snapshot-deleted-containers.test.ts119function docWithChildRevivedFromDeletedParent(fillerOps: number) {CODE
LOWloro-js/tests/differential/harness.ts540function withoutNoOpSequenceEvents(CODE
LOWloro-js/src/codec/serde-columnar.ts27export function decodeColumnarVecMaybeWrapped(bytes: Uint8Array): Uint8Array[] {CODE
LOWloro-js/src/codec/state-snapshot.ts453export function decodeMovableListStateSnapshot(CODE
LOWloro-js/src/codec/state-snapshot.ts541export function encodeMovableListStateSnapshot(CODE
LOW⚡loro-js/src/codec/state-snapshot.ts579export function decodeCounterStateSnapshot(bytes: Uint8Array): CounterStateSnapshot {CODE
LOW⚡loro-js/src/codec/state-snapshot.ts584export function encodeCounterStateSnapshot(state: CounterStateSnapshot): Uint8Array {CODE
LOW⚡loro-js/src/codec/state-snapshot.ts590export function decodeContainerStateSnapshot(CODE
LOWloro-js/src/codec/state-snapshot.ts612export function encodeContainerStateSnapshot(state: ContainerStateSnapshot): Uint8Array {CODE
LOWloro-js/src/codec/state-snapshot.ts632export function decodeContainerStateWrapper(bytes: Uint8Array): ContainerStateWrapper {CODE
LOWloro-js/src/codec/state-snapshot.ts643export function encodeContainerStateWrapper(wrapper: ContainerStateWrapper): Uint8Array {CODE
LOWloro-js/src/codec/state-snapshot.ts689export function decodeLazyStateSnapshotStore(CODE
LOWloro-js/src/codec/state-snapshot.ts717export function getLazyStateSnapshotContainer(CODE
LOWloro-js/src/codec/state-snapshot.ts732export function rewriteLazyStateSnapshotStore(CODE
LOWloro-js/src/codec/state-snapshot.ts822function decodePostcardUsizeVector(bytes: Uint8Array): number[] {CODE
LOWloro-js/src/codec/state-snapshot.ts835function encodePostcardUsizeVector(values: readonly number[]): Uint8Array {CODE
LOWloro-js/src/codec/state-snapshot.ts844function collectSortedMapKeysForDecode(CODE
LOWloro-js/src/codec/state-snapshot.ts855function collectSortedMapKeysForEncode(CODE
LOWloro-js/src/codec/state-snapshot.ts962function validateDecodedMovableList(CODE
LOWloro-js/src/codec/state-snapshot.ts1003function validateEncodedMovableList(state: MovableListStateSnapshot): void {CODE
LOWloro-js/src/codec/sstable.ts550function validateEntriesForEncoding(entries: readonly SstableEntry[]): void {CODE
LOWloro-js/src/codec/version.ts6export function readPostcardVersionVector(reader: PostcardReader): Id[] {CODE
LOW⚡loro-js/src/codec/version.ts20export function writePostcardVersionVector(CODE
LOW⚡loro-js/src/codec/version.ts30export function decodePostcardVersionVector(bytes: Uint8Array): Id[] {CODE
LOW⚡loro-js/src/codec/version.ts37export function encodePostcardVersionVector(version: VersionVector): Uint8Array {CODE
LOWloro-js/src/codec/change-block-codec.ts762function assertNonnegativePosition(value: number): number {CODE
LOWloro-js/src/codec/container-id.ts60export function containerTypeToHistoricalByte(type: ContainerTypeValue): number {CODE
LOWloro-js/src/codec/container-id.ts80export function containerTypeFromHistoricalByte(value: number): ContainerTypeValue {CODE
LOW⚡loro-js/src/codec/container-id.ts183export function decodePostcardContainerId(bytes: Uint8Array): ContainerId {CODE
LOW⚡loro-js/src/codec/container-id.ts190export function encodePostcardContainerId(id: ContainerId): Uint8Array {CODE
LOW⚡loro-js/src/codec/container-id.ts196export function readPostcardOptionalContainerId(CODE
LOWloro-js/src/codec/container-id.ts212export function writePostcardOptionalContainerId(CODE
LOWloro-js/src/codec/container-id.ts224export function decodePostcardOptionalContainerId(CODE
LOWloro-js/src/codec/container-id.ts233export function encodePostcardOptionalContainerId(CODE
LOWloro-js/src/runtime/jsonpath.ts66export function compileJsonPathEventMatcher(CODE
LOWloro-js/src/runtime/document.ts9140function hasMaterializedSequenceInsertions(CODE
LOWloro-js/src/runtime/document.ts9242function appendToTrailingListInsert(CODE
LOWloro-js/src/runtime/document.ts9772function lowerBoundIndexedOperation(CODE
LOWloro-js/src/runtime/document.ts9839function historyRecordsToJsonSchema(CODE
LOWloro-js/src/runtime/document.ts9863function historyRecordToJsonChange(CODE
LOWloro-js/src/runtime/document.ts10131function jsonSchemaToHistoryRecords(schema: JsonSchema): HistoryRecord[] {CODE
LOWloro-js/src/runtime/document.ts10429function jsonNumberToChangeLoroValue(value: number): ChangeLoroValue {CODE
LOWloro-js/src/runtime/document.ts10439function jsonValueToChangeLoroValue(CODE
LOWloro-js/src/runtime/document.ts10627function importStatusBetweenVersions(CODE
LOWloro-js/src/runtime/containers.ts3367function writePostcardCursorContainer(CODE
LOWloro-js/src/runtime/containers.ts3382function readPostcardCursorContainer(reader: PostcardReader): CodecContainerId {CODE
LOWpackages/fractional-index/src/index.ts370function jitterBytesWithNormalized(CODE
LOWpackages/fractional-index/src/index.ts584function assertNonNegativeSafeInteger(CODE
AI Slop Vocabulary7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMcrates/loro-internal/src/state.rs736 // We can utilize the output of the Diff to determine which child nodes should be revived.COMMENT
MEDIUMcrates/loro-internal/src/encoding/json_schema.rs1743 /// structure. Redacted documents maintain seamless collaboration capabilities with bothCOMMENT
MEDIUMcrates/loro-internal/src/state/tree_state.rs1456 // The code will be more robust and easy to understandCOMMENT
MEDIUMcrates/loro-wasm/src/lib.rs5623/// a list structure, we can utilize the ID of each item/character on List CRDT orCOMMENT
MEDIUMcrates/loro/src/lib.rs2170 /// a document, it is more effective to leverage the unique ID of each item/characterCOMMENT
MEDIUMcrates/loro/src/lib.rs3035 /// a document, it is more effective to leverage the unique ID of each item/characterCOMMENT
MEDIUMcrates/loro/src/lib.rs3718 /// a document, it is more effective to leverage the unique ID of each item/characterCOMMENT
Structural Annotation Overuse7 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡crates/loro-internal/src/loro.rs3185 // Step 1: Export the initial state from the GC snapshot.COMMENT
LOW⚡crates/loro-internal/src/loro.rs3192 // Step 2: Create a new document and import the initial snapshot.COMMENT
LOW⚡crates/loro-internal/src/loro.rs3198 // Step 3: Export updates since the shallow start version vector to the current version.COMMENT
LOW⚡crates/loro-internal/src/loro.rs3201 // Step 4: Import these updates into the new document.COMMENT
LOW⚡crates/loro-internal/src/loro.rs3205 // Step 5: Checkout to the current state's frontiers and compare the states.COMMENT
LOWcrates/loro-internal/src/loro.rs1723 /// NOTE: This method will make the doc enter the **detached mode**.COMMENT
LOW…oro-internal/src/encoding/outdated_encode_reordered.rs39/// NOTE: This method expects that the remote_changes are already sorted by lamport valueCOMMENT
Verbosity Indicators5 hits · 11 pts
SeverityFileLineSnippetContext
LOW⚡crates/loro-internal/src/loro.rs3185 // Step 1: Export the initial state from the GC snapshot.COMMENT
LOW⚡crates/loro-internal/src/loro.rs3192 // Step 2: Create a new document and import the initial snapshot.COMMENT
LOW⚡crates/loro-internal/src/loro.rs3198 // Step 3: Export updates since the shallow start version vector to the current version.COMMENT
LOW⚡crates/loro-internal/src/loro.rs3201 // Step 4: Import these updates into the new document.COMMENT
LOW⚡crates/loro-internal/src/loro.rs3205 // Step 5: Checkout to the current state's frontiers and compare the states.COMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWcrates/examples/benches/bench_text.rs299 "section={section_idx}; paragraph={i}; lorem ipsum dolor sit amet, consectetur adipiscing elit. "CODE
LOWcrates/examples/benches/bench_text.rs299 "section={section_idx}; paragraph={i}; lorem ipsum dolor sit amet, consectetur adipiscing elit. "CODE
LOWcrates/loro-common/src/internal_string.rs277 let long_str1 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut laCODE
LOWcrates/loro-common/src/internal_string.rs277 let long_str1 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut laCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcrates/loro-internal/src/handler.rs2667 // TODO: implementCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/create-release-pr.yml57 # Check if the output contains any error messagesCOMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcrates/examples/import_overlap_measure.py22CODE