A visualization grammar.
This report summarizes scanner evidence for vega/vega, a JavaScript project with 12,032 GitHub stars. SynthScan examined 628,032 lines of code across 1616 source files, recording 35 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.1 (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? 30 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 7 finding(s).
Which changes need focused human review? 35 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 35 distinct pattern matches across 8 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 | docs/tutorials/airports/index.md | 31 | ## Step 1: Meet the Data | COMMENT |
| LOW | docs/tutorials/airports/index.md | 66 | ## Step 2: Visualization Scaffolding | COMMENT |
| LOW | docs/tutorials/airports/index.md | 97 | ## Step 3: Draw a U.S. State Map | COMMENT |
| LOW | docs/tutorials/airports/index.md | 185 | ## Step 4: Plot All the Airports | COMMENT |
| LOW | docs/tutorials/airports/index.md | 253 | ## Step 5: Filter the Airports by Traffic | COMMENT |
| LOW | docs/tutorials/airports/index.md | 317 | ## Step 6: Size the Airports by Traffic | COMMENT |
| LOW | docs/tutorials/airports/index.md | 364 | ## Step 7: Show Airport Name on Mouse Hover | COMMENT |
| LOW | docs/tutorials/airports/index.md | 432 | ## Step 8: Sort the Airports by Size | COMMENT |
| LOW | docs/tutorials/airports/index.md | 479 | ## Step 9: Plot the Connections among Airports | COMMENT |
| LOW | docs/tutorials/airports/index.md | 540 | ## Step 10: Show Connections on Mouse Hover | COMMENT |
| LOW | docs/tutorials/airports/index.md | 569 | ## Step 11: Add Mouse Acceleration via Voronoi Cells | COMMENT |
| LOW | docs/tutorials/airports/index.md | 650 | ## Step 12: One Last Thing... | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/vega-encode/src/Scale.js | 171 | // perform 'nice' adjustment as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/vega-expression/src/parser.js | 194 | function scanUnicodeCodePointEscape() { | CODE |
| LOW | packages/vega-expression/src/parser.js | 912 | function finishConditionalExpression(test, consequent, alternate) { | CODE |
| LOW | packages/vega-expression/src/parser.js | 1256 | function parseLeftHandSideExpressionAllowCall() { | CODE |
| LOW | packages/vega-expression/src/parser.js | 1446 | function parseConditionalExpression() { | CODE |
| LOW | packages/vega-format/src/number.js | 101 | export function resetNumberFormatDefaultLocale() { | CODE |
| LOW | packages/vega-format/src/number.js | 112 | export function numberFormatDefaultLocale(definition) { | CODE |
| LOW | packages/vega-format/src/time.js | 69 | export function resetTimeFormatDefaultLocale() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/vega-typings/tests/spec/invalid/signal-push.ts | 1 | import { Spec } from 'vega'; | COMMENT |
| LOW | packages/vega-typings/tests/spec/invalid/signal-push.ts | 21 | // ] | COMMENT |
| LOW | packages/vega-typings/tests/spec/invalid/signal-push.ts | 41 | // } | COMMENT |
| LOW | packages/vega-typings/tests/spec/invalid/signal-push.ts | 61 | // ] | COMMENT |
| LOW | packages/vega-typings/tests/spec/invalid/signal.ts | 21 | COMMENT | |
| LOW | packages/vega-typings/tests/spec/invalid/signal.ts | 121 | spec = { signals: [{ name: 'foo', on: [{ events: 'pointerdown', update: '1', force: {} }] }] }; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/docs/marks/path.vg.json | 9 | "bind": {"input": "text", "placeholder": "SVG Path String"} }, | CODE |
| LOW | docs/examples/job-voyager.vg.json | 19 | "bind": {"input": "text", "placeholder": "search", "autocomplete": "off"} | CODE |
| LOW | packages/vega-scenegraph/test/schema-test.js | 76 | {marktype: 'path', items: [{path: 'lorem ipsum'}]}, | CODE |
| LOW | packages/vega/test/specs-valid/jobs.vg.json | 18 | "bind": {"input": "text", "placeholder": "search", "autocomplete": "off"} | CODE |
| LOW | packages/vega-view/test/bind-test.js | 37 | t.equal(input.getAttribute('placeholder'), 'Search'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/examples/line-chart.md | 9 | Line charts are used to depict changing values, with line slopes conveying rates of change. Different interpolators chan | CODE |
| MEDIUM | docs/tutorials/airports/index.md | 14 | 2. [Visualization Scaffolding](#visualization-scaffolding) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 18151 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/examples/serpentine-timeline.vg.json | 3 | "description": "a serpentine timeline. The serpentine shape can be an option for instances where an oblong canvas is | CODE |