claude-evolve 1.3.9 → 1.3.10
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/bin/claude-evolve-ideate +25 -4
- package/package.json +1 -1
package/bin/claude-evolve-ideate
CHANGED
|
@@ -194,10 +194,31 @@ get_top_performers() {
|
|
|
194
194
|
return
|
|
195
195
|
fi
|
|
196
196
|
|
|
197
|
-
#
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
197
|
+
# Use Python to properly parse CSV with quoted fields
|
|
198
|
+
"$PYTHON_CMD" -c "
|
|
199
|
+
import csv
|
|
200
|
+
import sys
|
|
201
|
+
|
|
202
|
+
with open('$FULL_CSV_PATH', 'r') as f:
|
|
203
|
+
reader = csv.reader(f)
|
|
204
|
+
next(reader) # Skip header
|
|
205
|
+
|
|
206
|
+
completed = []
|
|
207
|
+
for row in reader:
|
|
208
|
+
if len(row) >= 5 and row[3] and row[4] == 'complete':
|
|
209
|
+
try:
|
|
210
|
+
score = float(row[3])
|
|
211
|
+
completed.append((row[0], row[2], score))
|
|
212
|
+
except ValueError:
|
|
213
|
+
pass
|
|
214
|
+
|
|
215
|
+
# Sort by score descending
|
|
216
|
+
completed.sort(key=lambda x: x[2], reverse=True)
|
|
217
|
+
|
|
218
|
+
# Output top N
|
|
219
|
+
for i, (id, desc, score) in enumerate(completed[:$num_requested]):
|
|
220
|
+
print(f'{id},{desc},{score}')
|
|
221
|
+
"
|
|
201
222
|
}
|
|
202
223
|
|
|
203
224
|
# Manual entry mode
|