@mcptoolshop/venvkit 0.2.0 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.es.md +263 -0
  2. package/README.fr.md +263 -0
  3. package/README.hi.md +267 -0
  4. package/README.it.md +263 -0
  5. package/README.ja.md +263 -0
  6. package/README.md +17 -3
  7. package/README.pt-BR.md +263 -0
  8. package/README.zh.md +263 -0
  9. package/package.json +69 -58
  10. package/dist/doctorLite.d.ts +0 -75
  11. package/dist/doctorLite.d.ts.map +0 -1
  12. package/dist/doctorLite.js +0 -705
  13. package/dist/doctorLite.js.map +0 -1
  14. package/dist/doctorLite.test.d.ts +0 -2
  15. package/dist/doctorLite.test.d.ts.map +0 -1
  16. package/dist/doctorLite.test.js +0 -268
  17. package/dist/doctorLite.test.js.map +0 -1
  18. package/dist/index.d.ts +0 -6
  19. package/dist/index.d.ts.map +0 -1
  20. package/dist/index.js +0 -6
  21. package/dist/index.js.map +0 -1
  22. package/dist/integration.test.d.ts +0 -2
  23. package/dist/integration.test.d.ts.map +0 -1
  24. package/dist/integration.test.js +0 -245
  25. package/dist/integration.test.js.map +0 -1
  26. package/dist/mapRender.d.ts +0 -105
  27. package/dist/mapRender.d.ts.map +0 -1
  28. package/dist/mapRender.js +0 -718
  29. package/dist/mapRender.js.map +0 -1
  30. package/dist/mapRender.test.d.ts +0 -2
  31. package/dist/mapRender.test.d.ts.map +0 -1
  32. package/dist/mapRender.test.js +0 -571
  33. package/dist/mapRender.test.js.map +0 -1
  34. package/dist/map_cli.d.ts +0 -3
  35. package/dist/map_cli.d.ts.map +0 -1
  36. package/dist/map_cli.js +0 -278
  37. package/dist/map_cli.js.map +0 -1
  38. package/dist/map_cli.test.d.ts +0 -2
  39. package/dist/map_cli.test.d.ts.map +0 -1
  40. package/dist/map_cli.test.js +0 -276
  41. package/dist/map_cli.test.js.map +0 -1
  42. package/dist/runLog.d.ts +0 -71
  43. package/dist/runLog.d.ts.map +0 -1
  44. package/dist/runLog.js +0 -98
  45. package/dist/runLog.js.map +0 -1
  46. package/dist/runLog.test.d.ts +0 -2
  47. package/dist/runLog.test.d.ts.map +0 -1
  48. package/dist/runLog.test.js +0 -327
  49. package/dist/runLog.test.js.map +0 -1
  50. package/dist/scanEnvPaths.d.ts +0 -18
  51. package/dist/scanEnvPaths.d.ts.map +0 -1
  52. package/dist/scanEnvPaths.js +0 -174
  53. package/dist/scanEnvPaths.js.map +0 -1
  54. package/dist/scanEnvPaths.test.d.ts +0 -2
  55. package/dist/scanEnvPaths.test.d.ts.map +0 -1
  56. package/dist/scanEnvPaths.test.js +0 -250
  57. package/dist/scanEnvPaths.test.js.map +0 -1
  58. package/dist/taskCluster.d.ts +0 -62
  59. package/dist/taskCluster.d.ts.map +0 -1
  60. package/dist/taskCluster.js +0 -180
  61. package/dist/taskCluster.js.map +0 -1
  62. package/dist/taskCluster.test.d.ts +0 -2
  63. package/dist/taskCluster.test.d.ts.map +0 -1
  64. package/dist/taskCluster.test.js +0 -375
  65. package/dist/taskCluster.test.js.map +0 -1
  66. package/dist/vitest.config.d.ts +0 -3
  67. package/dist/vitest.config.d.ts.map +0 -1
  68. package/dist/vitest.config.js +0 -8
  69. package/dist/vitest.config.js.map +0 -1
