Start: 0812-172057

Task 1: pick_clean_then_place_in_recep-Spatula-None-Drawer-10/trial_T20190907_080825_222432
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: clean some spatula and put it in drawer.
[Step 1] get a list of receptacles where the spatula is likely to appear.
[Step 2] go to each receptacle in the list until seeing a spatula
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see nothing.
Act: go to drawer 2
Obs: The drawer 2 is closed.
Act: open drawer 2
Obs: You open the drawer 2. The drawer 2 is open. In it, you see a creditcard 1, a peppershaker 2, a saltshaker 2, and a spoon 2.
Act: go to drawer 3
Obs: The drawer 3 is closed.
Act: open drawer 3
Obs: You open the drawer 3. The drawer 3 is open. In it, you see a spoon 3.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a saltshaker 1, a vase 2, and a vase 1.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a dishsponge 1, and a plate 1.
Act: go to cabinet 3
Obs: On the cabinet 3, you see nothing.
Act: go to cabinet 4
Obs: On the cabinet 4, you see nothing.
Act: go to cabinet 5
Obs: The cabinet 5 is closed.
Act: open cabinet 5
Obs: You open the cabinet 5. The cabinet 5 is open. In it, you see nothing.
Act: go to cabinet 6
Obs: The cabinet 6 is closed.
Act: open cabinet 6
Obs: You open the cabinet 6. The cabinet 6 is open. In it, you see a dishsponge 2, and a soapbottle 1.
Act: go to countertop 1
Obs: On the countertop 1, you see a bowl 1, a creditcard 2, and a peppershaker 1.
Act: go to countertop 2
Obs: On the countertop 2, you see a bread 2, a bread 1, a butterknife 2, a butterknife 1, a fork 1, a spatula 1, a spoon 1, a statue 1, and a tomato 1.
[Step 3] identify the spatula I just found and take it
Act: take spatula 1 from countertop 2
Obs: You pick up the spatula 1 from the countertop 2.
[Step 4] go to a sinkbasin to clean the spatula. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a plate 2, a potato 2, and a tomato 2.
Act: clean spatula 1 with sinkbasin 1
Obs: You clean the spatula 1 using the sinkbasin 1.
[Step 5] go to a drawer and put the spatula in it. 
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see nothing.
Act: put spatula 1 in/on drawer 1
Obs: You put the spatula 1 in/on the drawer 1.
Done. Success: True

