dsh-fast-mode 1.5.10 → 1.5.11

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 (3) hide show
  1. package/BENCHMARK.md +13 -0
  2. package/index.js +1 -1
  3. package/package.json +5 -2
package/BENCHMARK.md CHANGED
@@ -1580,3 +1580,16 @@ python3 bench/suite-run.py --tasks debugfix,ledger,codeimpl --arms off,def15,bud
1580
1580
  5. 通过 → `outputBudget` 默认值从关改为 8000 并进 CHANGELOG;不通过 → 在本文档记录负结果,默认保持关。
1581
1581
 
1582
1582
  注意:`bud8` 的历史 20 行来自**没有 tag 的遗留块**(每家族仅 1 对、无 ABBA 保证),已判定不可用,不得拿来替代 `BUD3`;上面第 2 条的旧值 `out/def15≈0.94` 只作方向参考。
1583
+
1584
+ ## 负载前提改了:从「等安静」改成「同块交错 + 记录负载」(2026-10-27,方法学变更)
1585
+
1586
+ 连续 4 小时以上等不到 `load1 < 6.5`。查了是谁在占 CPU:不是外部的抓取任务,而是**这台机器现在的常态**——DSH 自己的两个渲染进程(70 % + 25 %)、SkyLight(71 %)、WebKit、一个虚拟机。也就是说 `load1` 8–10 是本机 GUI 会话的基线,原来的「安静窗口」前提在这台机器上永远不会满足,继续等等于把实验停摆。
1587
+
1588
+ 新的前提(写下来是为了以后不被人拿绝对墙钟数字做文章):
1589
+
1590
+ 1. **成块门槛从「安静」改成「不病态」**:`load1 < 12` 即开跑;只有 `load1 ≥ 14 连续 6 分钟`(真异常)或「24 分钟没有新增结果行」(真挂死)才中止。
1591
+ 2. **抗污染靠设计而不是靠等**:`suite-run.py` 本来就是每对交错跑臂(ABBA),同块内 `off` 与 `def15`(或 `gateonly`/`bud8`)吃同一段负载。**对外报的量是同块比值,负载在时间上的整体缩放对比值近似一阶抵消**;受影响的只有绝对墙钟,而这些块的绝对墙钟一律不许跨块比较、也不许当「本机单任务耗时」引用。
1592
+ 3. **每个块把自己的负载样本落盘**:`bench/results/suite-<TAG>.load.json`(`samples/mean/max`),分析时必须把块所属负载区间一并写出,例如「NX1_IMPL 在 mean 9.8 下测得」。
1593
+ 4. **方差预期**:负载高时单格方差变大,所以结论继续用「同块总和比 + 逐对中位数 + 符号检验」,且**每家族 ≥ 2 个同块有效对**才算判定;只有 1 对的行一律写「未判定」。
1594
+
1595
+ 这一条替换掉此前「`load` 持续 ≥ 8 就整块作废」的规则(那版规则在 20:44–20:53 的 NX1_IMPL 上刚把一个块砍到只剩 1 行,而阈值 8 恰好等于本机空闲基线,等于永久停机)。
package/index.js CHANGED
@@ -95,7 +95,7 @@ const TAG = '[fast-mode]'
95
95
  * Shipped identity of this build. Traced into the debug log so a stale install is
96
96
  * visible at a glance, and pinned by a test against `package.json`.
97
97
  */
98
- export const VERSION = '1.5.10'
98
+ export const VERSION = '1.5.11'
99
99
  const GLOBAL_AGENT = '__global__'
100
100
 
101
101
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-fast-mode",
3
- "version": "1.5.10",
3
+ "version": "1.5.11",
4
4
  "description": "DeepSeek Harness fast mode: same thinking effort, fewer round trips. An adaptive parallel tool fan-out, output discipline that never trims the answer, and a cancellable stall guard. Never changes reasoning effort, the model, or the request body. Provider-agnostic, one dependency (@deepseek-ai/schemastery).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -77,7 +77,10 @@
77
77
  "immediately": true
78
78
  }
79
79
  },
80
- "author": "regrevia",
80
+ "author": {
81
+ "name": "regrevia",
82
+ "url": "https://github.com/regrevia"
83
+ },
81
84
  "icon": "./icon.png",
82
85
  "bin": {
83
86
  "dsh-fast-mode-experiment": "./bin/experiment.mjs",