harshraj22 / rl_lab

Contains Solutions of Lab assignments of Reinforcement Learning lab
0 stars 0 forks source link

Documentation #17

Open harshraj22 opened 2 years ago

harshraj22 commented 2 years ago

https://github.com/harshraj22/rl_lab/blob/a97e10df1a3a9588337119d814d2d6364107bd3f/lab3/data_loader/environments.py#L68

https://github.com/harshraj22/rl_lab/blob/a97e10df1a3a9588337119d814d2d6364107bd3f/lab3/data_loader/environments.py#L60

by looking at the code, it is not very clear, why to add/ subtract 1 from 9. Kind of magic number and magic operation. Add better documentation