# RLlib tutorial contains deprecated code

**URL:** <https://discuss.ray.io/t/rllib-tutorial-contains-deprecated-code/11516>\
**Category:** RLlib\
**Created:** [July 21, 2023, 3:20pm UTC](https://discuss.ray.io/t/rllib-tutorial-contains-deprecated-code/11516 "2023-07-21T15:20:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dawid.L](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/dawid.l/32/4807_2.png) [@Dawid.L](https://discuss.ray.io/u/Dawid.L)\
**Post date:** [July 21, 2023, 3:20pm UTC](https://discuss.ray.io/t/rllib-tutorial-contains-deprecated-code/11516/1 "2023-07-21T15:20:21Z")

</div>

**How severe does this issue affect your experience of using Ray?**

- Medium: It contributes to significant difficulty to complete my task, but I can work around it.

When I try running the code from the following tutorial: [RLlib: Industry-Grade Reinforcement Learning — Ray 2.6.0](https://docs.ray.io/en/latest/rllib/index.html) I get the following warnings:

- You have specified 1 evaluation workers, but your `evaluation_interval` is None! Therefore, evaluation will not occur automatically with each call to `Algorithm.train()`. Instead, you will have to call `Algorithm.evaluate()` manually in order to trigger an evaluation run.

- RayDeprecationWarning: This API is deprecated and may be removed in future Ray releases. You could suppress this warning by setting env variable PYTHONWARNINGS=“ignore::DeprecationWarning”  
The `JsonLogger interface is deprecated in favor of the `ray.tune.json.JsonLoggerCallback` interface and will be removed in Ray 2.7.

- 3 more similar “RayDeprecationWarning: This API is deprecated…” warnings for ray.tune

Is the updated version of this code available anywhere?

Would anyone be able to tell me where I can find the most up-to-date documentation?

I’m trying to learn RLlib, but I keep seeing different functions that seem to be doing similar things and I’m not quite sure which ones are the most recent.
