|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
max_iterations: 50 |
|
|
checkpoint_interval: 10 |
|
|
log_level: "INFO" |
|
|
random_seed: 123 |
|
|
|
|
|
|
|
|
diff_based_evolution: false |
|
|
max_code_length: 10000 |
|
|
|
|
|
|
|
|
llm: |
|
|
api_base: "https://openrouter.ai/api/v1" |
|
|
models: |
|
|
- name: "google/gemini-2.5-flash-lite" |
|
|
weight: 1.0 |
|
|
|
|
|
temperature: 0.9 |
|
|
top_p: 0.98 |
|
|
max_tokens: 4096 |
|
|
timeout: 60 |
|
|
retries: 3 |
|
|
|
|
|
|
|
|
prompt: |
|
|
system_message: | |
|
|
You are optimizing a data processing pipeline configuration through EXPLORATION. |
|
|
|
|
|
The pipeline has 4 independent modules, each with 5 possible options: |
|
|
- loader: ['csv_reader', 'json_reader', 'xml_reader', 'parquet_reader', 'sql_reader'] |
|
|
- preprocess: ['normalize', 'standardize', 'minmax', 'scale', 'none'] |
|
|
- algorithm: ['quicksort', 'mergesort', 'heapsort', 'bubblesort', 'insertion'] |
|
|
- formatter: ['json', 'xml', 'csv', 'yaml', 'protobuf'] |
|
|
|
|
|
CRITICAL: The score tells you how many modules are correct (0-4), but NOT which ones. |
|
|
This means when you have 3/4 correct, ANY of the 4 modules could be wrong! |
|
|
|
|
|
STRATEGY FOR SUCCESS: |
|
|
1. When stuck at a score, try DIFFERENT options for EACH module systematically |
|
|
2. Don't assume any module is definitely correct - even ones that seem obvious |
|
|
3. Combine successful elements from different high-scoring configurations |
|
|
4. If multiple configs have the same score, they may have DIFFERENT correct modules |
|
|
|
|
|
Your goal: Find the configuration with 4/4 modules correct. |
|
|
|
|
|
num_top_programs: 5 |
|
|
num_diverse_programs: 3 |
|
|
include_artifacts: true |
|
|
max_artifact_bytes: 10240 |
|
|
|
|
|
|
|
|
database: |
|
|
population_size: 25 |
|
|
archive_size: 15 |
|
|
num_islands: 5 |
|
|
|
|
|
|
|
|
elite_selection_ratio: 0.15 |
|
|
exploration_ratio: 0.6 |
|
|
exploitation_ratio: 0.25 |
|
|
|
|
|
|
|
|
feature_dimensions: ["complexity", "diversity"] |
|
|
feature_bins: 5 |
|
|
|
|
|
|
|
|
migration_interval: 3 |
|
|
migration_rate: 0.3 |
|
|
|
|
|
|
|
|
evaluator: |
|
|
timeout: 30 |
|
|
max_retries: 2 |
|
|
cascade_evaluation: false |
|
|
parallel_evaluations: 4 |
|
|
use_llm_feedback: false |
|
|
enable_artifacts: true |
|
|
|
|
|
|
|
|
early_stopping_patience: 100 |
|
|
convergence_threshold: 0.001 |
|
|
early_stopping_metric: "combined_score" |
|
|
|