AI Slop Code Risk Monitor

didi/LogicFlow

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

A flow chart editing framework focus on business customization. 专注于业务自定义的流程图编辑框架,支持实现脑图、ER图、UML、工作流等各种图编辑场景。

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for didi/LogicFlow, a TypeScript project with 11,763 GitHub stars. SynthScan examined 161,597 lines of code across 1178 source files, recording 111 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.9 (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.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-24
Last Push
11.8K
Stars
TypeScript
Language
161.6K
Lines of Code
1.2K
Files
111
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 3.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 4.2/100 · LOW

Which changes need focused human review? 111 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 3HIGH 0MEDIUM 0LOW 108

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 111 distinct pattern matches across 6 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 Block71 hits · 71 pts
SeverityFileLineSnippetContext
LOWsites/docs/.dumirc.ts261 companyGallery: {COMMENT
LOWsites/docs/.dumirc.ts281 // img: 'https://cdn.jsdelivr.net/gh/Logic-Flow/static@latest/docs/homepage/MTLogo.svg',COMMENT
LOWsites/docs/.dumirc.ts301 // img: 'https://cdn.jsdelivr.net/gh/Logic-Flow/static@latest/docs/homepage/HXLogo.svg',COMMENT
LOWsites/docs/docs/api/type/MainTypes.zh.md361// x: 100,COMMENT
LOW…s/docs/examples/extension/native/demo/dynamicGroup.tsx41 icon: 'https://cdn.jsdelivr.net/gh/Logic-Flow/static@latest/docs/examples/extension/group/circle.png',COMMENT
LOWsites/docs/examples/graph/basic/demo/graph.tsx501 // isSilentMode: true,COMMENT
LOWsites/docs/examples/graph/basic/demo/graph.tsx521 // callback: () => {COMMENT
LOWsites/docs/examples/graph/basic/demo/graph.tsx541 // size: 1,COMMENT
LOWsites/docs/examples/showcase/bussiness/demo/approve.tsx541// .node-panel {COMMENT
LOWsites/docs/examples/showcase/bussiness/demo/approve.tsx561// .node-jugement .node-label {COMMENT
LOWsites/docs/examples/showcase/bussiness/demo/approve.tsx581// .property-panel-footer .property-panel-footer-hide {COMMENT
LOW…mples/src/components/nodes/freeAnchor-circle/index.tsx61 // canvasOverlayPosition: { x, y },COMMENT
LOW…feature-examples/src/pages/nodes/custom/rect/index.tsx21 },COMMENT
LOW…s/feature-examples/src/pages/nodes/custom/pool/data.ts1// const data = {COMMENT
LOW…s/feature-examples/src/pages/nodes/custom/pool/data.ts21// width: 300,COMMENT
LOWexamples/feature-examples/src/pages/graph/index.tsx61 // },COMMENT
LOWexamples/feature-examples/src/pages/graph/index.tsx81 // },COMMENT
LOWexamples/feature-examples/src/pages/graph/index.tsx101// lineHeight: 1.5,COMMENT
LOWexamples/feature-examples/src/pages/graph/index.tsx621 container: containerRef.current as HTMLElement,COMMENT
LOW…/feature-examples/src/pages/extensions/group/index.tsx101 y: 400,COMMENT
LOWexamples/feature-examples/src/pages/theme/config.ts41 },COMMENT
LOWexamples/feature-examples/src/pages/theme/config.ts61 // radius: 20,COMMENT
LOWexamples/feature-examples/src/pages/theme/config.ts101 startArrowType: 'hollow',COMMENT
LOWexamples/feature-examples/src/pages/theme/config.ts121 // type: 'polyline',COMMENT
LOW…ure-examples/src/pages/edges/custom/polyline/index.tsx181 // },COMMENT
LOW…ure-examples/src/pages/edges/custom/polyline/index.tsx201 // x: 580,COMMENT
LOW…ure-examples/src/pages/edges/custom/polyline/index.tsx221 // ],COMMENT
LOW…ure-examples/src/pages/edges/custom/polyline/index.tsx241 // y: 197,COMMENT
LOW…ure-examples/src/pages/edges/custom/polyline/index.tsx261 // ],COMMENT
LOW…ure-examples/src/pages/edges/custom/polyline/index.tsx281 // // y: 458,COMMENT
LOW…ure-examples/src/pages/edges/custom/polyline/index.tsx301 // // ],COMMENT
LOW…ure-examples/src/pages/edges/custom/polyline/index.tsx321 // // y: 114,COMMENT
LOW…ure-examples/src/pages/edges/custom/polyline/index.tsx341 // // {COMMENT
LOWexamples/feature-examples/src/pages/grid/index.tsx21 // circle: {COMMENT
LOWexamples/material-ui-demo/src/serviceWorker.js1// This optional code is used to register a service worker.COMMENT
LOW…ples/vue3-app/src/components/chart/nodes/FirstGroup.ts1import { GroupNode, GroupNodeModel } from '@logicflow/extension'COMMENT
LOW…les/vue3-app/src/components/chart/nodes/MiddleGroup.ts1import { GroupNode, GroupNodeModel } from '@logicflow/extension'COMMENT
LOW…es/vue3-app/src/components/chart/nodes/LandingGroup.ts1import { GroupNode, GroupNodeModel } from '@logicflow/extension'COMMENT
LOWexamples/vue3-app/src/views/LogicFlowView.vue121 const lf = new LogicFlow({COMMENT
LOWexamples/vue3-app/src/views/LogicFlowView.vue141 allowResize: false,COMMENT
LOWexamples/vue3-app/src/views/PerformanceNode.vue161// const timer = setInterval(() => {COMMENT
LOWexamples/vue3-app/src/views/LFChartView.vue61 properties: {COMMENT
LOWexamples/vue3-app/src/views/LFChartView.vue81 // x: 0,COMMENT
LOWexamples/vue3-app/src/views/LFChartView.vue101 // x: 0,COMMENT
LOWexamples/vue3-app/src/views/LFChartView.vue121 // type: 'defaultNode',COMMENT
LOWexamples/next-app/src/app/page.tsx141 // isSilentMode: true,COMMENT
LOWexamples/next-app/src/app/page.tsx161 // const r = window.confirm("确定要删除吗?");COMMENT
LOW…r-examples/src/pages/extension/dynamic-group/index.tsx301 // 'properties': {},COMMENT
LOW…r-examples/src/pages/extension/dynamic-group/index.tsx321 // 'text': {COMMENT
LOW…r-examples/src/pages/extension/dynamic-group/index.tsx341 // '37869799-e2ee-45b8-9150-b38ccc8e65d3',COMMENT
LOW…r-examples/src/pages/extension/dynamic-group/index.tsx361 // 'x': 552,COMMENT
LOW…ples/engine-browser-examples/src/pages/graph/index.tsx161 container: containerRef.current as HTMLElement,COMMENT
LOW…ples/engine-browser-examples/src/pages/graph/index.tsx181 keyboard: {COMMENT
LOW…/engine-browser-examples/src/pages/engine/Recorder.tsx41 // 获取执行记录COMMENT
LOW…/engine-browser-examples/src/pages/engine/Recorder.tsx61 // expect(executionIds.length).toBe(1);COMMENT
LOWpackages/react-node-registry/src/view.ts161COMMENT
LOWpackages/react-node-registry/src/view.ts181 // }COMMENT
LOWpackages/core/src/util/node.ts481// Text 相关节点工具函数COMMENT
LOWpackages/core/src/history/index.ts81 this.undos.push(model.modelToGraphData())COMMENT
LOW…es/extension/__test__/bpmn-elements/definition.test.ts21COMMENT
11 more matches not shown…
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICAL…kages/extension/src/bpmn-elements/presets/Pool/Lane.ts60 const groupId = this.props.graphModel.group.nodeGroupMap.get(id)CODE
CRITICAL…kages/extension/src/bpmn-elements/presets/Pool/Lane.ts107 const groupId = this.props.graphModel.group.nodeGroupMap.get(id)CODE
CRITICAL…kages/extension/src/bpmn-elements/presets/Pool/Lane.ts154 const groupId = this.props.graphModel.group.nodeGroupMap.get(id)CODE
Hyper-Verbose Identifiers28 hits · 28 pts
SeverityFileLineSnippetContext
LOW…specs/2026-06-26-dynamic-group-resize-bounds-design.md130export function isGroupBoundsContainsChildren(CODE
LOW…ocs/src/tutorial/extension/proximity-connect/index.tsx88export default function ProximityConnectExtension() {CODE
LOW…mples/src/pages/extensions/proximity-connect/index.tsx110export default function ProximityConnectExtension() {CODE
LOW…ples/src/pages/edges/custom/rounded-rect-nan/index.tsx178export default function RoundedRectNaNReproduction() {CODE
LOW…ples/src/pages/edges/custom/animate-polyline/index.tsx15export default function customAnimatePolylineEdge() {CODE
LOW…gression/src/components/LayoutFormatEscapeControls.tsx28export default function LayoutFormatEscapeControls({ lf, loadGraph }: Props) {CODE
LOW…dynamic-group-regression/src/scenarios/resizeBounds.ts101export function syncResizeBoundsMembership(lf: LogicFlow) {CODE
LOWpackages/core/src/algorithm/rotate.ts25export function calculatePointAfterRotateAngle(CODE
LOWpackages/extension/__test__/dynamic-group/fixtures.ts38export function graphWithSingleExternalEdge() {CODE
LOWpackages/extension/__test__/dynamic-group/fixtures.ts69export function graphWithGatewayDualBranch() {CODE
LOW…on/__test__/dynamic-group/auto-resize-collapse.test.ts15function simulateAutoResizeAfterDrag(CODE
LOW…es/extension/__test__/dynamic-group/membership.test.ts37function graphLockedGroupWithChild() {CODE
LOW…extension/__test__/dynamic-group/resize-bounds.test.ts16function simulateAutoResizeAfterDrag(CODE
LOWpackages/extension/__test__/pool/fixtures.ts25export function createHorizontalPoolGraph() {CODE
LOWpackages/extension/__test__/pool/fixtures.ts127export function createPoolGraphWithNodeInLane() {CODE
LOWpackages/extension/src/tools/label/mediumEditor.ts42export function createColorPickerButtonClass(MediumEditor?: any) {CODE
LOWpackages/extension/src/NodeResize/control/Util.ts130export function getEllipseResizeEdgePoint({ point, beforeNode, afterNode }) {CODE
LOWpackages/extension/src/NodeResize/control/Util.ts168export function getDiamondResizeEdgePoint({ point, beforeNode, afterNode }) {CODE
LOWpackages/extension/src/turbo-adapter/index.ts39function convertNodeToTurboElement(node) {CODE
LOWpackages/extension/src/turbo-adapter/index.ts58function convertEdgeToTurboElement(edge) {CODE
LOWpackages/extension/src/dynamic-group/utils.ts89export function isGroupBoundsContainsChildren(CODE
LOWpackages/extension/src/dynamic-group/utils.ts175export function getTitleForeignObjectRect(options: {CODE
LOW…ages/extension/src/bpmn-elements/presets/Task/index.ts70 function isBoundaryEventCloseToTask(task: any, event: any) {CODE
LOW…/bpmn-elements/presets/Event/IntermediateThrowEvent.ts12export function IntermediateThrowEventFactory(lf: any): {CODE
LOW…/bpmn-elements/presets/Event/IntermediateCatchEvent.ts12export function IntermediateCatchEventFactory(lf: any): {CODE
LOWpackages/layout/__test__/group-layout.test.ts29function expectNodeCenterInsideGroup(CODE
LOWpackages/layout/src/utils/groupLayout.ts220export function createGroupLayoutWarningState(): GroupLayoutWarningState {CODE
LOWpackages/layout/src/utils/groupLayout.ts404export function applyGroupResizeAndWarnings(CODE
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…amples/material-ui-demo/src/views/layout/Typography.js56 subtitle1. Lorem ipsum dolor sit connecter adieu siccing eliot. Quos blanditiis teneturCODE
LOW…amples/material-ui-demo/src/views/layout/Typography.js61 subtitle2. Lorem ipsum dolor sit connecter adieu siccing eliot. Quos blanditiis teneturCODE
LOW…amples/material-ui-demo/src/views/layout/Typography.js72 body1. Lorem ipsum dolor sit connecter adieu siccing eliot. Quos blanditiis tenetur unde suscipit, quam CODE
LOW…amples/material-ui-demo/src/views/layout/Typography.js78 body2. Lorem ipsum dolor sit connecter adieu siccing eliot. Quos blanditiis tenetur unde suscipit, quam CODE
LOWexamples/material-ui-demo/src/views/edges/index.js12 Lorem ipsum dolor sit amen, consenter nipissing eli, sed do elusion tempos incident ut laborers et doolie magna alCODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…/extension/src/bpmn-elements/presets/Flow/manhattan.ts506 // Step 1: Convert perpendicular segments to straight linesCOMMENT
LOW…/extension/src/bpmn-elements/presets/Flow/manhattan.ts525 // Step 2: Douglas-Peucker algorithm to remove redundant pointsCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…/extension/src/bpmn-elements/presets/Flow/manhattan.ts506 // Step 1: Convert perpendicular segments to straight linesCOMMENT
LOW…/extension/src/bpmn-elements/presets/Flow/manhattan.ts525 // Step 2: Douglas-Peucker algorithm to remove redundant pointsCOMMENT