dsh-compaction-weave 0.0.0-stage → 0.3.3
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/CHANGELOG.md +97 -0
- package/LICENSE +21 -0
- package/README.en.md +136 -0
- package/README.md +139 -2
- package/cordis.patch.yml +19 -0
- package/docs/architecture.md +84 -0
- package/docs/benchmarks/published-0.3.2-rc.1-tests.json +576 -0
- package/docs/benchmarks/rc2-documentation.json +41 -0
- package/docs/benchmarks/rc2-linux-tests.json +590 -0
- package/docs/benchmarks/rc2-live-and-cost.json +746 -0
- package/docs/benchmarks/rc3-host-compatibility.json +2314 -0
- package/docs/benchmarks/rc4-tests.json +617 -0
- package/docs/benchmarks/review35-compression.json +117 -0
- package/docs/benchmarks/v0.3.2-live-four-way.json +3495 -0
- package/docs/benchmarks/v0.3.2-tests.json +590 -0
- package/docs/configuration.md +131 -0
- package/docs/development.md +88 -0
- package/docs/en/architecture.md +75 -0
- package/docs/en/configuration.md +131 -0
- package/docs/en/development.md +86 -0
- package/docs/en/feedback.md +47 -0
- package/docs/en/principles.md +235 -0
- package/docs/en/testing.md +368 -0
- package/docs/en/troubleshooting.md +59 -0
- package/docs/feedback.md +47 -0
- package/docs/images/principles-context.en.svg +77 -0
- package/docs/images/principles-context.zh.svg +77 -0
- package/docs/images/principles-pipeline.en.svg +93 -0
- package/docs/images/principles-pipeline.zh.svg +93 -0
- package/docs/images/principles-recovery.en.svg +46 -0
- package/docs/images/principles-recovery.zh.svg +46 -0
- package/docs/principles.md +235 -0
- package/docs/test-results.json +634 -0
- package/docs/testing.md +358 -0
- package/docs/troubleshooting.md +59 -0
- package/lib/abort.js +13 -0
- package/lib/action-state.js +60 -0
- package/lib/atomic-replace.js +18 -0
- package/lib/attachments.js +76 -0
- package/lib/audit-reject.js +161 -0
- package/lib/audit.js +939 -0
- package/lib/cache-policy.js +71 -0
- package/lib/client.js +696 -0
- package/lib/command-compact.js +38 -0
- package/lib/command-heartbeat.js +61 -0
- package/lib/config.js +596 -0
- package/lib/constraint-scope.js +37 -0
- package/lib/continuation-budget.js +69 -0
- package/lib/continuation-pending.js +57 -0
- package/lib/continuation-progress.js +46 -0
- package/lib/continuation.js +287 -0
- package/lib/engine-entry.js +103 -0
- package/lib/engine.js +2485 -0
- package/lib/failure-diagnostics.js +220 -0
- package/lib/history-source.js +74 -0
- package/lib/history.js +712 -0
- package/lib/idle-compaction.js +64 -0
- package/lib/index.js +611 -0
- package/lib/instruction-source.js +163 -0
- package/lib/journal.js +164 -0
- package/lib/manual-error.js +179 -0
- package/lib/memory-policy.js +383 -0
- package/lib/meter.js +387 -0
- package/lib/observation-mask.js +390 -0
- package/lib/proactive.js +108 -0
- package/lib/progress-facts.js +347 -0
- package/lib/progress-state.js +30 -0
- package/lib/prompt.js +194 -0
- package/lib/reconstruct.js +72 -0
- package/lib/reference-input.js +107 -0
- package/lib/region.js +972 -0
- package/lib/source-provenance.js +58 -0
- package/lib/source-recovery.js +22 -0
- package/lib/source-refs.js +137 -0
- package/lib/state.js +46 -0
- package/lib/storage-path.js +42 -0
- package/lib/summary-budget.js +187 -0
- package/lib/summary-config.js +308 -0
- package/lib/summary-progress.js +56 -0
- package/lib/summary-retry.js +27 -0
- package/lib/summary-timeout.js +68 -0
- package/lib/summary.js +476 -0
- package/lib/tools.js +341 -0
- package/lib/transaction-host.js +252 -0
- package/lib/transaction.js +285 -0
- package/lib/validate.js +503 -0
- package/lib/version.js +3 -0
- package/lib/window.js +120 -0
- package/lib/work-report.js +55 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +71 -4
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"measuredDate": "2026-11-11",
|
|
4
|
+
"timeZone": "Asia/Shanghai",
|
|
5
|
+
"pluginVersion": "0.3.1-review.35",
|
|
6
|
+
"model": "DeepSeek V4.1 Flash",
|
|
7
|
+
"provider": "DeepSeek official API",
|
|
8
|
+
"usageSource": "Official SSE usage; inputTokens is total input, including cached and cache-creation tokens.",
|
|
9
|
+
"sampleSelection": {
|
|
10
|
+
"run": "replication",
|
|
11
|
+
"generations": [
|
|
12
|
+
1,
|
|
13
|
+
2,
|
|
14
|
+
3,
|
|
15
|
+
4
|
|
16
|
+
],
|
|
17
|
+
"beforePhase": "warmup-2",
|
|
18
|
+
"afterPhase": "incremental-1",
|
|
19
|
+
"successfulCompactions": 4,
|
|
20
|
+
"incrementalCompactions": 3,
|
|
21
|
+
"consolidations": 1,
|
|
22
|
+
"failedCompactionsIncluded": false,
|
|
23
|
+
"summaryGenerationCostIncluded": false
|
|
24
|
+
},
|
|
25
|
+
"formulas": {
|
|
26
|
+
"inputReductionPercent": "100 * (beforeInputTokens - afterInputTokens) / beforeInputTokens",
|
|
27
|
+
"meanInputReductionPercent": "arithmetic mean of the four unrounded per-compaction input reduction percentages",
|
|
28
|
+
"meanInputRetainedPercent": "100 - meanInputReductionPercent",
|
|
29
|
+
"weightedInputReductionPercent": "100 * (sum(beforeInputTokens) - sum(afterInputTokens)) / sum(beforeInputTokens)"
|
|
30
|
+
},
|
|
31
|
+
"samples": [
|
|
32
|
+
{
|
|
33
|
+
"generation": 1,
|
|
34
|
+
"mode": "incremental",
|
|
35
|
+
"before": {
|
|
36
|
+
"inputTokens": 58838,
|
|
37
|
+
"cacheReadTokens": 58624,
|
|
38
|
+
"uncachedTokens": 214,
|
|
39
|
+
"cacheCreationTokens": 0
|
|
40
|
+
},
|
|
41
|
+
"after": {
|
|
42
|
+
"inputTokens": 19778,
|
|
43
|
+
"cacheReadTokens": 7168,
|
|
44
|
+
"uncachedTokens": 12610,
|
|
45
|
+
"cacheCreationTokens": 0
|
|
46
|
+
},
|
|
47
|
+
"inputReductionPercent": 66.38566912539515,
|
|
48
|
+
"inputRetainedPercent": 33.614330874604846
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"generation": 2,
|
|
52
|
+
"mode": "incremental",
|
|
53
|
+
"before": {
|
|
54
|
+
"inputTokens": 78559,
|
|
55
|
+
"cacheReadTokens": 78336,
|
|
56
|
+
"uncachedTokens": 223,
|
|
57
|
+
"cacheCreationTokens": 0
|
|
58
|
+
},
|
|
59
|
+
"after": {
|
|
60
|
+
"inputTokens": 32242,
|
|
61
|
+
"cacheReadTokens": 13696,
|
|
62
|
+
"uncachedTokens": 18546,
|
|
63
|
+
"cacheCreationTokens": 0
|
|
64
|
+
},
|
|
65
|
+
"inputReductionPercent": 58.95823521175168,
|
|
66
|
+
"inputRetainedPercent": 41.04176478824832
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"generation": 3,
|
|
70
|
+
"mode": "incremental",
|
|
71
|
+
"before": {
|
|
72
|
+
"inputTokens": 91046,
|
|
73
|
+
"cacheReadTokens": 90880,
|
|
74
|
+
"uncachedTokens": 166,
|
|
75
|
+
"cacheCreationTokens": 0
|
|
76
|
+
},
|
|
77
|
+
"after": {
|
|
78
|
+
"inputTokens": 44812,
|
|
79
|
+
"cacheReadTokens": 26112,
|
|
80
|
+
"uncachedTokens": 18700,
|
|
81
|
+
"cacheCreationTokens": 0
|
|
82
|
+
},
|
|
83
|
+
"inputReductionPercent": 50.78092392856358,
|
|
84
|
+
"inputRetainedPercent": 49.21907607143642
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"generation": 4,
|
|
88
|
+
"mode": "consolidation",
|
|
89
|
+
"before": {
|
|
90
|
+
"inputTokens": 103827,
|
|
91
|
+
"cacheReadTokens": 103680,
|
|
92
|
+
"uncachedTokens": 147,
|
|
93
|
+
"cacheCreationTokens": 0
|
|
94
|
+
},
|
|
95
|
+
"after": {
|
|
96
|
+
"inputTokens": 2187,
|
|
97
|
+
"cacheReadTokens": 0,
|
|
98
|
+
"uncachedTokens": 2187,
|
|
99
|
+
"cacheCreationTokens": 0
|
|
100
|
+
},
|
|
101
|
+
"inputReductionPercent": 97.89361148834118,
|
|
102
|
+
"inputRetainedPercent": 2.106388511658821
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"aggregates": {
|
|
106
|
+
"meanInputReductionPercent": 68.5046099385129,
|
|
107
|
+
"meanInputRetainedPercent": 31.4953900614871,
|
|
108
|
+
"meanIncrementalInputReductionPercent": 58.70827608857014,
|
|
109
|
+
"beforeInputTokens": 332270,
|
|
110
|
+
"afterInputTokens": 99019,
|
|
111
|
+
"weightedInputReductionPercent": 70.199235561441
|
|
112
|
+
},
|
|
113
|
+
"sourceSha256": {
|
|
114
|
+
"requestLedgerCsv": "46319cddf905f9bed3ebda2ec44f0cbe305ce2bfac1386a2e52bfc16176e3df2",
|
|
115
|
+
"completeReportMarkdown": "9107f5ef0f73ee4ccc14230439b9616297e7f77243b46217ff9d625056d51a41"
|
|
116
|
+
}
|
|
117
|
+
}
|