[TRAIN-8] No end-to-end tutorial for writing and registering custom reward functions
Open
Documentation
p0
- Dominant language
- Python
- Stars
- 2k
- Forks
- 561
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 145
Description
## Problem
The environments guide explains how to use the built-in math and code environments, including multi-reward support. However, it does not provide an end-to-end example for writing a custom reward function and registering it via a custom environment.
## Suggested fix
Add a "Custom Reward Functions" tutorial covering: implementing a reward function, registering it via a custom environment class, and wiring it into a training config with a working example.
Contributor guide
Assessment
This issue has not been assessed yet.