promptlooper/backend/engine
John Lightner ba8cb7e2c6 MAESTRO: Implement sweep orchestration engine with grid, random, and guided sweep types
Adds backend/engine/sweep.py with three sweep strategies:
- GridSweep: exhaustive enumeration of all parameter combinations
- RandomSweep: N random samples from parameter ranges (list, min/max, step)
- GuidedSweep: top-K exploitation + random exploration from previous results

Features: bounded parallelism via asyncio.Semaphore, token budget enforcement,
Redis-based pause/resume/stop control flags, sweep-level event publishing.
36 tests in test_sweep.py covering config generation, helpers, and full sweep execution.
2026-04-07 02:53:30 -05:00
..
adapters MAESTRO: Implement OpenAI-compatible LLM adapter with streaming, retries, and tests 2026-04-07 02:35:52 -05:00
scorers MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
__init__.py MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
cache.py MAESTRO: Implement ResponseCache layer with SHA-256 config hashing and hit-rate tracking 2026-04-07 02:37:58 -05:00
runner.py MAESTRO: Implement run execution engine with Jinja2 templating, caching, scoring, and event bus 2026-04-07 02:48:20 -05:00
sweep.py MAESTRO: Implement sweep orchestration engine with grid, random, and guided sweep types 2026-04-07 02:53:30 -05:00