AI Slop Code RIsk Monitor

rust-lang/futures-rs

Zero-cost asynchronous programming in Rust

9.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for rust-lang/futures-rs, a Rust project with 5,932 GitHub stars. SynthScan examined 47,740 lines of code across 338 source files, recording 484 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 9.4 (Moderate 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.

9.4
Adjusted Signal
9.4
Raw Pattern Score
100%
Time Factor
2026-10-01
Last Push
5.9K
Stars
Rust
Language
47.7K
Lines of Code
338
Files
484
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 37.5/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 40.1/100 · MEDIUM

Which changes need focused human review? 484 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 3LOW 481

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 484 distinct pattern matches across 4 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.

Over-Commented Block478 hits · 436 pts
SeverityFileLineSnippetContext
LOWfutures-task/src/waker_ref.rs21impl<'a> WakerRef<'a> {COMMENT
LOWfutures-task/src/future_obj.rs121impl<T> Future for FutureObj<'_, T> {COMMENT
LOWfutures-task/src/future_obj.rs141 /// Convert an owned instance into a (conceptually owned) fat pointer.COMMENT
LOWfutures-task/src/lib.rs21#[cfg(target_has_atomic = "ptr")]COMMENT
LOWfutures-task/src/noop_waker.rs21/// Create a new [`Waker`] which doesCOMMENT
LOWfutures-task/src/spawn.rs1use core::fmt;COMMENT
LOWfutures-task/src/spawn.rs21 /// (but not guaranteed) to accept a subsequent spawn attempt.COMMENT
LOWfutures-task/src/arc_wake.rs1use alloc::sync::Arc;COMMENT
LOWfutures-task/src/arc_wake.rs21 /// Indicates that the associated task is ready to make progress and shouldCOMMENT
LOWfutures-task/src/arc_wake.rs41 /// Executors generally maintain a queue of "ready" tasks; `wake_by_ref` should placeCOMMENT
LOWfutures/tests/no-std/src/lib.rs1#![cfg(nightly)]COMMENT
LOWfutures/src/lib.rs1//! Abstractions for asynchronous programming.COMMENT
LOWfutures/src/lib.rs21//! streams and sinks, and then spawned as independent tasks that are run toCOMMENT
LOWfutures/src/lib.rs41//! let fut_values = async {COMMENT
LOWfutures/src/lib.rs61//! let fut_values = rxCOMMENT
LOWfutures/src/lib.rs101#[doc(inline)]COMMENT
LOWfutures/src/lib.rs121pub use futures_util::lock;COMMENT
LOWfutures/src/lib.rs141#[cfg(feature = "executor")]COMMENT
LOWfutures/src/lib.rs161 //!COMMENT
LOWfutures/src/lib.rs181 //! [`spawn_local_obj`]: https://docs.rs/futures/0.3/futures/task/trait.LocalSpawn.html#tymethod.spawn_local_objCOMMENT
LOWfutures-channel/tests/oneshot.rs121 orx.close();COMMENT
LOWfutures-channel/tests/oneshot.rs141// use futures::future::Either;COMMENT
LOWfutures-channel/tests/oneshot.rs161// }COMMENT
LOWfutures-channel/tests/oneshot.rs181// // end.COMMENT
LOWfutures-channel/tests/oneshot.rs201// use std::thread;COMMENT
LOWfutures-channel/tests/oneshot.rs221// Ok(Poll::Pending)COMMENT
LOWfutures-channel/tests/oneshot.rs241// // forget the spawned future: should keep running, i.e. hitCOMMENT
LOWfutures-channel/tests/mpsc.rs141 }));COMMENT
LOWfutures-channel/tests/mpsc.rs161// // responding), but dropping it leads to observable side effectsCOMMENT
LOWfutures-channel/tests/mpsc.rs181// thread::spawn(move || {COMMENT
LOWfutures-channel/src/oneshot.rs41 /// Indicates whether this oneshot is complete yet. This is filled in bothCOMMENT
LOWfutures-channel/src/oneshot.rs61 /// Field to store the task which is blocked in `Receiver::poll`.COMMENT
LOWfutures-channel/src/oneshot.rs81/// half is a `Receiver` which implements the `Future` trait, resolving to theCOMMENT
LOWfutures-channel/src/oneshot.rs161 // destructor, but our destructor hasn't run yet so if it's set then theCOMMENT
LOWfutures-channel/src/oneshot.rs201 // 2. The receiver is being droppedCOMMENT
LOWfutures-channel/src/oneshot.rs301 // Indicate to the `Sender` that we're done, so any future calls toCOMMENT
LOWfutures-channel/src/oneshot.rs341 pub fn send(self, t: T) -> Result<(), T> {COMMENT
LOWfutures-channel/src/oneshot.rs361 /// Creates a future that resolves when this `Sender`'s correspondingCOMMENT
LOWfutures-channel/src/lib.rs1//! Asynchronous channels.COMMENT
LOWfutures-channel/src/mpsc/queue.rs21 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.COMMENT
LOWfutures-channel/src/mpsc/queue.rs101 let prev = self.head.swap(n, Ordering::AcqRel);COMMENT
LOWfutures-channel/src/mpsc/queue.rs141 loop {COMMENT
LOWfutures-channel/src/mpsc/mod.rs1//! A multi-producer, single-consumer queue for sending values acrossCOMMENT
LOWfutures-channel/src/mpsc/mod.rs21//!COMMENT
LOWfutures-channel/src/mpsc/mod.rs41// At the core, the channel uses an atomic FIFO queue for message passing. ThisCOMMENT
LOWfutures-channel/src/mpsc/mod.rs61// message that caused the sender to become parked is read out of the channel.COMMENT
LOWfutures-channel/src/mpsc/mod.rs1021 // Wake up any threads waiting as they'll see that we've closed theCOMMENT
LOWfutures-channel/src/mpsc/mod.rs1241 /// It is not recommended to call this function from inside of a future,COMMENT
LOWfutures-executor/src/thread_pool.rs21/// A general-purpose thread pool for scheduling tasks that poll futures toCOMMENT
LOWfutures-executor/src/thread_pool.rs81impl ThreadPool {COMMENT
LOWfutures-executor/src/thread_pool.rs101 /// > it is guaranteed to always succeed.COMMENT
LOWfutures-executor/src/thread_pool.rs221 /// Thread name prefix is used for generating thread names. For example, if prefix isCOMMENT
LOWfutures-executor/src/lib.rs1//! Built-in executors and related tools.COMMENT
LOWfutures-executor/src/lib.rs21//! directly. In the case of `!Send` futures, [`spawn_local_obj`] can be usedCOMMENT
LOWfutures-executor/src/lib.rs61#[cfg_attr(docsrs, doc(cfg(feature = "thread-pool")))]COMMENT
LOWfutures-executor/src/unpark_mutex.rs21// re-polling.COMMENT
LOWfutures-executor/src/enter.rs41///COMMENT
LOWfutures-executor/src/local_pool.rs21COMMENT
LOWfutures-executor/src/local_pool.rs121 LocalSpawner { incoming: Rc::downgrade(&self.incoming) }COMMENT
LOWfutures-executor/src/local_pool.rs141 }COMMENT
418 more matches not shown…
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMfutures/tests/async_await_macros.rs348 // This test may be a bit flaky. Feel free to adjust the margins as you see fit.COMMENT
MEDIUMfutures-core/src/task/__internal/atomic_waker.rs40/// Here is a simple example providing a `Flag` that can be signalled manuallyCOMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWfutures-channel/src/mpsc/mod.rs640 /// # Return valueCOMMENT
LOWfutures-channel/src/mpsc/mod.rs740 /// # Return valueCOMMENT
LOWfutures-core/src/stream.rs47 /// # Return valueCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMfutures-util/src/io/line_writer.rs19/// Buffering is actually done using `BufWriter`. This class will leverage `BufWriter`COMMENT