claude-evolve 1.6.14 → 1.6.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-worker +8 -2
- package/package.json +1 -1
package/bin/claude-evolve-worker
CHANGED
|
@@ -320,8 +320,14 @@ with EvolutionCSV('$FULL_CSV_PATH') as csv:
|
|
|
320
320
|
if ! "$PYTHON_CMD" -m py_compile "$target_file" 2>&1; then
|
|
321
321
|
echo "[WORKER-$$] ERROR: Generated Python file has syntax errors!" >&2
|
|
322
322
|
echo "[WORKER-$$] File: $target_file" >&2
|
|
323
|
-
#
|
|
324
|
-
|
|
323
|
+
# Delete the problematic Python file
|
|
324
|
+
rm -f "$target_file"
|
|
325
|
+
echo "[WORKER-$$] Deleted corrupted algorithm file: $target_file" >&2
|
|
326
|
+
# Set status to pending for retry
|
|
327
|
+
update_candidate_status "$candidate_id" "pending"
|
|
328
|
+
# Return 0 to indicate that this specific processing step is handled,
|
|
329
|
+
# and the candidate is now pending for a future retry.
|
|
330
|
+
return 0
|
|
325
331
|
fi
|
|
326
332
|
fi
|
|
327
333
|
fi
|