Skip to content

Made render state tool render any given state#89

Open
merlerm wants to merge 1 commit intomainfrom
render-state-improvements
Open

Made render state tool render any given state#89
merlerm wants to merge 1 commit intomainfrom
render-state-improvements

Conversation

@merlerm
Copy link
Copy Markdown
Collaborator

@merlerm merlerm commented Apr 1, 2026

Had some spare time after the rebuttal so I decided to quickly implement #82, tested it quickly and it works, but the agent doesn't really seem to use it to do anything other than render the initial state as it did before. If we want to have kind of visual planning/investigations that @yichao-liang showed in predicators we need to look into this more.

Also one small note, when testing locally this failed:

FAILED tests/oracles/obstruction2d_medium/test_approach.py::test_oracle_solves_episode - AssertionError: seed=636: not solved in 500 steps

also on main before my changes. Here on github the test is green though. @Jaraxxus-Me any clue what's happening?

@merlerm merlerm requested review from Jaraxxus-Me and tomsilver April 1, 2026 09:17
@Jaraxxus-Me
Copy link
Copy Markdown
Collaborator

Jaraxxus-Me commented Apr 2, 2026

Wait what? This unit test passes on my local code, the latest main branch

tests/oracles/obstruction2d_medium/test_approach.py::test_oracle_solves_episode

And I also tried this branch it also passes:

(robocode) libowen (render-state-improvements *) robocode $ pytest -s -v tests/oracles/obstruction2d_medium/test_approach.py::test_oracle_solves_episode
=============================================================================================================================================================================================================== test session starts ================================================================================================================================================================================================================
platform darwin -- Python 3.11.13, pytest-9.0.2, pluggy-1.6.0 -- /Users/libowen/Documents/Research/CoRL2026/RoboClaude/robocode/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /Users/libowen/Documents/Research/CoRL2026/RoboClaude/robocode
configfile: pyproject.toml
plugins: pylint-0.21.0, hydra-core-1.3.2, anyio-4.13.0
collected 1 item                                                                                                                                                                                                                                                                                                                                                                                                                                   

tests/oracles/obstruction2d_medium/test_approach.py::test_oracle_solves_episode seed=636: solved in 123 steps

Copy link
Copy Markdown
Collaborator

@Jaraxxus-Me Jaraxxus-Me left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants