"""Mission commands, second round (docs/17): what people say to Lumi at a conference and what the speech recogniser writes down (capitals, full stops, "Okay Lumi", "um", "please", "thank you"). Written without looking at assistant/steps.py; none of these is in tests/steps_cases.py or tests/test_steps.py. Same short notation as tests/test_steps.py (`short()` there); "?" = some words must stay unread.""" CASES = { # ---- whisper transcripts, one step ---- "Lumi, take the cup.": "pick cup", "Okay Lumi, take the cup.": "pick cup", "Hey Lumi, pick up the bottle.": "pick bottle", "Um, take the apple.": "pick apple", "Uh, grab the banana please.": "pick banana", "Please take the orange.": "pick orange", "Take the cup, please.": "pick cup", "Take the cup, thank you.": "pick cup", "Lumi, take the red cup, please.": "pick red cup", "Hey Lumi, pick up the white mug.": "pick white cup", "Okay, grab the green bottle.": "pick green bottle", "Lumi, pick up the yellow banana, thank you.": "pick yellow banana", "Take the blue glass.": "pick blue cup", "Lumi, go to P5.": "go p5", "Go to point five.": "go p5", "Go to point 5, please.": "go p5", "Hey Lumi, go to P3.": "go p3", "Okay Lumi, go to point two.": "go p2", "Um, go to P7.": "go p7", "Go to P 8.": "go p8", "Go to point eight, thank you.": "go p8", "Lumi, drive to P1.": "go p1", "Go to point A.": "go a", "Go to point B, please.": "go b", "Go to the final point.": "go final", "Go to dock 2.": "go dock2", "Lumi, go to the exit, please.": "go exit", "Go to the charger.": "go home", "Go back to your dock.": "go home", "Go back home, thank you.": "go home", "Lumi, go to the charging station.": "go home", "Return home.": "go home", "Come here.": "go here", "Lumi, come here, please.": "go here", "Come back to me.": "go here", "Bring it here.": "go here", "Bring it back to me, please.": "go here | give", "Give it to me, thank you.": "give", "Hand it to me.": "give", "Give it to the person there.": "give", "Hold on to it.": "hold", "Keep holding it.": "hold", "Put it down, please.": "place", "Um, put it on the table.": "place dining table", "Put the cup on the table.": "place dining table", "Put it on the desk, thank you.": "place dining table", "Put it on the sofa, please.": "place couch", "Put it on the white chair.": "place white chair", "Put it on the red couch.": "place red couch", "Put it on the green bench.": "place green bench", "Ask them for the bottle.": "receive bottle", "Ask him for the cup.": "receive cup", "Ask her for the apple, please.": "receive apple", "Take the mug from them.": "receive cup", "Get the banana from the person.": "receive banana", "Say hello.": "say hello", "Lumi, say good afternoon.": "say good afternoon", "Say welcome to our booth": "say welcome to our booth", "Say thank you for coming": "say thank you for coming", "Say hello and welcome": "say hello and welcome", "Tell them coffee and tea are ready": "say coffee and tea are ready", "Tell them that Mr. Park will be here at 3 pm": "say Mr. Park will be here at 3 pm", "tell them that the cup is on the table": "say the cup is on the table", "tell them that the demo starts at 2": "say the demo starts at 2", "say: Dr. Lee is waiting in room 5": "say Dr. Lee is waiting in room 5", "say \"Please take one\"": "say Please take one", "Extend your arm.": "arm reach", "Stretch out your arm, please.": "arm reach", "Open the gripper.": "arm open", "Close the gripper.": "arm close", "Lumi, fold your arm, thank you.": "arm fold", # ---- numbers the way whisper writes them ---- "Go forward 1.5 meters.": "move forward 1.5", "Move forward 1 and a half meters.": "move forward 1.5", "Go forward a meter and a half.": "move forward 1.5", "Go back two and a half meters.": "move back 2.5", "Move forward 0.5m.": "move forward 0.5", "Go back 50cm.": "move back 0.5", "Move left a half meter.": "move left 0.5", "Go right 1m.": "move right 1", "Move forward 2.5 m.": "move forward 2.5", "Go forward 80 centimeters.": "move forward 0.8", "Move back 10 cm.": "move back 0.1", "Go left twenty centimeters.": "move left 0.2", "Go straight 2 meters.": "move forward 2", "Go straight ahead one meter.": "move forward 1", "Back up 1 meter.": "move back 1", "Go backward half a meter.": "move back 0.5", "Move to the right 1 meter.": "move right 1", "Move to the left 30 cm.": "move left 0.3", "Go forward three meters.": "move forward 3", "Go forward 6 meters.": "move forward 6", "Turn left.": "turn 90", "Turn to the right.": "turn -90", "Turn 180 degrees.": "turn 180", "Turn right 45 degrees.": "turn -45", "Turn left by 30 degrees.": "turn 30", "Turn right ninety degrees, please.": "turn -90", # ---- whisper transcripts, several steps ---- "Take the cup, go to P5.": "pick cup | go p5", "Go to point five and give it to me.": "go p5 | give", "Turn left, go one meter, then put it on the table.": "turn 90 | move forward 1 | place dining table", "Lumi, take the cup and bring it to me.": "pick cup | go here | give", "Okay Lumi, take the bottle and go to P3.": "pick bottle | go p3", "Hey Lumi, um, take the cup, uh, and bring it to me, thank you.": "pick cup | go here | give", "Take the apple. Go to P4. Give it to them.": "pick apple | go p4 | give", "Take the cup, go forward 1.5 meters and put it down.": "pick cup | move forward 1.5 | place", "Take the cup, go back 50cm, turn around and put it on the table.": "pick cup | move back 0.5 | turn 180 | place dining table", "Pick up the bottle, turn right and go forward two and a half meters.": "pick bottle | turn -90 | move forward 2.5", "Go to P2, take the cup and come back.": "go p2 | pick cup | go here", "Go to P2, take the cup and come back, please.": "go p2 | pick cup | go here", "Take the cup from P6 and bring it back to me.": "go p6 | pick cup | go here | give", "Take the orange from point 3 and put it on the table.": "go p3 | pick orange | place dining table", "Take the banana to P9.": "pick banana | go p9", "Take the red cup to point one and put it down.": "pick red cup | go p1 | place", "Grab the mug, go to P10 and hand it over.": "pick cup | go p10 | give", "Pick up the green apple and put it on the yellow chair.": "pick green apple | place yellow chair", "Take the cup and put it on the bed, please.": "pick cup | place bed", "Take the bottle, go to the exit and give it to them.": "pick bottle | go exit | give", "Take the cup, go to dock 2 and hold it.": "pick cup | go dock2 | hold", "Take the cup and go back to the charger.": "pick cup | go home", "Go to P1, then go home.": "go p1 | go home", "Go to point A, then point B, then come back.": "go a | go b | go here", "Go to Wp, then go to the final point.": "go Wp | go final", "Bring it to P3 or P5.": "go p3,p5", "Take it to either P2 or P6.": "go p2,p6", "Go to any of P4, P5 or P6.": "go p4,p5,p6", "Take the cup and bring it to P1, P2 or P3, then put it down.": "pick cup | go p1,p2,p3 | place", "Turn around and come back.": "turn 180 | go here", "Move forward 1 meter, turn right, move forward 1 meter.": "move forward 1 | turn -90 | move forward 1", "Go forward 1 meter and then go back 1 meter.": "move forward 1 | move back 1", "Go right 50cm, then left 50cm.": "move right 0.5 | move left 0.5", "Reach out your arm and close your hand.": "arm reach | arm close", "Open the gripper and then close it.": "arm open | arm close", "Fold your arm, then turn around.": "arm fold | turn 180", "Go to P5 and extend your arm.": "go p5 | arm reach", # ---- say, then more steps ---- "say hello and then come back": "say hello | go here", "say good morning, then go home": "say good morning | go home", "Go to P4, say welcome to the conference, then come back.": "go p4 | say welcome to the conference | go here", "Go to P8, tell them that Mr. Park will be here at 3 pm, then go home.": "go p8 | say Mr. Park will be here at 3 pm | go home", "Go to P2 and tell them the coffee is ready and then come back.": "go p2 | say the coffee is ready | go here", "go to p6, say \"the session starts in 10 minutes\" and go to p7": "go p6 | say the session starts in 10 minutes | go p7", "take the cup, go to p1, give it, say enjoy and then go home": "pick cup | go p1 | give | say enjoy | go home", "Go to final, say: Anvar is waiting for you at the entrance, then come back.": "go final | say Anvar is waiting for you at the entrance | go here", "Tell them lunch is at 12:30, then go to P3.": "say lunch is at 12:30 | go p3", "Say hi to everyone, then turn around.": "say hi to everyone | turn 180", # ---- receive flows ---- "go to p9, ask them for the bottle, bring it to p1 and give it to the person there": "go p9 | receive bottle | go p1 | give", "Go to P3, ask them for the cup and bring it back to me.": "go p3 | receive cup | go here | give", "Go to P5, get the apple from the person there and put it on the table.": "go p5 | receive apple | place dining table", "Ask them for the banana, then go to P2 and give it to them.": "receive banana | go p2 | give", "Get the cup from the person at P4.": "go p4 | receive cup", "Go to P1, ask her for the mug, go to P6, put it on the white table and come back.": "go p1 | receive cup | go p6 | place white dining table | go here", "Go to the exit, ask them for the orange and go home.": "go exit | receive orange | go home", # ---- longer missions ---- "Take the cup, go to P2, turn left, go forward 1 meter and put it on the table.": "pick cup | go p2 | turn 90 | move forward 1 | place dining table", "Go to P3, take the bottle, go to P8, give it to them, say enjoy the conference, then go home.": "go p3 | pick bottle | go p8 | give | say enjoy the conference | go home", "Take the red apple, go to point 4, put it on the chair on your left, then go to point 5 and come back.": "pick red apple | go p4 | place chair left | go p5 | go here", "Go to P1, ask them for the cup, go to P2, put it down, go to P3 and say done.": "go p1 | receive cup | go p2 | place | go p3 | say done", "Take the mug, turn right, go forward 2 meters, turn left, go forward half a meter and put it down.": "pick cup | turn -90 | move forward 2 | turn 90 | move forward 0.5 | place", "Okay Lumi, take the bottle from P6, bring it to P1, P2 or P3, give it to them and come back.": "go p6 | pick bottle | go p1,p2,p3 | give | go here", "Take the banana, go to final, put it on the bench, say breakfast is served, then go to the charger.": "pick banana | go final | place bench | say breakfast is served | go home", "Go forward 1 meter, take the cup, go back 1 meter, turn around and give it to me.": "move forward 1 | pick cup | move back 1 | turn 180 | give", "Take the cup, go to P9, look for the sofa and put it there, then come back.": "pick cup | go p9 | place couch | go here", "Go to P10, ask him for the apple, bring it to P5 and put it on the table on your right.": "go p10 | receive apple | go p5 | place dining table right", "Take the cup from P2, take it to P7, hold it.": "go p2 | pick cup | go p7 | hold", "Take the white cup, go to point A, go to point B, give it and go back to your dock.": "pick white cup | go a | go b | give | go home", # ---- left / right in place clauses ---- "put it on the white table to your right": "place white dining table right", "put it on the chair on the left": "place chair left", "Put it on the table to your left.": "place dining table left", "Put it on the sofa on your right.": "place couch right", "Put it on the yellow chair on the right.": "place yellow chair right", "Put it on the bench on your left, please.": "place bench left", "Put it on the black table on the left.": "place black dining table left", "Look for the table on your left and put it there.": "place dining table left", "Find the white chair on your right and put it there.": "place white chair right", "Take the cup and put it on the table on the right.": "pick cup | place dining table right", "Go to P3 and put it on the couch to your left.": "go p3 | place couch left", "Turn left and put it on the table on your left.": "turn 90 | place dining table left", "Take the bottle, go to P6, put it on the blue chair on your right and come back.": "pick bottle | go p6 | place blue chair right | go here", # ---- must be refused, English ---- "Go over there.": "?", "Go to the corner.": "?", "Take the cup and go over there.": "?", "Go to the door.": "?", "Go to the window.": "?", "Come closer.": "?", "Go a bit forward.": "?", "Move forward a little bit.": "?", "Go left, please.": "?", "Move right.": "?", "Turn left a bit.": "?", "Go forward two steps.": "?", "Take the cup and move back a little.": "?", "Put it in the fridge.": "?", "Put it on the shelf, please.": "?", "Put it in the box.": "?", "Take the cup and put it in the sink.": "?", "Go to P2 and put it in the box.": "?", "Take the phone.": "?", "Pick up the pen, please.": "?", "Grab my keys.": "?", "Take the laptop to P3.": "?", "Go to P4 and take the book.": "?", "Dance.": "?", "Lumi, sing a song.": "?", "Follow me, please.": "?", "Look at me.": "?", "Wave to them.": "?", "Take a photo.": "?", "Take a picture of us.": "?", "Shake hands with me.": "?", "Take the cup and wave.": "?", "Go to P5 and take a photo.": "?", "Go to P5, dance, then come back.": "?", "kubokni ol": "?", "P5 ga bor": "?", "stakanni olib kel": "?", "возьми бутылку": "?", "принеси мне чашку": "?", "иди к P5": "?", "take the cu": "?", "go to p": "?", "go to point": "?", "put it on the ta": "?", "take the bot": "?", "go to p1 and take the": "?", "Go to point twelve.": "?", "Go to P0.": "?", "Take the cup to the kitchen, please.": "?", # ---- Korean, one step ---- "루미야, 컵 집어 줘": "pick cup", "컵 집어 주세요": "pick cup", "컵 좀 집어 주세요.": "pick cup", "빨간색 컵 잡아 주세요": "pick red cup", "하얀 컵 집어 줘": "pick white cup", "병 잡아 주세요": "pick bottle", "파란 병 집어 줘": "pick blue bottle", "노란 바나나 잡아 주세요": "pick yellow banana", "초록 사과 집어": "pick green apple", "음, 사과 집어 주세요": "pick apple", "오렌지 집어 주세요. 감사합니다": "pick orange", "p5로 가 주세요": "go p5", "P5로 가주세요.": "go p5", "루미야, p2로 가": "go p2", "p7으로 가 주세요. 고마워": "go p7", "p10으로 가 줘": "go p10", "dock2로 가 주세요": "go dock2", "집에 가": "go home", "충전기로 가 주세요": "go home", "도크로 돌아가 주세요": "go home", "이리 와": "go here", "여기로 와 주세요": "go here", "돌아와 주세요": "go here", "나한테 갖다줘": "go here | give", "나한테 가져다 주세요": "go here | give", "p3로 갖다 줘": "go p3", "p2나 p6 중에 한 곳으로 가": "go p2,p6", "p1, p2, p3 중 아무 데나 가져가 주세요": "go p1,p2,p3", "건네주세요": "give", "그 사람한테 줘": "give", "계속 들고 있어 주세요": "hold", "내려놔 주세요": "place", "테이블에 놔 주세요": "place dining table", "식탁 위에 올려 주세요": "place dining table", "의자에 올려 주세요": "place chair", "소파 위에 놔 줘": "place couch", "벤치에 내려놔 주세요": "place bench", "주황색 의자에 놔": "place orange chair", "흰 테이블에 올려놔 주세요": "place white dining table", "오른쪽 의자에 놔 주세요": "place chair right", "왼쪽 소파에 올려 줘": "place couch left", "오른쪽에 있는 흰 테이블에 놔 주세요": "place white dining table right", "왼쪽에 있는 노란 의자에 올려놔": "place yellow chair left", "소파를 찾아서 거기에 놔 주세요": "place couch", "사람한테 컵 받아 주세요": "receive cup", "그 사람한테 사과 받아": "receive apple", "'안녕하세요'라고 말해 주세요": "say 안녕하세요", "반갑습니다라고 말해": "say 반갑습니다", "'점심은 12시에 있어요'라고 전해 주세요": "say 점심은 12시에 있어요", "'박 부장님이 3시에 오신대요'라고 전해 주세요": "say 박 부장님이 3시에 오신대요", "'커피랑 차 준비됐어요'라고 말해 줘": "say 커피랑 차 준비됐어요", "팔 뻗어 주세요": "arm reach", "팔 접어 주세요": "arm fold", "그리퍼 열어": "arm open", "그리퍼 닫아 주세요": "arm close", "손 펴 주세요": "arm open", # ---- Korean numbers and turns ---- "앞으로 1미터 가 주세요": "move forward 1", "앞으로 한 미터 가": "move forward 1", "뒤로 두 미터 가 주세요": "move back 2", "앞으로 1.5미터 가 주세요": "move forward 1.5", "앞으로 1미터 반 가": "move forward 1.5", "오른쪽으로 50센티 가 주세요": "move right 0.5", "왼쪽으로 반 미터 가 줘": "move left 0.5", "뒤로 50cm 가 주세요": "move back 0.5", "앞으로 1m 가": "move forward 1", "앞으로 2.5미터 가 줘": "move forward 2.5", "뒤로 20센티미터 가": "move back 0.2", "왼쪽으로 돌아 주세요": "turn 90", "오른쪽으로 90도 돌아": "turn -90", "왼쪽으로 30도 돌아 주세요": "turn 30", "180도 돌아": "turn 180", "뒤로 돌아 주세요": "turn 180", # ---- Korean, several steps ---- "루미야, 컵 집어서 p5로 가 주세요": "pick cup | go p5", "컵 집어서 나한테 갖다줘": "pick cup | go here | give", "컵 집고 p3로 가서 건네주세요": "pick cup | go p3 | give", "p4에서 사과 가져와 주세요": "go p4 | pick apple | go here", "p4에서 사과 가져와서 p6로 가": "go p4 | pick apple | go p6", "p4에서 사과 가져와서 나한테 건네주세요": "go p4 | pick apple | go here | give", "p6에서 바나나 가져와서 의자에 놔 줘": "go p6 | pick banana | go here | place chair", "p1에서 컵 가져와서 p2나 p3로 가져가": "go p1 | pick cup | go p2,p3", "p3에 있는 사람한테 갖다 주세요": "go p3 | give", "p9로 가서 병 받아서 p1으로 가져가서 거기 있는 사람한테 건네주세요": "go p9 | receive bottle | go p1 | give", "p9 가서 그 사람한테 병 달라고 해": "go p9 | receive bottle", "p2로 가서 컵 받아서 나한테 가져다 주세요": "go p2 | receive cup | go here | give", "사람한테 사과 받아서 테이블에 놔 주세요": "receive apple | place dining table", "컵 집어서 왼쪽으로 돌아서 앞으로 한 미터 가서 테이블에 놔 주세요": "pick cup | turn 90 | move forward 1 | place dining table", "컵 집어서 뒤로 50센티 가서 내려놔 주세요": "pick cup | move back 0.5 | place", "병 집어서 오른쪽으로 1미터 가서 오른쪽에 있는 의자에 놔": "pick bottle | move right 1 | place chair right", "컵 집어서 p2로 가서 왼쪽에 있는 테이블에 올려놓고 돌아와 주세요": "pick cup | go p2 | place dining table left | go here", "p5로 가서 '안녕하세요'라고 말하고 돌아와 주세요": "go p5 | say 안녕하세요 | go here", "'환영합니다'라고 말하고 충전기로 가": "say 환영합니다 | go home", "안녕하세요라고 말하고 p3로 가 주세요": "say 안녕하세요 | go p3", "p8로 가서 '박 선생님이 3시에 오세요'라고 전해 주세요": "go p8 | say 박 선생님이 3시에 오세요", "컵 집어서 final로 가서 건네주고 '맛있게 드세요'라고 말하고 집으로 가 주세요": "pick cup | go final | give | say 맛있게 드세요 | go home", "바나나 집어서 p7으로 가서 벤치에 놓고 '아침 준비됐어요'라고 말하고 돌아와": "pick banana | go p7 | place bench | say 아침 준비됐어요 | go here", "앞으로 1미터 가서 컵 집고 뒤로 1미터 가서 뒤로 돌아서 나한테 줘": "move forward 1 | pick cup | move back 1 | turn 180 | give", "p1으로 가서 컵 받아서 p2로 가서 내려놓고 p3로 가서 '끝났어요'라고 말해": "go p1 | receive cup | go p2 | place | go p3 | say 끝났어요", "p3에서 병 가져와서 p8로 가서 건네주고 도크로 돌아가": "go p3 | pick bottle | go p8 | give | go home", "오른쪽으로 돌아서 앞으로 2미터 가고 왼쪽으로 돌아서 앞으로 반 미터 가 주세요": "turn -90 | move forward 2 | turn 90 | move forward 0.5", "컵 집어서 p1, p2, p3 중에 아무 데나 가져가서 내려놔": "pick cup | go p1,p2,p3 | place", "흰 컵 집어서 dock2로 가서 들고 있어 주세요": "pick white cup | go dock2 | hold", "p10으로 가서 사과 받아서 p5로 가서 오른쪽에 있는 테이블에 놔 주세요": "go p10 | receive apple | go p5 | place dining table right", "Wp로 가서 p4로 갔다가 집으로 가": "go Wp | go p4 | go home", "팔 뻗고 그리퍼 열어 주세요": "arm reach | arm open", "그리퍼 닫고 팔 접어": "arm close | arm fold", "p6로 가서 팔 뻗어 주세요": "go p6 | arm reach", "음, 컵 집어서, 어, 테이블에 놔 주세요. 고마워요": "pick cup | place dining table", "루미야, 사과 집어서 p2로 가서 나한테 줘": "pick apple | go p2 | give", "컵 집고 오른쪽으로 45도 돌아서 내려놔": "pick cup | turn -45 | place", "p4로 가서 소파를 찾아서 거기에 놔 줘": "go p4 | place couch", "컵 집어서 앞으로 1.5미터 가서 왼쪽 의자에 놔": "pick cup | move forward 1.5 | place chair left", # ---- Korean, must be refused ---- "저기로 가 주세요": "?", "구석으로 가": "?", "컵 집어서 저쪽으로 가져가": "?", "앞으로 조금만 가 주세요": "?", "왼쪽으로 가 주세요": "?", "뒤로 가": "?", "앞으로 두 걸음 가": "?", "조금 왼쪽으로 돌아": "?", "냉장고에 넣어 줘": "?", "선반 위에 올려 주세요": "?", "상자에 넣어": "?", "컵 집어서 싱크대에 놔": "?", "핸드폰 집어 주세요": "?", "펜 가져와": "?", "p3로 가서 노트북 집어": "?", "사진 찍어 줘": "?", "춤 춰 주세요": "?", "노래해 줘": "?", "따라와 주세요": "?", "나 쳐다봐": "?", "손 흔들어 주세요": "?", "컵 집고 사진 찍어": "?", "p로 가": "?", "컵 집어서 p": "?", "p15로 가 주세요": "?", "부엌으로 가져가 주세요": "?", # ---- Korean, more ---- "루미야, 바나나 집어서 나한테 가져다 줘": "pick banana | go here | give", "p8에서 오렌지 가져와 줘": "go p8 | pick orange | go here", "컵 집어서 p9로 가져가 주세요": "pick cup | go p9", "검은 컵 집어서 침대에 놔 줘": "pick black cup | place bed", "p2로 가서 '여기 커피 있어요'라고 말하고 p4로 가": "go p2 | say 여기 커피 있어요 | go p4", "'김 대리님 회의실로 오세요'라고 전해 주세요": "say 김 대리님 회의실로 오세요", "왼쪽으로 1미터 가고 오른쪽으로 돌아 주세요": "move left 1 | turn -90", "뒤로 돌아서 돌아와": "turn 180 | go here", "p5로 가서 사람한테 컵 받아서 들고 있어": "go p5 | receive cup | hold", "파란 병 집어서 오른쪽에 있는 소파에 놔 주세요": "pick blue bottle | place couch right", "도크로 가 줘. 감사합니다": "go home", "앞으로 30센티 가서 컵 집어 주세요": "move forward 0.3 | pick cup", "춤추고 돌아와": "?", "컵 집어서 조금 앞으로 가 주세요": "?", "열쇠 찾아서 나한테 줘": "?", }