claude-evolve 1.3.29 → 1.3.30
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 +2 -2
- package/package.json +1 -1
package/bin/claude-evolve-run
CHANGED
|
@@ -493,7 +493,7 @@ if [[ $eval_exit_code -eq 0 ]]; then
|
|
|
493
493
|
# Try "performance" field
|
|
494
494
|
if score=$(echo "$eval_output" | grep -o '"performance"[[:space:]]*:[[:space:]]*[0-9.]*' | cut -d: -f2 | tr -d ' '); then
|
|
495
495
|
# Check if score is 0 and mark as failed
|
|
496
|
-
if
|
|
496
|
+
if [ "$(echo "$score == 0" | bc -l)" = "1" ]; then
|
|
497
497
|
update_csv_row "$row_num" "$score" "failed"
|
|
498
498
|
echo "[INFO] ✗ Evaluation failed with score 0"
|
|
499
499
|
echo "[INFO] Performance score: $score"
|
|
@@ -545,7 +545,7 @@ else
|
|
|
545
545
|
# Re-process the successful result
|
|
546
546
|
if score=$(echo "$eval_output" | grep -o '"score"[[:space:]]*:[[:space:]]*[0-9.]*' | cut -d: -f2 | tr -d ' '); then
|
|
547
547
|
if [[ -n $score ]]; then
|
|
548
|
-
if
|
|
548
|
+
if [ "$(echo "$score == 0" | bc -l)" = "1" ]; then
|
|
549
549
|
update_csv_row "$row_num" "$score" "failed"
|
|
550
550
|
echo "[INFO] ✗ Evaluation failed with score 0"
|
|
551
551
|
else
|