AI Slop Code Risk Monitor

vega/vega-lite

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

A concise grammar of interactive graphics, built on Vega.

0.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for vega/vega-lite, a TypeScript project with 5,539 GitHub stars. SynthScan examined 294,883 lines of code across 1946 source files, recording 101 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.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.

0.4
Adjusted Signal
0.4
Raw Pattern Score
100%
Time Factor
2026-10-28
Last Push
5.5K
Stars
TypeScript
Language
294.9K
Lines of Code
1.9K
Files
101
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 1.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 1.6/100 · LOW

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

PR Review Velocity Impact 2.1/100 · LOW

Which changes need focused human review? 101 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 2HIGH 1MEDIUM 2LOW 96

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 101 distinct pattern matches across 9 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.

Hyper-Verbose Identifiers90 hits · 95 pts
SeverityFileLineSnippetContext
LOW⚡test/util.ts51export function parseUnitModelWithScaleAndSelection(spec: TopLevelNormalizedUnitSpecForTest) {CODE
LOW⚡test/util.ts58export function parseUnitModelWithScaleExceptRange(spec: TopLevelNormalizedUnitSpecForTest) {CODE
LOW⚡test/util.ts64export function parseUnitModelWithScaleAndLayoutSize(spec: TopLevelNormalizedUnitSpecForTest) {CODE
LOW⚡test/util.ts70export function parseModelWithScaleAndLayoutSize(spec: TopLevelSpec) {CODE
LOWtest/compile/scale/domain.test.ts15 function testParseDomainForChannel(model: UnitModel, channel: ScaleChannel) {CODE
LOWtest/compile/data/bin.test.ts35function makeMovieExampleWithSelection(t: BinTransform) {CODE
LOWsrc/scale.ts857export function channelScalePropertyIncompatability(channel: Channel, propName: keyof Scale): string {CODE
LOWsrc/timeunit.ts208export function getLocalTimeUnitFromUTCTimeUnit(t: UtcTimeUnit): LocalTimeUnit {CODE
LOWsrc/timeunit.ts345export function timeUnitSpecifierExpression(timeUnit: TimeUnit) {CODE
LOWsrc/channeldef.ts1377export function isFieldOrDatumDefForTimeFormat(fieldOrDatumDef: FieldDef<string> | DatumDef): boolean {CODE
LOWsrc/channel.ts110export function getPositionChannelFromLatLong(channel: GeoPositionChannel): PositionChannel {CODE
LOWsrc/channel.ts364export function getMainChannelFromOffsetChannel(channel: OffsetScaleChannel): PositionScaleChannel {CODE
LOWsrc/channel.ts463export function isNonPositionScaleChannel(channel: Channel): channel is NonPositionScaleChannel {CODE
LOWsrc/util.ts322export function accessWithDatumToUnescapedPath(unescapedPath: string) {CODE
LOWsrc/util.ts327export function unescapeSingleQuoteAndPathDot(escapedPath: string) {CODE
LOWsrc/encoding.ts411export function extractTransformsFromEncoding(oldEncoding: Encoding<any>, config: Config) {CODE
LOWsrc/config.ts781function redirectConfigToStyleConfig(CODE
LOWsrc/aggregate.ts81export function isParameterizedAggregateDef(a: Aggregate | string): a is ParameterizedAggregateDef {CODE
LOWsrc/spec/toplevel.ts121export function extractTopLevelProperties(t: TopLevelProperties, includeParams: boolean) {CODE
LOWsrc/compositemark/errorbar.ts199function errorBarOrientAndInputType(CODE
LOWsrc/compositemark/errorbar.ts306function errorBarIsInputTypeAggregatedUpperLower(encoding: ErrorEncoding<string>): boolean {CODE
LOWsrc/compositemark/errorbar.ts310function errorBarIsInputTypeAggregatedError(encoding: ErrorEncoding<string>): boolean {CODE
LOWsrc/normalize/pathoverlay.ts23function dropLineAndPointFromConfig(config: Config<SignalRef>) {CODE
LOWsrc/normalize/repeater.ts77function replaceRepeaterInFieldDef(fieldDef: FieldDef<Field>, repeater: RepeaterValue) {CODE
LOWsrc/normalize/repeater.ts98function replaceRepeaterInFieldOrDatumDef(def: FieldDef<Field> | DatumDef<Field>, repeater: RepeaterValue) {CODE
LOWsrc/normalize/repeater.ts110function replaceRepeaterInChannelDef(channelDef: ChannelDef<Field>, repeater: RepeaterValue) {CODE
LOWsrc/compile/common.ts76export function exprFromValueRefOrSignalRef(ref: VgValueRef | SignalRef): string {CODE
LOWsrc/compile/legend/assemble.ts60function legendsAreMergeCompatible(model: Model, channelA: ScaleChannel, channelB: ScaleChannel): boolean {CODE
LOWsrc/compile/legend/assemble.ts75function extractDiscreteValuesFromDomain(domain: VgDomain): (string | number | boolean)[] | null {CODE
LOWsrc/compile/legend/assemble.ts98function getDiscreteValuesForChannel(model: Model, channel: ScaleChannel): (string | number | boolean)[] | null {CODE
LOWsrc/compile/legend/assemble.ts107function unionDiscreteValuesForChannels(CODE
LOWsrc/compile/layoutsize/component.ts19export function getSizeTypeFromLayoutSizeType(layoutSizeType: LayoutSizeType): 'width' | 'height' {CODE
LOWsrc/compile/layoutsize/parse.ts42function parseNonUnitLayoutSizeForChannel(model: Model, layoutSizeType: LayoutSizeType) {CODE
LOWsrc/compile/scale/range.ts469export function defaultContinuousToDiscreteCount(CODE
LOWsrc/compile/scale/properties.ts197export function parseNonUnitScaleProperty(model: Model, property: keyof (Scale | ScaleComponentProps)) {CODE
LOWsrc/compile/scale/domain.ts150function normalizeUnaggregatedDomain(CODE
LOWsrc/compile/scale/domain.ts227function convertDomainIfItIsDateTime(CODE
LOWsrc/compile/mark/mark.ts96function getGroupsForStackedBarWithCornerRadius(model: UnitModel, cornerRadiusEnd: CornerRadiusEnd | undefined) {CODE
LOWsrc/compile/mark/encode/corner-radius.ts51export function cornerRadiusEndForStackedBar(CODE
LOWsrc/compile/mark/encode/valueref.ts40export function midPointRefWithPositionInvalidTest(CODE
LOWsrc/compile/mark/encode/valueref.ts69export function valueRefForFieldOrDatumDef(CODE
LOWsrc/compile/mark/encode/valueref.ts284export function widthHeightValueOrSignalRef(channel: Channel, value: Value | SignalRef) {CODE
LOWsrc/compile/invalid/datasources.ts17export function getDataSourcesForHandlingInvalidValues({CODE
LOWsrc/compile/invalid/datasources.ts53export function getScaleDataSourceForHandlingInvalidValues(CODE
LOWsrc/compile/axis/config.ts11function getAxisConfigFromConfigTypes(CODE
LOWsrc/compile/selection/assemble.ts44export function assembleUnitSelectionSignals(model: UnitModel, signals: Signal[]) {CODE
LOWsrc/compile/selection/assemble.ts125export function assembleUnitSelectionData(model: UnitModel, data: readonly VgData[]): VgData[] {CODE
LOWsrc/compile/selection/assemble.ts183export function assembleUnitSelectionMarks(model: UnitModel, marks: any[]): any[] {CODE
LOWsrc/compile/selection/assemble.ts195export function assembleLayerSelectionMarks(model: LayerModel, marks: any[]): any[] {CODE
LOWsrc/compile/selection/assemble.ts205export function assembleSelectionScaleDomain(CODE
LOWsrc/compile/selection/index.ts116export function disableDirectManipulation(selCmpt: SelectionComponent, selDef: SelectionParameter<'point'>) {CODE
LOWsrc/compile/data/timeunit.ts38function isTimeUnitTransformComponent(timeUnitComponent: TimeUnitComponent): timeUnitComponent is TimeUnitTransform {CODE
LOWsrc/compile/data/facet.ts24export function isCrossedFacetWithCustomSort(facet: Pick<EncodingFacetMapping<string, SignalRef>, 'row' | 'column'>) {CODE
LOWsrc/compile/data/formatparse.ts74export function getImplicitFromFilterTransform(transform: FilterTransform) {CODE
LOWsrc/compile/data/optimize.ts48function optimizationDataflowHelper(dataComponent: DataComponent, model: Model, firstPass: boolean) {CODE
LOWsrc/compile/header/assemble.ts79export function defaultHeaderGuideBaseline(angle: number, channel: FacetChannel) {CODE
LOWsrc/compile/projection/assemble.ts14export function assembleProjectionsForModelAndChildren(model: Model): VgProjection[] {CODE
LOWsrc/compile/projection/assemble.ts20export function assembleProjectionForModel(model: Model): VgProjection[] {CODE
LOW⚡src/log/message.ts114export function columnsNotSupportByRowCol(type: 'facet' | 'repeat') {CODE
LOW⚡src/log/message.ts123export function selectionAsScaleDomainWithoutField(field: string) {CODE
30 more matches not shown…
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALtest/compile/data/formatparse.test.ts119 expect(model.child.component.data.ancestorParse.combine()).toEqual({CODE
CRITICALsrc/compile/data/parse.ts326 !newData && model.parent ? model.parent.component.data.ancestorParse.clone() : new AncestorParse();CODE
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsite/docs/mark/area.md66Instead of using a single color as the fill color of the area, we can set it to a [gradient]({{site.baseurl}}/docs/typesCODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtest/compile/mark/tick.test.ts6// (except the scaffold labels() method)COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/check-npm.sh5# Check if all required files are hereCOMMENT
LOWscripts/build-examples.sh9# Check if param is providedCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpackage-lock.json8661 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/specs/param_search_input.vl.json22 "placeholder": "Car model",CODE
LOWexamples/compiled/param_search_input.vg.json25 "bind": {"input": "search", "placeholder": "Car model", "name": "Search"}CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest/compile/selection/timeunit.test.ts11function getData(model: Model) {CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/compile/compile.ts101COMMENT