Batch simulation sweep infrastructure (M11.1)#59
Merged
SorraTheOrc merged 4 commits intomainfrom Dec 4, 2025
Merged
Conversation
- Add scripts/run_batch_sweeps.py with multi-dimensional parameter grid support - Add content/config/batch_sweeps.yml for sweep configuration - Add 29 tests in tests/scripts/test_batch_sweeps.py - Update docs/gengine/ai_tournament_and_balance_analysis.md with documentation Implements task 11.1.1 (M11.1) from Phase 11 Automated Balance Workflow Co-authored-by: SorraTheOrc <250240+SorraTheOrc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add batch simulation sweep infrastructure
Batch simulation sweep infrastructure (M11.1)
Dec 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds multi-dimensional parameter grid sweeps with parallel execution for balance analysis. Extends existing tournament and difficulty sweep tooling to support broader parameter space exploration.
New Files
scripts/run_batch_sweeps.py— Batch runner with Cartesian product grid generation, ProcessPoolExecutor parallelism, JSON output per sweep with telemetry/metadatacontent/config/batch_sweeps.yml— Default configuration: strategies, difficulties, seeds, worlds, tick budgets, parallel settings, sampling modestests/scripts/test_batch_sweeps.py— 29 tests covering grid generation, parallel execution, CLI parsing, output validationUpdated
docs/gengine/ai_tournament_and_balance_analysis.md— Configuration format, CLI reference, workflow documentationUsage
Output Format
{ "sweep_id": 0, "parameters": {"strategy": "balanced", "difficulty": "normal", "seed": 42, ...}, "results": {"final_stability": 0.75, "actions_taken": 10, ...}, "telemetry": {...}, "metadata": {"timestamp": "...", "git_commit": "...", "runtime": {...}} }Original prompt
Created from Copilot CLI via the copilot delegate command.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.