# safe-control-gym: rl experiment

Official safe-control-gym python main example for rl experiment. Inspect the pinned source and upstream setup before use.

ID: `safe-control-gym-examples-rl-rl-experiment-py`

Record version: `source-34c9ba30e901b95866bb99a2ee3d0758e5341a1a33faf8b777646ed800762fe0`

Hub commit: `f97266a5cdd2c600cd376397a54892f08290df20`

## Access

Fetch the pinned repository, verify this source checksum, and use upstream installation and invocation. This record does not install or execute code.

Optional inert file retrieval: `python /PATH_TO_SKILL/scripts/rsh.py fetch-source safe-control-gym-examples-rl-rl-experiment-py --expected-source-revision 6b5391d014f36fdfa0f9d22d92c77387e5274308 --expected-source-sha256 34c9ba30e901b95866bb99a2ee3d0758e5341a1a33faf8b777646ed800762fe0 --project ./experiment --json`. This verifies one file, preserves provenance and never installs or runs it. See [source-file retrieval](https://hub.superfastrobotics.com/source-files.md).

Hub preparation adapter: **false**. Runtime verification: **not_run**.

Upstream setup: https://github.com/learnsyslab/safe-control-gym/blob/6b5391d014f36fdfa0f9d22d92c77387e5274308/README.md

## Source and license

- Repository: https://github.com/learnsyslab/safe-control-gym
- Pinned source: https://github.com/learnsyslab/safe-control-gym/blob/6b5391d014f36fdfa0f9d22d92c77387e5274308/examples/rl/rl_experiment.py
- Revision: `6b5391d014f36fdfa0f9d22d92c77387e5274308`
- Path: `examples/rl/rl_experiment.py`
- Source SHA256: `34c9ba30e901b95866bb99a2ee3d0758e5341a1a33faf8b777646ed800762fe0`
- Source bytes: 4700
- Original authors: See pinned upstream source and license notices.
- License: [MIT](https://github.com/learnsyslab/safe-control-gym/blob/6b5391d014f36fdfa0f9d22d92c77387e5274308/LICENSE)
- License scope: Repository-root code terms only; file headers, third-party code, models, weights, assets and datasets require separate review.

License SHA256: `2b394b5a18c67697a141ee6bea2dcb89aa0e3f10a585b3d4482c73b0f07d7831`

## Requirements

```json
{
  "python": "Inspect the pinned upstream package metadata for the supported Python version.",
  "packages": [],
  "display": "Upstream simulator, robot model, build, display and device requirements; inspect the selected source.",
  "execution_domain": "simulation-or-hardware",
  "source_imports": [
    "functools",
    "matplotlib.pyplot",
    "numpy",
    "safe_control_gym.envs.benchmark_env",
    "safe_control_gym.experiments.base_experiment",
    "safe_control_gym.utils.configuration",
    "safe_control_gym.utils.registration",
    "shutil"
  ]
}
```

## Invocation

```json
{
  "entrypoint": "python examples/rl/rl_experiment.py",
  "notes": "Source reference only. Install the pinned upstream project and its stated dependencies explicitly. Robot bridges may actuate hardware; no hardware execution is established. Asset, model, SDK and data terms remain separate."
}
```

## Compatibility

```json
[]
```

Missing environment fields remain unknown. Source discovery labels do not establish robot compatibility.

## Evidence

Level: **source_reviewed**. Runtime verification: **not_run**.

Fetched and SHA-256 checked this immutable source; statically parsed Python or located native main; verified pinned license bytes and checked explicit per-file license identifiers. No upstream code executed.

Source review and contributor reports do not establish task completion. Preserve upstream attribution and licenses.
