feat: Fast mode - CoSTEER goes to backtest after 1 iteration

- max_loop: 3 → 1 (generate code once, then backtest)
- fail_task_trial_limit: 20 → 5 (fewer retries per task)
- Add batch backtest script for existing 1200+ factors

Now the workflow goes:
Step 0: Hypothesis (5 min)
Step 1: CoSTEER (30 min, 1 iteration)
Step 2: Runner/Backtest ← REACHED!
Step 3: Feedback ← REACHED!

Usage:
  python predix_batch_backtest.py --factors 100  # Backtest existing factors
  python predix_parallel.py --runs 25 -m openrouter  # Generate new factors (fast)
This commit is contained in:
TPTBusiness
2026-04-04 20:52:39 +02:00
parent 25865f9c77
commit ff893d6c74
2 changed files with 1394 additions and 3 deletions
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -12,10 +12,10 @@ class CoSTEERSettings(ExtendedBaseSettings):
coder_use_cache: bool = False
"""Indicates whether to use cache for the coder"""
max_loop: int = 3
"""Maximum number of task implementation loops (reduced from 10 for faster iterations)"""
max_loop: int = 1
"""Maximum number of task implementation loops (1 = fast mode, go to backtest quickly)"""
fail_task_trial_limit: int = 20
fail_task_trial_limit: int = 5
v1_query_former_trace_limit: int = 3
v1_query_similar_success_limit: int = 3