Success: True
Task 1, rs: [0, 0, 1, 0, 0, 0] cnts [0, 0, 1, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 2: pick_clean_then_place_in_recep-Plate-None-CounterTop-10/trial_T20190908_213356_017769
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean plate in countertop.
[Step 1] get a list of receptacles where the plate is likely to appear.
[Step 2] go to each receptacle in the list until seeing a plate
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a apple 2, a bowl 2, a cup 1, a potato 3, a potato 2, and a potato 1.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a bowl 1, and a plate 1.
[Step 3] identify the plate I just found and take it
Act: take plate 1 from cabinet 1
Obs: You pick up the plate 1 from the cabinet 1.
[Step 4] go to a sinkbasin to clean the plate. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean plate 1 with sinkbasin 1
Obs: You clean the plate 1 using the sinkbasin 1.
[Step 5] go to a countertop and put the plate on it. 
Act: go to countertop 1
Obs: On the countertop 1, you see a dishsponge 1, a egg 2, and a glassbottle 2.
Act: put plate 1 in/on countertop 1
Obs: You put the plate 1 in/on the countertop 1.
Done. Success: True

Success: True
Task 2, rs: [0, 0, 2, 0, 0, 0] cnts [0, 0, 2, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 3: pick_clean_then_place_in_recep-Bowl-None-Cabinet-10/trial_T20190909_061130_844814
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: clean some bowl and put it in cabinet.
[Step 1] get a list of receptacles where a bowl is likely to appear.
[Step 2] go to each receptacle in the list until finding a bowl.
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a apple 3, a apple 1, a bread 2, a bread 1, a cup 2, a pan 1, a plate 1, and a potato 1.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a mug 1, and a vase 1.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a cup 1.
Act: go to cabinet 3
Obs: On the cabinet 3, you see nothing.
Act: go to cabinet 4
Obs: On the cabinet 4, you see nothing.
Act: go to cabinet 5
Obs: The cabinet 5 is closed.
Act: open cabinet 5
Obs: You open the cabinet 5. The cabinet 5 is open. In it, you see nothing.
Act: go to cabinet 6
Obs: The cabinet 6 is closed.
Act: open cabinet 6
Obs: You open the cabinet 6. The cabinet 6 is open. In it, you see a dishsponge 1, and a saltshaker 2.
Act: go to countertop 1
Obs: On the countertop 1, you see a cellphone 2, and a cellphone 1.
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a dishsponge 2, a knife 1, a mug 2, a peppershaker 1, a saltshaker 1, a statue 1, and a tomato 1.
Act: go to countertop 3
Obs: On the countertop 3, you see a bowl 1, a bread 3, a cellphone 3, a creditcard 2, a egg 3, a fork 2, a glassbottle 1, a houseplant 1, a knife 3, a knife 2, a lettuce 1, a spoon 1, a tomato 3, and a vase 3.
[Step 3] identify the bowl and take it.
Act: take bowl 1 from countertop 3
Obs: You pick up the bowl 1 from the countertop 3.
[Step 4] go to a sinkbasin to clean the bowl.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean bowl 1 with sinkbasin 1
Obs: You clean the bowl 1 using the sinkbasin 1.
[Step 5] go to a cabinet and put the bowl in it.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a mug 1, and a vase 1.
Act: put bowl 1 in/on cabinet 1
Obs: You put the bowl 1 in/on the cabinet 1.
Done. Success: True

Success: True
Task 3, rs: [0, 0, 3, 0, 0, 0] cnts [0, 0, 3, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 4: pick_clean_then_place_in_recep-Egg-None-Microwave-10/trial_T20190909_120632_691361
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean egg in microwave.
[Step 4] go to a sinkbasin to clean the egg. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a bowl 3, a spatula 2, and a spatula 1.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 40, in solution
UnboundLocalError: local variable 'found_egg' referenced before assignment
[Step 3] identify the egg I just found and take it
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 29, in solution
UnboundLocalError: local variable 'receptacle' referenced before assignment
[Step 1] get a list of receptacles where the egg is likely to appear.
[Step 2] go to each receptacle in the list until seeing an egg
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a cup 3, a cup 1, a lettuce 1, a plate 2, a plate 1, a potato 1, and a tomato 1.
Act: go to drawer 3
Obs: The drawer 3 is closed.
Act: open drawer 3
Obs: You open the drawer 3. The drawer 3 is open. In it, you see a fork 2.
Act: go to drawer 2
Obs: The drawer 2 is closed.
Act: open drawer 2
Obs: You open the drawer 2. The drawer 2 is open. In it, you see a fork 1, and a peppershaker 2.
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see nothing.
Act: go to shelf 3
Obs: On the shelf 3, you see a vase 2.
Act: go to shelf 2
Obs: On the shelf 2, you see a creditcard 2.
Act: go to shelf 1
Obs: On the shelf 1, you see a creditcard 3.
Act: go to cabinet 6
Obs: The cabinet 6 is closed.
Act: open cabinet 6
Obs: You open the cabinet 6. The cabinet 6 is open. In it, you see a bowl 2, a soapbottle 2, and a soapbottle 1.
Act: go to cabinet 5
Obs: The cabinet 5 is closed.
Act: open cabinet 5
Obs: You open the cabinet 5. The cabinet 5 is open. In it, you see nothing.
Act: go to cabinet 4
Obs: On the cabinet 4, you see a glassbottle 2, and a mug 1.
Act: go to cabinet 3
Obs: On the cabinet 3, you see a glassbottle 1.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see nothing.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a bowl 1, a peppershaker 1, and a vase 1.
Act: go to countertop 3
Obs: On the countertop 3, you see a bread 3, a bread 2, a butterknife 3, a butterknife 2, a cellphone 1, a egg 1, a fork 3, a houseplant 1, a mug 3, and a statue 1.
[Step 3] identify the egg I just found and take it
Act: take egg 1 from countertop 3
Obs: You pick up the egg 1 from the countertop 3.
[Step 4] go to a sinkbasin to clean the egg. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a bowl 3, a spatula 2, and a spatula 1.
Act: clean egg 1 with sinkbasin 1
Obs: You clean the egg 1 using the sinkbasin 1.
[Step 5] go to the microwave and put the egg in it. 
Act: go to microwave 1
Obs: The microwave 1 is closed.
Act: open microwave 1
Obs: You open the microwave 1. The microwave 1 is open. In it, you see a mug 2.
Act: put egg 1 in/on microwave 1
Obs: You put the egg 1 in/on the microwave 1.
Done. Success: True

Success: True
Task 4, rs: [0, 0, 4, 0, 0, 0] cnts [0, 0, 4, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 5: pick_clean_then_place_in_recep-SoapBar-None-Cabinet-424/trial_T20190908_214926_337906
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: clean some soapbar and put it in cabinet.
[Step 1] get a list of receptacles where the soapbar is likely to appear.
[Step 2] go to each receptacle in the list until finding a soapbar
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: go to sinkbasin 2
Obs: On the sinkbasin 2, you see nothing.
Act: go to toilet 1
Obs: On the toilet 1, you see a spraybottle 1, and a toiletpaper 2.
Act: go to cabinet 1
Obs: The cabinet 1 is closed.
Act: open cabinet 1
Obs: You open the cabinet 1. The cabinet 1 is open. In it, you see nothing.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see nothing.
Act: go to cabinet 3
Obs: The cabinet 3 is closed.
Act: open cabinet 3
Obs: You open the cabinet 3. The cabinet 3 is open. In it, you see nothing.
Act: go to cabinet 4
Obs: The cabinet 4 is closed.
Act: open cabinet 4
Obs: You open the cabinet 4. The cabinet 4 is open. In it, you see a candle 1, and a cloth 2.
Act: go to handtowelholder 1
Obs: On the handtowelholder 1, you see a handtowel 1.
Act: go to handtowelholder 2
Obs: On the handtowelholder 2, you see a handtowel 2.
Act: go to countertop 1
Obs: On the countertop 1, you see a soapbar 1, and a soapbottle 1.
[Step 3] identify the soapbar and take it
Act: take soapbar 1 from countertop 1
Obs: You pick up the soapbar 1 from the countertop 1.
[Step 4] go to a sinkbasin to clean the soapbar. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean soapbar 1 with sinkbasin 1
Obs: You clean the soapbar 1 using the sinkbasin 1.
[Step 5] go to a cabinet and put the soapbar in it. 
Act: go to cabinet 1
Obs: The cabinet 1 is open. In it, you see nothing.
Act: put soapbar 1 in/on cabinet 1
Obs: You put the soapbar 1 in/on the cabinet 1.
Done. Success: True

Success: True
Task 5, rs: [0, 0, 5, 0, 0, 0] cnts [0, 0, 5, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 6: pick_clean_then_place_in_recep-Spatula-None-Drawer-10/trial_T20190907_080730_211959
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean spatula in drawer.
[Step 1] get a list of receptacles where the spatula is likely to appear.
[Step 2] go to each receptacle in the list until finding a spatula
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see a fork 1.
Act: go to drawer 2
Obs: The drawer 2 is closed.
Act: open drawer 2
Obs: You open the drawer 2. The drawer 2 is open. In it, you see a peppershaker 1, and a saltshaker 1.
Act: go to drawer 3
Obs: The drawer 3 is closed.
Act: open drawer 3
Obs: You open the drawer 3. The drawer 3 is open. In it, you see a cellphone 1.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a glassbottle 2.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a cup 1, and a glassbottle 1.
Act: go to cabinet 3
Obs: On the cabinet 3, you see a vase 1.
Act: go to cabinet 4
Obs: On the cabinet 4, you see nothing.
Act: go to cabinet 5
Obs: The cabinet 5 is closed.
Act: open cabinet 5
Obs: You open the cabinet 5. The cabinet 5 is open. In it, you see nothing.
Act: go to cabinet 6
Obs: The cabinet 6 is closed.
Act: open cabinet 6
Obs: You open the cabinet 6. The cabinet 6 is open. In it, you see nothing.
Act: go to countertop 1
Obs: On the countertop 1, you see a cellphone 2, a mug 1, and a soapbottle 1.
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a glassbottle 3, a knife 1, a papertowelroll 1, a potato 1, and a statue 1.
Act: go to countertop 3
Obs: On the countertop 3, you see a bread 1, a creditcard 1, a houseplant 1, a knife 2, a spatula 1, a spoon 1, and a statue 2.
[Step 3] identify the spatula and take it
Act: take spatula 1 from countertop 3
Obs: You pick up the spatula 1 from the countertop 3.
[Step 4] go to a sinkbasin to clean the spatula
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a apple 1, a butterknife 2, a potato 3, and a tomato 2.
Act: clean spatula 1 with sinkbasin 1
Obs: You clean the spatula 1 using the sinkbasin 1.
[Step 5] go to a drawer and put the spatula in it
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a fork 1.
Act: put spatula 1 in/on drawer 1
Obs: You put the spatula 1 in/on the drawer 1.
Done. Success: True

Success: True
Task 6, rs: [0, 0, 6, 0, 0, 0] cnts [0, 0, 6, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 7: pick_clean_then_place_in_recep-Bowl-None-Cabinet-10/trial_T20190909_061158_110530
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean bowl in cabinet.
[Step 1] get a list of receptacles where the bowl is likely to appear.
[Step 2] go to each receptacle in the list until seeing a bowl
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a apple 2, a bread 2, a cup 2, a cup 1, a egg 2, a lettuce 3, a lettuce 2, a mug 1, a plate 2, and a potato 1.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a bowl 1.
[Step 3] identify the bowl I just found and take it
Act: take bowl 1 from cabinet 1
Obs: You pick up the bowl 1 from the cabinet 1.
[Step 4] go to a sinkbasin to clean the bowl. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean bowl 1 with sinkbasin 1
Obs: You clean the bowl 1 using the sinkbasin 1.
[Step 5] go to a cabinet and put the bowl in it. 
Act: go to cabinet 1
Obs: On the cabinet 1, you see nothing.
Act: put bowl 1 in/on cabinet 1
Obs: You put the bowl 1 in/on the cabinet 1.
Done. Success: True

Success: True
Task 7, rs: [0, 0, 7, 0, 0, 0] cnts [0, 0, 7, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 8: pick_clean_then_place_in_recep-SoapBar-None-CounterTop-424/trial_T20190907_074106_050405
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: put a clean soapbar in countertop.
[Step 1] get a list of receptacles where the soapbar is likely to appear.
[Step 2] go to each receptacle in the list until finding a soapbar
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: go to sinkbasin 2
Obs: On the sinkbasin 2, you see nothing.
Act: go to toilet 1
Obs: On the toilet 1, you see a soapbar 3, a soapbar 2, and a toiletpaper 2.
[Step 3] identify the soapbar and take it
Act: take soapbar 3 from toilet 1
Obs: You pick up the soapbar 3 from the toilet 1.
[Step 4] go to a sinkbasin to clean the soapbar
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean soapbar 3 with sinkbasin 1
Obs: You clean the soapbar 3 using the sinkbasin 1.
[Step 5] go to countertop and put the soapbar on it
Act: go to countertop 1
Obs: On the countertop 1, you see a candle 2, a soapbar 1, a soapbottle 1, and a spraybottle 1.
Act: put soapbar 3 in/on countertop 1
Obs: You put the soapbar 3 in/on the countertop 1.
Done. Success: True

Success: True
Task 8, rs: [0, 0, 8, 0, 0, 0] cnts [0, 0, 8, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 9: pick_clean_then_place_in_recep-Mug-None-CoffeeMachine-10/trial_T20190907_221300_362511
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean mug in coffeemachine.
[Step 1] get a list of receptacles where the mug is likely to appear.
[Step 2] go to each receptacle in the list until finding a mug
Act: go to countertop 1
Obs: On the countertop 1, you see a butterknife 2.
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a cellphone 1, a dishsponge 2, a fork 1, a glassbottle 1, a lettuce 2, a mug 3, a papertowelroll 1, and a statue 1.
[Step 3] identify the mug and take it
Act: take mug 3 from countertop 2
Obs: You pick up the mug 3 from the countertop 2.
[Step 4] go to a sinkbasin to clean the mug
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a cup 3, a egg 3, and a glassbottle 3.
Act: clean mug 3 with sinkbasin 1
Obs: You clean the mug 3 using the sinkbasin 1.
[Step 5] go to the coffeemachine and put the clean mug in it
Act: go to coffeemachine 1
Obs: On the coffeemachine 1, you see nothing.
Act: put mug 3 in/on coffeemachine 1
Obs: You put the mug 3 in/on the coffeemachine 1.
Done. Success: True

Success: True
Task 9, rs: [0, 0, 9, 0, 0, 0] cnts [0, 0, 9, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 10: pick_clean_then_place_in_recep-Mug-None-CoffeeMachine-10/trial_T20190907_221355_558505
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean mug in coffeemachine.
[Step 3] identify the mug I just found and take it
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 27, in solution
UnboundLocalError: local variable 'observation' referenced before assignment
[Step 3] identify the lettuce I just found and take it
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 31, in solution
UnboundLocalError: local variable 'receptacle' referenced before assignment
[Step 1] get a list of receptacles where the mug is likely to appear.
[Step 2] go to each receptacle in the list until seeing a mug
Act: go to coffeemachine 1
Obs: On the coffeemachine 1, you see nothing.
Act: go to countertop 3
Obs: On the countertop 3, you see a bread 2, a cellphone 2, a creditcard 2, a egg 3, a egg 1, a fork 2, a glassbottle 3, a houseplant 1, a knife 1, a potato 1, a saltshaker 3, a spoon 2, and a vase 2.
Act: go to countertop 2
Obs: On the countertop 2, you see a apple 2, a bowl 1, a butterknife 1, a fork 1, a mug 1, a spoon 1, and a statue 1.
[Step 3] identify the mug I just found and take it
Act: take mug 1 from countertop 2
Obs: You pick up the mug 1 from the countertop 2.
[Step 4] go to a sinkbasin to clean the mug. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a glassbottle 2, and a spatula 1.
Act: clean mug 1 with sinkbasin 1
Obs: You clean the mug 1 using the sinkbasin 1.
[Step 5] go to the coffeemachine and put the mug in it. 
Act: go to coffeemachine 1
Obs: On the coffeemachine 1, you see nothing.
Act: put mug 1 in/on coffeemachine 1
Obs: You put the mug 1 in/on the coffeemachine 1.
Done. Success: True

Success: True
Task 10, rs: [0, 0, 10, 0, 0, 0] cnts [0, 0, 10, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 11: pick_clean_then_place_in_recep-SoapBar-None-CounterTop-424/trial_T20190907_074124_966890
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: clean some soapbar and put it in countertop.
[Step 1] get a list of receptacles where a soapbar is likely to appear.
[Step 2] go to each receptacle in the list until finding a soapbar
Act: go to cabinet 1
Obs: The cabinet 1 is closed.
Act: open cabinet 1
Obs: You open the cabinet 1. The cabinet 1 is open. In it, you see a cloth 1.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see nothing.
Act: go to cabinet 3
Obs: The cabinet 3 is closed.
Act: open cabinet 3
Obs: You open the cabinet 3. The cabinet 3 is open. In it, you see a candle 1, and a toiletpaper 3.
Act: go to cabinet 4
Obs: The cabinet 4 is closed.
Act: open cabinet 4
Obs: You open the cabinet 4. The cabinet 4 is open. In it, you see a soapbottle 1, and a toiletpaper 2.
Act: go to countertop 1
Obs: On the countertop 1, you see a soapbar 1, and a spraybottle 1.
[Step 3] identify the soapbar and take it
Act: take soapbar 1 from countertop 1
Obs: You pick up the soapbar 1 from the countertop 1.
[Step 4] go to a sinkbasin to clean the soapbar
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean soapbar 1 with sinkbasin 1
Obs: You clean the soapbar 1 using the sinkbasin 1.
[Step 5] go to the countertop and put the soapbar on it
Act: go to countertop 1
Obs: On the countertop 1, you see a spraybottle 1.
Act: put soapbar 1 in/on countertop 1
Obs: You put the soapbar 1 in/on the countertop 1.
Done. Success: True

Success: True
Task 11, rs: [0, 0, 11, 0, 0, 0] cnts [0, 0, 11, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 12: pick_clean_then_place_in_recep-Knife-None-CounterTop-10/trial_T20190909_110347_624008
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: clean some knife and put it in countertop.
[Step 1] get a list of receptacles where the knife is likely to appear.
[Step 2] go to each receptacle in the list until seeing a knife
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see nothing.
Act: go to drawer 2
Obs: The drawer 2 is closed.
Act: open drawer 2
Obs: You open the drawer 2. The drawer 2 is open. In it, you see a cellphone 1, and a dishsponge 2.
Act: go to drawer 3
Obs: The drawer 3 is closed.
Act: open drawer 3
Obs: You open the drawer 3. The drawer 3 is open. In it, you see a fork 2.
Act: go to countertop 1
Obs: On the countertop 1, you see a mug 2, a papertowelroll 1, a peppershaker 3, and a spatula 1.
Act: go to countertop 2
Obs: On the countertop 2, you see a cellphone 2, a dishsponge 1, a fork 1, a knife 1, a lettuce 3, a lettuce 1, a potato 1, a tomato 1, and a vase 1.
[Step 3] identify the knife I just found and take it
Act: take knife 1 from countertop 2
Obs: You pick up the knife 1 from the countertop 2.
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a bowl 2, a egg 1, a potato 3, and a spoon 3.
Act: clean knife 1 with sinkbasin 1
Obs: You clean the knife 1 using the sinkbasin 1.
[Step 5] go to a countertop and put the knife on it. 
Act: go to countertop 1
Obs: On the countertop 1, you see a mug 2, a papertowelroll 1, a peppershaker 3, and a spatula 1.
Act: put knife 1 in/on countertop 1
Obs: You put the knife 1 in/on the countertop 1.
Done. Success: True

Success: True
Task 12, rs: [0, 0, 12, 0, 0, 0] cnts [0, 0, 12, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 13: pick_clean_then_place_in_recep-Egg-None-Microwave-10/trial_T20190909_120554_888709
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: clean some egg and put it in microwave.
[Step 1] get a list of receptacles where the egg is likely to appear.
[Step 2] go to each receptacle in the list until seeing an egg
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a bowl 3, a bowl 1, a bread 1, a egg 2, a lettuce 1, a mug 3, a plate 1, a potato 1, and a tomato 1.
[Step 3] identify the egg I just found and take it
Act: take egg 2 from fridge 1
Obs: You pick up the egg 2 from the fridge 1.
[Step 4] go to a sinkbasin to clean the egg. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a cup 2, a plate 2, and a spatula 1.
Act: clean egg 2 with sinkbasin 1
Obs: You clean the egg 2 using the sinkbasin 1.
[Step 5] go to a microwave and put the egg in it. 
Act: go to microwave 1
Obs: The microwave 1 is closed.
Act: open microwave 1
Obs: You open the microwave 1. The microwave 1 is open. In it, you see a potato 2.
Act: put egg 2 in/on microwave 1
Obs: You put the egg 2 in/on the microwave 1.
Done. Success: True

Success: True
Task 13, rs: [0, 0, 13, 0, 0, 0] cnts [0, 0, 13, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 14: pick_clean_then_place_in_recep-Egg-None-Microwave-10/trial_T20190909_120712_273910
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean egg in microwave.
[Step 1] get a list of receptacles where the egg is likely to appear.
[Step 2] go to each receptacle in the list until seeing an egg
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a apple 2, a egg 1, a lettuce 1, a pan 2, a plate 1, and a tomato 1.
[Step 3] identify the egg I just found and take it
Act: take egg 1 from fridge 1
Obs: You pick up the egg 1 from the fridge 1.
[Step 4] go to a sinkbasin to clean the egg. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a butterknife 3, a potato 2, a spoon 3, and a tomato 2.
Act: clean egg 1 with sinkbasin 1
Obs: You clean the egg 1 using the sinkbasin 1.
[Step 5] go to the microwave and put the egg in it. 
Act: go to microwave 1
Obs: The microwave 1 is closed.
Act: open microwave 1
Obs: You open the microwave 1. The microwave 1 is open. In it, you see a apple 1, and a potato 1.
Act: put egg 1 in/on microwave 1
Obs: You put the egg 1 in/on the microwave 1.
Done. Success: True

Success: True
Task 14, rs: [0, 0, 14, 0, 0, 0] cnts [0, 0, 14, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 15: pick_clean_then_place_in_recep-SoapBar-None-Cabinet-424/trial_T20190908_215019_162873
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: clean some soapbar and put it in cabinet.
[Step 1] get a list of receptacles where the soapbar is likely to appear.
[Step 2] go to each receptacle in the list until finding a soapbar
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: go to sinkbasin 2
Obs: On the sinkbasin 2, you see nothing.
Act: go to toilet 1
Obs: On the toilet 1, you see a soapbar 1, and a spraybottle 3.
[Step 3] identify the soapbar and take it
Act: take soapbar 1 from toilet 1
Obs: You pick up the soapbar 1 from the toilet 1.
[Step 4] go to a sinkbasin to clean the soapbar. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean soapbar 1 with sinkbasin 1
Obs: You clean the soapbar 1 using the sinkbasin 1.
[Step 5] go to a cabinet and put the soapbar in it. 
Act: go to cabinet 1
Obs: The cabinet 1 is closed.
Act: open cabinet 1
Obs: You open the cabinet 1. The cabinet 1 is open. In it, you see a soapbottle 2.
Act: put soapbar 1 in/on cabinet 1
Obs: You put the soapbar 1 in/on the cabinet 1.
Done. Success: True

Success: True
Task 15, rs: [0, 0, 15, 0, 0, 0] cnts [0, 0, 15, 0, 0, 0] success_rate: 1.0 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 16: pick_clean_then_place_in_recep-Knife-None-CounterTop-10/trial_T20190909_110531_148235
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean knife in countertop.
[Step 1] get a list of receptacles where the knife is likely to appear.
[Step 2] go to each receptacle in the list until seeing a knife
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see a peppershaker 1.
Act: go to drawer 2
Obs: The drawer 2 is closed.
Act: open drawer 2
Obs: You open the drawer 2. The drawer 2 is open. In it, you see a saltshaker 2.
Act: go to drawer 3
Obs: The drawer 3 is closed.
Act: open drawer 3
Obs: You open the drawer 3. The drawer 3 is open. In it, you see a creditcard 2, a saltshaker 3, and a spatula 1.
Act: go to countertop 1
Obs: On the countertop 1, you see a apple 3, a apple 2, a creditcard 1, and a peppershaker 2.
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a cellphone 1, a dishsponge 2, a dishsponge 1, a fork 1, a spatula 2, a statue 2, and a statue 1.
[Step 3] identify the knife I just found and take it
Act: take knife 1 from countertop 2
Obs: Nothing happens.
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a butterknife 2, a cup 2, a egg 2, and a spoon 1.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 42, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: take knife 1 from countertop 2
Obs: Nothing happens.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a butterknife 2, a cup 2, a egg 2, and a spoon 1.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: Nothing happens.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 42, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Act: go to sinkbasin 1
Obs: Nothing happens.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: Nothing happens.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 42, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Act: go to sinkbasin 1
Obs: Nothing happens.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 1] get a list of receptacles where the knife is likely to appear.
[Step 2] go to each receptacle in the list until seeing a knife
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a peppershaker 1.
Act: go to drawer 2
Obs: The drawer 2 is open. In it, you see a saltshaker 2.
Act: go to drawer 3
Obs: The drawer 3 is open. In it, you see a creditcard 2, a saltshaker 3, and a spatula 1.
Act: go to cabinet 1
Obs: On the cabinet 1, you see nothing.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a glassbottle 1, and a plate 1.
Act: go to cabinet 3
Obs: On the cabinet 3, you see a vase 1.
Act: go to cabinet 4
Obs: On the cabinet 4, you see a saltshaker 1.
Act: go to cabinet 5
Obs: The cabinet 5 is closed.
Act: open cabinet 5
Obs: You open the cabinet 5. The cabinet 5 is open. In it, you see nothing.
Act: go to cabinet 6
Obs: The cabinet 6 is closed.
Act: open cabinet 6
Obs: You open the cabinet 6. The cabinet 6 is open. In it, you see a glassbottle 2, and a vase 2.
Act: go to countertop 1
Obs: On the countertop 1, you see a apple 3, a apple 2, a creditcard 1, and a peppershaker 2.
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a cellphone 1, a dishsponge 2, a dishsponge 1, a fork 1, a spatula 2, a statue 2, and a statue 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a butterknife 2, a cup 2, a egg 2, and a spoon 1.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 42, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a cellphone 1, a dishsponge 2, a dishsponge 1, a fork 1, a spatula 2, a statue 2, and a statue 1.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a butterknife 2, a cup 2, a egg 2, and a spoon 1.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 1] get a list of receptacles where the knife is likely to appear.
[Step 2] go to each receptacle in the list until seeing a knife
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a peppershaker 1.
Act: go to drawer 2
Obs: The drawer 2 is open. In it, you see a saltshaker 2.
Act: go to drawer 3
Obs: The drawer 3 is open. In it, you see a creditcard 2, a saltshaker 3, and a spatula 1.
Act: go to countertop 1
Obs: On the countertop 1, you see a apple 3, a apple 2, a creditcard 1, and a peppershaker 2.
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a cellphone 1, a dishsponge 2, a dishsponge 1, a fork 1, a spatula 2, a statue 2, and a statue 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a butterknife 2, a cup 2, a egg 2, and a spoon 1.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 42, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a cellphone 1, a dishsponge 2, a dishsponge 1, a fork 1, a spatula 2, a statue 2, and a statue 1.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a butterknife 2, a cup 2, a egg 2, and a spoon 1.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 1] get a list of receptacles where the knife is likely to appear.
[Step 2] go to each receptacle in the list until seeing a knife
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a peppershaker 1.
Act: go to drawer 2
Obs: The drawer 2 is open. In it, you see a saltshaker 2.
Act: go to drawer 3
Obs: The drawer 3 is open. In it, you see a creditcard 2, a saltshaker 3, and a spatula 1.
Act: go to countertop 1
Obs: On the countertop 1, you see a apple 3, a apple 2, a creditcard 1, and a peppershaker 2.
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a cellphone 1, a dishsponge 2, a dishsponge 1, a fork 1, a spatula 2, a statue 2, and a statue 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a butterknife 2, a cup 2, a egg 2, and a spoon 1.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 42, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a cellphone 1, a dishsponge 2, a dishsponge 1, a fork 1, a spatula 2, a statue 2, and a statue 1.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a butterknife 2, a cup 2, a egg 2, and a spoon 1.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.

Success: False
Task 16, rs: [0, 0, 15, 0, 0, 0] cnts [0, 0, 16, 0, 0, 0] success_rate: 0.9375 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 17: pick_clean_then_place_in_recep-Cloth-None-CounterTop-424/trial_T20190908_100632_546757
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: put a clean cloth in countertop.
[Step 1] get a list of receptacles where the cloth is likely to appear.
[Step 2] go to each receptacle in the list until seeing a cloth
Act: go to handtowelholder 1
Obs: On the handtowelholder 1, you see a handtowel 1.
Act: go to handtowelholder 2
Obs: On the handtowelholder 2, you see nothing.
Act: go to towelholder 1
Obs: On the towelholder 1, you see a towel 1.
Act: go to toiletpaperhanger 1
Obs: On the toiletpaperhanger 1, you see nothing.
Act: go to cabinet 1
Obs: The cabinet 1 is closed.
Act: open cabinet 1
Obs: You open the cabinet 1. The cabinet 1 is open. In it, you see a cloth 1.
[Step 3] identify the cloth I just found and take it
Act: take cloth 1 from cabinet 1
Obs: You pick up the cloth 1 from the cabinet 1.
[Step 4] go to a sinkbasin to clean the cloth. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a soapbar 1.
Act: clean cloth 1 with sinkbasin 1
Obs: You clean the cloth 1 using the sinkbasin 1.
[Step 5] go to a countertop and put the cloth on it. 
Act: go to countertop 1
Obs: On the countertop 1, you see a candle 1, a cloth 3, and a spraybottle 1.
Act: put cloth 1 in/on countertop 1
Obs: You put the cloth 1 in/on the countertop 1.
Done. Success: True

Success: True
Task 17, rs: [0, 0, 16, 0, 0, 0] cnts [0, 0, 17, 0, 0, 0] success_rate: 0.9411764705882353 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 18: pick_clean_then_place_in_recep-Bowl-None-Cabinet-10/trial_T20190909_061232_368489
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: clean some bowl and put it in cabinet.
[Step 1] get a list of receptacles where a bowl is likely to appear.
[Step 2] go to each receptacle in the list until seeing a bowl
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a apple 2, a apple 1, a cup 1, a egg 1, a potato 2, a potato 1, and a tomato 1.
Act: go to cabinet 1
Obs: On the cabinet 1, you see nothing.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a saltshaker 1.
Act: go to cabinet 3
Obs: On the cabinet 3, you see a vase 1.
Act: go to cabinet 4
Obs: On the cabinet 4, you see a bowl 1.
[Step 3] identify the bowl I just found and take it
Act: take bowl 1 from cabinet 4
Obs: You pick up the bowl 1 from the cabinet 4.
[Step 4] go to a sinkbasin to clean the bowl. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean bowl 1 with sinkbasin 1
Obs: You clean the bowl 1 using the sinkbasin 1.
[Step 5] go to a cabinet and put the bowl in it. 
Act: go to cabinet 1
Obs: On the cabinet 1, you see nothing.
Act: put bowl 1 in/on cabinet 1
Obs: You put the bowl 1 in/on the cabinet 1.
Done. Success: True

Success: True
Task 18, rs: [0, 0, 17, 0, 0, 0] cnts [0, 0, 18, 0, 0, 0] success_rate: 0.9444444444444444 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 19: pick_clean_then_place_in_recep-Pan-None-CounterTop-10/trial_T20190908_032434_013084
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: clean some pan and put it in countertop.
[Step 1] get a list of receptacles where the pan is likely to appear.
[Step 2] go to each receptacle in the list until seeing a pan
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a apple 3, a apple 2, a bowl 2, a cup 1, a egg 1, a lettuce 1, a mug 3, a potato 1, and a tomato 1.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a glassbottle 1, a mug 1, and a vase 2.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see nothing.
Act: go to cabinet 3
Obs: On the cabinet 3, you see a bowl 1, and a peppershaker 1.
Act: go to cabinet 4
Obs: On the cabinet 4, you see a vase 1.
Act: go to cabinet 5
Obs: The cabinet 5 is closed.
Act: open cabinet 5
Obs: You open the cabinet 5. The cabinet 5 is open. In it, you see a mug 2, and a peppershaker 2.
Act: go to cabinet 6
Obs: The cabinet 6 is closed.
Act: open cabinet 6
Obs: You open the cabinet 6. The cabinet 6 is open. In it, you see a bowl 3.
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see a knife 1, and a spatula 2.
Act: go to drawer 2
Obs: The drawer 2 is closed.
Act: open drawer 2
Obs: You open the drawer 2. The drawer 2 is open. In it, you see a saltshaker 1, and a spatula 1.
Act: go to drawer 3
Obs: The drawer 3 is closed.
Act: open drawer 3
Obs: You open the drawer 3. The drawer 3 is open. In it, you see a butterknife 1, and a creditcard 1.
Act: go to countertop 1
Obs: On the countertop 1, you see nothing.
Act: go to countertop 2
Obs: On the countertop 2, you see nothing.
Act: go to countertop 3
Obs: On the countertop 3, you see a bread 1, a butterknife 3, a butterknife 2, a fork 1, a houseplant 1, a plate 1, a soapbottle 1, a spoon 1, and a statue 1.
Act: go to shelf 1
Obs: On the shelf 1, you see a creditcard 3, a saltshaker 3, and a saltshaker 2.
Act: go to shelf 2
Obs: On the shelf 2, you see a cellphone 2, a cellphone 1, a creditcard 2, and a dishsponge 1.
Act: go to shelf 3
Obs: On the shelf 3, you see nothing.
Act: go to stoveburner 1
Obs: On the stoveburner 1, you see a pot 1.
Act: go to stoveburner 2
Obs: On the stoveburner 2, you see a pan 1.
[Step 3] identify the pan I just found and take it
Act: take pan 1 from stoveburner 2
Obs: You pick up the pan 1 from the stoveburner 2.
[Step 4] go to a sinkbasin to clean the pan. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean pan 1 with sinkbasin 1
Obs: You clean the pan 1 using the sinkbasin 1.
[Step 5] go to a countertop and put the pan on it. 
Act: go to countertop 1
Obs: On the countertop 1, you see nothing.
Act: put pan 1 in/on countertop 1
Obs: You put the pan 1 in/on the countertop 1.
Done. Success: True

Success: True
Task 19, rs: [0, 0, 18, 0, 0, 0] cnts [0, 0, 19, 0, 0, 0] success_rate: 0.9473684210526315 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 20: pick_clean_then_place_in_recep-Knife-None-CounterTop-10/trial_T20190909_110445_675754
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean knife in countertop.
[Step 1] get a list of receptacles where the knife is likely to appear.
[Step 2] go to each receptacle in the list until seeing a knife
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see a butterknife 1, and a fork 1.
[Step 3] identify the knife I just found and take it
Act: take knife 1 from drawer 1
Obs: Nothing happens.
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a fork 3, a lettuce 3, and a spatula 2.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 42, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: take knife 1 from drawer 1
Obs: Nothing happens.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a fork 3, a lettuce 3, and a spatula 2.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: Nothing happens.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 42, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Act: go to sinkbasin 1
Obs: Nothing happens.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: Nothing happens.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 42, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Act: go to sinkbasin 1
Obs: Nothing happens.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 1] get a list of receptacles where the knife is likely to appear.
[Step 2] go to each receptacle in the list until seeing a knife
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a butterknife 1, and a fork 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a fork 3, a lettuce 3, and a spatula 2.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 31, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a butterknife 1, and a fork 1.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a fork 3, a lettuce 3, and a spatula 2.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 1] get a list of receptacles where the knife is likely to appear.
[Step 2] go to each receptacle in the list until seeing a knife
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a butterknife 1, and a fork 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a fork 3, a lettuce 3, and a spatula 2.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 31, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a butterknife 1, and a fork 1.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a fork 3, a lettuce 3, and a spatula 2.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.
[Step 1] get a list of receptacles where the knife is likely to appear.
[Step 2] go to each receptacle in the list until seeing a knife
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a butterknife 1, and a fork 1.
[Step 3] identify the knife I just found and take it
[Step 4] go to a sinkbasin to clean the knife. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a fork 3, a lettuce 3, and a spatula 2.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 191, in capture_output
    func(agent, start_from=step)
  File "<string>", line 31, in solution
AssertionError: Error in [Step 4]: I cannot clean the knife 1 using the sinkbasin 1. The last three interactions before error were:
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a butterknife 1, and a fork 1.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a fork 3, a lettuce 3, and a spatula 2.
Act: clean knife 1 with sinkbasin 1
Obs: Nothing happens.
I am at sinkbasin 1 and holding knife 1. I should have been at sinkbasin 1 and holding knife 1.

Success: False
Task 20, rs: [0, 0, 18, 0, 0, 0] cnts [0, 0, 20, 0, 0, 0] success_rate: 0.9 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 21: pick_clean_then_place_in_recep-Plate-None-CounterTop-10/trial_T20190908_213420_728917
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean plate in countertop.
[Step 1] get a list of receptacles where the plate is likely to appear.
[Step 2] go to each receptacle in the list until seeing a plate
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a apple 1, a bowl 1, a egg 2, a egg 1, a lettuce 1, a mug 1, a tomato 2, and a tomato 1.
Act: go to shelf 1
Obs: On the shelf 1, you see a statue 1.
Act: go to shelf 2
Obs: On the shelf 2, you see a cup 2, a plate 4, a saltshaker 2, and a vase 1.
[Step 3] identify the plate I just found and take it
Act: take plate 4 from shelf 2
Obs: You pick up the plate 4 from the shelf 2.
[Step 4] go to a sinkbasin to clean the plate. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean plate 4 with sinkbasin 1
Obs: You clean the plate 4 using the sinkbasin 1.
[Step 5] go to the countertop and put the plate on it. 
Act: go to countertop 1
Obs: On the countertop 1, you see a apple 2, a dishsponge 2, a potato 3, and a potato 2.
Act: put plate 4 in/on countertop 1
Obs: You put the plate 4 in/on the countertop 1.
Done. Success: True

Success: True
Task 21, rs: [0, 0, 19, 0, 0, 0] cnts [0, 0, 21, 0, 0, 0] success_rate: 0.9047619047619048 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 22: pick_clean_then_place_in_recep-Plate-None-CounterTop-10/trial_T20190908_213533_897289
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: clean some plate and put it in countertop.
[Step 1] get a list of receptacles where a plate is likely to appear.
[Step 2] go to each receptacle in the list until seeing a plate
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a bread 1, a cup 2, a cup 1, a egg 2, a lettuce 2, a lettuce 1, a plate 2, a tomato 2, and a tomato 1.
[Step 3] identify the plate I just found and take it
Act: take plate 2 from fridge 1
Obs: You pick up the plate 2 from the fridge 1.
[Step 4] go to a sinkbasin to clean the plate. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean plate 2 with sinkbasin 1
Obs: You clean the plate 2 using the sinkbasin 1.
[Step 5] go to a countertop and put the plate on it. 
Act: go to countertop 1
Obs: On the countertop 1, you see nothing.
Act: put plate 2 in/on countertop 1
Obs: You put the plate 2 in/on the countertop 1.
Done. Success: True

Success: True
Task 22, rs: [0, 0, 20, 0, 0, 0] cnts [0, 0, 22, 0, 0, 0] success_rate: 0.9090909090909091 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 23: pick_clean_then_place_in_recep-Pan-None-CounterTop-10/trial_T20190908_032518_891433
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: clean some pan and put it in countertop.
[Step 1] get a list of receptacles where the pan is likely to appear.
[Step 2] go to each receptacle in the list until seeing a pan
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a apple 2, a apple 1, a bowl 2, a bowl 1, a cup 2, a cup 1, a lettuce 1, a mug 2, a mug 1, a plate 2, and a potato 2.
Act: go to drawer 3
Obs: The drawer 3 is closed.
Act: open drawer 3
Obs: You open the drawer 3. The drawer 3 is open. In it, you see a saltshaker 1, and a spoon 1.
Act: go to drawer 2
Obs: The drawer 2 is closed.
Act: open drawer 2
Obs: You open the drawer 2. The drawer 2 is open. In it, you see a creditcard 2, a dishsponge 1, and a spatula 1.
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see a creditcard 1, and a fork 1.
Act: go to cabinet 6
Obs: The cabinet 6 is closed.
Act: open cabinet 6
Obs: You open the cabinet 6. The cabinet 6 is open. In it, you see a glassbottle 1.
Act: go to cabinet 5
Obs: The cabinet 5 is closed.
Act: open cabinet 5
Obs: You open the cabinet 5. The cabinet 5 is open. In it, you see a peppershaker 2.
Act: go to cabinet 4
Obs: On the cabinet 4, you see nothing.
Act: go to cabinet 3
Obs: On the cabinet 3, you see a peppershaker 1, and a soapbottle 1.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see nothing.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a plate 1, and a vase 1.
Act: go to countertop 3
Obs: On the countertop 3, you see a bread 2, a bread 1, a butterknife 2, a butterknife 1, a dishsponge 2, a houseplant 1, a knife 2, a knife 1, a plate 3, a spatula 3, a spatula 2, a spoon 3, a spoon 2, a statue 1, and a tomato 1.
Act: go to countertop 2
Obs: On the countertop 2, you see nothing.
Act: go to countertop 1
Obs: On the countertop 1, you see nothing.
Act: go to shelf 3
Obs: On the shelf 3, you see a vase 2.
Act: go to shelf 2
Obs: On the shelf 2, you see a cellphone 1, and a papertowelroll 1.
Act: go to shelf 1
Obs: On the shelf 1, you see a mug 3.
Act: go to microwave 1
Obs: The microwave 1 is closed.
Act: open microwave 1
Obs: You open the microwave 1. The microwave 1 is open. In it, you see a potato 1.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: go to stoveburner 4
Obs: On the stoveburner 4, you see a pan 1.
[Step 3] identify the pan I just found and take it
Act: take pan 1 from stoveburner 4
Obs: You pick up the pan 1 from the stoveburner 4.
[Step 4] go to a sinkbasin to clean the pan. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean pan 1 with sinkbasin 1
Obs: You clean the pan 1 using the sinkbasin 1.
[Step 5] go to a countertop and put the pan on it. 
Act: go to countertop 1
Obs: On the countertop 1, you see nothing.
Act: put pan 1 in/on countertop 1
Obs: You put the pan 1 in/on the countertop 1.
Done. Success: True

Success: True
Task 23, rs: [0, 0, 21, 0, 0, 0] cnts [0, 0, 23, 0, 0, 0] success_rate: 0.9130434782608695 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 24: pick_clean_then_place_in_recep-SoapBar-None-Cabinet-424/trial_T20190908_214946_567644
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: clean some soapbar and put it in cabinet.
[Step 1] get a list of receptacles where the soapbar is likely to appear.
[Step 2] go to each receptacle in the list until finding a soapbar
Act: go to sinkbasin 2
Obs: On the sinkbasin 2, you see nothing.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: go to toilet 1
Obs: On the toilet 1, you see a soapbar 2, and a toiletpaper 2.
[Step 3] identify the soapbar and take it
Act: take soapbar 2 from toilet 1
Obs: You pick up the soapbar 2 from the toilet 1.
[Step 4] go to a sinkbasin to clean the soapbar. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean soapbar 2 with sinkbasin 1
Obs: You clean the soapbar 2 using the sinkbasin 1.
[Step 5] go to a cabinet and put the soapbar in it. 
Act: go to cabinet 1
Obs: The cabinet 1 is closed.
Act: open cabinet 1
Obs: You open the cabinet 1. The cabinet 1 is open. In it, you see a soapbottle 2, and a spraybottle 2.
Act: put soapbar 2 in/on cabinet 1
Obs: You put the soapbar 2 in/on the cabinet 1.
Done. Success: True

Success: True
Task 24, rs: [0, 0, 22, 0, 0, 0] cnts [0, 0, 24, 0, 0, 0] success_rate: 0.9166666666666666 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 25: pick_clean_then_place_in_recep-SoapBar-None-CounterTop-424/trial_T20190907_074045_109439
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: put a clean soapbar in countertop.
[Step 1] get a list of receptacles where the soapbar is likely to appear.
[Step 2] go to each receptacle in the list until finding a soapbar
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: go to sinkbasin 2
Obs: On the sinkbasin 2, you see nothing.
Act: go to toilet 1
Obs: On the toilet 1, you see a spraybottle 2.
Act: go to handtowelholder 1
Obs: On the handtowelholder 1, you see a handtowel 1.
Act: go to handtowelholder 2
Obs: On the handtowelholder 2, you see a handtowel 2.
Act: go to cabinet 1
Obs: The cabinet 1 is closed.
Act: open cabinet 1
Obs: You open the cabinet 1. The cabinet 1 is open. In it, you see a cloth 1.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a toiletpaper 2.
Act: go to cabinet 3
Obs: The cabinet 3 is closed.
Act: open cabinet 3
Obs: You open the cabinet 3. The cabinet 3 is open. In it, you see a soapbottle 2.
Act: go to cabinet 4
Obs: The cabinet 4 is closed.
Act: open cabinet 4
Obs: You open the cabinet 4. The cabinet 4 is open. In it, you see a candle 1, and a spraybottle 1.
Act: go to countertop 1
Obs: On the countertop 1, you see a candle 2, a soapbar 1, a soapbottle 1, and a toiletpaper 1.
[Step 3] identify the soapbar and take it
Act: take soapbar 1 from countertop 1
Obs: You pick up the soapbar 1 from the countertop 1.
[Step 4] go to a sinkbasin to clean the soapbar
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean soapbar 1 with sinkbasin 1
Obs: You clean the soapbar 1 using the sinkbasin 1.
[Step 5] go to the countertop and put the soapbar on it
Act: go to countertop 1
Obs: On the countertop 1, you see a candle 2, a soapbottle 1, and a toiletpaper 1.
Act: put soapbar 1 in/on countertop 1
Obs: You put the soapbar 1 in/on the countertop 1.
Done. Success: True

Success: True
Task 25, rs: [0, 0, 23, 0, 0, 0] cnts [0, 0, 25, 0, 0, 0] success_rate: 0.92 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 26: pick_clean_then_place_in_recep-Cloth-None-Cabinet-424/trial_T20190908_022436_073995
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: clean some cloth and put it in cabinet.
[Step 1] get a list of receptacles where the cloth is likely to appear.
[Step 2] go to each receptacle in the list until finding a cloth
Act: go to handtowelholder 1
Obs: On the handtowelholder 1, you see a handtowel 1.
Act: go to handtowelholder 2
Obs: On the handtowelholder 2, you see a handtowel 2.
Act: go to towelholder 1
Obs: On the towelholder 1, you see a towel 1.
Act: go to toiletpaperhanger 1
Obs: On the toiletpaperhanger 1, you see nothing.
Act: go to cabinet 1
Obs: The cabinet 1 is closed.
Act: open cabinet 1
Obs: You open the cabinet 1. The cabinet 1 is open. In it, you see a toiletpaper 1.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a cloth 1.
[Step 3] identify the cloth and take it
Act: take cloth 1 from cabinet 2
Obs: You pick up the cloth 1 from the cabinet 2.
[Step 4] go to a sinkbasin to clean the cloth
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean cloth 1 with sinkbasin 1
Obs: You clean the cloth 1 using the sinkbasin 1.
[Step 5] go to a cabinet and put the cloth in it
Act: go to cabinet 1
Obs: The cabinet 1 is open. In it, you see a toiletpaper 1.
Act: put cloth 1 in/on cabinet 1
Obs: You put the cloth 1 in/on the cabinet 1.
Done. Success: True

Success: True
Task 26, rs: [0, 0, 24, 0, 0, 0] cnts [0, 0, 26, 0, 0, 0] success_rate: 0.9230769230769231 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 27: pick_clean_then_place_in_recep-Mug-None-CoffeeMachine-10/trial_T20190907_221208_560499
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean mug in coffeemachine.
[Step 1] get a list of receptacles where the mug is likely to appear.
[Step 2] go to each receptacle in the list until finding a mug
Act: go to coffeemachine 1
Obs: On the coffeemachine 1, you see nothing.
Act: go to countertop 3
Obs: On the countertop 3, you see a bread 1, a butterknife 1, a creditcard 3, a houseplant 1, a potato 2, and a saltshaker 1.
Act: go to countertop 2
Obs: On the countertop 2, you see a apple 1, a cellphone 1, a dishsponge 1, a fork 3, a fork 1, a knife 1, a lettuce 2, a mug 1, a peppershaker 1, a pot 2, a soapbottle 2, and a tomato 1.
[Step 3] identify the mug I just found and take it
Act: take mug 1 from countertop 2
Obs: You pick up the mug 1 from the countertop 2.
[Step 4] go to a sinkbasin to clean the mug
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a plate 3, a spatula 2, and a spatula 1.
Act: clean mug 1 with sinkbasin 1
Obs: You clean the mug 1 using the sinkbasin 1.
[Step 5] go to the coffeemachine and put the clean mug in it
Act: go to coffeemachine 1
Obs: On the coffeemachine 1, you see nothing.
Act: put mug 1 in/on coffeemachine 1
Obs: You put the mug 1 in/on the coffeemachine 1.
Done. Success: True

Success: True
Task 27, rs: [0, 0, 25, 0, 0, 0] cnts [0, 0, 27, 0, 0, 0] success_rate: 0.9259259259259259 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 28: pick_clean_then_place_in_recep-Cloth-None-Cabinet-424/trial_T20190908_022321_380927
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: clean some cloth and put it in cabinet.
[Step 1] get a list of receptacles where a cloth is likely to appear.
[Step 2] go to each receptacle in the list until finding a cloth.
Act: go to handtowelholder 1
Obs: On the handtowelholder 1, you see nothing.
Act: go to handtowelholder 2
Obs: On the handtowelholder 2, you see a handtowel 1.
Act: go to towelholder 1
Obs: On the towelholder 1, you see a towel 1.
Act: go to toiletpaperhanger 1
Obs: On the toiletpaperhanger 1, you see nothing.
Act: go to cabinet 1
Obs: The cabinet 1 is closed.
Act: open cabinet 1
Obs: You open the cabinet 1. The cabinet 1 is open. In it, you see a soapbottle 3.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a candle 1.
Act: go to cabinet 3
Obs: The cabinet 3 is closed.
Act: open cabinet 3
Obs: You open the cabinet 3. The cabinet 3 is open. In it, you see a soapbar 2.
Act: go to cabinet 4
Obs: The cabinet 4 is closed.
Act: open cabinet 4
Obs: You open the cabinet 4. The cabinet 4 is open. In it, you see a cloth 1.
[Step 3] identify the cloth and take it.
Act: take cloth 1 from cabinet 4
Obs: You pick up the cloth 1 from the cabinet 4.
[Step 4] go to a sinkbasin to clean the cloth.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean cloth 1 with sinkbasin 1
Obs: You clean the cloth 1 using the sinkbasin 1.
[Step 5] go to a cabinet and put the cloth in it.
Act: go to cabinet 1
Obs: The cabinet 1 is open. In it, you see a soapbottle 3.
Act: put cloth 1 in/on cabinet 1
Obs: You put the cloth 1 in/on the cabinet 1.
Done. Success: True

Success: True
Task 28, rs: [0, 0, 26, 0, 0, 0] cnts [0, 0, 28, 0, 0, 0] success_rate: 0.9285714285714286 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 29: pick_clean_then_place_in_recep-Spatula-None-Drawer-10/trial_T20190907_080800_275989
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: clean some spatula and put it in drawer.
[Step 1] get a list of receptacles where the spatula is likely to appear.
[Step 2] go to each receptacle in the list until seeing a spatula
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see a fork 1.
Act: go to drawer 2
Obs: The drawer 2 is closed.
Act: open drawer 2
Obs: You open the drawer 2. The drawer 2 is open. In it, you see a butterknife 1.
Act: go to drawer 3
Obs: The drawer 3 is closed.
Act: open drawer 3
Obs: You open the drawer 3. The drawer 3 is open. In it, you see a creditcard 1, and a saltshaker 1.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a vase 1.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a peppershaker 2.
Act: go to cabinet 3
Obs: On the cabinet 3, you see a mug 1.
Act: go to cabinet 4
Obs: On the cabinet 4, you see a soapbottle 1.
Act: go to cabinet 5
Obs: The cabinet 5 is closed.
Act: open cabinet 5
Obs: You open the cabinet 5. The cabinet 5 is open. In it, you see nothing.
Act: go to cabinet 6
Obs: The cabinet 6 is closed.
Act: open cabinet 6
Obs: You open the cabinet 6. The cabinet 6 is open. In it, you see a plate 1.
Act: go to countertop 1
Obs: On the countertop 1, you see a bowl 1, a cup 1, a egg 2, a mug 2, and a peppershaker 1.
Act: go to countertop 2
Obs: On the countertop 2, you see a creditcard 2, a dishsponge 1, a glassbottle 1, a knife 1, a lettuce 1, and a statue 1.
Act: go to countertop 3
Obs: On the countertop 3, you see a bowl 2, a bread 1, a butterknife 2, a cellphone 1, a houseplant 1, a knife 2, a soapbottle 2, a spatula 1, a tomato 2, a vase 3, and a vase 2.
[Step 3] identify the spatula I just found and take it
Act: take spatula 1 from countertop 3
Obs: You pick up the spatula 1 from the countertop 3.
[Step 4] go to a sinkbasin to clean the spatula. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see a spoon 1, and a tomato 3.
Act: clean spatula 1 with sinkbasin 1
Obs: You clean the spatula 1 using the sinkbasin 1.
[Step 5] go to a drawer and put the spatula in it. 
Act: go to drawer 1
Obs: The drawer 1 is open. In it, you see a fork 1.
Act: put spatula 1 in/on drawer 1
Obs: You put the spatula 1 in/on the drawer 1.
Done. Success: True

Success: True
Task 29, rs: [0, 0, 27, 0, 0, 0] cnts [0, 0, 29, 0, 0, 0] success_rate: 0.9310344827586207 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 30: pick_clean_then_place_in_recep-Cloth-None-CounterTop-424/trial_T20190908_114340_674467
You are in the middle of a room. Looking quickly around you, you see a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a countertop 1, a garbagecan 1, a handtowelholder 2, a handtowelholder 1, a sinkbasin 2, a sinkbasin 1, a toilet 1, a toiletpaperhanger 1, and a towelholder 1.
Your task is to: clean some cloth and put it in countertop.
[Step 1] get a list of receptacles where a cloth is likely to appear.
[Step 2] go to each receptacle in the list until finding a cloth.
Act: go to handtowelholder 1
Obs: On the handtowelholder 1, you see a handtowel 1.
Act: go to handtowelholder 2
Obs: On the handtowelholder 2, you see a handtowel 2.
Act: go to towelholder 1
Obs: On the towelholder 1, you see a towel 1.
Act: go to toiletpaperhanger 1
Obs: On the toiletpaperhanger 1, you see nothing.
Act: go to cabinet 1
Obs: The cabinet 1 is closed.
Act: open cabinet 1
Obs: You open the cabinet 1. The cabinet 1 is open. In it, you see a cloth 2.
[Step 3] identify the cloth and take it.
Act: take cloth 2 from cabinet 1
Obs: You pick up the cloth 2 from the cabinet 1.
[Step 4] go to a sinkbasin to clean the cloth.
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean cloth 2 with sinkbasin 1
Obs: You clean the cloth 2 using the sinkbasin 1.
[Step 5] go to the countertop and put the cloth on it.
Act: go to countertop 1
Obs: On the countertop 1, you see a soapbottle 1, and a spraybottle 1.
Act: put cloth 2 in/on countertop 1
Obs: You put the cloth 2 in/on the countertop 1.
Done. Success: True

Success: True
Task 30, rs: [0, 0, 28, 0, 0, 0] cnts [0, 0, 30, 0, 0, 0] success_rate: 0.9333333333333333 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

Task 31: pick_clean_then_place_in_recep-Pan-None-CounterTop-10/trial_T20190908_032543_712058
You are in the middle of a room. Looking quickly around you, you see a cabinet 6, a cabinet 5, a cabinet 4, a cabinet 3, a cabinet 2, a cabinet 1, a coffeemachine 1, a countertop 3, a countertop 2, a countertop 1, a drawer 3, a drawer 2, a drawer 1, a fridge 1, a garbagecan 1, a microwave 1, a shelf 3, a shelf 2, a shelf 1, a sinkbasin 1, a stoveburner 4, a stoveburner 3, a stoveburner 2, a stoveburner 1, and a toaster 1.
Your task is to: put a clean pan in countertop.
[Step 1] get a list of receptacles where the pan is likely to appear.
[Step 2] go to each receptacle in the list until seeing a pan
Act: go to fridge 1
Obs: The fridge 1 is closed.
Act: open fridge 1
Obs: You open the fridge 1. The fridge 1 is open. In it, you see a apple 3, a apple 2, a apple 1, a mug 1, a potato 3, a potato 2, and a potato 1.
Act: go to drawer 1
Obs: The drawer 1 is closed.
Act: open drawer 1
Obs: You open the drawer 1. The drawer 1 is open. In it, you see a fork 1, and a spatula 1.
Act: go to drawer 2
Obs: The drawer 2 is closed.
Act: open drawer 2
Obs: You open the drawer 2. The drawer 2 is open. In it, you see a creditcard 1, a saltshaker 2, and a spoon 1.
Act: go to drawer 3
Obs: The drawer 3 is closed.
Act: open drawer 3
Obs: You open the drawer 3. The drawer 3 is open. In it, you see a creditcard 2, and a peppershaker 1.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a dishsponge 1.
Act: go to cabinet 2
Obs: The cabinet 2 is closed.
Act: open cabinet 2
Obs: You open the cabinet 2. The cabinet 2 is open. In it, you see a bowl 1, and a cup 1.
Act: go to cabinet 3
Obs: On the cabinet 3, you see a glassbottle 1.
Act: go to cabinet 4
Obs: On the cabinet 4, you see a plate 1.
Act: go to cabinet 5
Obs: The cabinet 5 is closed.
Act: open cabinet 5
Obs: You open the cabinet 5. The cabinet 5 is open. In it, you see a peppershaker 2.
Act: go to cabinet 6
Obs: The cabinet 6 is closed.
Act: open cabinet 6
Obs: You open the cabinet 6. The cabinet 6 is open. In it, you see a saltshaker 1, and a soapbottle 1.
Act: go to countertop 1
Obs: On the countertop 1, you see a mug 2, and a pan 1.
[Step 3] identify the pan I just found and take it
Act: take pan 1 from countertop 1
Obs: You pick up the pan 1 from the countertop 1.
[Step 4] go to a sinkbasin to clean the pan. 
Act: go to sinkbasin 1
Obs: On the sinkbasin 1, you see nothing.
Act: clean pan 1 with sinkbasin 1
Obs: You clean the pan 1 using the sinkbasin 1.
[Step 5] go to a countertop and put the pan on it. 
Act: go to countertop 1
Obs: On the countertop 1, you see a mug 2.
Act: put pan 1 in/on countertop 1
Obs: You put the pan 1 in/on the countertop 1.
Done. Success: True

Success: True
Task 31, rs: [0, 0, 29, 0, 0, 0] cnts [0, 0, 31, 0, 0, 0] success_rate: 0.9354838709677419 

failed_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [15, 19], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
num_refinement {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [], 'look_at_obj': [], 'pick_clean_then_place': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

