We all edit.
This report summarizes scanner evidence for microsoft/edit, a Rust project with 14,745 GitHub stars. SynthScan examined 39,075 lines of code across 122 source files, recording 81 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.2 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 81 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 81 finding(s).
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.
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.
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.
The scanner identified 81 distinct pattern matches across 5 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pipelines/release.yml | 81 | # Binaries will go here. | COMMENT |
| LOW | .pipelines/release.yml | 121 | additionalTargets: x86_64-pc-windows-msvc aarch64-pc-windows-msvc | COMMENT |
| LOW | crates/edit/src/vt.rs | 21 | /// A CSI sequence started with `ESC [`. | COMMENT |
| LOW | crates/edit/src/vt.rs | 81 | COMMENT | |
| LOW | crates/edit/src/float.rs | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | crates/edit/src/icu.rs | 261 | COMMENT | |
| LOW | crates/edit/src/icu.rs | 281 | COMMENT | |
| LOW | crates/edit/src/icu.rs | 681 | /// initially and it'll trigger ICU to reload the text and invalidate its caches. | COMMENT |
| LOW | crates/edit/src/icu.rs | 921 | // followed by functions in this order: | COMMENT |
| LOW | crates/edit/src/fuzzy.rs | 41 | let mut matches = BVec::empty(); | COMMENT |
| LOW | crates/edit/src/helpers.rs | 181 | /// Uses `unsafe` so that the debug performance isn't too bad. | COMMENT |
| LOW | crates/edit/src/document.rs | 21 | /// * You should not assume that offsets are at grapheme cluster boundaries. | COMMENT |
| LOW | crates/edit/src/input.rs | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | crates/edit/src/input.rs | 461 | /// Once we encounter the start of a bracketed paste | COMMENT |
| LOW | crates/edit/src/framebuffer.rs | 81 | StraightRgba::from_rgba(0xfc74ffff), // BrightMagenta | COMMENT |
| LOW | crates/edit/src/framebuffer.rs | 301 | let content_offset = content_offset as i64 * 8; | COMMENT |
| LOW | crates/edit/src/framebuffer.rs | 661 | ) { | COMMENT |
| LOW | crates/edit/src/tui.rs | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | crates/edit/src/tui.rs | 21 | //! | COMMENT |
| LOW | crates/edit/src/tui.rs | 41 | //! a direct mirror of the code "layout" that created it. | COMMENT |
| LOW | crates/edit/src/tui.rs | 61 | //! hit tests, caching scroll offsets, and so on. | COMMENT |
| LOW | crates/edit/src/tui.rs | 81 | //! | COMMENT |
| LOW | crates/edit/src/tui.rs | 101 | //! fn main() { | COMMENT |
| LOW | crates/edit/src/tui.rs | 121 | //! // Render the output. | COMMENT |
| LOW | crates/edit/src/tui.rs | 221 | /// Informs you about the change that was made to the list selection. | COMMENT |
| LOW | crates/edit/src/tui.rs | 321 | modal_default_fg: StraightRgba, | COMMENT |
| LOW | crates/edit/src/tui.rs | 341 | mouse_state: InputMouseState, | COMMENT |
| LOW | crates/edit/src/unicode/measurement.rs | 21 | #[inline] | COMMENT |
| LOW | crates/edit/src/unicode/measurement.rs | 41 | /// | COMMENT |
| LOW | crates/edit/src/unicode/measurement.rs | 101 | pub fn goto_offset(&mut self, offset: usize) -> Cursor { | COMMENT |
| LOW | crates/edit/src/unicode/measurement.rs | 121 | /// | COMMENT |
| LOW | crates/edit/src/unicode/measurement.rs | 341 | // If we're here, we hit our target. Now the only question is: | COMMENT |
| LOW | crates/edit/src/unicode/utf8.rs | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | crates/edit/src/unicode/utf8.rs | 121 | self.offset += 1; | COMMENT |
| LOW | crates/edit/src/simd/memset.rs | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | crates/edit/src/simd/lines_bwd.rs | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | crates/edit/src/sys/windows.rs | 41 | } | COMMENT |
| LOW | crates/edit/src/arena/scratch.rs | 81 | for s in &mut S_SCRATCH[..] { | COMMENT |
| LOW | crates/edit/src/arena/release.rs | 21 | /// If you have never used an arena allocator before, think of it as | COMMENT |
| LOW | crates/edit/src/arena/debug.rs | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | crates/edit/src/arena/debug.rs | 21 | /// ```should_panic | COMMENT |
| LOW | crates/edit/src/collections/vec.rs | 81 | /// It's not marked as `unsafe`, because people count the "unsafe" keyword as a measure of safety | COMMENT |
| LOW | crates/edit/src/buffer/gap_buffer.rs | 41 | /// so that pushing into it doesn't reallocate every single time. A gap buffer | COMMENT |
| LOW | crates/edit/src/buffer/gap_buffer.rs | 181 | COMMENT | |
| LOW | crates/edit/src/buffer/mod.rs | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | crates/edit/src/buffer/mod.rs | 181 | /// The ICU `URegularExpression` object. | COMMENT |
| LOW | crates/edit/src/buffer/mod.rs | 221 | } | COMMENT |
| LOW | crates/edit/src/buffer/mod.rs | 2221 | }; | COMMENT |
| LOW | crates/edit/src/buffer/mod.rs | 3021 | debug_assert!(!entry.deleted.is_empty() || !entry.added.is_empty()); | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 21 | // | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 41 | // Do not break within emoji modifier sequences or emoji zwj sequences. | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 101 | ]; | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 121 | // Mandatory breaks: | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 141 | // LB10: Treat any remaining combining mark or ZWJ as AL. | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 161 | // LB14: Do not break after '[', even after spaces. | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 181 | // LB19: Do not break before non-initial unresolved quotation marks, such as ' ” ' or ' " ', nor after non-final unreso | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 201 | // > If used as hyphen, it acts like U+2010 HYPHEN, which has line break class BA. | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 221 | // ~ CP × PO modified from NU ( SY | IS )* CP × PO | COMMENT |
| LOW | crates/unicode-gen/src/rules.rs | 241 | // ✗ Our ucd_* functions never break within grapheme clusters. | COMMENT |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/edit/src/unicode/sanitize.rs | 39 | // So, we need to check if the original bytes were actually invalid UTF8 (slow path). | COMMENT |
| LOW | crates/edit/src/buffer/mod.rs | 1016 | // If the last chunk ended on a CR, we need to check if it was a CRLF sequence. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/edit/src/sys/unix.rs | 32 | /// Don't forget to release the memory when you're done with it or you'll leak it. | COMMENT |
| LOW | crates/edit/src/sys/windows.rs | 31 | /// Don't forget to release the memory when you're done with it or you'll leak it. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/edit/src/buffer/mod.rs | 3332 | /// Essentially a [`std::io::BufWriter`] but for [`Arena`]. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | assets/highlighting-tests/python.py | 93 | def helper(): | CODE |