-
- Downloads
Refactor item transition implementation in simulator
The transition implementation for items in the simulator has been updated. This refactoring introduces the filter_item_info function, replacing the previous verbose, repeating pattern with filter_item_info method calls in the overcooked_environment.py module. This makes the code more efficient and readable. Test adjustments and additional type hints were also included.
parent
cef13156
No related branches found
No related tags found
Showing
- overcooked_simulator/counters.py 36 additions, 50 deletionsovercooked_simulator/counters.py
- overcooked_simulator/game_items.py 23 additions, 16 deletionsovercooked_simulator/game_items.py
- overcooked_simulator/overcooked_environment.py 43 additions, 45 deletionsovercooked_simulator/overcooked_environment.py
- tests/test_start.py 11 additions, 3 deletionstests/test_start.py
Loading
Please register or sign in to comment