Serialization framework for Rust
This report presents the forensic synthetic code analysis of serde-rs/serde, a Rust project with 10,720 GitHub stars. SynthScan v2.0 examined 43,952 lines of code across 229 source files, recording 219 pattern matches distributed across 1 syntactic category. The overall adjusted score of 3.6 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 219 distinct pattern matches across 1 syntactic category. 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 |
|---|---|---|---|---|
| LOW | serde_core/src/std_error.rs | 1 | use crate::lib::{Debug, Display}; | COMMENT |
| LOW | serde_core/src/std_error.rs | 21 | /// impl std::error::Error for MySerError {} | COMMENT |
| LOW | serde_core/src/lib.rs | 1 | //! Serde is a framework for ***ser***ializing and ***de***serializing Rust data | COMMENT |
| LOW | serde_core/src/lib.rs | 21 | //! <br> | COMMENT |
| LOW | serde_core/src/lib.rs | 41 | // Show which crate feature enables conditionally compiled APIs in documentation. | COMMENT |
| LOW | serde_core/src/macros.rs | 1 | // Super explicit first paragraph because this shows up at the top level and | COMMENT |
| LOW | serde_core/src/macros.rs | 21 | /// # | COMMENT |
| LOW | serde_core/src/macros.rs | 41 | /// # } | COMMENT |
| LOW | serde_core/src/macros.rs | 61 | /// { | COMMENT |
| LOW | serde_core/src/macros.rs | 81 | /// # use serde::forward_to_deserialize_any; | COMMENT |
| LOW | serde_core/src/macros.rs | 101 | /// tuple_struct map struct enum identifier ignored_any | COMMENT |
| LOW | serde_core/src/private/string.rs | 1 | use crate::lib::*; | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1 | //! Generic data structure deserialization framework. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 21 | //! In rare cases it may be necessary to implement [`Deserialize`] manually for | COMMENT |
| LOW | serde_core/src/de/mod.rs | 41 | //! serialization. Some types can be serialized by Serde but not deserialized. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 61 | //! - Box\<str\> | COMMENT |
| LOW | serde_core/src/de/mod.rs | 81 | //! - **FFI types**: | COMMENT |
| LOW | serde_core/src/de/mod.rs | 101 | //! - SocketAddrV6 | COMMENT |
| LOW | serde_core/src/de/mod.rs | 141 | /// currently running. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 161 | diagnostic::on_unimplemented( | COMMENT |
| LOW | serde_core/src/de/mod.rs | 181 | /// # } | COMMENT |
| LOW | serde_core/src/de/mod.rs | 201 | /// | COMMENT |
| LOW | serde_core/src/de/mod.rs | 221 | /// This is the value that was present in the input file or other source | COMMENT |
| LOW | serde_core/src/de/mod.rs | 301 | } | COMMENT |
| LOW | serde_core/src/de/mod.rs | 321 | /// # | COMMENT |
| LOW | serde_core/src/de/mod.rs | 421 | StructVariant => formatter.write_str("struct variant"), | COMMENT |
| LOW | serde_core/src/de/mod.rs | 441 | /// # use serde::de::{self, Unexpected, Visitor}; | COMMENT |
| LOW | serde_core/src/de/mod.rs | 461 | /// | COMMENT |
| LOW | serde_core/src/de/mod.rs | 521 | /// automatically generate `Deserialize` implementations for structs and enums | COMMENT |
| LOW | serde_core/src/de/mod.rs | 541 | /// deserializer lifetimes] for a more detailed explanation of these lifetimes. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 561 | fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> | COMMENT |
| LOW | serde_core/src/de/mod.rs | 581 | /// documentation because it is almost never what newbies are looking for. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 601 | /// owned data. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 621 | /// The relationship between `Deserialize` and `DeserializeOwned` in trait | COMMENT |
| LOW | serde_core/src/de/mod.rs | 641 | /// deserialize a JSON array into a `Vec<T>` but it would be a freshly allocated | COMMENT |
| LOW | serde_core/src/de/mod.rs | 661 | /// | COMMENT |
| LOW | serde_core/src/de/mod.rs | 681 | /// borrowed by `Self::Value` when deserialized. See the page [Understanding | COMMENT |
| LOW | serde_core/src/de/mod.rs | 701 | /// // append array elements onto the end of an existing vector. The preexisting | COMMENT |
| LOW | serde_core/src/de/mod.rs | 721 | /// // input. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 741 | /// } | COMMENT |
| LOW | serde_core/src/de/mod.rs | 761 | /// T: Deserialize<'de>, | COMMENT |
| LOW | serde_core/src/de/mod.rs | 781 | /// } | COMMENT |
| LOW | serde_core/src/de/mod.rs | 821 | fn deserialize<D>(self, deserializer: D) -> Result<T, D::Error> | COMMENT |
| LOW | serde_core/src/de/mod.rs | 841 | /// these various types. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 861 | /// - The type of `()` in Rust. It represents an anonymous value containing | COMMENT |
| LOW | serde_core/src/de/mod.rs | 881 | /// `[u64; 10]`. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 901 | /// know that it is seeing a map. If the data format supports | COMMENT |
| LOW | serde_core/src/de/mod.rs | 921 | /// others. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 941 | diagnostic::on_unimplemented( | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1041 | fn deserialize_char<V>(self, visitor: V) -> Result<V::Value, Self::Error> | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1061 | /// data, indicate that to the `Deserializer` by using `deserialize_str` | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1181 | /// Deserializers for non-self-describing formats may not support this mode. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1201 | /// # impl Timestamp { | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1221 | /// # unimplemented!() | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1241 | /// } | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1261 | where | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1281 | /// | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1301 | /// E: de::Error, | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1321 | /// Format a message stating what data this Visitor expects to receive. | COMMENT |
| LOW | serde_core/src/de/mod.rs | 1501 | /// The input contains a `char`. | COMMENT |
| 159 more matches not shown… | ||||