AI Slop Code Risk Monitor

tokio-rs/console

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

a debugger for async rust!

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for tokio-rs/console, a Rust project with 4,614 GitHub stars. SynthScan examined 25,233 lines of code across 123 source files, recording 85 pattern matches distributed across 3 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-08-08
Last Push
4.6K
Stars
Rust
Language
25.2K
Lines of Code
123
Files
85
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 15.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 85 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 16.2/100 · LOW

Which changes need focused human review? 85 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 2LOW 83

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 85 distinct pattern matches across 3 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 Block82 hits · 80 pts
SeverityFileLineSnippetContext
LOWcliff.toml1# git-cliff ~ default configuration fileCOMMENT
LOWCONTRIBUTING.md181```rustCOMMENT
LOWCONTRIBUTING.md221/// use futures::sync::oneshot;COMMENT
LOWtokio-console/src/warnings.rs21 /// warning.COMMENT
LOWtokio-console/src/warnings.rs41 /// > "45 tasks have woken themselves more than 50% of the time"COMMENT
LOWtokio-console/src/config.rs21#[derive(Clap, Debug)]COMMENT
LOWtokio-console/src/config.rs41 ///COMMENT
LOWtokio-console/src/config.rs61 ///COMMENT
LOWtokio-console/src/config.rs81 ///COMMENT
LOWtokio-console/src/config.rs101 /// [possible values: all, self-wakes, lost-waker, never-yielded, large-future, auto-boxed-future]COMMENT
LOWtokio-console/src/config.rs121 /// Each time span is an integer number followed by a suffix. Supported suffixes are:COMMENT
LOWtokio-console/src/config.rs141 /// * `years`, `year`, `y` -- defined as 365.25 daysCOMMENT
LOWtokio-console/src/config.rs261pub enum OptionalCmd {COMMENT
LOWtokio-console/src/lib.rs1// this file is here to make a binary target so that cargo metadata works with this crateCOMMENT
LOWtokio-console/src/lib.rs21/// ## Configuration FileCOMMENT
LOWtokio-console/src/lib.rs41///COMMENT
LOWtokio-console/src/lib.rs61/// so that they may be shared by multiple developers.COMMENT
LOWtokio-console/src/state/tasks.rs61 Scheduled,COMMENT
LOWtokio-console/src/state/tasks.rs81 /// This is NOT the `tracing::span::Id` for the task's tracing span on theCOMMENT
LOWtokio-console/src/view/durations.rs21/// This widget wraps the [`Percentiles`] and [`MiniHistogram`] widgets whichCOMMENT
LOWtokio-console/src/view/styles.rs21 NoColors,COMMENT
LOW.github/FUNDING.yml1# These are supported funding model platformsCOMMENT
LOW.github/workflows/release.yml1# This file was autogenerated by dist: https://axodotdev.github.io/cargo-distCOMMENT
LOW.github/workflows/release.yml21# like "1.0.0", "v0.1.0-prerelease.1", "my-app/0.1.0", "releases/v1.0.0", etc.COMMENT
LOW.github/workflows/audit.yml1name: Security auditCOMMENT
LOW.github/workflows/ci.yml1on:COMMENT
LOWconsole-subscriber/tests/support/subscriber.rs141/// The server will start serving over its side of the duplex stream.COMMENT
LOWconsole-subscriber/tests/support/subscriber.rs181///COMMENT
LOWconsole-subscriber/tests/support/task.rs201 /// To match this expected task, an actual task must have the name `name`.COMMENT
LOWconsole-subscriber/tests/support/mod.rs21/// This function will panic if the expectations on the expected task are notCOMMENT
LOWconsole-subscriber/tests/support/mod.rs61 .name(name)COMMENT
LOWconsole-subscriber/examples/long_scheduled.rs1//! Long scheduled timeCOMMENT
LOWconsole-subscriber/src/visitors.rs21///COMMENT
LOWconsole-subscriber/src/visitors.rs61/// Used to extract the fields needed to constructCOMMENT
LOWconsole-subscriber/src/visitors.rs81/// was spawned, if they are present. Other fields are recorded as arbitraryCOMMENT
LOWconsole-subscriber/src/visitors.rs101#[derive(Default)]COMMENT
LOWconsole-subscriber/src/visitors.rs121pub(crate) struct WakerVisitor {COMMENT
LOWconsole-subscriber/src/visitors.rs141 op_name: Option<String>,COMMENT
LOWconsole-subscriber/src/lib.rs61/// operations. The `ConsoleLayer` collects and aggregates these events, and theCOMMENT
LOWconsole-subscriber/src/lib.rs81 /// Set of callsites for events representing waker operations.COMMENT
LOWconsole-subscriber/src/lib.rs121 /// Used to anchor monotonic timestamps to a base `SystemTime`, to produce aCOMMENT
LOWconsole-subscriber/src/lib.rs241COMMENT
LOWconsole-subscriber/src/lib.rs321 (layer, server)COMMENT
LOWconsole-subscriber/src/lib.rs341 /// See also [`Builder::client_buffer_capacity`].COMMENT
LOWconsole-subscriber/src/lib.rs361 ///COMMENT
LOWconsole-subscriber/src/lib.rs881 }COMMENT
LOWconsole-subscriber/src/lib.rs901 ///COMMENT
LOWconsole-subscriber/src/lib.rs921 /// server.serve_with(tonic::transport::Server::default()).awaitCOMMENT
LOWconsole-subscriber/src/lib.rs981 /// # use std::{thread, time::Duration};COMMENT
LOWconsole-subscriber/src/lib.rs1001 /// # .name("subscriber".into())COMMENT
LOWconsole-subscriber/src/lib.rs1021 /// );COMMENT
LOWconsole-subscriber/src/lib.rs1041 /// let serve = router.serve(std::net::SocketAddr::new(COMMENT
LOWconsole-subscriber/src/lib.rs1101 /// is running for as long as the gRPC server is. If the server stopsCOMMENT
LOWconsole-subscriber/src/lib.rs1121 /// ..COMMENT
LOWconsole-subscriber/src/lib.rs1161/// further parts in the future, an as such is marked as `non_exhaustive`.COMMENT
LOWconsole-subscriber/src/stats.rs21/// not been changed, it does not have to be included in the current update.COMMENT
LOWconsole-subscriber/src/stats.rs61 // waker statsCOMMENT
LOWconsole-subscriber/src/callsites.rs81impl<const MAX_CALLSITES: usize> Default for Callsites<MAX_CALLSITES> {COMMENT
LOWconsole-subscriber/src/builder.rs41COMMENT
LOWconsole-subscriber/src/builder.rs101 /// When this channel is at capacity, the client may be disconnected.COMMENT
22 more matches not shown…
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release.yml258 # Create a GitHub Release while uploading all files to itCOMMENT
MEDIUM.github/workflows/release-plz.yml39 # Create a PR with the new versions and changelog, preparing the next release.COMMENT
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWconsole-subscriber/src/aggregator/mod.rs661 parents: Vec::new(), // TODO: implement parents nicelyCODE