Craft AI-driven interface effortlessly🤖
This report presents the forensic synthetic code analysis of ant-design/x, a TypeScript project with 4,700 GitHub stars. SynthScan v2.0 examined 157,149 lines of code across 1275 source files, recording 255 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 4.6 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 255 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/x-card/src/A2UI/format/components.ts | 10 | // ─── 内部解析辅助 ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x-card/src/A2UI/format/components.ts | 85 | // ─── 工厂函数 ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x-card/src/A2UI/format/components.ts | 140 | // ─── 向后兼容的默认导出 ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 32 | // ─── Product Data ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 137 | // ─── Type Definitions ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 145 | // ─── Role Configuration ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 166 | // ─── FilterPanel Component ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 293 | // ─── ProductList Component ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 421 | // ─── FilterContainer Component ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 451 | // ─── Streaming Text Hook ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 501 | // ─── Agent Commands ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 563 | // ─── App ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 15 | // ─── Type Definitions ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 23 | // ─── Mock Data: Product List (Batch Loading) ────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 66 | // ─── Role Configuration ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 87 | // ─── ProductCard Component ──────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 177 | // ─── ProductContainer Component ──────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 207 | // ─── LoadingIndicator Component ───────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 256 | // ─── Streaming Text Hook ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 309 | // ─── Agent Commands ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 376 | // ─── App ──────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 24 | // ─── Type Definitions ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 48 | // ─── Product Data ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 107 | // ─── Role Definition ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 128 | // ─── ColWrapper Component (for column layout within Row) ──────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 139 | // ─── ProductListCard Component ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 281 | // ─── CartCard Component ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 411 | // ─── OrderSummaryCard Component ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 581 | // ─── MultiCardContainer Component (three-column horizontal layout container) ────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 604 | // ─── CheckoutSuccessCard Component ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 689 | // ─── Streaming Text Hook ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 735 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 738 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 869 | // ─── App Component ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 24 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 26 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 49 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 51 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 204 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 206 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 238 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 240 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 546 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 548 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 599 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 601 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 665 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 667 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 15 | // ─── Type Definitions ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 43 | // ─── Restaurant Data ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 103 | // ─── Text Component ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 136 | // ─── LoadingProgress Component ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 181 | // ─── RestaurantCard Component ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 304 | // ─── RestaurantList Component ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 362 | // ─── Container Component ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 386 | // ─── Streaming Text Hook ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 432 | // ─── Progress Hook ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 470 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 472 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 486 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| 115 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 18 | elif n == 1: | CODE |
| HIGH⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 29 | print(f"The {num}th Fibonacci number is: {fibonacci(num)}") | CODE |
| HIGH⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 32 | print("First 15 Fibonacci numbers:") | CODE |
| HIGH⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 34 | print(fibonacci(i), end=" ") | CODE |
| HIGH⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 18 | elif n == 1: | CODE |
| HIGH⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 29 | print(f"The {num}th Fibonacci number is: {fibonacci(num)}") | CODE |
| HIGH⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 32 | print("First 15 Fibonacci numbers:") | CODE |
| HIGH⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 34 | print(fibonacci(i), end=" ") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …s/x-skill/skills/x-chat-provider/reference/EXAMPLES.md | 13 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …s/x-skill/skills/x-chat-provider/reference/EXAMPLES.md | 24 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …ckages/x-skill/skills/use-x-chat/reference/EXAMPLES.md | 20 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …ckages/x-skill/skills/use-x-chat/reference/EXAMPLES.md | 100 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …-skill/skills-zh/x-chat-provider/reference/EXAMPLES.md | 13 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …-skill/skills-zh/x-chat-provider/reference/EXAMPLES.md | 24 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …ges/x-skill/skills-zh/use-x-chat/reference/EXAMPLES.md | 20 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …ges/x-skill/skills-zh/use-x-chat/reference/EXAMPLES.md | 100 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | packages/x/docs/playground/agent-tbox.tsx | 343 | authorization: 'your-api-key', // Replace with your API key | CODE |
| HIGH | packages/x/docs/playground/agent-tbox.tsx | 362 | authorization: 'your-api-key', // Replace with your API key | CODE |
| HIGH | packages/x/docs/react/demo/tbox.tsx | 43 | authorization: 'your-api-key', // Replace with your API key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1181 | // Step 1: Start thinking | COMMENT |
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1191 | // Step 2: Continue thinking | COMMENT |
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1201 | // Step 3: Complete thinking and provide answer | COMMENT |
| LOW | packages/x-skill/skills/x-chat-provider/SKILL.md | 108 | ## Step 1: Analyze Interface Format ⏱️ 2 minutes | COMMENT |
| LOW | packages/x-skill/skills/x-chat-provider/SKILL.md | 117 | ## Step 2: Create Provider Class ⏱️ 5 minutes | COMMENT |
| LOW | packages/x-skill/skills/x-chat-provider/SKILL.md | 185 | ## Step 3: Verify ⏱️ 1 minute | COMMENT |
| LOW | packages/x-skill/skills/x-chat-provider/SKILL.md | 195 | ## Step 4: Use Provider ⏱️ 1 minute | COMMENT |
| LOW | packages/x-skill/skills/use-x-chat/SKILL.md | 37 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x-skill/skills/use-x-chat/SKILL.md | 51 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x-skill/skills/use-x-chat/SKILL.md | 84 | ### Step 3: UI Integration | COMMENT |
| LOW | packages/x-skill/skills/x-card/reference/USAGE.md | 142 | // Step 1: Create surface immediately | COMMENT |
| LOW | packages/x-skill/skills/x-card/reference/USAGE.md | 170 | // Step 2: Stream data in progressively | COMMENT |
| LOW | packages/x-skill/skills/x-card/reference/USAGE.md | 186 | // Step 3: Done | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 88 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 124 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 145 | ### Step 3: UI Integration | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 87 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 123 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 144 | ### Step 3: UI Integration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 60 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 60 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 64 | Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui | CODE |
| LOW⚡ | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 64 | Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui | CODE |
| LOW | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 353 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 353 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 369 | Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius | CODE |
| LOW | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 369 | Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius | CODE |
| LOW | packages/x/components/sender/interface.ts | 125 | extends Partial<Pick<TextareaProps, 'placeholder' | 'onKeyUp' | 'onFocus' | 'onBlur'>> { | CODE |
| LOW | packages/x/components/attachments/index.tsx | 20 | export type SemanticType = 'list' | 'placeholder' | 'upload'; | CODE |
| LOW | packages/x/components/attachments/demo/_semantic.tsx | 61 | { name: 'placeholder', desc: placeholderLocale.placeholder }, | CODE |
| LOW | packages/x/components/attachments/demo/placeholder.tsx | 58 | inlinePlaceholder: ReturnType<ExtractFunc<AttachmentsProps['placeholder']>>, | CODE |
| LOW | …ages/x/components/attachments/__tests__/index.test.tsx | 66 | placeholder: 'placeholder', | CODE |
| LOW | packages/x/components/attachments/FileList/index.tsx | 16 | type SemanticType = 'list' | 'placeholder' | 'upload'; | CODE |
| LOW | …ges/index/components/SceneIntroduction/Independent.tsx | 159 | key: 'placeholder', | CODE |
| LOW | …pages/index/components/SceneIntroduction/Assistant.tsx | 149 | key: 'placeholder', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1181 | // Step 1: Start thinking | COMMENT |
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1191 | // Step 2: Continue thinking | COMMENT |
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1201 | // Step 3: Complete thinking and provide answer | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 88 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 124 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 145 | ### Step 3: UI Integration | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 87 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 123 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 144 | ### Step 3: UI Integration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/x-sdk/src/x-request/__test__/index.test.ts | 58 | function mockSSEReadableStreamTimeout() { | CODE |
| LOW | …down/src/XMarkdown/core/detectUnclosedComponentTags.ts | 130 | export function detectUnclosedComponentTags( | CODE |
| LOW | packages/x-card/src/A2UI/utils.ts | 46 | export function validateComponentAgainstCatalog( | CODE |
| LOW | packages/x-card/src/A2UI/format/components.ts | 104 | export function createComponentTransformer(): ComponentTransformer { | CODE |
| LOW | packages/x/.dumirc.ts | 154 | function isLocalStorageNameSupported() { | CODE |
| LOW | packages/x/.dumi/theme/utils.ts | 175 | export function isLocalStorageNameSupported() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …kdown/src/XMarkdown/__benchmark__/playwright/index.tsx | 1 | // Import styles, initialize component theme here. | COMMENT |
| LOW | packages/x/components/folder/__tests__/index.test.tsx | 1541 | expect(added).toBeTruthy(); | COMMENT |
| LOW | packages/x/components/folder/__tests__/index.test.tsx | 1581 | // selectedFile=['src/components/Button.tsx'] triggers findNodeAndValidate with array | COMMENT |
| LOW | …s/x/.dumi/theme/builtins/Previewer/CodeBlockButton.tsx | 1 | import { Tooltip } from 'antd'; | COMMENT |
| LOW | …s/x/.dumi/theme/builtins/Previewer/CodeBlockButton.tsx | 21 | // if (status !== 'timeout' && status !== 'error') { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 26 | # Example usage | COMMENT |
| LOW⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 26 | # Example usage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/x/docs/react/use-with-umi.en-US.md | 21 | It is recommended to use [pnpm](https://pnpm.io/zh/) to create the Umi scaffold. Execute the following command: | CODE |
| MEDIUM | packages/x/.dumi/theme/slots/Footer/index.tsx | 145 | url: 'https://scaffold.ant.design', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/x/scripts/ci-mock-project-build.sh | 1 | # Create a umi project | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/x/.dumi/theme/builtins/APITable/index.tsx | 4 | // TODO: implement api table, depend on the new markdown data structure passed | COMMENT |