Repository navigation
[rllib] Basic regression tests on CartPole - #1608
Conversation
|
We should outline on #1530 perhaps what we want the full regression suite to look like. |
|
Test PASSed. |
| for test in glob.glob("regression_tests/*.yaml"): | ||
| config = yaml.load(open(test).read()) | ||
| for trial in config.values(): | ||
| trial["stop"]["training_iteration"] = 1 |
| def stats(self): | ||
| mean_100ep_reward = round(np.mean(self.episode_rewards[-101:-1]), 5) | ||
| mean_100ep_length = round(np.mean(self.episode_lengths[-101:-1]), 5) | ||
| n = self.config["smoothing_num_episodes"] + 1 |
There was a problem hiding this comment.
would be good to add a note that there's some weird thing with the last entry and we should fix
|
Test PASSed. |
|
Test PASSed. |
|
Test hang seems unrelated, merging. |
* 'master' of https://github.com/royf/ray-private: [rllib] Basic regression tests on CartPole (ray-project#1608) [autoscaler] [tune] More doc fixes (ray-project#1560) [tune] Hyperband Max Iter Fix (ray-project#1620)
What do these changes do?
This is first cut at pre-release regression tests, currently just CartPole.
Related issue number
#1530