@stackmemoryai/stackmemory 1.5.3 → 1.5.5
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/dist/src/cli/commands/orchestrate.js +104 -2
- package/dist/src/cli/commands/orchestrator.js +478 -7
- package/package.json +2 -1
- package/scripts/gepa/.before-optimize.md +111 -107
- package/scripts/gepa/generations/gen-000/baseline.md +111 -139
- package/scripts/gepa/generations/gen-001/baseline.md +111 -139
- package/scripts/gepa/generations/gen-001/variant-a.md +1 -176
- package/scripts/gepa/generations/gen-001/variant-b.md +1 -266
- package/scripts/gepa/generations/gen-001/variant-c.md +1 -142
- package/scripts/gepa/generations/gen-001/variant-d.md +1 -172
- package/scripts/gepa/results/eval-1-baseline.json +66 -66
- package/scripts/gepa/results/eval-1-variant-a.json +64 -64
- package/scripts/gepa/results/eval-1-variant-b.json +73 -73
- package/scripts/gepa/results/eval-1-variant-c.json +82 -62
- package/scripts/gepa/results/eval-1-variant-d.json +95 -75
- package/scripts/gepa/state.json +8 -24
|
@@ -6,73 +6,73 @@
|
|
|
6
6
|
"taskId": "eval-001",
|
|
7
7
|
"taskName": "simple_function",
|
|
8
8
|
"weight": 1,
|
|
9
|
-
"passed":
|
|
10
|
-
"passRate": 0
|
|
9
|
+
"passed": false,
|
|
10
|
+
"passRate": 0,
|
|
11
11
|
"criteria": {
|
|
12
12
|
"has_function": {
|
|
13
|
-
"passed":
|
|
14
|
-
"reason": "
|
|
13
|
+
"passed": false,
|
|
14
|
+
"reason": "regex heuristic"
|
|
15
15
|
},
|
|
16
16
|
"handles_edge_cases": {
|
|
17
|
-
"passed":
|
|
18
|
-
"reason": "
|
|
17
|
+
"passed": false,
|
|
18
|
+
"reason": "regex heuristic"
|
|
19
19
|
},
|
|
20
20
|
"is_tested": {
|
|
21
21
|
"passed": false,
|
|
22
|
-
"reason": "
|
|
22
|
+
"reason": "regex heuristic"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
"judgeMode": "
|
|
26
|
-
"duration":
|
|
27
|
-
"output": "
|
|
25
|
+
"judgeMode": "regex",
|
|
26
|
+
"duration": 6236,
|
|
27
|
+
"output": "API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"You have reached your specified API usage limits. You will regain access on 2026-04-01 at 00:00 UTC.\"},\"request_id\":\"req_011CYrHFLVHf4LRx9owtsUat\"}\n"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"taskId": "eval-002",
|
|
31
31
|
"taskName": "refactor_code",
|
|
32
32
|
"weight": 1.5,
|
|
33
33
|
"passed": false,
|
|
34
|
-
"passRate": 0,
|
|
34
|
+
"passRate": 0.3333333333333333,
|
|
35
35
|
"criteria": {
|
|
36
36
|
"uses_async": {
|
|
37
37
|
"passed": false,
|
|
38
|
-
"reason": "
|
|
38
|
+
"reason": "regex heuristic"
|
|
39
39
|
},
|
|
40
40
|
"preserves_behavior": {
|
|
41
41
|
"passed": false,
|
|
42
|
-
"reason": "
|
|
42
|
+
"reason": "regex heuristic"
|
|
43
43
|
},
|
|
44
44
|
"no_nested_callbacks": {
|
|
45
|
-
"passed":
|
|
46
|
-
"reason": "
|
|
45
|
+
"passed": true,
|
|
46
|
+
"reason": "regex heuristic"
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"judgeMode": "
|
|
50
|
-
"duration":
|
|
51
|
-
"output": "
|
|
49
|
+
"judgeMode": "regex",
|
|
50
|
+
"duration": 5342,
|
|
51
|
+
"output": "API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"You have reached your specified API usage limits. You will regain access on 2026-04-01 at 00:00 UTC.\"},\"request_id\":\"req_011CYrHFn1T5TkkCFboDp1aH\"}\n"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"taskId": "eval-003",
|
|
55
55
|
"taskName": "fix_bug",
|
|
56
56
|
"weight": 1.2,
|
|
57
|
-
"passed":
|
|
58
|
-
"passRate": 0
|
|
57
|
+
"passed": false,
|
|
58
|
+
"passRate": 0,
|
|
59
59
|
"criteria": {
|
|
60
60
|
"bug_fixed": {
|
|
61
61
|
"passed": false,
|
|
62
|
-
"reason": "
|
|
62
|
+
"reason": "regex heuristic"
|
|
63
63
|
},
|
|
64
64
|
"no_new_bugs": {
|
|
65
|
-
"passed":
|
|
66
|
-
"reason": "
|
|
65
|
+
"passed": false,
|
|
66
|
+
"reason": "regex heuristic"
|
|
67
67
|
},
|
|
68
68
|
"explains_fix": {
|
|
69
|
-
"passed":
|
|
70
|
-
"reason": "
|
|
69
|
+
"passed": false,
|
|
70
|
+
"reason": "regex heuristic"
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
-
"judgeMode": "
|
|
74
|
-
"duration":
|
|
75
|
-
"output": "
|
|
73
|
+
"judgeMode": "regex",
|
|
74
|
+
"duration": 4389,
|
|
75
|
+
"output": "API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"You have reached your specified API usage limits. You will regain access on 2026-04-01 at 00:00 UTC.\"},\"request_id\":\"req_011CYrHGFTCjb8PsbsYzRS1W\"}\n"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"taskId": "eval-004",
|
|
@@ -83,116 +83,136 @@
|
|
|
83
83
|
"criteria": {
|
|
84
84
|
"has_pagination": {
|
|
85
85
|
"passed": false,
|
|
86
|
-
"reason": "
|
|
86
|
+
"reason": "regex heuristic"
|
|
87
87
|
},
|
|
88
88
|
"has_limit": {
|
|
89
89
|
"passed": false,
|
|
90
|
-
"reason": "
|
|
90
|
+
"reason": "regex heuristic"
|
|
91
91
|
},
|
|
92
92
|
"has_offset": {
|
|
93
93
|
"passed": false,
|
|
94
|
-
"reason": "
|
|
94
|
+
"reason": "regex heuristic"
|
|
95
95
|
},
|
|
96
96
|
"backwards_compatible": {
|
|
97
97
|
"passed": false,
|
|
98
|
-
"reason": "
|
|
98
|
+
"reason": "regex heuristic"
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
|
-
"judgeMode": "
|
|
102
|
-
"duration":
|
|
103
|
-
"output": "\n"
|
|
101
|
+
"judgeMode": "regex",
|
|
102
|
+
"duration": 6872,
|
|
103
|
+
"output": "API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"You have reached your specified API usage limits. You will regain access on 2026-04-01 at 00:00 UTC.\"},\"request_id\":\"req_011CYrHGkbeXvwXwxysZTdhR\"}\n"
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"taskId": "eval-005",
|
|
107
107
|
"taskName": "code_review",
|
|
108
108
|
"weight": 1.3,
|
|
109
|
-
"passed":
|
|
110
|
-
"passRate": 0
|
|
109
|
+
"passed": false,
|
|
110
|
+
"passRate": 0,
|
|
111
111
|
"criteria": {
|
|
112
112
|
"identifies_security_issue": {
|
|
113
|
-
"passed":
|
|
114
|
-
"reason": "
|
|
113
|
+
"passed": false,
|
|
114
|
+
"reason": "regex heuristic"
|
|
115
115
|
},
|
|
116
116
|
"identifies_performance_issue": {
|
|
117
117
|
"passed": false,
|
|
118
|
-
"reason": "
|
|
118
|
+
"reason": "regex heuristic"
|
|
119
119
|
},
|
|
120
120
|
"actionable_feedback": {
|
|
121
|
-
"passed":
|
|
122
|
-
"reason": "
|
|
121
|
+
"passed": false,
|
|
122
|
+
"reason": "regex heuristic"
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
|
-
"judgeMode": "
|
|
126
|
-
"duration":
|
|
127
|
-
"output": "
|
|
125
|
+
"judgeMode": "regex",
|
|
126
|
+
"duration": 10308,
|
|
127
|
+
"output": "API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"You have reached your specified API usage limits. You will regain access on 2026-04-01 at 00:00 UTC.\"},\"request_id\":\"req_011CYrHHXPvni9SXWYQD2ML2\"}\n"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"taskId": "sm-001",
|
|
131
131
|
"taskName": "add_mcp_tool_handler",
|
|
132
132
|
"weight": 1.5,
|
|
133
|
-
"passed":
|
|
134
|
-
"passRate":
|
|
133
|
+
"passed": false,
|
|
134
|
+
"passRate": 0,
|
|
135
135
|
"criteria": {
|
|
136
136
|
"has_switch_case": {
|
|
137
|
-
"passed":
|
|
138
|
-
"reason": "
|
|
137
|
+
"passed": false,
|
|
138
|
+
"reason": "regex heuristic"
|
|
139
139
|
},
|
|
140
140
|
"has_zod_schema": {
|
|
141
|
-
"passed":
|
|
142
|
-
"reason": "
|
|
141
|
+
"passed": false,
|
|
142
|
+
"reason": "regex heuristic"
|
|
143
143
|
},
|
|
144
144
|
"validates_input": {
|
|
145
|
-
"passed":
|
|
146
|
-
"reason": "
|
|
145
|
+
"passed": false,
|
|
146
|
+
"reason": "regex heuristic"
|
|
147
147
|
},
|
|
148
148
|
"returns_typed_response": {
|
|
149
|
-
"passed":
|
|
150
|
-
"reason": "
|
|
149
|
+
"passed": false,
|
|
150
|
+
"reason": "regex heuristic"
|
|
151
151
|
},
|
|
152
152
|
"handles_not_found": {
|
|
153
|
-
"passed":
|
|
154
|
-
"reason": "
|
|
153
|
+
"passed": false,
|
|
154
|
+
"reason": "regex heuristic"
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
|
-
"judgeMode": "
|
|
158
|
-
"duration":
|
|
159
|
-
"output": "
|
|
157
|
+
"judgeMode": "regex",
|
|
158
|
+
"duration": 6548,
|
|
159
|
+
"output": "API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"You have reached your specified API usage limits. You will regain access on 2026-04-01 at 00:00 UTC.\"},\"request_id\":\"req_011CYrHHpuPC36UFe4w8R6LA\"}\n"
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
162
|
"taskId": "sm-002",
|
|
163
163
|
"taskName": "fix_fts5_trigger_bug",
|
|
164
164
|
"weight": 1.8,
|
|
165
|
-
"passed":
|
|
166
|
-
"passRate":
|
|
165
|
+
"passed": false,
|
|
166
|
+
"passRate": 0,
|
|
167
167
|
"criteria": {
|
|
168
168
|
"has_delete_trigger": {
|
|
169
|
-
"passed":
|
|
170
|
-
"reason": "
|
|
169
|
+
"passed": false,
|
|
170
|
+
"reason": "regex heuristic"
|
|
171
171
|
},
|
|
172
172
|
"uses_fts_delete_syntax": {
|
|
173
|
-
"passed":
|
|
174
|
-
"reason": "
|
|
173
|
+
"passed": false,
|
|
174
|
+
"reason": "regex heuristic"
|
|
175
175
|
},
|
|
176
176
|
"references_old_row": {
|
|
177
|
-
"passed":
|
|
178
|
-
"reason": "
|
|
177
|
+
"passed": false,
|
|
178
|
+
"reason": "regex heuristic"
|
|
179
179
|
},
|
|
180
180
|
"matches_column_list": {
|
|
181
|
-
"passed":
|
|
182
|
-
"reason": "
|
|
181
|
+
"passed": false,
|
|
182
|
+
"reason": "regex heuristic"
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
|
-
"judgeMode": "
|
|
186
|
-
"duration":
|
|
187
|
-
"output": "
|
|
185
|
+
"judgeMode": "regex",
|
|
186
|
+
"duration": 6290,
|
|
187
|
+
"output": "API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"You have reached your specified API usage limits. You will regain access on 2026-04-01 at 00:00 UTC.\"},\"request_id\":\"req_011CYrHJHsrxx3PXJcuPnJio\"}\n"
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
190
|
"taskId": "sm-003",
|
|
191
191
|
"taskName": "daemon_service_lifecycle",
|
|
192
192
|
"weight": 1.5,
|
|
193
193
|
"passed": false,
|
|
194
|
-
"
|
|
195
|
-
"
|
|
194
|
+
"passRate": 0,
|
|
195
|
+
"criteria": {
|
|
196
|
+
"clears_old_interval": {
|
|
197
|
+
"passed": false,
|
|
198
|
+
"reason": "regex heuristic"
|
|
199
|
+
},
|
|
200
|
+
"prevents_double_start": {
|
|
201
|
+
"passed": false,
|
|
202
|
+
"reason": "regex heuristic"
|
|
203
|
+
},
|
|
204
|
+
"has_getstate_method": {
|
|
205
|
+
"passed": false,
|
|
206
|
+
"reason": "regex heuristic"
|
|
207
|
+
},
|
|
208
|
+
"returns_correct_state_shape": {
|
|
209
|
+
"passed": false,
|
|
210
|
+
"reason": "regex heuristic"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"judgeMode": "regex",
|
|
214
|
+
"duration": 6657,
|
|
215
|
+
"output": "API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"You have reached your specified API usage limits. You will regain access on 2026-04-01 at 00:00 UTC.\"},\"request_id\":\"req_011CYrHJmYFr5sCJFhW9h9Qm\"}\n"
|
|
196
216
|
}
|
|
197
217
|
]
|
|
198
218
|
}
|
package/scripts/gepa/state.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"currentGeneration": 1,
|
|
3
|
-
"bestVariant": "
|
|
4
|
-
"bestScore": 0.
|
|
5
|
-
"targetPath": "/Users/jwu/Dev/
|
|
3
|
+
"bestVariant": "baseline",
|
|
4
|
+
"bestScore": 0.04424778761061947,
|
|
5
|
+
"targetPath": "/Users/jwu/Dev/rize/sol/CLAUDE.md",
|
|
6
6
|
"history": [
|
|
7
7
|
{
|
|
8
8
|
"generation": 0,
|
|
9
9
|
"variant": "baseline",
|
|
10
10
|
"action": "init",
|
|
11
|
-
"timestamp": "2026-
|
|
11
|
+
"timestamp": "2026-03-08T20:55:25.777Z"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"generation": 1,
|
|
@@ -19,35 +19,19 @@
|
|
|
19
19
|
"variant-c",
|
|
20
20
|
"variant-d"
|
|
21
21
|
],
|
|
22
|
-
"timestamp": "2026-
|
|
22
|
+
"timestamp": "2026-03-08T20:56:32.495Z"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"generation": 1,
|
|
26
26
|
"action": "select",
|
|
27
27
|
"scores": [
|
|
28
|
-
{
|
|
29
|
-
"variant": "variant-d",
|
|
30
|
-
"score": 0.4985250737463126
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"variant": "variant-b",
|
|
34
|
-
"score": 0.3938053097345133
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"variant": "variant-c",
|
|
38
|
-
"score": 0.23230088495575218
|
|
39
|
-
},
|
|
40
28
|
{
|
|
41
29
|
"variant": "baseline",
|
|
42
|
-
"score": 0.
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"variant": "variant-a",
|
|
46
|
-
"score": 0.1762536873156342
|
|
30
|
+
"score": 0.04424778761061947
|
|
47
31
|
}
|
|
48
32
|
],
|
|
49
|
-
"best": "
|
|
50
|
-
"timestamp": "2026-
|
|
33
|
+
"best": "baseline",
|
|
34
|
+
"timestamp": "2026-03-08T20:58:11.649Z"
|
|
51
35
|
}
|
|
52
36
|
]
|
|
53
37
|
}
|