claude-evolve 1.2.11 → 1.2.13

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.
@@ -11,7 +11,7 @@ load_config
11
11
  # Parse arguments
12
12
  open_chart=false
13
13
  csv_file="$FULL_CSV_PATH"
14
- output_file="$FULL_OUTPUT_DIR/performance.png"
14
+ output_file="" # Will be set later if not specified
15
15
 
16
16
  while [[ $# -gt 0 ]]; do
17
17
  case $1 in
@@ -53,6 +53,17 @@ EOF
53
53
  esac
54
54
  done
55
55
 
56
+ # Set default output file if not specified
57
+ if [[ -z "$output_file" ]]; then
58
+ if [[ -d "$FULL_OUTPUT_DIR" ]]; then
59
+ # We're in an evolution workspace
60
+ output_file="$FULL_OUTPUT_DIR/performance.png"
61
+ else
62
+ # Not in workspace, use temp file
63
+ output_file="/tmp/claude_evolve_performance_$$.png"
64
+ fi
65
+ fi
66
+
56
67
  # Check if CSV exists
57
68
  if [[ ! -f $csv_file ]]; then
58
69
  echo "[ERROR] CSV file not found: $csv_file" >&2
@@ -310,6 +321,7 @@ set xlabel "Evolution Run"
310
321
  set ylabel "Performance Score"
311
322
  set grid
312
323
  set key outside right
324
+ set xtics auto
313
325
 
314
326
  # Define colors for generations
315
327
  plot "$data_file" using (\$4==1?\$1:1/0):3 with linespoints linewidth 2 linecolor rgb "#1f77b4" pointsize 0.8 title "Gen 1", \\
@@ -317,7 +329,7 @@ plot "$data_file" using (\$4==1?\$1:1/0):3 with linespoints linewidth 2 linecolo
317
329
  "$data_file" using (\$4==3?\$1:1/0):3 with linespoints linewidth 2 linecolor rgb "#2ca02c" pointsize 0.8 title "Gen 3", \\
318
330
  "$data_file" using (\$4==4?\$1:1/0):3 with linespoints linewidth 2 linecolor rgb "#d62728" pointsize 0.8 title "Gen 4", \\
319
331
  "$data_file" using (\$4==5?\$1:1/0):3 with linespoints linewidth 2 linecolor rgb "#9467bd" pointsize 0.8 title "Gen 5", \\
320
- "$winner_file" using 1:3 with points pointtype 7 pointsize 4 linecolor rgb "#000000" title "Winner"
332
+ "$winner_file" using 1:3 with points pointtype 7 pointsize 2 linecolor rgb "#0066cc" title "Winner"
321
333
 
322
334
  #=================== BOTTOM PLOT: Generation Averages ===================
323
335
  set title "Average Performance by Generation" font ",14"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "bin": {
5
5
  "claude-evolve": "./bin/claude-evolve",
6
6
  "claude-evolve-main": "./bin/claude-evolve-main",