pi-ptc-meter 1.0.33 → 1.0.34
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.md +15 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,13 +58,16 @@ pi install npm:pi-ptc-meter
|
|
|
58
58
|
|
|
59
59
|
pi-ptc-meter 的改动在**隔离副本**上做回放验证后才发版;当前版本通过 **10,011 条断言**。
|
|
60
60
|
|
|
61
|
-
| 测试面 | 规模 |
|
|
62
|
-
| --- | --- |
|
|
63
|
-
| 真实日志回放 | 4,349 轮 |
|
|
64
|
-
| 随机状态 | 10,000 条 |
|
|
65
|
-
| 统计函数边界 | 11 项 |
|
|
61
|
+
| 测试面 | 规模 | 结果 |
|
|
62
|
+
| --- | --- | --- |
|
|
63
|
+
| 真实日志回放 | 4,349 轮 | 🟢 |
|
|
64
|
+
| 随机状态 | 10,000 条 | 🟢 |
|
|
65
|
+
| 统计函数边界 | 11 项 | 🟢 |
|
|
66
|
+
|
|
67
|
+
🟢 **结论**:预估功能已删除——412 个声明点上 6 种预测器全部落在 71–94% 误差,预估恰好在它被需要的那一刻不可预测。
|
|
66
68
|
|
|
67
69
|
改动:删调用数预估 + 耗时预估。依据:预估在声明点不可预测:412 个声明点上 6 种预测器全部 71–94% 误差;耗时中位误差 199%。
|
|
70
|
+
|
|
68
71
|
## 作用(源码事实)
|
|
69
72
|
|
|
70
73
|
- `tool_call`:顶层调用计数 +1(codemode 内层调用不另计;不拦截、不改调用)。
|
|
@@ -168,13 +171,15 @@ Also: log `~/.pi/ptc-meter.jsonl` (1 MiB truncation, tail-preserving); no enviro
|
|
|
168
171
|
|
|
169
172
|
Changes to pi-ptc-meter were verified on an isolated copy before release; the current version passes **10,011 assertions**.
|
|
170
173
|
|
|
171
|
-
| Surface | Scale |
|
|
172
|
-
| --- | --- |
|
|
173
|
-
| Real log replay | 4,349 turns |
|
|
174
|
-
| Random states | 10,000 |
|
|
175
|
-
| Statistic edges | 11 |
|
|
174
|
+
| Surface | Scale | Result |
|
|
175
|
+
| --- | --- | --- |
|
|
176
|
+
| Real log replay | 4,349 turns | 🟢 |
|
|
177
|
+
| Random states | 10,000 | 🟢 |
|
|
178
|
+
| Statistic edges | 11 | 🟢 |
|
|
176
179
|
|
|
180
|
+
🟢 **Result**: both estimates removed - on 412 declaration points all six predictors landed at 71-94% error, so estimating is unpredictable exactly when it is needed.
|
|
177
181
|
Change: both estimates removed. Why: estimates are unpredictable at declaration points: six predictors all landed at 71-94% error; duration median error 199%.
|
|
182
|
+
|
|
178
183
|
## What it does (source facts)
|
|
179
184
|
|
|
180
185
|
- `tool_call`: increments the counter for top-level calls only (nested codemode calls are not counted separately; never intercepts or rewrites).
|