claude-evolve 1.0.13 → 1.0.15
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-run +6 -2
- package/package.json +1 -1
package/bin/claude-evolve-run
CHANGED
|
@@ -125,7 +125,9 @@ fi
|
|
|
125
125
|
|
|
126
126
|
# Get row data
|
|
127
127
|
row_data=$(get_csv_row "$row_num")
|
|
128
|
+
echo "[DEBUG] Raw row data: '$row_data'"
|
|
128
129
|
IFS=, read -r id based_on_id description performance status <<<"$row_data"
|
|
130
|
+
echo "[DEBUG] After parsing - ID: '$id', based_on_id: '$based_on_id'"
|
|
129
131
|
|
|
130
132
|
# Check if ID is empty
|
|
131
133
|
if [[ -z $id ]]; then
|
|
@@ -142,8 +144,8 @@ echo "[INFO] Processing candidate ID: $id"
|
|
|
142
144
|
echo "[INFO] Description: $description"
|
|
143
145
|
echo "[INFO] Based on ID: $based_on_id"
|
|
144
146
|
|
|
145
|
-
# Set interrupt handler
|
|
146
|
-
trap '
|
|
147
|
+
# Set interrupt handler - just exit without updating CSV status
|
|
148
|
+
trap 'echo "[INFO] Evolution interrupted"; exit 130' INT
|
|
147
149
|
|
|
148
150
|
# Mark as running
|
|
149
151
|
update_csv_row "$row_num" "" "running"
|
|
@@ -165,7 +167,9 @@ fi
|
|
|
165
167
|
echo "[INFO] Using parent algorithm: $parent_file"
|
|
166
168
|
|
|
167
169
|
# Generate mutation
|
|
170
|
+
echo "[DEBUG] ID is: '$id', FULL_OUTPUT_DIR is: '$FULL_OUTPUT_DIR'"
|
|
168
171
|
output_file="$FULL_OUTPUT_DIR/evolution_id${id}.py"
|
|
172
|
+
echo "[DEBUG] Output file will be: '$output_file'"
|
|
169
173
|
echo "[INFO] Generating algorithm mutation..."
|
|
170
174
|
|
|
171
175
|
# Copy parent algorithm to output file first
|