codeflash-agent/packages
Kevin Turcios 8d308fe8e8 Replace ThreadPoolExecutor with asyncio for parallel candidate evaluation
Thread-safety concern with shared EvaluationContext mutations is
eliminated by switching to cooperative concurrency — between await
points only one coroutine runs, so no locks are needed.

Adds async variants of test runners (async_execute_test_subprocess,
async_run_behavioral_tests, async_run_benchmarking_tests) and async
evaluation functions (async_run_tests_and_benchmark,
async_evaluate_candidate_isolated). Rewrites _evaluate_batch_parallel
to use asyncio.Semaphore + asyncio.gather instead of ThreadPoolExecutor.
2026-04-23 00:12:53 -05:00
..
.claude/rules Add rules from session audit: error handling, testing, debugging 2026-04-21 21:06:15 -05:00
codeflash-api Fix CLAUDE.md accuracy: remove nonexistent files, update patterns 2026-04-22 23:40:01 -05:00
codeflash-core Fix all ruff lint errors in codeflash-core 2026-04-22 23:39:47 -05:00
codeflash-lsp Merge main-teammate branch 2026-04-03 17:36:50 -05:00
codeflash-mcp Merge main-teammate branch 2026-04-03 17:36:50 -05:00
codeflash-python Replace ThreadPoolExecutor with asyncio for parallel candidate evaluation 2026-04-23 00:12:53 -05:00
github-app Fix CI: mypy errors, ruff formatting, switch to prek (#22) 2026-04-15 02:52:47 -05:00