dsh-super-code 0.3.8 → 0.3.9
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.
- package/README.en.md +144 -0
- package/README.md +89 -184
- package/client/index.js +540 -251
- package/cordis.patch.yml +1 -1
- package/docs/Acknowledgements.md +38 -67
- package/docs/Changelog.md +160 -88
- package/docs/Compatibility.md +98 -278
- package/docs/EvaluationResults.md +165 -155
- package/docs/UsageGuide.md +209 -231
- package/docs/en/Acknowledgements.md +76 -0
- package/docs/en/Changelog.md +160 -0
- package/docs/en/Compatibility.md +146 -0
- package/docs/en/EvaluationResults.md +224 -0
- package/docs/en/UsageGuide.md +304 -0
- package/docs/images/agent-tree-preview.png +0 -0
- package/docs/images/agent-tree.png +0 -0
- package/docs/images/install-tgz-preview.png +0 -0
- package/docs/images/install-tgz.png +0 -0
- package/docs/images/preset-settings-preview.png +0 -0
- package/docs/images/preset-settings.png +0 -0
- package/docs/images/task-status-preview.png +0 -0
- package/docs/images/task-status.png +0 -0
- package/lib/connection/approvals.d.ts +21 -0
- package/lib/connection/approvals.d.ts.map +1 -0
- package/lib/connection/approvals.js +83 -0
- package/lib/connection/approvals.js.map +1 -0
- package/lib/connection/client.d.ts +8 -0
- package/lib/connection/client.d.ts.map +1 -0
- package/lib/connection/client.js +34 -0
- package/lib/connection/client.js.map +1 -0
- package/lib/connection/guidance.d.ts +10 -0
- package/lib/connection/guidance.d.ts.map +1 -0
- package/lib/connection/guidance.js +27 -0
- package/lib/connection/guidance.js.map +1 -0
- package/lib/connection/http.d.ts.map +1 -1
- package/lib/connection/http.js +83 -16
- package/lib/connection/http.js.map +1 -1
- package/lib/connection/service.d.ts +3 -1
- package/lib/connection/service.d.ts.map +1 -1
- package/lib/connection/service.js +8 -0
- package/lib/connection/service.js.map +1 -1
- package/lib/connection/store.d.ts.map +1 -1
- package/lib/connection/store.js +2 -0
- package/lib/connection/store.js.map +1 -1
- package/lib/connection/tasks.d.ts +41 -1
- package/lib/connection/tasks.d.ts.map +1 -1
- package/lib/connection/tasks.js +154 -31
- package/lib/connection/tasks.js.map +1 -1
- package/lib/connection/types.d.ts +71 -2
- package/lib/connection/types.d.ts.map +1 -1
- package/lib/connection/types.js +5 -3
- package/lib/connection/types.js.map +1 -1
- package/lib/connection-cli.d.ts +3 -0
- package/lib/connection-cli.d.ts.map +1 -0
- package/lib/connection-cli.js +40 -0
- package/lib/connection-cli.js.map +1 -0
- package/lib/dsh/connection-approval.d.ts +5 -0
- package/lib/dsh/connection-approval.d.ts.map +1 -0
- package/lib/dsh/connection-approval.js +72 -0
- package/lib/dsh/connection-approval.js.map +1 -0
- package/lib/dsh/connection-history.d.ts +6 -0
- package/lib/dsh/connection-history.d.ts.map +1 -0
- package/lib/dsh/connection-history.js +52 -0
- package/lib/dsh/connection-history.js.map +1 -0
- package/lib/dsh/connection-host.d.ts +36 -3
- package/lib/dsh/connection-host.d.ts.map +1 -1
- package/lib/dsh/connection-host.js +97 -19
- package/lib/dsh/connection-host.js.map +1 -1
- package/lib/dsh/connection.d.ts.map +1 -1
- package/lib/dsh/connection.js +4 -1
- package/lib/dsh/connection.js.map +1 -1
- package/package.json +8 -1
- package/presets/super-code/agent.cordis.yml +1 -1
|
@@ -1,214 +1,224 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 评测结果
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
中文 · [English](en/EvaluationResults.md)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 评测设计
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### 题集
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
SWE-bench Pro hard-100(固定标识 `swebench-pro-hard-100-ddd22492f1c38839`),使用官方评分器。
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
- 「hard-100」是本项目按既有难度方法选出的 100 题,并非官方认定的最难 100 题。
|
|
12
|
+
- 调优仅使用 SWE-bench dev 中筛选的 33 道有效困难题。hard-100 只用于评测冻结后的候选版本和排查问题,**不参与调优**,以避免对评测题过拟合。
|
|
13
|
+
- 所有成绩均已纳入后续复核(见[评分更正](#评分更正)),每组均有 100 题有效评分。
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|---|---:|---:|---:|---:|---:|
|
|
15
|
-
| 有效评分 / Valid scores | 100 | 100 | 100 | 100 | 100 |
|
|
16
|
-
| 通过 / Passed | 46 | 50 | 53 | 54 | 56 |
|
|
17
|
-
| 平均回答耗时(历史)/ Original mean minutes | 25.685 | 16.458 | 16.011 | 15.148 | 13.461 |
|
|
18
|
-
| 耗时中位数 / Median minutes | 26.138 | 14.398 | 13.736 | 13.510 | 12.197 |
|
|
19
|
-
| 耗时 P90 / P90 minutes | 43.696 | 28.816 | 29.360 | 24.145 | 21.381 |
|
|
20
|
-
| 模型调用/题 / Model calls per task | 124.660 | 92.780 | 99.780 | 93.830 | 69.290 |
|
|
21
|
-
| 顶层工具调用/题 / Top-level tool calls per task | 127.360 | 116.550 | 123.340 | 119.160 | 69.730 |
|
|
22
|
-
| 总输入 token/题 / Input tokens per task | 11,477,169.950 | 9,525,315.530 | 9,840,382.730 | 9,202,574.270 | 6,290,407.000 |
|
|
23
|
-
| 缓存输入 token/题 / Cached input per task | 11,404,101.120 | 9,461,981.440 | 9,775,799.040 | 9,142,005.760 | 6,231,823.360 |
|
|
24
|
-
| 非缓存输入 token/题 / Uncached input per task | 73,068.830 | 63,334.090 | 64,583.690 | 60,568.510 | 58,583.640 |
|
|
25
|
-
| 输出 token/题 / Output tokens per task | 100,876.950 | 97,900.990 | 97,793.480 | 96,519.570 | 91,561.850 |
|
|
26
|
-
| 总 token/题 / Total tokens per task | 11,578,046.900 | 9,623,216.520 | 9,938,176.210 | 9,299,093.840 | 6,381,968.850 |
|
|
27
|
-
| 输入缓存率 / Input cache hit rate | 99.363% | 99.335% | 99.344% | 99.342% | 99.069% |
|
|
28
|
-
| 缺少用量的请求 / Requests without usage | 3 | 8 | 1 | 1 | 0 |
|
|
29
|
-
|
|
30
|
-
工具次数按宿主 `tool/call` 统计。一次 PTC 调用内部可以执行多个操作,因此这列不能用来比较实际执行了多少次文件读取或命令。
|
|
31
|
-
|
|
32
|
-
Tool counts use host `tool/call` events. One PTC call can execute several operations, so this column does not compare the number of underlying file reads or commands.
|
|
33
|
-
|
|
34
|
-
五组均按相同规则复核,通过数包含已核实的测试名称差异修正。仅当原始测试全部通过、每个缺失的必需测试名均能精确对应到通过测试时,才修正为通过;原始判分与修正依据保留在逐题数据中。用量和耗时保持原作答数据。
|
|
35
|
-
|
|
36
|
-
All five runs were reviewed under the same rules. Pass counts include verified test-name corrections, accepted only when every raw test passes and every missing required name maps exactly to a passing test. Per-task data retains the original grader verdict and correction evidence. Original usage and timing are unchanged.
|
|
37
|
-
|
|
38
|
-
## 官方预设对比 · Official Preset Comparison
|
|
39
|
-
|
|
40
|
-
本表使用 **DSH `0.1.5-rc.2`** 和 **`deepseek-v4.1-flash`**,思考等级按列标明;成绩包含后续原补丁复评与测试名称修正。各列只统计有效结果,未满 100 题的列不参与完整 100 题排名。
|
|
41
|
-
|
|
42
|
-
This table uses **DSH `0.1.5-rc.2`** and **`deepseek-v4.1-flash`**, with reasoning effort shown per column. Scores include subsequent original-patch regrades and verified test-name corrections. Each column uses valid scores only; incomplete columns are excluded from full 100-task rankings.
|
|
43
|
-
|
|
44
|
-
| 指标 / Metric | 极简 minimal + high | 极简 minimal + max | 标准 standard + high | PTC + high | 创造 creative + high | 标准 standard + max |
|
|
45
|
-
|---|---:|---:|---:|---:|---:|---:|
|
|
46
|
-
| 有效进度 / Valid scores | 100/100 | 100/100 | 100/100 | 100/100 | 100/100 | 99/100 |
|
|
47
|
-
| 通过/有效 / Passed / valid | 46/100 | 50/100 | 51/100 | 47/100 | 49/100 | 49/99 |
|
|
48
|
-
| 待环境复评 / Pending regrades | 0 | 0 | 0 | 0 | 0 | 0 |
|
|
49
|
-
| 净耗时中位数 / Median net minutes | 25.598 | 32.167 | 16.639 | 13.455 | 16.452 | 16.887 |
|
|
50
|
-
| 净耗时 P90 / P90 net minutes | 41.658 | 45.179 | 36.681 | 25.031 | 30.104 | 34.583 |
|
|
51
|
-
| 原始分钟/题 / Original minutes | 25.685 | 32.529 | 20.683 | 17.302 | 19.856 | 20.452 |
|
|
52
|
-
| 净分钟/题 / Net minutes | 25.122 | 32.009 | 18.826 | 15.122 | 18.714 | 19.561 |
|
|
53
|
-
| 模型调用/题 / Model calls | 124.660 | 138.920 | 92.370 | 71.160 | 93.600 | 101.061 |
|
|
54
|
-
| 顶层工具调用/题 / Top-level tool calls | 127.360 | 150.070 | 110.480 | 70.990 | 113.780 | 124.636 |
|
|
55
|
-
| 总输入 token/题 / Input tokens | 11,477,169.950 | 14,849,497.540 | 8,771,693.040 | 6,160,934.650 | 9,205,287.290 | 11,417,324.020 |
|
|
56
|
-
| 总 token/题 / Total tokens | 11,578,046.900 | 14,966,097.260 | 8,854,513.910 | 6,238,434.510 | 9,292,949.400 | 11,526,872.192 |
|
|
57
|
-
| 缓存输入 token/题 / Cached input | 11,404,101.120 | 14,770,140.160 | 8,713,578.230 | 6,099,266.510 | 9,145,025.240 | 11,349,317.818 |
|
|
58
|
-
| 非缓存输入 token/题 / Uncached input | 73,068.830 | 79,357.380 | 58,114.810 | 61,668.140 | 60,262.050 | 68,006.202 |
|
|
59
|
-
| 输出 token/题 / Output | 100,876.950 | 116,599.720 | 82,820.870 | 77,499.860 | 87,662.110 | 109,548.172 |
|
|
60
|
-
| 输入缓存率 / Input cache hit rate | 99.363% | 99.466% | 99.337% | 98.999% | 99.345% | 99.404% |
|
|
61
|
-
| 扣除重试分钟(全组)/ Retry minutes excluded, total | 56.323 | 51.936 | 185.717 | 217.996 | 114.226 | 88.220 |
|
|
62
|
-
| 缺少用量的请求 / Requests without usage | 3 | 11 | 4 | 5 | 2 | 0 |
|
|
63
|
-
|
|
64
|
-
净耗时扣除最终有效作答中的失败请求和重试等待;两种耗时均不含官方评分。调用次数排除已记录的失败请求。总 token = 缓存输入 + 非缓存输入 + 输出,输出含思考 token。复评分保留原作答的用量和耗时;有效题目范围变化时,均值会随之变化。未返回的用量不估算,数字不等于完整账单。
|
|
65
|
-
|
|
66
|
-
Net time excludes failed requests and retry waits in the final valid answer; both time measures exclude grading. Call counts exclude logged failed requests. Total tokens = cached input + uncached input + output, including reasoning. Regrading preserves each answer's original usage and timing; means change when the valid subset changes. Missing usage is not estimated, so these figures are not a complete bill.
|
|
15
|
+
### 对照
|
|
67
16
|
|
|
68
|
-
|
|
17
|
+
对照选用官方标准预设,而非 minimal。旧宿主实测中,标准 + high 通过 51 题,minimal + high 通过 46 题,且标准每题 token 少 23.5%。与更强的对照比较,结论更严格。
|
|
69
18
|
|
|
70
|
-
|
|
19
|
+
### 控制变量
|
|
71
20
|
|
|
72
|
-
|
|
21
|
+
同一组对比中,宿主、模型、思考等级和预算保持一致,仅替换 Agent 预设。宿主或模型变化时,单独列出并说明。
|
|
73
22
|
|
|
74
|
-
|
|
23
|
+
### 评测过程
|
|
75
24
|
|
|
76
|
-
|
|
25
|
+
1. **旧宿主基线**:在 DSH `0.1.5-rc.2` 与 `deepseek-v4.1-flash` 上评测官方各预设和插件各版本,Super Code `0.3.0` 候选通过 56 题,高于官方最好的标准 + high(51 题)。
|
|
26
|
+
2. **宿主升级后效果下降**:升级至 DSH `0.2.1-rc.2` 与 `deepseek-v4.1-flash-1017` 后,默认预算下标准降至 46 题,Super Code `0.3.4` 降至 41 题,低于标准。
|
|
27
|
+
3. **定位原因**:宿主探针显示新版收紧了上下文预算(见[旧预算的内容](#旧预算的内容)),由此判断预算是退化原因之一。
|
|
28
|
+
4. **恢复旧预算后复测**:双方均改用旧预算。标准仍为 46 题;Super Code `0.3.5` 提升至 49 题。据此,`0.3.6` 起插件默认使用旧预算。
|
|
29
|
+
5. **跨模型验证**:在 `glm-5.3-flash` 上与原生 ZCode 对比,检验方案是否依赖特定模型。
|
|
77
30
|
|
|
78
|
-
|
|
31
|
+
## 结论
|
|
79
32
|
|
|
80
|
-
|
|
33
|
+
| 对比 | 结果 |
|
|
34
|
+
|---|---|
|
|
35
|
+
| 新宿主,均为旧预算:Super Code `0.3.5` vs 标准 + high | 49 vs 46;净耗时 -21.3%,token -34.6%,模型调用 -25.5% |
|
|
36
|
+
| 新宿主,默认预算 → 旧预算 | Super Code 41 → 49;标准 46 → 46 |
|
|
37
|
+
| 旧宿主:Super Code `0.3.0` 候选 vs 官方最好的标准 + high | 56 vs 51 |
|
|
38
|
+
| 旧宿主:Super Code `0.3.0` 候选 vs minimal + high | 56 vs 46;耗时 -47.6%,token -44.9% |
|
|
39
|
+
| GLM-5.3-flash:Super Code `0.3.4` vs 原生 ZCode | 45 vs 29;耗时 -37.1%,token +52.4% |
|
|
81
40
|
|
|
82
|
-
|
|
41
|
+
## 新版 DSH 与预算
|
|
83
42
|
|
|
84
|
-
|
|
43
|
+
DSH `0.2.1-rc.2` · 模型 `deepseek-v4.1-flash-1017`(调用标识 `deepseek/deepseek-flash`)· high。
|
|
85
44
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
45
|
+
| 指标(每题平均) | 标准 · 默认预算 | Super Code 0.3.4 · 默认预算 | 标准 · 旧预算 | Super Code 0.3.5 · 旧预算 |
|
|
46
|
+
|---|---:|---:|---:|---:|
|
|
47
|
+
| 通过 | 46/100 | 41/100 | 46/100 | **49/100** |
|
|
48
|
+
| 净分钟 | 17.875 | 20.364 | 20.870 | 16.416 |
|
|
49
|
+
| 模型调用 | 85.050 | 68.810 | 91.980 | 68.540 |
|
|
50
|
+
| 总 token | 6,832,805.820 | 5,088,673.550 | 7,806,295.960 | 5,108,386.410 |
|
|
51
|
+
| 缓存输入 token | 6,710,566.400 | 4,972,166.400 | 7,679,298.560 | 4,993,935.320 |
|
|
52
|
+
| 非缓存输入 token | 59,268.620 | 55,138.870 | 59,291.340 | 52,906.560 |
|
|
53
|
+
| 输出 token | 62,970.800 | 61,368.280 | 67,706.060 | 61,544.530 |
|
|
54
|
+
| 缺少用量的请求 | 0 | 0 | 0 | 1 |
|
|
93
55
|
|
|
94
|
-
|
|
56
|
+
- **标准**:改用旧预算后通过数不变,token 增加 14.2%。逐题统计新通过 7 题、回退 7 题。
|
|
57
|
+
- **Super Code**:改用旧预算后多通过 8 题,token 仅增加 0.4%,净耗时减少 19.4%。逐题统计新通过 12 题、回退 4 题。
|
|
58
|
+
- 两组插件版本不同(0.3.4 → 0.3.5),收益不能全部归因于预算。
|
|
59
|
+
- 旧预算插件组实际为 `0.3.5` 加显式预算覆盖。`0.3.6` 起默认使用该预算,但**未**对 0.3.6 ~ 0.3.8 重新运行 100 题评测。
|
|
60
|
+
- 标准的旧预算组仅覆盖宿主预算,未加载 Super Code。
|
|
95
61
|
|
|
96
|
-
|
|
62
|
+
### 旧预算的内容
|
|
97
63
|
|
|
98
|
-
|
|
64
|
+
恢复 `0.1.5-rc.2` 时期的上下文策略:按完整窗口计算,用量达到 80% 时开始压缩,保留最近 16% 的原文,摘要上限 8,192 token,压缩追加和溢出重试各 1 次;新版宿主的 PTC 默认和最大时限设为 600 秒。以上各项同时恢复,并非单参数实验。[配置方法](UsageGuide.md#运行预算)
|
|
99
65
|
|
|
100
|
-
|
|
66
|
+
[宿主探针](../eval/results/swebench-pro-final-100/HostBudgetDiagnostics.json)固定 1,000,000 token 窗口、384,000 输出预留,测得:
|
|
101
67
|
|
|
102
|
-
|
|
|
68
|
+
| | 旧版 | 新版 |
|
|
103
69
|
|---|---:|---:|
|
|
104
|
-
|
|
|
105
|
-
|
|
|
106
|
-
|
|
|
107
|
-
| 总 token/题 / Total tokens | 5,499,154.470 | 3,609,511.930 |
|
|
108
|
-
| 缓存输入 token/题 / Cached input | 5,302,796.160 | 3,356,862.720 |
|
|
109
|
-
| 非缓存输入 token/题 / Uncached input | 126,050.640 | 144,405.020 |
|
|
110
|
-
| 输出 token/题 / Output | 70,307.670 | 108,244.190 |
|
|
111
|
-
| 缺少用量的请求 / Requests without usage | 29 | 120 |
|
|
112
|
-
|
|
113
|
-
这轮 Super Code 通过率高 **16 个百分点**,平均净耗时更少,但 token 更多。这说明方案可在 GLM 上运行并取得有效结果;对照比较的是两套完整系统,不能据此分离插件的贡献,也不能推及所有模型。缺失用量未估算。[测试脚本与记录](../eval/glm/README.md)
|
|
70
|
+
| 压缩阈值 | 800,000 | 550,464 |
|
|
71
|
+
| 保留原文 | 160,000 | 98,560 |
|
|
72
|
+
| 摘要请求上限 | 8,192 | 65,536 |
|
|
114
73
|
|
|
115
|
-
|
|
74
|
+
两版摘要指令相同。探针使用确定性摘要,不评估摘要质量,也不能证明每道题都触发了上述变化。
|
|
116
75
|
|
|
117
|
-
|
|
76
|
+
### 新版组合的退化
|
|
118
77
|
|
|
119
|
-
|
|
78
|
+
与旧宿主、旧模型相比,标准由 51 题降至 46 题,Super Code 由 0.3.0 候选的 56 题降至 0.3.4 的 41 题。期间宿主、模型和插件同时变化。预算是已定位的原因之一,但不能证明全部退化均由预算导致。
|
|
120
79
|
|
|
121
|
-
|
|
80
|
+
同一道题在不同轮次中结果可能不同。由于各轮配置也在变化,现有数据尚不足以估计固定配置下的随机波动。
|
|
122
81
|
|
|
123
|
-
|
|
124
|
-
|---|---:|---:|---:|---:|
|
|
125
|
-
| 通过/有效 / Passed / valid | 45/100 | 40/99 | 46/100 | 48/99 |
|
|
126
|
-
| 待核查 / Pending review | 0 | 1 | 0 | 1 |
|
|
127
|
-
| 净分钟/题 / Net minutes | 17.875 | 20.458 | 20.870 | 16.486 |
|
|
128
|
-
| 模型调用/题 / Model calls | 85.050 | 69.051 | 91.980 | 68.616 |
|
|
129
|
-
| 总 token/题 / Total tokens | 6,832,805.820 | 5,125,240.424 | 7,806,295.960 | 5,131,724.556 |
|
|
130
|
-
| 缓存输入 token/题 / Cached input | 6,710,566.400 | 5,008,071.111 | 7,679,298.560 | 5,016,822.909 |
|
|
131
|
-
| 非缓存输入 token/题 / Uncached input | 59,268.620 | 55,443.192 | 59,291.340 | 53,125.495 |
|
|
132
|
-
| 输出 token/题 / Output | 62,970.800 | 61,726.121 | 67,706.060 | 61,776.152 |
|
|
133
|
-
| 缺少用量的请求 / Requests without usage | 0 | 0 | 0 | 1 |
|
|
82
|
+
[四组逐题数据](../eval/results/swebench-pro-final-100/HarnessRc2Results.json)
|
|
134
83
|
|
|
135
|
-
|
|
84
|
+
## 官方预设
|
|
136
85
|
|
|
137
|
-
|
|
86
|
+
DSH `0.1.5-rc.2` · `deepseek-v4.1-flash`。
|
|
138
87
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
88
|
+
| 指标(每题平均) | minimal + high | minimal + max | 标准 + high | 标准 + max | PTC + high | 创造 + high |
|
|
89
|
+
|---|---:|---:|---:|---:|---:|---:|
|
|
90
|
+
| 通过 | 46/100 | 50/100 | **51/100** | 50/100 | 47/100 | 49/100 |
|
|
91
|
+
| 原始分钟 | 25.685 | 32.529 | 20.683 | 20.389 | 17.302 | 19.856 |
|
|
92
|
+
| 净分钟 | 25.122 | 32.009 | 18.826 | 19.507 | 15.122 | 18.714 |
|
|
93
|
+
| 净分钟中位数 | 25.598 | 32.167 | 16.639 | 16.878 | 13.455 | 16.452 |
|
|
94
|
+
| 净分钟 P90 | 41.658 | 45.179 | 36.681 | 33.834 | 25.031 | 30.104 |
|
|
95
|
+
| 模型调用 | 124.660 | 138.920 | 92.370 | 101.260 | 71.160 | 93.600 |
|
|
96
|
+
| 顶层工具调用 | 127.360 | 150.070 | 110.480 | 124.940 | 70.990 | 113.780 |
|
|
97
|
+
| 总输入 token | 11,477,169.950 | 14,849,497.540 | 8,771,693.040 | 11,434,388.180 | 6,160,934.650 | 9,205,287.290 |
|
|
98
|
+
| 总 token | 11,578,046.900 | 14,966,097.260 | 8,854,513.910 | 11,543,772.990 | 6,238,434.510 | 9,292,949.400 |
|
|
99
|
+
| 缓存输入 token | 11,404,101.120 | 14,770,140.160 | 8,713,578.230 | 11,366,136.320 | 6,099,266.510 | 9,145,025.240 |
|
|
100
|
+
| 非缓存输入 token | 73,068.830 | 79,357.380 | 58,114.810 | 68,251.860 | 61,668.140 | 60,262.050 |
|
|
101
|
+
| 输出 token | 100,876.950 | 116,599.720 | 82,820.870 | 109,384.810 | 77,499.860 | 87,662.110 |
|
|
102
|
+
| 输入缓存率 | 99.363% | 99.466% | 99.337% | 99.403% | 98.999% | 99.345% |
|
|
103
|
+
| 扣除的重试分钟(全组) | 56.323 | 51.936 | 185.717 | 88.220 | 217.996 | 114.226 |
|
|
104
|
+
| 缺少用量的请求 | 3 | 11 | 4 | 0 | 5 | 2 |
|
|
105
|
+
|
|
106
|
+
- 创造预设保留官方工具定义,但评测隔离禁止 `cordis_run` 在宿主上执行动态代码,只读检查仍可用。
|
|
107
|
+
- minimal + high 复用历史基线,宿主修订与其他组不同,差异不能全部归因于思考等级。
|
|
108
|
+
|
|
109
|
+
[逐题数据](../eval/results/swebench-pro-final-100/OfficialPresetResults.json)
|
|
110
|
+
|
|
111
|
+
## 历史版本
|
|
112
|
+
|
|
113
|
+
DSH `0.1.5-rc.2` · `deepseek-v4.1-flash` · high。耗时采用历史原始口径(见[口径](#口径)),不能与上文净耗时直接比较。
|
|
114
|
+
|
|
115
|
+
| 指标(每题平均) | minimal + high | 0.0.9 | 0.1.2 | 0.2.0 分层记忆 | 0.3.0 Batch.3 |
|
|
116
|
+
|---|---:|---:|---:|---:|---:|
|
|
117
|
+
| 通过 | 46 | 50 | 53 | 54 | **56** |
|
|
118
|
+
| 原始分钟 | 25.685 | 16.458 | 16.011 | 15.148 | 13.461 |
|
|
119
|
+
| 分钟中位数 | 26.138 | 14.398 | 13.736 | 13.510 | 12.197 |
|
|
120
|
+
| 分钟 P90 | 43.696 | 28.816 | 29.360 | 24.145 | 21.381 |
|
|
121
|
+
| 模型调用 | 124.660 | 92.780 | 99.780 | 93.830 | 69.290 |
|
|
122
|
+
| 顶层工具调用 | 127.360 | 116.550 | 123.340 | 119.160 | 69.730 |
|
|
123
|
+
| 总输入 token | 11,477,169.950 | 9,525,315.530 | 9,840,382.730 | 9,202,574.270 | 6,290,407.000 |
|
|
124
|
+
| 缓存输入 token | 11,404,101.120 | 9,461,981.440 | 9,775,799.040 | 9,142,005.760 | 6,231,823.360 |
|
|
125
|
+
| 非缓存输入 token | 73,068.830 | 63,334.090 | 64,583.690 | 60,568.510 | 58,583.640 |
|
|
126
|
+
| 输出 token | 100,876.950 | 97,900.990 | 97,793.480 | 96,519.570 | 91,561.850 |
|
|
127
|
+
| 总 token | 11,578,046.900 | 9,623,216.520 | 9,938,176.210 | 9,299,093.840 | 6,381,968.850 |
|
|
128
|
+
| 输入缓存率 | 99.363% | 99.335% | 99.344% | 99.342% | 99.069% |
|
|
129
|
+
| 缺少用量的请求 | 3 | 8 | 1 | 1 | 0 |
|
|
130
|
+
|
|
131
|
+
相对 minimal:
|
|
132
|
+
|
|
133
|
+
| 版本 | 通过率 | 平均耗时 | 总 token | 新通过 | 回退 |
|
|
134
|
+
|---|---:|---:|---:|---:|---:|
|
|
135
|
+
| 0.0.9 | +4 pp | -35.9% | -16.9% | 7 | 3 |
|
|
136
|
+
| 0.1.2 | +7 pp | -37.7% | -14.2% | 10 | 3 |
|
|
137
|
+
| 0.2.0 | +8 pp | -41.0% | -19.7% | 11 | 3(37、396、503) |
|
|
138
|
+
| 0.3.0 Batch.3 | +10 pp | -47.6% | -44.9% | 13 | 3 |
|
|
142
139
|
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
140
|
+
- 0.3.0 vs 0.2.0:耗时 -11.1%,token -31.4%,模型调用 -26.2%,通过 54 → 56(新通过 8 题、回退 6 题)。此为单轮结果,净增 2 题不能视为稳定提升。
|
|
141
|
+
- 0.2.0 vs 0.1.2:耗时 -5.4%,token -6.4%,通过 53 → 54(改善 7 题、回退 6 题)。总体提升不代表原先通过的题目均未回退。
|
|
142
|
+
- 一次 PTC 调用可执行多个操作,因此「顶层工具调用」不能用于比较实际读取文件或执行命令的次数。
|
|
146
143
|
|
|
147
|
-
|
|
144
|
+
候选身份:
|
|
148
145
|
|
|
149
|
-
|
|
146
|
+
- **0.2.0** 是评测时冻结的分层记忆候选,包内版本号仍为 0.1.3,SHA-256 `164cc1b505c05288f01b6f12c0756af049dbde8f1a49bdb11f9a320a19c925f5`。
|
|
147
|
+
- **0.3.0** 是内部版本 `0.3.0-batch.3` 的实际安装候选。正式包已逐文件核对运行模块,并完成单元测试和真实宿主回归,未重新运行 100 题。
|
|
148
|
+
- 两者的 Harness 提交相同(`649bfcddf0e3532510a38380b9620570d8b13818`),但仍无法区分提示词与工具呈现各自的作用。各轮记忆工具的实际触发次数也有限,差异不能全部归因于记忆。
|
|
150
149
|
|
|
151
|
-
[
|
|
150
|
+
[四版本逐题数据](../eval/results/swebench-pro-final-100/CorrectedFourVersions.json) · [Batch.3 逐题数据](../eval/results/swebench-pro-final-100/Batch3Results.json)
|
|
152
151
|
|
|
153
|
-
|
|
152
|
+
## 跨模型
|
|
154
153
|
|
|
155
|
-
|
|
154
|
+
`glm-5.3-flash` · max。Super Code `0.3.4` 运行于 DSH `0.1.5-rc.2`;对照为完整的原生 ZCode Desktop `3.14.4` / CLI `0.16.9`,未通过抽取部分源码进行模拟。
|
|
156
155
|
|
|
157
|
-
|
|
156
|
+
| 指标(每题平均) | DSH + Super Code 0.3.4 | 原生 ZCode |
|
|
157
|
+
|---|---:|---:|
|
|
158
|
+
| 通过 | **45/100** | 29/100 |
|
|
159
|
+
| 净分钟 | 32.896 | 52.320 |
|
|
160
|
+
| 模型调用 | 66.890 | 64.310 |
|
|
161
|
+
| 总 token | 5,499,154.470 | 3,609,511.930 |
|
|
162
|
+
| 缓存输入 token | 5,302,796.160 | 3,356,862.720 |
|
|
163
|
+
| 非缓存输入 token | 126,050.640 | 144,405.020 |
|
|
164
|
+
| 输出 token | 70,307.670 | 108,244.190 |
|
|
165
|
+
| 缺少用量的请求 | 29 | 120 |
|
|
158
166
|
|
|
159
|
-
|
|
167
|
+
结果表明该方案在 GLM 上同样有效。但这是两套完整系统之间的比较,无法分离插件单独的贡献,也不能推广至所有模型。
|
|
160
168
|
|
|
161
|
-
[
|
|
169
|
+
[逐题数据](../eval/results/swebench-pro-final-100/GLMComparison.json) · [执行脚本](../eval/glm/README.md)
|
|
162
170
|
|
|
163
|
-
##
|
|
171
|
+
## 评分更正
|
|
164
172
|
|
|
165
|
-
|
|
166
|
-
|---|---:|---:|---:|---:|---:|
|
|
167
|
-
| 0.0.9 | +4.000 pp | -35.923% | -16.884% | 7 | 3 |
|
|
168
|
-
| 0.1.2 | +7.000 pp | -37.663% | -14.164% | 10 | 3 |
|
|
169
|
-
| 0.2.0 | +8.000 pp | -41.025% | -19.683% | 11 | 3 |
|
|
170
|
-
| 0.3.0 Batch.3 | +10.000 pp | -47.593% | -44.879% | 13 | 3 |
|
|
173
|
+
所有更正均为对**原答案**重新评分或补齐漏导出的记录,未让模型重新作答。原判定、补丁哈希、用量和耗时均予以保留。
|
|
171
174
|
|
|
172
|
-
|
|
175
|
+
### 2026-10-21 ~ 23
|
|
173
176
|
|
|
174
|
-
|
|
177
|
+
| 方案 | 更正前 | 更正后 | 日期 |
|
|
178
|
+
|---|---:|---:|---|
|
|
179
|
+
| Super Code 0.3.4 · 默认预算 | 40/99 | 41/100 | 10-21 |
|
|
180
|
+
| Super Code 0.3.5 · 旧预算 | 48/99 | 49/100 | 10-21 |
|
|
181
|
+
| 标准 high · 默认预算 | 45/100 | 46/100 | 10-22 |
|
|
182
|
+
| 标准 high · 旧预算 | 46/100 | 46/100 | 10-22 |
|
|
183
|
+
| GLM Super Code 0.3.4 | 44/100 | 45/100 | 10-22 |
|
|
184
|
+
| GLM 原生 ZCode | 28/100 | 29/100 | 10-22 |
|
|
185
|
+
| 标准 max · DSH 0.1.5-rc.2 | 49/99 | 50/100 | 10-23 |
|
|
175
186
|
|
|
176
|
-
|
|
187
|
+
- 前六组涉及同一道 NodeBB 题:修复离线依赖准备(确认原基线失败、参考答案通过)后,用各组原补丁评分两次,结果完全一致方予采纳。测试名称仅接受四处精确的引号或空格差异,不修改断言、时限或测试状态,全程断网。标准旧预算组仍存在真实失败,因此成绩不变。
|
|
188
|
+
- 标准 max 补回第 610 题 Teleport:原评分即为通过,仅因快照漏导出而缺失。
|
|
177
189
|
|
|
178
|
-
|
|
190
|
+
[更正依据与原始哈希](../eval/results/swebench-pro-final-100/GradingReconciliation.json)
|
|
179
191
|
|
|
180
|
-
|
|
192
|
+
### 更早的复核
|
|
181
193
|
|
|
182
|
-
| 版本
|
|
194
|
+
| 版本 | 原始通过 | 更正后 | 环境复评题数 |
|
|
183
195
|
|---|---:|---:|---:|
|
|
184
196
|
| minimal | 41 | 46 | 4 |
|
|
185
197
|
| 0.0.9 | 46 | 50 | 3 |
|
|
186
198
|
| 0.1.2 | 49 | 53 | 4 |
|
|
187
199
|
| 0.2.0 | 48 | 54 | 5 |
|
|
188
200
|
|
|
189
|
-
16
|
|
190
|
-
|
|
191
|
-
|
|
201
|
+
- **环境异常**:16 条记录遇到 ConfigFileTest 500ms 超时、Jest worker 被 SIGKILL 等问题。使用原补丁重新评分,每条需取得两次无异常且一致的结果,**并非**重试至通过为止。12 条恢复通过,4 条仍失败。
|
|
202
|
+
- **依赖下载异常**:官方预设组中 12 条 Node 构建依赖下载失败,按相同规则复评:11 条恢复,1 条仍失败。
|
|
203
|
+
- **测试名称差异**:31 条仅为测试名称不一致(OpenLibrary 16 条为动态年份,NodeBB 15 条为末尾引号或空格),原始测试全部通过,缺失的必需测试名均可精确对应。仅接受这两类映射,不做模糊匹配,不借用其他版本的成绩。
|
|
204
|
+
- **旧实验**:新发现 7 项环境异常,复评后 3 项恢复、4 项仍失败。另有三条旧记录(早期 minimal 第 4 题、旧 Graph 第 623 题、旧 Graph 第 99 题误用了第 378 题的元数据)已找回日志复核,均不在公开成绩中,公开数字不变。
|
|
192
205
|
|
|
193
|
-
|
|
206
|
+
### 复核覆盖面
|
|
194
207
|
|
|
195
|
-
|
|
208
|
+
- 3,296 条 Pro / Dev 主记录均已重新解析原始日志(含重复保留的记录,并非独立题数)。Dev 1,212 条判分一致。公开四版本的 400 条记录均精确绑定原始摘要和评分日志。
|
|
209
|
+
- 3,224 条记录的请求明细与摘要一致(调用数、token、缺失用量),无重复请求 ID;72 条未保留请求明细。
|
|
210
|
+
- 本次复核并非对全部原始会话或供应商账单的完整审计。
|
|
196
211
|
|
|
197
|
-
[
|
|
212
|
+
[逐条复核](../eval/results/swebench-pro-final-100/GradingReviewResults.json)
|
|
198
213
|
|
|
199
|
-
|
|
214
|
+
## 口径
|
|
200
215
|
|
|
201
|
-
|
|
216
|
+
- **净耗时**:扣除最终有效作答中的失败请求和重试等待,不含评分。
|
|
217
|
+
- **原始耗时**(历史版本表):最终有效作答的 Web RPC 耗时,不含评分、镜像下载和复评,但未扣除内部失败请求和重试。中位数取第 50、51 项均值,P90 取第 90 项。0.0.9 旧文档记为 16.27 分钟,按统一口径为 16.458。
|
|
218
|
+
- **调用次数**:排除已记录的失败请求。
|
|
219
|
+
- **token**:总 token = 缓存输入 + 非缓存输入 + 输出,输出含思考内容。缓存率 = 全部缓存输入 / 全部输入(非逐题平均)。先逐题合计,再按有效题数平均。
|
|
220
|
+
- **缺失用量不估算**,因此 token 不等同于完整账单,也不含此前被放弃的尝试。
|
|
221
|
+
- **执行方式**:DSH 使用原生 Web RPC,ZCode 使用完整原生 CLI。
|
|
222
|
+
- **隐私**:公开数据仅保留核对所需字段,不含私有提供方地址、凭证、环境配置、本机路径或用户消息原文。逐题结果文件保留在仓库中,不包含在 npm 包内。
|
|
202
223
|
|
|
203
|
-
|
|
204
|
-
**Same tasks:** The frozen selection is `swebench-pro-hard-100-ddd22492f1c38839`, using the official grader. Historical version and official-preset tables use DSH `0.1.5-rc.2` / `deepseek-v4.1-flash`; GLM and newer-DSH tables identify their own hosts, models, and budgets. DSH uses native Web RPC; ZCode uses its complete native CLI. All version-comparison runs use `high` reasoning; the official-preset table labels each effort level. These 100 tasks were selected using the existing difficulty-ranking method, rather than an official hardest-100 designation. They are used to evaluate frozen candidates and investigate bugs, not for performance tuning.
|
|
205
|
-
- **时间:** 版本表保留每题最终有效作答的原始 Web RPC 耗时,不计官方评分、下载镜像和复评分,但未逐项扣除该次作答内部的失败请求与重试等待。中位数取第 50、51 项均值,P90 取排序后的第 90 项。0.0.9 的旧文档曾写 16.27 分钟,这里按历史统一口径为 16.458 分钟。官方预设表另列净耗时,两种口径不混用。
|
|
206
|
-
**Time:** The version table retains raw Web RPC time for each final valid answer, excluding grading, image downloads, and regrading, but without subtracting individual failed requests and retry waits within that answer. The median averages the 50th and 51st values; P90 is the 90th ordered value. An older 0.0.9 document reported 16.27 minutes; the historical convention gives 16.458 minutes. The official-preset table reports net time separately; the two measures must not be mixed.
|
|
207
|
-
- **用量:** 纳入每题最终评分尝试的已记录调用,先逐题合计再对有效评分题数取平均;待环境核查的题目暂不计入均值。输入包含缓存读取,输出包含思考 token;缓存率为全部缓存输入除以全部输入,而非逐题缓存率的平均。未返回用量的请求不估算,因此 token 不代表完整账单费用,也不包括先前被放弃的尝试成本。
|
|
208
|
-
**Usage:** Recorded calls from each task’s final scored attempt are summed per task, then averaged over tasks with valid scores; pending environmental reviews are excluded from means. Input includes cache reads and output includes reasoning tokens; the cache rate is total cached input divided by total input, not the mean per-task rate. Missing usage is not estimated, so tokens do not represent a complete bill or the cost of earlier abandoned attempts.
|
|
209
|
-
- **候选身份:** 0.2.0 表示已评测的分层记忆候选,其实验包内部版本仍为 0.1.3,包 SHA-256 为 `164cc1b505c05288f01b6f12c0756af049dbde8f1a49bdb11f9a320a19c925f5`。新整合的记忆 UI 与兼容改动进行单测及真实宿主回归,未重新运行这 100 次模型任务。
|
|
210
|
-
**Candidate identity:** The evaluated memory-hierarchy candidate is reported as 0.2.0; its experimental package still carried version 0.1.3 and SHA-256 `164cc1b505c05288f01b6f12c0756af049dbde8f1a49bdb11f9a320a19c925f5`. The integrated memory UI and compatibility changes undergo unit and real-host regression checks, not a fresh 100-task model run.
|
|
211
|
-
- **0.3.0 来源:** 本页成绩属于内部版本 `0.3.0-batch.3` 的实际安装候选。整合时按冻结的运行模块逐文件核对,保留主干 0.2.1 的语言资源和兼容改动;发布包做类型、单测、打包及真实宿主回归,没有重新执行这 100 次模型任务。Batch.3 与分层记忆候选的 Harness 提交同为 `649bfcddf0e3532510a38380b9620570d8b13818`,仍不能分离提示词和工具呈现方式各自的作用。
|
|
212
|
-
**0.3.0 source:** These scores belong to the installed candidate carrying internal version `0.3.0-batch.3`. Integration checks the frozen runtime modules individually and retains main's 0.2.1 locale and compatibility updates. The release package undergoes type checks, unit tests, package checks, and real-host regression rather than rerunning those 100 model tasks. Batch.3 and the memory-hierarchy candidate share Harness commit `649bfcddf0e3532510a38380b9620570d8b13818`; their results still do not isolate prompt changes from tool presentation changes.
|
|
213
|
-
- **归因与隐私:** 各轮 Harness 提交不同,记忆工具实际触发也有限,不能把全部差异归因于记忆或单一改动。公开数据仅保留核对所需字段,不包含私有提供方地址、凭据、环境配置、本机路径或用户消息原文。
|
|
214
|
-
**Attribution and privacy:** Harness revisions differ, and memory-tool use was limited; these results do not isolate memory or any single change. Public data retains audit fields without private provider addresses, credentials, environment configuration, machine paths, or verbatim user messages.
|
|
224
|
+
[完整成绩表](../eval/results/swebench-pro-final-100/ResultsTables.md) · [结果文件说明](../eval/results/swebench-pro-final-100/README.md)
|