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.
scripts/version_compatibility.py
View on GitHub"""Explicit, conservative CarSim version compatibility registry."""
import re
from dataclasses import dataclass
from carsim_errors import VersionCompatibilityError
@dataclass(frozen=True)
class CarSimVersion:
"""Parsed CarSim release identifier."""
major: int
minor: int
raw: str
@property
def key(self) -> str:
"""Return normalized ``YYYY.minor`` spelling."""
return f"{self.major}.{self.minor}"
@dataclass(frozen=True)
class CompatibilityStatus:
"""Compatibility evidence for one version."""
version: CarSimVersion
verified: bool
features: frozenset[str]
warning: str | None = None
# Only real solver evidence may be added here. CarSim 2024.0 is the verified
# environment; parsing another version is not compatibility proof.
COMPATIBILITY: dict[str, frozenset[str]] = {
"2024.0": frozenset({"cli_solver", "dll_64", "simfile_v1"}),
}
def parse_version(value: str) -> CarSimVersion:
"""Parse a version or install-path fragment without guessing a release."""
match = re.search(r"(?:CarSim[ _-]?)?(\d{4})\.(\d+)", str(value), re.IGNORECASE)
if not match:
raise VersionCompatibilityError(
"CarSim version must contain an explicit value such as 2024.0")
return CarSimVersion(int(match.group(1)), int(match.group(2)), match.group(0))
def compatibility_status(value: str) -> CompatibilityStatus:
"""Return verified evidence or a non-blocking unverified warning."""
version = parse_version(value)
features = COMPATIBILITY.get(version.key, frozenset())
if features:
return CompatibilityStatus(version, True, features)
return CompatibilityStatus(
version, False, frozenset(),
f"CarSim {version.key} is detected but unverified; attempting the "
"generic compatible path and recording this status")
def supports(feature: str, value: str) -> bool:
"""Return true only when ``feature`` has evidence for ``value``."""
return feature in compatibility_status(value).features
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 |