-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RL Core tests fail sporadically #1010
Comments
Git bisect together with lots of running of tests by hand points to commit e1d9e9e as the bad one
|
|
I'm trying to figure this out... |
I've spent 2-3 days digging into this already and it's time to ask for help! I have figured out what's going on with this function but I can't figure out why
If I inserted printouts after each push into the trajectory container and can see this behavior clearly. I also tried to dig down into the trajectory push method and further down. For the life of me I can't figure out why container length does not increase at the beginning of the iteration!
|
Thanks for looking into this!!! I’ll dive into it tomorrow. :) |
I wish I could set breakpoints in tests (I'm using VSCode) but that seems to be impossible. I read existing Discourse threads and experimented with TestItemRunner to no avail. FYI, we first hit the AbstractAgent push method and then jump over to the Trajectory push method. |
I feel stupid now but this is the classic case of solving a problem by talking to a rubber duckie. Asking for help works just as well :-). I missed the EpisodesBuffer push method which is likely the one eating up a push. Digging deeper! |
This seems to allow for |
What I would like to figure out is who is making the decision to count or not count the first trace. If the first trace does not get inserted at all then how does it show up when I print out the traces at the end of the test? |
I printed out the value of partial and it's true on the first insert of PreEpisodeStage as well as the second (if the reset condition is triggered mid episode). |
There seems to be nothing wrong with the code and the test is buggy. Fixing the test instead. |
Awesome. Merged. Thanks! |
Oof, sorry I was on vacations, I could have helped. Brave of you to dig into all that. |
Thank you Henri! I learned a lot about Julia in the process. Trying to get into reinforcement learning now, pun intended! |
I have to re-run tests a few times to get this test to fail and it's always the same test.
The text was updated successfully, but these errors were encountered: