Spaces:
Running
Running
File size: 1,189 Bytes
9063f2b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Vendored dependencies
OpenRA-Bench vendors a small, faithful subset of two sibling repos so the
benchmark runs without external source checkouts, and so the evaluation
stack is frozen for reproducibility.
## `openra_rl_training/` โ from OpenRA-RL-Training
- `scenario.py` โ `ScenarioDefinition`, `VALID_ACTOR_TYPES`
- `training/reward_funcs.py` โ `DEFAULT_REWARD_WEIGHTS` (composite scorer)
- `training/rust_env_pool.py` โ `RustEnvPool` (wraps the engine)
- `training/minimap_renderer.py` โ `render_minimap` (terrain minimap)
## `openra_env/` โ from OpenRA-RL
- `game_data.py` โ `RA_UNITS` / `RA_BUILDINGS` (consumed by `scenario.py`)
These are **verbatim copies** โ do not hand-edit. To update: re-copy from
the source repos and re-run the full suite (`pytest tests/`).
## NOT vendored
- **`openra_train`** โ the Rust engine, a compiled extension. Build it
from the OpenRA-Rust repo: `maturin develop --release`. It cannot be
vendored as source.
- **`openra_env.client` / `openra_env.models`** โ the legacy gRPC client.
The bench never imports them at runtime (the only reference is example
code inside a docstring), so they are intentionally left out.
|