carsim-guide
VerifiedOperate and automate CarSim simulations from an agent, including safe output and parameter discovery, named Run Control execution contexts, structured overrides, isolated batch sweeps, dataset dependency inspection, control-mode selection, result validation, diagnostics, and version-aware CLI/Simulink/VS API routing. Use for executing, configuring, exploring, or debugging CarSim. Do not use for vehicle-dynamics theory alone, generic dataframe work, or unrelated simulators.
references/batch-workflows.md
View on GitHub# Batch sweeps
`scripts/batch_runner.py` expands one validated base scenario and delegates
every member to `scenario_runner.run_scenario`.
```yaml
batch: {id: mass_mu_grid}
base_scenario: ../scenarios/basic_cruise.yaml
combination: cartesian
sweep:
parameters.M_SU: {values: [1100, 1200, 1300]}
road.friction: {values: [0.6, 0.8]}
```
`cartesian` produces every combination. `zip` pairs equal-length value lists.
Only existing nested scenario fields and `parameters.<KEYWORD>` are valid
targets. Complex DOE/optimization is intentionally outside this layer.
For a uniform road-friction sweep, use the already verified scenario field
`road.friction` exactly as shown above. Core compiles that field to its owned
`MU_ROAD_CARPET` table. Do **not** reroute this ordinary field through parameter
discovery, invent `parameters.<friction_keyword>`, or treat it as a generic
scalar. Parameter discovery is only for physical quantities that do not
already have a typed scenario field.
Run with:
```text
python scripts/batch_runner.py examples/batches/friction_sweep.yaml --registry bases.local.json --out runs --run
```
Output is `runs/<batch-id>/run_0001/...` with an immutable scenario snapshot,
normal per-run artifacts/manifest, plus `batch_manifest.json`. Failures are
recorded and isolated by default; `--fail-fast` stops after the first failure.
The batch manifest records SHA256 values for both the batch configuration and
its base scenario, along with every expanded parameter combination and run
manifest path.
Batch members execute sequentially. Concurrent multi-solver execution is not
enabled because license and multi-instance solver behavior are not verified.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |