korigamik/kitchen-ops-env
0
Kitchen Ops Env
OpenEnv environment for restaurant order fulfillment with inventory quantities, prep expiry, substitutions, rush restocking, and deadline-based grading.
Tasks
Action Space
KitchenAction supports:
PREP_COMPONENTCOOK_DISHASSEMBLE_DISHSERVE_ORDERRESTOCK_INGREDIENTSUBSTITUTE_INGREDIENTCHECK_PROGRESS
Observation Space
KitchenObservation exposes:
briefingavailable_actionsmetadata.last_action_error
Reward / Grading
- Step rewards stay in
0.0-1.0 - Episode scores stay in
0.0-1.0 - Grading combines completion, timeliness, progress, cost, waste, execution efficiency, and substitution quality
- Idle/no-progress play is heavily penalized
- Tasks are generated from reusable templates instead of fixed full-scenario blobs
Setup
uv python install 3.11
uv sync --managed-python --python 3.11 --extra devRun the server:
uv run --managed-python --python 3.11 python -m uvicorn server.app:app --host 0.0.0.0 --port 8000Run tests:
uv run --managed-python --python 3.11 python -m pytestRun the baseline:
export API_BASE_URL=https://models.github.ai/inference
export MODEL_NAME=openai/gpt-4o
export HF_TOKEN=...
uv run --managed-python --python 3.11 python inference.pyEnvironment Variables
API_BASE_URLMODEL_NAMEHF_TOKENKITCHEN_ENV_URLoptional, defaults tohttp://localhost:8000
API
POST /resetPOST /stepGET /stateGET /tasksGET /gradeGET /healthGET /metadata
