@lmzhen/dsh-evolution-replay 0.3.63 → 0.3.65
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/lib/index.js +2 -1
- package/lib/types/index.d.ts +1 -0
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -119,12 +119,13 @@ var EvolutionReplayDriver = class {
|
|
|
119
119
|
* as a read/inspection window. Kept by declaration (same posture as the
|
|
120
120
|
* skill-usage `invalidate()` V6-44 declaration), so it is documented intent
|
|
121
121
|
* rather than undeclared dead code.
|
|
122
|
+
* @internal Exported for this package's own tests only.
|
|
122
123
|
*/
|
|
123
124
|
plansSnapshot() {
|
|
124
125
|
return [...this.plans];
|
|
125
126
|
}
|
|
126
127
|
compare(weights = this.weights) {
|
|
127
|
-
return comparePlans([...this.plans], weights);
|
|
128
|
+
return comparePlans([...this.plans], clampReplayWeights(weights, this.weights));
|
|
128
129
|
}
|
|
129
130
|
};
|
|
130
131
|
const name = "evolution-replay";
|
package/lib/types/index.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export declare class EvolutionReplayDriver {
|
|
|
70
70
|
* as a read/inspection window. Kept by declaration (same posture as the
|
|
71
71
|
* skill-usage `invalidate()` V6-44 declaration), so it is documented intent
|
|
72
72
|
* rather than undeclared dead code.
|
|
73
|
+
* @internal Exported for this package's own tests only.
|
|
73
74
|
*/
|
|
74
75
|
plansSnapshot(): ReplayPlan[];
|
|
75
76
|
compare(weights?: ReplayWeights): ReplayResult;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-replay",
|
|
3
3
|
"description": "Replay/A-B evaluation primitives for evolution plans (community build)",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.65",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
34
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
34
|
+
"@lmzhen/dsh-evolution-core": "^0.3.65"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
@@ -39,6 +39,6 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
42
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
42
|
+
"@lmzhen/dsh-evolution-core": "^0.3.65"
|
|
43
43
|
}
|
|
44
44
|
}
|