Start: 0119-190130

Task 1: pick_and_place_simple-SaltShaker-None-Drawer-10/trial_T20190909_021650_880235
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 saltshaker in drawer.
[Step 1] get a list of receptacles where the saltshaker is likely to appear
[Step 2] go to each receptacle in the list until finding a saltshaker
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 3, a bowl 2, a bread 2, a bread 1, a cup 1, a mug 1, and a potato 2.
Act: go to cabinet 1
Obs: On the cabinet 1, you see a plate 1, and a saltshaker 1.
[Step 3] take the saltshaker from the receptacle
Act: take saltshaker from cabinet 1
Obs: Nothing happens.
[Step 4] find a drawer and put the saltshaker in it
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, a fork 1, and a peppershaker 2.
Act: put saltshaker in/on drawer 3
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 202, in capture_output
    func(agent, start_from=step)
  File "<string>", line 46, in solution
AssertionError: Error in [Step 4]: I cannot put the saltshaker in the drawer 3. The last three interactions before error were:
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, a fork 1, and a peppershaker 2.
Act: put saltshaker in/on drawer 3
Obs: Nothing happens.
I am at drawer 3 and holding None.
Act: take saltshaker 1 from drawer 3
Obs: Nothing happens.
Act: go to drawer 3
Obs: Nothing happens.
Act: put saltshaker 1 in/on drawer 3
Obs: Nothing happens.
Traceback (most recent call last):
  File "/workspace/S/tianzikang/my_project/alfworld/adaplanner/adaplanner.py", line 202, in capture_output
    func(agent, start_from=step)
  File "<string>", line 27, in solution
AssertionError: Error in [Step 4]: I cannot put the saltshaker 1 in the drawer 3. The last three interactions before error were:
Act: take saltshaker 1 from drawer 3
Obs: Nothing happens.
Act: go to drawer 3
Obs: Nothing happens.
Act: put saltshaker 1 in/on drawer 3
Obs: Nothing happens.
I am at drawer 3 and holding None.
[Step 1] get a list of receptacles where the saltshaker is likely to appear
[Step 2] go to each receptacle in the list until seeing a saltshaker
Act: go to fridge 1
Obs: The fridge 1 is open. In it, you see a apple 1, a bowl 3, a bowl 2, a bread 2, a bread 1, a cup 1, a mug 1, and a potato 2.
Act: go to countertop 3
Obs: On the countertop 3, you see a butterknife 3, a butterknife 2, a cellphone 3, a cellphone 2, a egg 3, a fork 3, a houseplant 1, a knife 1, a pan 1, a potato 3, a soapbottle 1, and a statue 2.
Act: go to countertop 2
Obs: On the countertop 2, you see a butterknife 1, a cellphone 1, a lettuce 2, a lettuce 1, a pot 2, and a tomato 1.
Act: go to countertop 1
Obs: On the countertop 1, you see a tomato 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 glassbottle 3, a saltshaker 2, and a vase 2.
[Step 3] identify the saltshaker I just found and take it
Act: take saltshaker 2 from cabinet 6
Obs: You pick up the saltshaker 2 from the cabinet 6.
[Step 4] go to a drawer and put the saltshaker in it
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.
Act: put saltshaker 2 in/on drawer 1
Obs: You put the saltshaker 2 in/on the drawer 1.
Done. Success: True

Success: True
Task 1, rs: [1, 0, 0, 0, 0, 0] cnts [1, 0, 0, 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': [2], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
all_tasks_id {'pick_and_place': [0], 'look_at_obj': [], 'pick_clean_then_place': [], 'pick_heat_then_place': [], 'pick_cool_then_place': [], 'pick_two_obj': []}
------------

