-
- Downloads
Add checks for available meals before creating orders
The updates address issues with empty meal lists during order creation. When no meals are available, no orders will be created, returning empty lists instead. Furthermore, the mandatory meal assertion in the environment's validate_environment method has been commented out. The meal list in the level1 config has been updated to only include 'Burger'.
Showing
- cooperative_cuisine/configs/study/level1/level1_config.yaml 1 addition, 2 deletionscooperative_cuisine/configs/study/level1/level1_config.yaml
- cooperative_cuisine/environment.py 1 addition, 1 deletioncooperative_cuisine/environment.py
- cooperative_cuisine/orders.py 11 additions, 5 deletionscooperative_cuisine/orders.py
- cooperative_cuisine/validation.py 2 additions, 0 deletionscooperative_cuisine/validation.py
Loading
Please register or sign in to comment