Self-hostable maps stack, powered by OpenStreetMap.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 60 finding(s).
Are imports declared and package/API names verified? 17 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 77 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/_headway_version.sh | 1 | # Headway has basically two kinds of artifacts: | COMMENT |
| LOW | bin/_headway_version.sh | 21 | # A bump in the DATA tag pretty much always implies a bump in the CONTAINER | COMMENT |
| LOW | bin/_headway_version.sh | 41 | # vehicle-positions) keep the same schema. | COMMENT |
| LOW | bin/_headway_version.sh | 61 | # | COMMENT |
| LOW | bin/_headway_version.sh | 81 | # | COMMENT |
| LOW | bin/_panes.sh | 1 | # Run jobs in parallel, each with a live pane showing its latest output. | COMMENT |
| LOW | bin/_trace.sh | 1 | #!/bin/bash | COMMENT |
| LOW | dagger/pelias.go | 101 | // end reads the volume too, so it can hand back data from a run that no longer | COMMENT |
| LOW | dagger/pelias.go | 141 | } | COMMENT |
| LOW | dagger/main.go | 1 | // Headway mapping stack build system | COMMENT |
| LOW | dagger/main.go | 41 | // An Artifact is a build output together with the name it gets published | COMMENT |
| LOW | contrib/install_headway.debian.sh | 1 | #!/bin/bash | COMMENT |
| LOW | services/frontend/www-app/index.html | 1 | <!doctype html> | COMMENT |
| LOW | services/frontend/www-app/quasar.config.ts | 301 | // animations: 'all', // --- includes all animations | COMMENT |
| LOW | services/frontend/www-app/quasar.config.ts | 361 | // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron | COMMENT |
| LOW | services/frontend/www-app/postcss.config.js | 21 | // 1. yarn/npm install postcss-rtlcss | COMMENT |
| LOW | services/frontend/www-app/src/quasar.d.ts | 1 | /* eslint-disable */ | COMMENT |
| LOW | services/frontend/www-app/src/ui/ScaleControl.ts | 101 | ); | COMMENT |
| LOW | services/frontend/www-app/src/css/quasar.variables.scss | 1 | // Quasar SCSS (& Sass) Variables | COMMENT |
| LOW | …ices/frontend/www-app/src/utils/GeolocationPolyfill.ts | 21 | this.isRegistered, | COMMENT |
| LOW | services/frontend/www-app/src/components/SearchBox.vue | 321 | this.updateAutocomplete(); | COMMENT |
| LOW | services/travelmux/src/util/mod.rs | 61 | let distance = Haversine.distance(second_to_last, last); | COMMENT |
| LOW | services/travelmux/src/otp/gtfs_graphql.rs | 1 | //! Client for OTP's GTFS GraphQL API (`/otp/gtfs/v1`). | COMMENT |
| LOW | services/travelmux/src/otp/gtfs_graphql.rs | 801 | COMMENT | |
| LOW | services/travelmux/src/otp/schema.rs | 1 | //! Rust bindings for OTP's GTFS GraphQL schema. | COMMENT |
| LOW | services/travelmux/src/otp/otp_api.rs | 1 | //! Types describing the shape of an OTP trip plan. | COMMENT |
| LOW | services/travelmux/src/api/v6/osrm_api.rs | 361 | /// | COMMENT |
| LOW | services/travelmux/src/api/v6/osrm_api.rs | 381 | COMMENT | |
| LOW | services/travelmux/src/api/v6/osrm_api.rs | 401 | /// This maneuver type is called out separately so that the user may be able to proceed more confidently, without fe | COMMENT |
| LOW | services/travelmux/src/api/v6/osrm_api.rs | 421 | /// Indicates the exit maneuver from a roundabout. Will not appear in results unless you supply the roundabout_exits | COMMENT |
| LOW | services/travelmux/src/api/v6/osrm_api.rs | 441 | RoundaboutTurn, | COMMENT |
| LOW | services/travelmux/src/api/v6/osrm_api.rs | 461 | SlightRight, | COMMENT |
| LOW | services/travelmux/src/api/v6/osrm_api.rs | 501 | #[serde(rename_all = "camelCase")] | COMMENT |
| LOW | services/travelmux/src/api/v6/plan.rs | 341 | } | COMMENT |
| LOW | services/travelmux/src/api/v8/osrm_api.rs | 341 | } | COMMENT |
| LOW | services/travelmux/src/api/v8/osrm_api.rs | 381 | /// The exit index indicates the number of highway exits from the previous maneuver up to and including the exit tha | COMMENT |
| LOW | services/travelmux/src/api/v8/osrm_api.rs | 421 | /// | COMMENT |
| LOW | services/travelmux/src/api/v8/osrm_api.rs | 481 | #[serde(rename_all = "camelCase")] | COMMENT |
| LOW | services/travelmux/src/api/v8/vehicle_positions.rs | 41 | /// How many vehicles still short of the boarding stop to report. These are the ones that might | COMMENT |
| LOW | services/travelmux/src/api/v8/vehicle_positions.rs | 121 | /// isn't running right now" from "these codes died when the transit data was rebuilt". Both | COMMENT |
| LOW | services/travelmux/src/api/v8/vehicle_positions.rs | 181 | progress: f64, | COMMENT |
| LOW | services/travelmux/src/api/v8/vehicle_positions.rs | 201 | /// bracketing any instant is arithmetic rather than a search: | COMMENT |
| LOW | services/travelmux/src/api/v8/vehicle_positions.rs | 281 | Point::new(round(point.x()), round(point.y())) | COMMENT |
| LOW | services/travelmux/src/api/v8/vehicle_positions.rs | 481 | COMMENT | |
| LOW | services/travelmux/src/api/v7/osrm_api.rs | 341 | } | COMMENT |
| LOW | services/travelmux/src/api/v7/osrm_api.rs | 381 | /// The exit index indicates the number of highway exits from the previous maneuver up to and including the exit tha | COMMENT |
| LOW | services/travelmux/src/api/v7/osrm_api.rs | 421 | /// | COMMENT |
| LOW | services/travelmux/src/api/v7/osrm_api.rs | 481 | #[serde(rename_all = "camelCase")] | COMMENT |
| LOW | services/travelmux/src/valhalla/valhalla_api.rs | 101 | /// units depend on the request | COMMENT |
| LOW | services/gtfs/gtfout/src/feed_config.rs | 1 | //! Credentials for feeds that won't serve their GTFS without one. | COMMENT |
| LOW | services/gtfs/gtfout/src/bin/build-gtfs-index/main.rs | 61 | atlas: AtlasArgs, | COMMENT |
| LOW | services/gtfs/gtfout/src/atlas/dmfr.rs | 101 | /// The Onestop ID. | COMMENT |
| LOW | services/tileserver/maplibre-style/src/lib.rs | 1 | //! Builders for generating MapLibre style documents. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dagger/main.go | 325 | var mapArtifactKeys = []string{"osm", "pmtiles", "valhalla", "elasticsearch", "placeholder", "terrain", "landcover"} | CODE |
| LOW | dagger/main.go | 423 | if selected("elasticsearch", "placeholder") { | CODE |
| LOW | builds/planet/pelias.json | 25 | "placeholder": { | CODE |
| LOW | builds/planet/artifacts.json | 19 | "placeholder": "maps-earth-planet-v1.261019-placeholder-2026-10-24-15dcb169.tar.zst", | CODE |
| LOW | …planet/k8s/latest/pelias-elasticsearch-deployment.yaml | 72 | "placeholder": { | CODE |
| LOW | builds/planet/k8s/latest/pelias-api-deployment.yaml | 53 | "placeholder": { | CODE |
| LOW | …s/planet/k8s/latest/pelias-placeholder-deployment.yaml | 53 | "placeholder": { | CODE |
| LOW | …ds/planet/k8s/dev/pelias-elasticsearch-deployment.yaml | 72 | "placeholder": { | CODE |
| LOW | builds/planet/k8s/dev/pelias-api-deployment.yaml | 53 | "placeholder": { | CODE |
| LOW | …ilds/planet/k8s/dev/pelias-placeholder-deployment.yaml | 53 | "placeholder": { | CODE |
| LOW | builds/Seattle/pelias.json | 26 | "placeholder": { | CODE |
| LOW | builds/Seattle/artifacts.json | 11 | "placeholder": "Seattle-placeholder-2026-08-20-f5e32801.tar.zst", | CODE |
| LOW | …s/Seattle/k8s/dev/pelias-elasticsearch-deployment.yaml | 73 | "placeholder": { | CODE |
| LOW | builds/Seattle/k8s/dev/pelias-api-deployment.yaml | 54 | "placeholder": { | CODE |
| LOW | …lds/Seattle/k8s/dev/pelias-placeholder-deployment.yaml | 54 | "placeholder": { | CODE |
| LOW | builds/Bogota/artifacts.json | 11 | "placeholder": "Bogota-placeholder-2026-08-19-c9f4e8c1.tar.zst", | CODE |
| LOW | services/pelias/generate_config/src/defaultConfig.json | 22 | "placeholder": { "url": "http://pelias-placeholder:4100" }, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integration/_test-lib.sh | 15 | # Check if jq is available | COMMENT |
| LOW | tests/integration/_test-lib.sh | 36 | # Check if valid JSON (if validations exist) | COMMENT |
| LOW | services/travelmux/init.sh | 8 | # Check if elevation data already exists | COMMENT |
| LOW | services/gtfs/build_gtfs.sh | 35 | # Check if required arguments are provided | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | services/frontend/www-app/src/components/BaseMap.vue | 360 | // This seems more robust than using maplibre's built-in trackResize. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | services/frontend/www-app/src/utils/format.ts | 87 | export function formatTimeTruncatingEmptyMinutes( | CODE |
| LOW | …vices/frontend/www-app/src/services/TravelmuxClient.ts | 435 | export function travelModeFromTravelmuxMode(mode: TravelmuxMode): TravelMode { | CODE |