AI Slop Code Risk Monitor

chartbrew/chartbrew

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

Open-source reporting platform to build and share live dashboards from APIs, SQL and NoSQL databases, with powerful AI assistant, scheduling, and embeddable charts 📈📊

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for chartbrew/chartbrew, a JavaScript project with 4,064 GitHub stars. SynthScan examined 214,613 lines of code across 864 source files, recording 205 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
4.1K
Stars
JavaScript
Language
214.6K
Lines of Code
864
Files
205
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 4.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 4.4/100 · LOW

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

PR Review Velocity Impact 5.2/100 · LOW

Which changes need focused human review? 205 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 0MEDIUM 2LOW 201

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 205 distinct pattern matches across 7 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 Identifiers189 hits · 192 pts
SeverityFileLineSnippetContext
LOWserver/visualization/tabular.js29function applyLegacyTabularOptions(rows, options = {}) {CODE
LOWserver/visualization/spec.js61function normalizeVisualizationSpec(input = {}) {CODE
LOWserver/visualization/spec.js107function validateVisualizationSpec(input, options = {}) {CODE
LOWserver/visualization/filterDatasets.js75function filterVisualizationDatasets({CODE
LOWserver/visualization/legacyChartToVisualization.js182function legacyChartToVisualization(chartValue) {CODE
LOWserver/visualization/dateField.js5function getVisualizationTimeField(visualization, bindingId) {CODE
LOWserver/visualization/dateField.js22function getPreferredSchemaDateField(fieldsSchema = {}) {CODE
LOWserver/visualization/remapBindings.js12function remapVisualizationBindings(visualization, sourceConfigs = [], createdConfigs = []) {CODE
LOWserver/visualization/legacyVisualizationSync.js49function isLegacyOwnedVisualization(visualization) {CODE
LOWserver/visualization/compatibilityUpdates.js164function applyChartCompatibilityUpdate(visualization, data = {}) {CODE
LOWserver/visualization/compatibilityUpdates.js234function applyCdcCompatibilityUpdate(visualization, bindingId, data = {}) {CODE
LOWserver/visualization/compilers/chartJsCartesian.js155function buildAvailableSeriesMetadata(frame, visualization) {CODE
LOWserver/tests/unit/sourceAiHarness.test.js92function expectDataRequestContract(sourceId, plan) {CODE
LOWserver/tests/unit/sourceAiHarness.test.js120function expectChartDatasetConfigContract({ chartType, chartDatasetConfig, expected = {} }) {CODE
LOWserver/tests/unit/sourceAiHarness.test.js346function setupCustomerioToolRuntime() {CODE
LOWserver/tests/unit/sourceAiHarness.test.js372function setupFirestoreToolRuntime() {CODE
LOWserver/tests/unit/sourceAiHarness.test.js384function setupGoogleAnalyticsToolRuntime() {CODE
LOWserver/tests/unit/sourceAiHarness.test.js440function setupRealtimeDbToolRuntime() {CODE
LOWserver/tests/unit/sourceAiHarness.test.js446function setupStripeOfficialToolRuntime() {CODE
LOWserver/tests/unit/sourceAiHarness.test.js604function getQueryGenerationConnection(fixture) {CODE
LOWserver/tests/unit/apiProtocol.pagination.test.js13function loadApiProtocolWithSafeRequest(safeRequestMock) {CODE
LOWserver/tests/unit/projectAuthorization.test.js41function getProjectPermissionHandler(method, path) {CODE
LOWserver/tests/unit/sqlProtocol.test.js13function requireSqlProtocolWithConnection(fakeConnection) {CODE
LOW…rver/tests/integration/chartRoute.publicAccess.test.js20function generateProjectShareToken(projectId, sharePolicyId) {CODE
LOWserver/tests/integration/user.management.test.js14async function getRestrictiveForeignKeyTables(models, referencedTable) {CODE
LOW…r/tests/integration/sharePolicyRoute.ownership.test.js17async function seedPolicyOwnershipFixtures(models) {CODE
LOW…tests/integration/projectRoute.dashboardAccess.test.js19function generateProjectShareToken(projectId, sharePolicyId) {CODE
LOW…tests/integration/projectRoute.dashboardAccess.test.js27async function seedDashboardAccessFixtures(models) {CODE
LOWserver/tests/integration/updateRunRoute.test.js82function createAuthorizationHeader(token) {CODE
LOWserver/tests/integration/templateRoute.security.test.js96function createAuthorizationHeader(token) {CODE
LOWserver/tests/helpers/testApp.js52export async function createTestAppWithUserRoutes() {CODE
LOW…rver/models/scripts/backfillVisualizationDateFields.js13function getVisualizationTimeFields(value) {CODE
LOW…rver/models/scripts/backfillVisualizationDateFields.js23async function backfillVisualizationDateFields(queryInterface, options = {}) {CODE
LOWserver/models/scripts/migrateChartVisualization.js136async function migrateChartVisualization(queryInterface, options = {}) {CODE
LOWserver/scripts/auditVisualizationMigration.js4async function auditVisualizationMigration() {CODE
LOWserver/sources/runSourceDataRequest.js5function getSourceDataRequestRunner(connection) {CODE
LOWserver/sources/sourceAvailability.js57function assertSourceServerEnabled(source, env = process.env) {CODE
LOWserver/sources/sourceAvailability.js67function serializeSourceDisabledError(error) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js802function getSubscriptionItemDiscounts(item) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js849function applySubscriptionDiscounts(amount, subscription, snapshot) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js893function wasSubscriptionMrrActiveAt(subscription, snapshot) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js908function wasSubscriptionCanceledDuring(subscription, period) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js913function getSubscriptionPositiveMrrStart(subscription) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js932function getNewActiveCustomerMrrDuring(subscriptions, period, startingCustomerMrr) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js971async function fetchSubscriptionsForCompiledMetric(connection, config) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js994function calculateRecurringMetricRows(subscriptions, config, metricKey) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js1082function calculateActiveSubscriberRows(subscriptions, config) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js1143function calculateCustomerLifetimeValueRows(subscriptions, config) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js1167async function calculateCustomerLifetimeValue(connection, config) {CODE
LOW…rces/plugins/stripeOfficial/stripeOfficial.protocol.js1183async function calculateRecurringCompiledMetric(connection, config, metricKey) {CODE
LOWserver/sources/plugins/firestore/firestore.variables.js6function convertFirestoreVariableValue(value, binding) {CODE
LOWserver/sources/plugins/firestore/firestore.protocol.js62function createFirestoreConnection(connection, dataRequestId) {CODE
LOWserver/sources/plugins/firestore/firestore.protocol.js107async function mergeResponseConfiguration(dataRequest, responseData) {CODE
LOWserver/sources/plugins/mongodb/mongodb.protocol.js21function getMongoConnectionOptions(options = {}) {CODE
LOWserver/sources/plugins/jira/jira.protocol.js242function getDefaultDoneStatusLookup() {CODE
LOWserver/sources/plugins/jira/jira.protocol.js265function addBoardDoneColumnStatuses(lookup, boardConfiguration = {}) {CODE
LOWserver/sources/plugins/jira/jira.protocol.js422function transformCreatedResolvedTrend(rows, transform = {}) {CODE
LOWserver/sources/plugins/jira/jira.protocol.js491function shouldDetectFieldMappings(fieldMappings = {}) {CODE
LOWserver/sources/plugins/jira/jira.protocol.js495async function getBoardEstimationFieldMapping(connection, config = {}, boardConfiguration = null) {CODE
LOWserver/sources/plugins/jira/jira.protocol.js691function getCreatedResolvedTrendConfigs(config = {}) {CODE
129 more matches not shown…
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICAL…rver/tests/integration/chartRoute.publicAccess.test.js159 expect(response.body.chartData.data.datasets.map((dataset) => dataset.label))CODE
CRITICALserver/charts/AxisChart.js574 this.chart.chartData.data.datasets.map((dataset) => {CODE
Fake / Example Data9 hits · 9 pts
SeverityFileLineSnippetContext
LOWserver/tests/unit/googleAnalyticsConnection.test.js116 get: vi.fn().mockResolvedValue({ data: { email: "user@example.com" } }),CODE
LOWserver/tests/unit/snapshotChannels.test.js36 expect(getSnapshotEmailRecipients(schedule)).toEqual(["user@example.com"]);CODE
LOWserver/tests/unit/snapshotChannels.test.js43 customEmails: ["user@example.com"],CODE
LOWserver/tests/unit/authHelpers.test.js78 expect(decoded.email).toBe("admin@example.com");CODE
LOWserver/tests/unit/jiraAi.test.js877 displayName: "Jane Doe",CODE
LOWserver/tests/unit/advisoryTriage.test.js110 db.User.findOne = async () => (${failure === "missing" ? "null" : '{ id: 1, email: "user@example.com" }'});CODE
LOWserver/tests/unit/advisoryTriage.test.js111 UserController.prototype.update = async () => ({ id: 1, email: "user@example.com" });CODE
LOWserver/tests/unit/advisoryTriage.test.js158 const user = { id: 1, email: "user@example.com", password: await bcrypt.hash("old-password", 4), sessionVersion: 0 }CODE
LOWserver/tests/helpers/authHelpers.js45 email: "admin@example.com",CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWchangeVersion.sh3# Check if version parameter is providedCOMMENT
LOW.github/workflows/integration.yml127 # Check if any test containers are left runningCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMclient/src/containers/Ai/AiModal.jsx217 // This allows seamless reconnection when modal reopensCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMserver/modules/ai/orchestrator/orchestrator.js1169 - **NEVER place charts in dashboards just because a dashboard was mentioned earlier**CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWserver/modules/accessControl.js501 //COMMENT