Files

383 lines
20 KiB
Python
Raw Permalink Normal View History

2026-10-21 15:19:07 +09:00
"""Mission commands and the steps they must give (docs/17), written without looking at assistant/steps.py.
Same short notation as tests/test_steps.py (`short()` there): "pick cup | move left 1 | place dining table";
"?" = some words must stay unread (Lumi asks again, nothing runs)."""
CASES = {
# ---- single steps, English ----
"take the cup": "pick cup",
"Take the cup.": "pick cup",
"pick up the mug": "pick cup",
"grab the glass": "pick cup",
"pick up the tumbler": "pick cup",
"take the red cup": "pick red cup",
"pick up the blue mug": "pick blue cup",
"Grab the white glass.": "pick white cup",
"take the bottle": "pick bottle",
"pick up the green bottle": "pick green bottle",
"take the apple": "pick apple",
"Pick up the red apple.": "pick red apple",
"grab the banana": "pick banana",
"take the yellow banana": "pick yellow banana",
"take the orange": "pick orange",
"pick up the black cup": "pick black cup",
"Lumi, take the cup": "pick cup",
"could you please pick up the bottle": "pick bottle",
"go to p1": "go p1",
"Go to P9.": "go p9",
"go to point nine": "go p9",
"Go to point 9.": "go p9",
"go to p10": "go p10",
"go to point ten": "go p10",
"drive to p4": "go p4",
"go to final": "go final",
"Go to the exit.": "go exit",
"go to dock2": "go dock2",
"go to Wp": "go Wp",
"go to PInit": "go PInit",
"go to point a": "go a",
"go to point b": "go b",
"go home": "go home",
"Go home.": "go home",
"go back to the charger": "go home",
"go to the dock": "go home",
"return to the charger": "go home",
"come back": "go here",
"come back here": "go here",
"Come back here.": "go here",
"bring it back here": "go here",
"bring it to me": "go here | give",
"bring it back to me": "go here | give",
"Bring it to me.": "go here | give",
"bring it to p3": "go p3",
"bring it to p3, p5 or p7": "go p3,p5,p7",
"bring it to one of p2 and p4": "go p2,p4",
"take it to a random one of p1, p6 and p8": "go p1,p6,p8",
"go to p2 or p3": "go p2,p3",
"give it to me": "give",
"Give it to me.": "give",
"hand it over": "give",
"give it to them": "give",
"hold it": "hold",
"keep it": "hold",
"put it down": "place",
"Put it down.": "place",
"put it on the table": "place dining table",
"put it on the desk": "place dining table",
"Put it on the table.": "place dining table",
"put it on the chair": "place chair",
"put it on the stool": "place chair",
"put it on the sofa": "place couch",
"put it on the couch": "place couch",
"put it on the bench": "place bench",
"put it on the bed": "place bed",
"put it on the white table": "place white dining table",
"put it on the yellow chair": "place yellow chair",
"put it on the orange chair": "place orange chair",
"put it on the black sofa": "place black couch",
"put it on the table on your left": "place dining table left",
"put it on the white table on your left": "place white dining table left",
"put it on the chair on your right": "place chair right",
"put it on the blue bench on your right": "place blue bench right",
"look for the table and put it there": "place dining table",
"find the sofa and put it there": "place couch",
"look for the yellow chair and put it there": "place yellow chair",
"ask them for the cup": "receive cup",
"take the cup from them": "receive cup",
"get the bottle from the person": "receive bottle",
"wait for someone to give you the apple": "receive apple wait",
"say hello": "say hello",
"Say good morning.": "say good morning",
"tell them lunch is ready": "say lunch is ready",
"tell them that the meeting is cancelled": "say the meeting is cancelled",
"say: Anvar says hello": "say Anvar says hello",
"say \"Welcome to the lab\"": "say Welcome to the lab",
"reach out your arm": "arm reach",
"fold your arm": "arm fold",
"open your hand": "arm open",
"close your hand": "arm close",
"Lumi, open your hand.": "arm open",
# ---- moves and turns ----
"move forward 1 m": "move forward 1",
"go forward 0.5 m": "move forward 0.5",
"Move forward one meter.": "move forward 1",
"go forward two meters": "move forward 2",
"move back 1 m": "move back 1",
"go back 50 cm": "move back 0.5",
"move back thirty centimeters": "move back 0.3",
"move left 1 m": "move left 1",
"go left 2 meters": "move left 2",
"go right half a meter": "move right 0.5",
"move right 20 cm": "move right 0.2",
"go forward a meter": "move forward 1",
"move forward 1.5 m": "move forward 1.5",
"go forward one and a half meters": "move forward 1.5",
"move forward 4 m": "move forward 4",
"go back five meters": "move back 5",
"move forward 70 centimeters": "move forward 0.7",
"turn left": "turn 90",
"turn right": "turn -90",
"turn around": "turn 180",
"Turn around.": "turn 180",
"turn left 45 degrees": "turn 45",
"turn right 30 degrees": "turn -30",
"turn left ninety degrees": "turn 90",
# ---- two to six steps, English ----
"take the cup, go forward 0.5 m, then right 1 m and put it on the table":
"pick cup | move forward 0.5 | move right 1 | place dining table",
"take the cup, go to final, give it and say: Anvar says hello":
"pick cup | go final | give | say Anvar says hello",
"go to p9, ask them for the cup, then bring it to p1": "go p9 | receive cup | go p1",
"take the cup and bring it to me": "pick cup | go here | give",
"take the bottle from p2": "go p2 | pick bottle",
"take the bottle from p2 and bring it to me": "go p2 | pick bottle | go here | give",
"go to p2 and take the bottle": "go p2 | pick bottle",
"take the cup and go to p4": "pick cup | go p4",
"take the cup to p4": "pick cup | go p4",
"take the red cup and put it on the table": "pick red cup | place dining table",
"pick up the apple and give it to me": "pick apple | give",
"take the banana, go to p6 and put it down": "pick banana | go p6 | place",
"go to p3 and put it down": "go p3 | place",
"go to p5 and put it on the yellow chair": "go p5 | place yellow chair",
"go to p7, put it on the bench and come back": "go p7 | place bench | go here",
"take the cup and hold it": "pick cup | hold",
"take the bottle, go to p1 and keep it": "pick bottle | go p1 | hold",
"go to p8 and say hello": "go p8 | say hello",
"go to final and tell them lunch is ready": "go final | say lunch is ready",
"go to p2, give it and come back": "go p2 | give | go here",
"bring it to p3, p5 or p7 and put it on the table": "go p3,p5,p7 | place dining table",
"take the cup and bring it to p3, p5 or p7": "pick cup | go p3,p5,p7",
"Take the glass and bring it to point five.": "pick cup | go p5",
"Lumi, take the cup and go home.": "pick cup | go home",
"could you please take the red apple and put it on the white table":
"pick red apple | place white dining table",
"okay, take the cup, then turn around and put it down": "pick cup | turn 180 | place",
"take the cup, turn left and go forward 1 m": "pick cup | turn 90 | move forward 1",
"turn right, go forward 2 meters and put it on the sofa": "turn -90 | move forward 2 | place couch",
"go forward 1 m, then turn left": "move forward 1 | turn 90",
"move back 30 cm and turn around": "move back 0.3 | turn 180",
"go left 1 m, then right 1 m": "move left 1 | move right 1",
"take the cup, go forward half a meter and give it to me": "pick cup | move forward 0.5 | give",
"go to p9, take the cup from them and bring it to me": "go p9 | receive cup | go here | give",
"go to p1, ask them for the bottle and bring it back here": "go p1 | receive bottle | go here",
"wait for someone to give you the cup, then go to p2": "receive cup wait | go p2",
"ask them for the mug and put it on the desk": "receive cup | place dining table",
"take the cup, go to p3 and tell them that coffee is ready":
"pick cup | go p3 | say coffee is ready",
"go to p6, give it and say enjoy your drink": "go p6 | give | say enjoy your drink",
"take the apple, go to final, give it and come back home":
"pick apple | go final | give | go home",
"take the cup, go to p2, put it on the table and go home":
"pick cup | go p2 | place dining table | go home",
"take the cup, go forward 1 m, turn left, go forward 2 m and put it down":
"pick cup | move forward 1 | turn 90 | move forward 2 | place",
"take the cup, go to p4, turn around, put it on the chair and come back":
"pick cup | go p4 | turn 180 | place chair | go here",
"take the bottle from p2, bring it to p8, give it, say here you are and go home":
"go p2 | pick bottle | go p8 | give | say here you are | go home",
"go to p1, take the blue cup, go to p3, put it on the bench, then go to p5 and say done":
"go p1 | pick blue cup | go p3 | place bench | go p5 | say done",
"First take the cup. Then go to p2. After that put it down.": "pick cup | go p2 | place",
"take the cup, then go to p6, and finally put it on the table":
"pick cup | go p6 | place dining table",
"okay take the orange and bring it to me": "pick orange | go here | give",
"Okay. Take the banana and put it on the bed.": "pick banana | place bed",
"Lumi, go to point three and put it on the couch.": "go p3 | place couch",
"go to point 7 and take the green apple": "go p7 | pick green apple",
"take the white mug, go to dock2 and put it down": "pick white cup | go dock2 | place",
"go to Wp and then to PInit": "go Wp | go PInit",
"go to point a, then point b": "go a | go b",
"go to exit and say goodbye": "go exit | say goodbye",
"take the cup and put it on the white table on your left": "pick cup | place white dining table left",
"go to p2 and put it on the chair on your right": "go p2 | place chair right",
"take the cup, go to p5, look for the table and put it there": "pick cup | go p5 | place dining table",
"reach out your arm and open your hand": "arm reach | arm open",
"open your hand, then close it": "arm open | arm close",
"fold your arm and go home": "arm fold | go home",
"close your hand and fold your arm": "arm close | arm fold",
"go to p4 and reach out your arm": "go p4 | arm reach",
"take the cup, move right 50 cm and put it down": "pick cup | move right 0.5 | place",
"move forward 1 m, take the bottle and come back": "move forward 1 | pick bottle | go here",
"take the cup, go forward 4 m and put it down": "pick cup | move forward 4 | place",
"turn left 45 degrees and take the cup": "turn 45 | pick cup",
"take the cup, turn right 90 degrees and put it down": "pick cup | turn -90 | place",
"go to p10, say \"Your package is here\" and come back":
"go p10 | say Your package is here | go here",
"take the cup from p3 and put it on the table": "go p3 | pick cup | place dining table",
"get the apple from p6 and bring it to p1": "go p6 | pick apple | go p1",
"take the cup, go to p2 and hold it": "pick cup | go p2 | hold",
"Could you please take the bottle, go to p9 and give it to them?": "pick bottle | go p9 | give",
"Please go to p1, then p2, then p3.": "go p1 | go p2 | go p3",
"Take the cup. Go to P4. Put it down.": "pick cup | go p4 | place",
"take the tumbler and bring it to one of p5 and p6": "pick cup | go p5,p6",
"take the cup, bring it to a random one of p1, p2 and p3 and put it down":
"pick cup | go p1,p2,p3 | place",
"go to final, wait for someone to give you the banana and come back":
"go final | receive banana wait | go here",
"go to p8, tell them the robot is ready, then go home":
"go p8 | say the robot is ready | go home",
# ---- must be refused / asked again, English ----
"go left": "?",
"move forward": "?",
"go forward a bit": "?",
"move back a little": "?",
"take the cup and go forward a bit": "?",
"wave": "?",
"dance": "?",
"sing a song": "?",
"follow me": "?",
"look at me": "?",
"wave at them": "?",
"take the cup and dance": "?",
"go to p2 and wave": "?",
"go to the kitchen": "?",
"go to p12": "?",
"go to room 5": "?",
"take the cup to the kitchen": "?",
"bring it to p11": "?",
"go to p3, p5 or p15": "?",
"pick up the pen": "?",
"take the phone": "?",
"take the ap": "?",
"go to p1 and take the keys": "?",
"put it on the shelf": "?",
"stakanni ol": "?",
"olmani olib kel": "?",
"p1 ga bor": "?",
"возьми чашку": "?",
"иди домой": "?",
"take the cup and follow me": "?",
"go forward some meters": "?",
"move right a few steps": "?",
# ---- Korean, single steps ----
"컵 집어": "pick cup",
"컵을 집어줘": "pick cup",
"빨간 컵 잡아": "pick red cup",
"파란 컵 집어줘": "pick blue cup",
"병 집어": "pick bottle",
"초록 병을 잡아줘": "pick green bottle",
"사과 집어줘": "pick apple",
"빨간 사과 잡아": "pick red apple",
"바나나 집어": "pick banana",
"오렌지 잡아줘": "pick orange",
"흰 컵 집어줘": "pick white cup",
"검은 컵 잡아": "pick black cup",
"p1으로 가": "go p1",
"p3로 가줘": "go p3",
"P9로 가.": "go p9",
"p10으로 가줘": "go p10",
"final로 가": "go final",
"dock2로 가": "go dock2",
"집으로 가": "go home",
"충전기로 돌아가": "go home",
"도크로 가줘": "go home",
"여기로 돌아와": "go here",
"돌아와": "go here",
"나한테 가져와": "go here | give",
"나한테 가져다 줘": "go here | give",
"p3, p5, p7 중에 아무데나 가져가": "go p3,p5,p7",
"p2나 p4로 가져가": "go p2,p4",
"p4로 가져가": "go p4",
"나한테 줘": "give",
"건네줘": "give",
"들고 있어": "hold",
"내려놔": "place",
"테이블에 놔": "place dining table",
"책상 위에 올려놔": "place dining table",
"의자에 놔줘": "place chair",
"소파에 올려놔": "place couch",
"벤치에 놔": "place bench",
"침대 위에 놔줘": "place bed",
"노란 의자에 놔": "place yellow chair",
"왼쪽에 있는 흰 테이블에 놔": "place white dining table left",
"오른쪽에 있는 의자에 올려놔": "place chair right",
"왼쪽에 있는 테이블에 놔줘": "place dining table left",
"테이블을 찾아서 거기에 놔": "place dining table",
"컵을 받아": "receive cup",
"사람한테 병 받아": "receive bottle",
"안녕하세요라고 말해": "say 안녕하세요",
"'점심 준비됐어요'라고 말해줘": "say 점심 준비됐어요",
"'회의가 취소됐어요'라고 전해": "say 회의가 취소됐어요",
"팔 뻗어": "arm reach",
"팔 접어": "arm fold",
"손 펴": "arm open",
"손 쥐어": "arm close",
"앞으로 1미터 가": "move forward 1",
"앞으로 50센티 가줘": "move forward 0.5",
"뒤로 1미터 가": "move back 1",
"뒤로 30센티미터 가": "move back 0.3",
"왼쪽으로 1미터 가": "move left 1",
"오른쪽으로 2미터 가줘": "move right 2",
"왼쪽으로 반 미터 가": "move left 0.5",
"앞으로 4미터 가": "move forward 4",
"앞으로 1.5미터 가": "move forward 1.5",
"왼쪽으로 돌아": "turn 90",
"오른쪽으로 돌아": "turn -90",
"뒤로 돌아": "turn 180",
"왼쪽으로 45도 돌아": "turn 45",
"오른쪽으로 30도 돌아줘": "turn -30",
# ---- Korean, several steps ----
"컵 집어서 앞으로 1미터 가서 테이블에 놔": "pick cup | move forward 1 | place dining table",
"컵을 집고 p4로 가": "pick cup | go p4",
"컵 집어서 나한테 가져와": "pick cup | go here | give",
"p2로 가서 병 집어": "go p2 | pick bottle",
"p2에서 병 가져와서 나한테 줘": "go p2 | pick bottle | go here | give",
"빨간 컵 집어서 테이블에 놔줘": "pick red cup | place dining table",
"사과 집어서 나한테 줘": "pick apple | give",
"컵 집어서 p3, p5, p7 중에 아무데나 가져가": "pick cup | go p3,p5,p7",
"p9로 가서 컵을 받아서 p1으로 가져가": "go p9 | receive cup | go p1",
"p1으로 가서 병을 받아서 여기로 돌아와": "go p1 | receive bottle | go here",
"컵을 받아서 테이블에 놔": "receive cup | place dining table",
"컵 집고 final로 가서 건네주고 '안부 전해요'라고 말해":
"pick cup | go final | give | say 안부 전해요",
"p8로 가서 '점심 준비됐어요'라고 전해": "go p8 | say 점심 준비됐어요",
"컵 집어서 왼쪽에 있는 흰 테이블에 놔": "pick cup | place white dining table left",
"p5로 가서 노란 의자에 놔": "go p5 | place yellow chair",
"p3로 가서 내려놔": "go p3 | place",
"p7으로 가서 벤치에 놓고 돌아와": "go p7 | place bench | go here",
"컵 집고 들고 있어": "pick cup | hold",
"바나나 집어서 p6로 가서 내려놔": "pick banana | go p6 | place",
"컵 집어서 뒤로 돌아서 내려놔": "pick cup | turn 180 | place",
"컵 집고 왼쪽으로 돌아서 앞으로 1미터 가": "pick cup | turn 90 | move forward 1",
"오른쪽으로 돌아서 앞으로 2미터 가서 소파에 놔": "turn -90 | move forward 2 | place couch",
"앞으로 1미터 가고 왼쪽으로 돌아": "move forward 1 | turn 90",
"왼쪽으로 1미터 가고 오른쪽으로 1미터 가": "move left 1 | move right 1",
"컵 집어서 앞으로 50센티 가서 나한테 줘": "pick cup | move forward 0.5 | give",
"p2로 가서 건네주고 돌아와": "go p2 | give | go here",
"사과 집어서 final로 가서 건네주고 집으로 가": "pick apple | go final | give | go home",
"컵 집어서 p2로 가서 테이블에 놓고 충전기로 돌아가":
"pick cup | go p2 | place dining table | go home",
"컵 집고 앞으로 1미터 가서 왼쪽으로 돌고 앞으로 2미터 가서 내려놔":
"pick cup | move forward 1 | turn 90 | move forward 2 | place",
"p2에서 병 가져와서 p8로 가서 건네주고 '여기 있어요'라고 말하고 집으로 가":
"go p2 | pick bottle | go p8 | give | say 여기 있어요 | go home",
"팔 뻗고 손 펴": "arm reach | arm open",
"손 펴고 다시 쥐어": "arm open | arm close",
"팔 접고 집으로 가": "arm fold | go home",
"루미, 컵 집어서 p5로 가져가": "pick cup | go p5",
"루미야, p4로 가서 팔 뻗어": "go p4 | arm reach",
"흰 컵 집어서 dock2로 가서 내려놔": "pick white cup | go dock2 | place",
"컵 집어서 오른쪽으로 50센티 가서 내려놔": "pick cup | move right 0.5 | place",
"컵 집고 p2로 가서 들고 있어": "pick cup | go p2 | hold",
"p3에서 컵 가져와서 테이블에 놔": "go p3 | pick cup | go here | place dining table",
"컵 집어서 p5로 가서 테이블을 찾아서 거기에 놔": "pick cup | go p5 | place dining table",
"Wp로 갔다가 PInit으로 가": "go Wp | go PInit",
# ---- Korean, must be refused ----
"왼쪽으로 가": "?",
"앞으로 조금 가": "?",
"컵 집고 조금 뒤로 가": "?",
"주방으로 가": "?",
"p12로 가": "?",
"5번 방으로 가": "?",
"춤춰": "?",
"손 흔들어": "?",
"따라와": "?",
"나 봐": "?",
"노래 불러": "?",
"펜 집어": "?",
"핸드폰 가져와": "?",
"컵 집고 춤춰": "?",
"p2로 가서 열쇠 집어": "?",
"선반에 놔": "?",
}