A thread-per-core async Rust runtime with IOCP/io_uring/polling.
This report presents the forensic synthetic code analysis of compio-rs/compio, a Rust project with 1,797 GitHub stars. SynthScan v2.0 examined 65,173 lines of code across 391 source files, recording 270 pattern matches distributed across 2 syntactic categories. The overall adjusted score of 4.0 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).
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.
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 270 distinct pattern matches across 2 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 |
|---|---|---|---|---|
| LOW | compio-io/src/lib.rs | 1 | //! Traits and utilities for completion-based IO. | COMMENT |
| LOW | compio-io/src/lib.rs | 21 | //! - [`AsyncReadManaged`]: Async read with a managed buffer | COMMENT |
| LOW | compio-io/src/lib.rs | 41 | //! (requires `compat` feature) | COMMENT |
| LOW | compio-io/src/lib.rs | 61 | //! assert_eq!(res, 13); | COMMENT |
| LOW | compio-io/src/lib.rs | 81 | //! | COMMENT |
| LOW | compio-io/src/lib.rs | 101 | //! | COMMENT |
| LOW | compio-io/src/write/buf.rs | 21 | /// times. It also provides no advantage when writing to a destination that is | COMMENT |
| LOW | compio-io/src/write/mod.rs | 21 | /// [`BufResult`], consisting of the buffer and a [`usize`] indicating how | COMMENT |
| LOW | compio-io/src/write/ext.rs | 141 | COMMENT | |
| LOW | compio-io/src/compat/sync_stream.rs | 221 | Ok(flushed) | COMMENT |
| LOW | compio-io/src/compat/sync_stream.rs | 241 | /// - Call `fill_read_buf()` when `Read::read()` returns `WouldBlock` | COMMENT |
| LOW | compio-io/src/compat/sync_stream.rs | 461 | COMMENT | |
| LOW | compio-io/src/compat/sync_stream.rs | 501 | impl<S: crate::AsyncRead> SyncStream<S> { | COMMENT |
| LOW | compio-io/src/compat/sync_stream.rs | 521 | /// See [`SyncStream::fill_read_buf`]. | COMMENT |
| LOW | compio-io/src/util/copy.rs | 1 | use futures_util::future::join; | COMMENT |
| LOW | compio-io/src/util/copy.rs | 21 | pub async fn copy<R: AsyncRead, W: AsyncWrite>(reader: &mut R, writer: &mut W) -> IoResult<u64> { | COMMENT |
| LOW | compio-io/src/util/null.rs | 61 | /// | COMMENT |
| LOW | compio-io/src/util/split.rs | 21 | /// operations from different tasks. | COMMENT |
| LOW | compio-io/src/util/split.rs | 81 | } | COMMENT |
| LOW | compio-io/src/util/repeat.rs | 1 | use std::mem::MaybeUninit; | COMMENT |
| LOW | compio-io/src/util/repeat.rs | 61 | async fn fill_buf(&mut self) -> IoResult<&'_ [u8]> { | COMMENT |
| LOW | compio-io/src/util/repeat.rs | 81 | /// .await | COMMENT |
| LOW | compio-io/src/read/multi.rs | 1 | use futures_util::Stream; | COMMENT |
| LOW | compio-io/src/read/multi.rs | 21 | /// | COMMENT |
| LOW | compio-io/src/read/buf.rs | 21 | } | COMMENT |
| LOW | compio-io/src/read/buf.rs | 41 | /// forwards write operations directly to the inner writer without touching the | COMMENT |
| LOW | compio-io/src/read/mod.rs | 21 | COMMENT | |
| LOW | compio-io/src/read/mod.rs | 41 | /// [`IoVectoredBufMut`]. | COMMENT |
| LOW | compio-io/src/read/ext.rs | 221 | /// method, which require a [`Splittable`] to work. | COMMENT |
| LOW | compio-io/src/read/ext.rs | 281 | /// uninitialized space of specified `buffer`. | COMMENT |
| LOW | compio-io/src/read/managed.rs | 1 | use std::io::Cursor; | COMMENT |
| LOW | compio-io/src/read/managed.rs | 21 | /// - if `len` > 0, `min(len, buffer_size)` will be the max number of bytes | COMMENT |
| LOW | compio-io/src/ancillary/bytemuck_ext.rs | 1 | //! Extension module for automatic [`AncillaryData`] implementation via | COMMENT |
| LOW | compio-io/src/ancillary/bytemuck_ext.rs | 21 | /// ``` | COMMENT |
| LOW | compio-io/src/ancillary/mod.rs | 1 | //! Ancillary data (control message) support for connected streams. | COMMENT |
| LOW | compio-io/src/ancillary/mod.rs | 21 | //! - [`AsyncWriteAncillary`]: write data together with ancillary data | COMMENT |
| LOW | compio-io/src/ancillary/mod.rs | 301 | COMMENT | |
| LOW | compio-io/src/ancillary/mod.rs | 321 | /// | COMMENT |
| LOW | compio-io/src/ancillary/mod.rs | 341 | /// fn encode(&self, buffer: &mut [MaybeUninit<u8>]) -> Result<(), CodecError> { | COMMENT |
| LOW | compio-io/src/ancillary/mod.rs | 361 | /// } | COMMENT |
| LOW | compio-io/src/framed/mod.rs | 21 | COMMENT | |
| LOW | compio-io/src/framed/mod.rs | 141 | framer, | COMMENT |
| LOW | compio-io/src/framed/frame.rs | 41 | /// Slice payload out of the buffer | COMMENT |
| LOW | compio-io/src/framed/codec/mod.rs | 21 | /// The `buf` is *guaranteed* to have 0 initialized bytes (`buf_len()` == | COMMENT |
| LOW | compio-io/src/framed/codec/bytes.rs | 1 | //! [`Encoder`]/[`Decoder`] implementation with Bytes | COMMENT |
| LOW | compio-io/src/framed/codec/serde_json.rs | 1 | //! [`Encoder`]/[`Decoder`] implementation with serde_json | COMMENT |
| LOW | compio-io/src/framed/codec/serde_json.rs | 21 | //! name: "Alice".to_string(), | COMMENT |
| LOW | compio-net/src/unix.rs | 21 | }; | COMMENT |
| LOW | compio-net/src/unix.rs | 41 | /// | COMMENT |
| LOW | compio-net/src/unix.rs | 101 | /// Close the socket. If the returned future is dropped before polling, the | COMMENT |
| LOW | compio-net/src/unix.rs | 181 | /// # Examples | COMMENT |
| LOW | compio-net/src/unix.rs | 601 | /// Send and receive a file descriptor over a Unix socket pair using | COMMENT |
| LOW | compio-net/src/unix.rs | 621 | /// let mut builder = ctrl_send.builder(); | COMMENT |
| LOW | compio-net/src/tcp.rs | 41 | /// use compio_io::{AsyncReadExt, AsyncWriteExt}; | COMMENT |
| LOW | compio-net/src/tcp.rs | 61 | /// # }); | COMMENT |
| LOW | compio-net/src/tcp.rs | 101 | }) | COMMENT |
| LOW | compio-net/src/tcp.rs | 141 | /// Returns the local address that this listener is bound to. | COMMENT |
| LOW | compio-net/src/tcp.rs | 221 | /// | COMMENT |
| LOW | compio-net/src/tcp.rs | 321 | /// used to read and write the stream concurrently. | COMMENT |
| LOW | compio-net/src/tcp.rs | 361 | /// For more information about this option, see | COMMENT |
| 209 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/cd_release.yml | 34 | # Create a PR with the new versions and changelog, preparing the next release. | COMMENT |