package/README.zh.md ADDED
@@ -0,0 +1,263 @@
1
+ <p align="center">
2
+ <a href="README.md">English</a> | <a href="README.ja.md">日本語</a> | <a href="README.zh.md">中文</a> | <a href="README.es.md">Español</a> | <a href="README.fr.md">Français</a> | <a href="README.hi.md">हिन्दी</a> | <a href="README.it.md">Italiano</a> | <a href="README.pt-BR.md">Português (BR)</a>
3
+ </p>
4
+
5
+ <p align="center">
6
+ <img src="https://raw.githubusercontent.com/mcp-tool-shop-org/brand/main/logos/venvkit/readme.png" alt="venvkit" width="400">
7
+ </p>
8
+
9
+ # venvkit
10
+
11
+ > [MCP Tool Shop](https://mcptoolshop.com) 的一部分
12
+
13
+ <p align="center">
14
+ <a href="https://github.com/mcp-tool-shop-org/venvkit/actions/workflows/ci.yml"><img src="https://github.com/mcp-tool-shop-org/venvkit/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
15
+ <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square" alt="License: MIT"></a>
16
+ <a href="https://mcp-tool-shop-org.github.io/venvkit/"><img src="https://img.shields.io/badge/Landing_Page-live-blue?style=flat-square" alt="Landing Page"></a>
17
+ <a href="https://www.npmjs.com/package/@mcptoolshop/venvkit"><img src="https://img.shields.io/npm/v/@mcptoolshop/venvkit?style=flat-square&color=cb3837" alt="npm version"></a>
18
+ </p>
19
+
20
+ **用于 Windows 机器学习工作流程的 Python 虚拟环境诊断工具包。**
21
+
22
+ 该工具会扫描您的系统中的 Python 环境,诊断健康问题(SSL、DLL、ABI 不匹配、路径泄露),跟踪任务执行历史,检测不可靠的任务,并生成一个生态系统图。
23
+
24
+ ## 30 秒快速入门
25
+
26
+ ```bash
27
+ git clone https://github.com/mcp-tool-shop-org/venvkit && cd venvkit
28
+ npm install && npm run build
29
+ node dist/map_cli.js --root C:\projects --httpsProbe
30
+ # Open .venvkit/venv-map.html in your browser
31
+ ```
32
+
33
+ ## 功能
34
+
35
+ - **doctorLite** - 快速检查任何 Python 解释器的健康状况
36
+ - SSL/TLS 验证
37
+ - DLL 加载失败(常见于 PyTorch/CUDA)
38
+ - ABI 不匹配(ARM 与 x86)
39
+ - pip 检查
40
+ - 用户站点和 PYTHONPATH 泄露检测
41
+
42
+ - **scanEnvPaths** - 发现系统中的所有 Python 环境
43
+ - 查找 venvs、conda 环境、pyenv 版本、基本解释器
44
+ - 可配置的深度和过滤
45
+
46
+ - **mapRender** - 可视化您的 Python 生态系统
47
+ - 图形 JSON 输出,用于程序化使用
48
+ - Mermaid 图表,用于文档
49
+ - 基本解释器分组,并进行影响范围分析
50
+ - 任务路由可视化
51
+
52
+ - **runLog** - 跟踪任务执行历史
53
+ - 仅追加的 JSONL 格式
54
+ - 记录哪个环境运行了哪个任务
55
+ - 记录成功/失败,并进行错误分类
56
+
57
+ - **taskCluster** - 按签名聚合任务运行
58
+ - 检测不可靠的任务(不一致的通过/失败)
59
+ - 基于环境的不可靠性检测
60
+ - 识别失败热点
61
+ - 传染分析(共享的根本原因)
62
+
63
+ ## 安装
64
+
65
+ ```bash
66
+ npm install
67
+ npm run build
68
+ ```
69
+
70
+ ## 命令行用法
71
+
72
+ ```bash
73
+ # Scan current directory and generate ecosystem map
74
+ node dist/map_cli.js
75
+
76
+ # Scan specific directories
77
+ node dist/map_cli.js --root C:\projects --root D:\ml-experiments
78
+
79
+ # Include task run history
80
+ node dist/map_cli.js --runlog .venvkit/runs.jsonl
81
+
82
+ # Output options
83
+ node dist/map_cli.js --out ./output --minScore 50 --strict --httpsProbe
84
+ ```
85
+
86
+ ### 命令行选项
87
+
88
+ | Flag | 描述 |
89
+ | ------ | ------------- |
90
+ | `--root, -r` | 要扫描的目录(可以指定多个) |
91
+ | `--out` | 输出目录(默认为:`.venvkit`) |
92
+ | `--maxDepth` | 要扫描的最大目录深度(默认为:5) |
93
+ | `--strict` | 启用严格模式检查 |
94
+ | `--httpsProbe` | 测试 HTTPS 连接 |
95
+ | `--minScore` | 过滤健康评分低于此值的环境 |
96
+ | `--concurrency` | 并行检查(默认为:CPU 数量) |
97
+ | `--runlog` | 任务运行日志的路径(JSONL) |
98
+ | `--no-tasks` | 跳过任务可视化 |
99
+
100
+ ### 输出
101
+
102
+ | File | 描述 |
103
+ | ------ | ------------- |
104
+ | `venv-map.json` | 完整的图形数据(节点、边、摘要) |
105
+ | `venv-map.mmd` | Mermaid 图表源代码 |
106
+ | `venv-map.html` | 交互式查看器 |
107
+ | `reports.json` | 原始的 doctorLite 报告 |
108
+ | `insights.json` | 可操作的建议 |
109
+
110
+ ## 程序化用法
111
+
112
+ ```typescript
113
+ import { doctorLite, scanEnvPaths, mapRender, readRunLog } from 'venvkit';
114
+
115
+ // Check a specific Python
116
+ const report = await doctorLite({
117
+ pythonPath: 'C:\\project\\.venv\\Scripts\\python.exe',
118
+ requiredModules: ['torch', 'transformers'],
119
+ httpsProbe: true,
120
+ });
121
+
122
+ console.log(report.status); // 'good' | 'warn' | 'bad'
123
+ console.log(report.score); // 0-100
124
+ console.log(report.findings); // Array of issues
125
+
126
+ // Scan for all Python environments
127
+ const scan = await scanEnvPaths({
128
+ roots: ['C:\\projects'],
129
+ maxDepth: 5,
130
+ });
131
+
132
+ // Run doctorLite on all found environments
133
+ const reports = await Promise.all(
134
+ scan.pythonPaths.map(p => doctorLite({ pythonPath: p }))
135
+ );
136
+
137
+ // Load task execution history
138
+ const runs = await readRunLog('.venvkit/runs.jsonl');
139
+
140
+ // Generate ecosystem visualization
141
+ const { graph, mermaid, insights } = mapRender(reports, runs, {
142
+ taskMode: 'clustered', // 'none' | 'runs' | 'clustered'
143
+ includeHotEdgeLabels: true,
144
+ });
145
+ ```
146
+
147
+ ## 运行日志模式
148
+
149
+ 通过将事件追加到 JSONL 文件来跟踪任务执行:
150
+
151
+ ```typescript
152
+ import { appendRunLog, newRunId } from 'venvkit';
153
+
154
+ await appendRunLog('.venvkit/runs.jsonl', {
155
+ version: '1.0',
156
+ runId: newRunId(),
157
+ at: new Date().toISOString(),
158
+ task: {
159
+ name: 'train',
160
+ command: 'python train.py --epochs 10',
161
+ requirements: { packages: ['torch', 'transformers'] },
162
+ },
163
+ selected: {
164
+ pythonPath: 'C:\\project\\.venv\\Scripts\\python.exe',
165
+ score: 95,
166
+ status: 'good',
167
+ },
168
+ outcome: {
169
+ ok: true,
170
+ exitCode: 0,
171
+ durationMs: 45000,
172
+ },
173
+ });
174
+ ```
175
+
176
+ ## 任务聚类
177
+
178
+ 当您有许多任务运行时,venvkit 会根据签名对它们进行聚类:
179
+
180
+ ```typescript
181
+ import { clusterRuns, isFlaky, getFailingEnvs } from 'venvkit';
182
+
183
+ const clusters = clusterRuns(runs);
184
+
185
+ for (const c of clusters) {
186
+ console.log(`${c.sig.name}: ${c.ok}/${c.runs} (${(c.successRate * 100).toFixed(0)}%)`);
187
+
188
+ if (isFlaky(c)) {
189
+ console.log(` WARNING: Flaky task!`);
190
+ const badEnvs = getFailingEnvs(c, 3);
191
+ console.log(` Failing most on: ${badEnvs.map(e => e.pythonPath).join(', ')}`);
192
+ }
193
+ }
194
+ ```
195
+
196
+ ## 图形模式
197
+
198
+ `mapRender` 输出遵循稳定的 JSON 模式:
199
+
200
+ ```typescript
201
+ type GraphJSONv1 = {
202
+ version: '1.0';
203
+ generatedAt: string;
204
+ host: { os: string; arch: string; hostname: string };
205
+ summary: {
206
+ envCount: number;
207
+ baseCount: number;
208
+ taskCount: number;
209
+ healthy: number;
210
+ warning: number;
211
+ broken: number;
212
+ runsPassed: number;
213
+ runsFailed: number;
214
+ topIssues: Array<{ code: string; count: number; hint: string }>;
215
+ };
216
+ nodes: GraphNode[];
217
+ edges: GraphEdge[];
218
+ };
219
+ ```
220
+
221
+ ### 节点类型
222
+
223
+ | Type | 描述 |
224
+ | ------ | ------------- |
225
+ | `base` | 基本 Python 解释器(例如:`C:\Python311`) |
226
+ | `venv` | 虚拟环境 |
227
+ | `task` | 任务签名(聚类运行) |
228
+
229
+ ### 边类型
230
+
231
+ | Type | 描述 |
232
+ | ------ | ------------- |
233
+ | `USES_BASE` | venv → 基本关系 |
234
+ | `ROUTES_TASK_TO` | 任务 → 环境路由 |
235
+ | `FAILED_RUN` | 任务 → 环境失败(Mermaid 中以虚线表示) |
236
+
237
+ ## 查找代码
238
+
239
+ | Code | 严重性 | 描述 |
240
+ | ------ | ---------- | ------------- |
241
+ | `SSL_BROKEN` | bad | SSL 模块无法导入 |
242
+ | `CERT_STORE_FAIL` | warn | HTTPS 证书验证失败 |
243
+ | `DLL_LOAD_FAIL` | bad | 本机扩展 DLL 加载失败 |
244
+ | `ABI_MISMATCH` | bad | 二进制不兼容(ARM/x86) |
245
+ | `PIP_MISSING` | warn | pip 不可用 |
246
+ | `PIP_CHECK_FAIL` | warn | 检测到依赖项冲突 |
247
+ | `USER_SITE_LEAK` | warn | venv 环境中启用了用户 site-packages。 |
248
+ | `PYTHONPATH_INJECTED` | warn | 已设置 PYTHONPATH 环境变量。 |
249
+ | `ARCH_MISMATCH` | bad | 使用了 32 位的 Python,但需要 64 位。 |
250
+ | `PYVENV_CFG_INVALID` | warn | pyvenv.cfg 文件损坏或缺失。 |
251
+
252
+ ## 开发
253
+
254
+ ```bash
255
+ npm install
256
+ npm run typecheck # Type check
257
+ npm run test # Run tests
258
+ npm run build # Build to dist/
259
+ ```
260
+
261
+ ## 许可证
262
+
263
+ MIT 协议。
package/package.json CHANGED
@@ -1,58 +1,69 @@
1
- {
2
- "name": "@mcptoolshop/venvkit",
3
- "version": "0.2.0",
4
- "description": "Python virtual environment diagnostic toolkit for Windows ML workflows",
5
- "author": {
6
- "name": "mcp-tool-shop",
7
- "email": "64996768+mcp-tool-shop@users.noreply.github.com"
8
- },
9
- "keywords": ["python", "venv", "virtualenv", "diagnostics", "health-check", "windows", "ml", "pytorch", "environment"],
10
- "license": "MIT",
11
- "homepage": "https://github.com/mcp-tool-shop/venvkit",
12
- "repository": {
13
- "type": "git",
14
- "url": "https://github.com/mcp-tool-shop/venvkit"
15
- },
16
- "bugs": {
17
- "url": "https://github.com/mcp-tool-shop/venvkit/issues"
18
- },
19
- "private": false,
20
- "type": "module",
21
- "main": "./dist/index.js",
22
- "types": "./dist/index.d.ts",
23
- "bin": {
24
- "venvkit-map": "./dist/map_cli.js"
25
- },
26
- "exports": {
27
- ".": {
28
- "types": "./dist/index.d.ts",
29
- "default": "./dist/index.js"
30
- }
31
- },
32
- "files": [
33
- "dist"
34
- ],
35
- "scripts": {
36
- "typecheck": "tsc -p tsconfig.json --noEmit",
37
- "build": "tsc -p tsconfig.json",
38
- "test": "vitest run",
39
- "test:watch": "vitest",
40
- "test:coverage": "vitest run --coverage",
41
- "lint": "eslint .",
42
- "format": "eslint . --fix",
43
- "audit": "npm audit",
44
- "map": "node dist/map_cli.js"
45
- },
46
- "devDependencies": {
47
- "@types/node": "^22.0.0",
48
- "typescript": "^5.6.0",
49
- "vitest": "^2.0.0",
50
- "eslint": "^9.0.0",
51
- "@eslint/js": "^9.0.0",
52
- "typescript-eslint": "^8.0.0"
53
- },
54
- "publishConfig": {
55
- "access": "public",
56
- "registry": "https://registry.npmjs.org"
57
- }
58
- }
1
+ {
2
+ "name": "@mcptoolshop/venvkit",
3
+ "version": "0.2.5",
4
+ "description": "Python virtual environment diagnostic toolkit for Windows ML workflows",
5
+ "author": {
6
+ "name": "mcp-tool-shop",
7
+ "email": "64996768+mcp-tool-shop@users.noreply.github.com"
8
+ },
9
+ "keywords": [
10
+ "python",
11
+ "venv",
12
+ "virtualenv",
13
+ "diagnostics",
14
+ "health-check",
15
+ "windows",
16
+ "ml",
17
+ "pytorch",
18
+ "environment"
19
+ ],
20
+ "license": "MIT",
21
+ "homepage": "https://github.com/mcp-tool-shop-org/venvkit#readme",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/mcp-tool-shop-org/venvkit.git"
25
+ },
26
+ "bugs": {
27
+ "url": "https://github.com/mcp-tool-shop-org/venvkit/issues"
28
+ },
29
+ "private": false,
30
+ "type": "module",
31
+ "main": "./dist/index.js",
32
+ "types": "./dist/index.d.ts",
33
+ "bin": {
34
+ "venvkit-map": "./dist/map_cli.js"
35
+ },
36
+ "exports": {
37
+ ".": {
38
+ "types": "./dist/index.d.ts",
39
+ "default": "./dist/index.js"
40
+ }
41
+ },
42
+ "files": [
43
+ "dist"
44
+ ],
45
+ "scripts": {
46
+ "typecheck": "tsc -p tsconfig.json --noEmit",
47
+ "build": "tsc -p tsconfig.json",
48
+ "test": "vitest run",
49
+ "test:watch": "vitest",
50
+ "test:coverage": "vitest run --coverage",
51
+ "lint": "eslint .",
52
+ "format": "eslint . --fix",
53
+ "audit": "npm audit",
54
+ "map": "node dist/map_cli.js"
55
+ },
56
+ "devDependencies": {
57
+ "@eslint/js": "^9.0.0",
58
+ "@types/node": "^22.0.0",
59
+ "@vitest/coverage-v8": "^2.1.9",
60
+ "eslint": "^9.0.0",
61
+ "typescript": "^5.6.0",
62
+ "typescript-eslint": "^8.0.0",
63
+ "vitest": "^2.0.0"
64
+ },
65
+ "publishConfig": {
66
+ "access": "public",
67
+ "registry": "https://registry.npmjs.org"
68
+ }
69
+ }
@@ -1,75 +0,0 @@
1
- export type Severity = "info" | "warn" | "bad";
2
- export type HealthStatus = "good" | "warn" | "bad" | "unknown";
3
- export type FindingCode = "PYTHON_EXEC_MISSING" | "NOT_A_VENV" | "ARCH_MISMATCH" | "PIP_MISSING" | "PIP_POINTS_TO_OTHER_PYTHON" | "PYTHONPATH_INJECTED" | "USER_SITE_ENABLED" | "USER_SITE_LEAK" | "PIP_CHECK_FAIL" | "MULTI_VERSION_ON_PATH" | "RESOLVER_CONFLICT_HINT" | "OUTDATED_INSTALL_TOOLING" | "IMPORT_FAIL" | "DLL_LOAD_FAIL" | "ABI_MISMATCH" | "SSL_BROKEN" | "CERT_STORE_FAIL" | "SUBPROCESS_BROKEN" | "PYVENV_CFG_INVALID";
4
- export type Finding = {
5
- code: FindingCode;
6
- severity: Severity;
7
- penalty: number;
8
- what: string;
9
- why: string;
10
- fix: Array<{
11
- title: string;
12
- steps: string[];
13
- }>;
14
- evidence?: Record<string, unknown>;
15
- };
16
- export type RunResult = {
17
- ok: boolean;
18
- exitCode: number | null;
19
- stdout: string;
20
- stderr: string;
21
- timedOut: boolean;
22
- };
23
- export type CmdRunner = (cmd: string, args: string[], opts: {
24
- env?: NodeJS.ProcessEnv;
25
- timeoutMs: number;
26
- }) => Promise<RunResult>;
27
- export type DoctorLiteOptions = {
28
- /** Python executable path (venv python or base python). Required. */
29
- pythonPath: string;
30
- /** Modules to import-test (task required caps). */
31
- requiredModules?: string[];
32
- /** If true, also do a HTTPS probe to pypi.org (can fail in corp MITM; still useful). */
33
- httpsProbe?: boolean;
34
- /** If task requires 64-bit python, set true. If unknown, leave undefined. */
35
- requireX64?: boolean;
36
- /** Timeout per subprocess (ms). */
37
- timeoutMs?: number;
38
- /** If true, run heavier checks (pip check, multi-version scan). */
39
- strict?: boolean;
40
- /** Override environment variables passed to python. */
41
- env?: Record<string, string | undefined>;
42
- };
43
- export type DoctorLiteReport = {
44
- pythonPath: string;
45
- ranAt: string;
46
- status: HealthStatus;
47
- score: number;
48
- summary: string;
49
- facts?: FactsResult;
50
- findings: Finding[];
51
- };
52
- type FactsResult = {
53
- version: string;
54
- version_info: number[];
55
- executable: string;
56
- prefix: string;
57
- base_prefix: string | null;
58
- bits: number;
59
- machine: string;
60
- os: string;
61
- py_path: string[];
62
- enable_user_site: boolean | null;
63
- user_site: string;
64
- };
65
- /**
66
- * Run a subprocess with timeout, capturing stdout/stderr.
67
- */
68
- export declare function runCmd(cmd: string, args: string[], opts: {
69
- env?: NodeJS.ProcessEnv;
70
- timeoutMs: number;
71
- }): Promise<RunResult>;
72
- export declare function doctorLite(opts: DoctorLiteOptions, runner?: CmdRunner): Promise<DoctorLiteReport>;
73
- export declare function envIdFromPythonPath(pythonPath: string): string;
74
- export {};
75
- //# sourceMappingURL=doctorLite.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"doctorLite.d.ts","sourceRoot":"","sources":["../doctorLite.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAC/C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;AAE/D,MAAM,MAAM,WAAW,GACnB,qBAAqB,GACrB,YAAY,GACZ,eAAe,GACf,aAAa,GACb,4BAA4B,GAC5B,qBAAqB,GACrB,mBAAmB,GACnB,gBAAgB,GAChB,gBAAgB,GAChB,uBAAuB,GACvB,wBAAwB,GACxB,0BAA0B,GAC1B,aAAa,GACb,eAAe,GACf,cAAc,GACd,YAAY,GACZ,iBAAiB,GACjB,mBAAmB,GACnB,oBAAoB,CAAC;AAEzB,MAAM,M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