AI Slop Code Risk Monitor

headwaymaps/headway

SlopCodeMonitor badge for headwaymaps/headway Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Self-hostable maps stack, powered by OpenStreetMap.

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for headwaymaps/headway, a Rust project with 3,011 GitHub stars. SynthScan examined 55,958 lines of code across 420 source files, recording 77 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.0K
Stars
Rust
Language
56.0K
Lines of Code
420
Files
77
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 5.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.5/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 6.8/100 · LOW

Which changes need focused human review? 77 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 1LOW 76

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 77 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.

Over-Commented Block53 hits · 53 pts
SeverityFileLineSnippetContext
LOWbin/_headway_version.sh1# Headway has basically two kinds of artifacts:COMMENT
LOWbin/_headway_version.sh21# A bump in the DATA tag pretty much always implies a bump in the CONTAINERCOMMENT
LOWbin/_headway_version.sh41# vehicle-positions) keep the same schema.COMMENT
LOWbin/_headway_version.sh61#COMMENT
LOWbin/_headway_version.sh81#COMMENT
LOWbin/_panes.sh1# Run jobs in parallel, each with a live pane showing its latest output.COMMENT
LOWbin/_trace.sh1#!/bin/bashCOMMENT
LOWdagger/pelias.go101// end reads the volume too, so it can hand back data from a run that no longerCOMMENT
LOWdagger/pelias.go141 }COMMENT
LOWdagger/main.go1// Headway mapping stack build systemCOMMENT
LOWdagger/main.go41// An Artifact is a build output together with the name it gets publishedCOMMENT
LOWcontrib/install_headway.debian.sh1#!/bin/bashCOMMENT
LOWservices/frontend/www-app/index.html1<!doctype html>COMMENT
LOWservices/frontend/www-app/quasar.config.ts301 // animations: 'all', // --- includes all animationsCOMMENT
LOWservices/frontend/www-app/quasar.config.ts361 // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electronCOMMENT
LOWservices/frontend/www-app/postcss.config.js21 // 1. yarn/npm install postcss-rtlcssCOMMENT
LOWservices/frontend/www-app/src/quasar.d.ts1/* eslint-disable */COMMENT
LOWservices/frontend/www-app/src/ui/ScaleControl.ts101 );COMMENT
LOWservices/frontend/www-app/src/css/quasar.variables.scss1// Quasar SCSS (& Sass) VariablesCOMMENT
LOW…ices/frontend/www-app/src/utils/GeolocationPolyfill.ts21 this.isRegistered,COMMENT
LOWservices/frontend/www-app/src/components/SearchBox.vue321 this.updateAutocomplete();COMMENT
LOWservices/travelmux/src/util/mod.rs61 let distance = Haversine.distance(second_to_last, last);COMMENT
LOWservices/travelmux/src/otp/gtfs_graphql.rs1//! Client for OTP's GTFS GraphQL API (`/otp/gtfs/v1`).COMMENT
LOWservices/travelmux/src/otp/gtfs_graphql.rs801COMMENT
LOWservices/travelmux/src/otp/schema.rs1//! Rust bindings for OTP's GTFS GraphQL schema.COMMENT
LOWservices/travelmux/src/otp/otp_api.rs1//! Types describing the shape of an OTP trip plan.COMMENT
LOWservices/travelmux/src/api/v6/osrm_api.rs361 ///COMMENT
LOWservices/travelmux/src/api/v6/osrm_api.rs381COMMENT
LOWservices/travelmux/src/api/v6/osrm_api.rs401 /// This maneuver type is called out separately so that the user may be able to proceed more confidently, without feCOMMENT
LOWservices/travelmux/src/api/v6/osrm_api.rs421 /// Indicates the exit maneuver from a roundabout. Will not appear in results unless you supply the roundabout_exitsCOMMENT
LOWservices/travelmux/src/api/v6/osrm_api.rs441 RoundaboutTurn,COMMENT
LOWservices/travelmux/src/api/v6/osrm_api.rs461 SlightRight,COMMENT
LOWservices/travelmux/src/api/v6/osrm_api.rs501#[serde(rename_all = "camelCase")]COMMENT
LOWservices/travelmux/src/api/v6/plan.rs341 }COMMENT
LOWservices/travelmux/src/api/v8/osrm_api.rs341}COMMENT
LOWservices/travelmux/src/api/v8/osrm_api.rs381 /// The exit index indicates the number of highway exits from the previous maneuver up to and including the exit thaCOMMENT
LOWservices/travelmux/src/api/v8/osrm_api.rs421 ///COMMENT
LOWservices/travelmux/src/api/v8/osrm_api.rs481#[serde(rename_all = "camelCase")]COMMENT
LOWservices/travelmux/src/api/v8/vehicle_positions.rs41/// How many vehicles still short of the boarding stop to report. These are the ones that mightCOMMENT
LOWservices/travelmux/src/api/v8/vehicle_positions.rs121 /// isn't running right now" from "these codes died when the transit data was rebuilt". BothCOMMENT
LOWservices/travelmux/src/api/v8/vehicle_positions.rs181 progress: f64,COMMENT
LOWservices/travelmux/src/api/v8/vehicle_positions.rs201/// bracketing any instant is arithmetic rather than a search:COMMENT
LOWservices/travelmux/src/api/v8/vehicle_positions.rs281 Point::new(round(point.x()), round(point.y()))COMMENT
LOWservices/travelmux/src/api/v8/vehicle_positions.rs481COMMENT
LOWservices/travelmux/src/api/v7/osrm_api.rs341}COMMENT
LOWservices/travelmux/src/api/v7/osrm_api.rs381 /// The exit index indicates the number of highway exits from the previous maneuver up to and including the exit thaCOMMENT
LOWservices/travelmux/src/api/v7/osrm_api.rs421 ///COMMENT
LOWservices/travelmux/src/api/v7/osrm_api.rs481#[serde(rename_all = "camelCase")]COMMENT
LOWservices/travelmux/src/valhalla/valhalla_api.rs101 /// units depend on the requestCOMMENT
LOWservices/gtfs/gtfout/src/feed_config.rs1//! Credentials for feeds that won't serve their GTFS without one.COMMENT
LOWservices/gtfs/gtfout/src/bin/build-gtfs-index/main.rs61 atlas: AtlasArgs,COMMENT
LOWservices/gtfs/gtfout/src/atlas/dmfr.rs101 /// The Onestop ID.COMMENT
LOWservices/tileserver/maplibre-style/src/lib.rs1//! Builders for generating MapLibre style documents.COMMENT
Fake / Example Data17 hits · 17 pts
SeverityFileLineSnippetContext
LOWdagger/main.go325var mapArtifactKeys = []string{"osm", "pmtiles", "valhalla", "elasticsearch", "placeholder", "terrain", "landcover"}CODE
LOWdagger/main.go423 if selected("elasticsearch", "placeholder") {CODE
LOWbuilds/planet/pelias.json25 "placeholder": {CODE
LOWbuilds/planet/artifacts.json19 "placeholder": "maps-earth-planet-v1.261019-placeholder-2026-10-24-15dcb169.tar.zst",CODE
LOW…planet/k8s/latest/pelias-elasticsearch-deployment.yaml72 "placeholder": {CODE
LOWbuilds/planet/k8s/latest/pelias-api-deployment.yaml53 "placeholder": {CODE
LOW…s/planet/k8s/latest/pelias-placeholder-deployment.yaml53 "placeholder": {CODE
LOW…ds/planet/k8s/dev/pelias-elasticsearch-deployment.yaml72 "placeholder": {CODE
LOWbuilds/planet/k8s/dev/pelias-api-deployment.yaml53 "placeholder": {CODE
LOW…ilds/planet/k8s/dev/pelias-placeholder-deployment.yaml53 "placeholder": {CODE
LOWbuilds/Seattle/pelias.json26 "placeholder": {CODE
LOWbuilds/Seattle/artifacts.json11 "placeholder": "Seattle-placeholder-2026-08-20-f5e32801.tar.zst",CODE
LOW…s/Seattle/k8s/dev/pelias-elasticsearch-deployment.yaml73 "placeholder": {CODE
LOWbuilds/Seattle/k8s/dev/pelias-api-deployment.yaml54 "placeholder": {CODE
LOW…lds/Seattle/k8s/dev/pelias-placeholder-deployment.yaml54 "placeholder": {CODE
LOWbuilds/Bogota/artifacts.json11 "placeholder": "Bogota-placeholder-2026-08-19-c9f4e8c1.tar.zst",CODE
LOWservices/pelias/generate_config/src/defaultConfig.json22 "placeholder": { "url": "http://pelias-placeholder:4100" },CODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/integration/_test-lib.sh15 # Check if jq is availableCOMMENT
LOWtests/integration/_test-lib.sh36 # Check if valid JSON (if validations exist)COMMENT
LOWservices/travelmux/init.sh8# Check if elevation data already existsCOMMENT
LOWservices/gtfs/build_gtfs.sh35# Check if required arguments are providedCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMservices/frontend/www-app/src/components/BaseMap.vue360 // This seems more robust than using maplibre's built-in trackResize.COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWservices/frontend/www-app/src/utils/format.ts87export function formatTimeTruncatingEmptyMinutes(CODE
LOW…vices/frontend/www-app/src/services/TravelmuxClient.ts435export function travelModeFromTravelmuxMode(mode: TravelmuxMode): TravelMode {CODE