Files
Lumi/tests/blind/held/commands_missions.py

839 lines
54 KiB
Python

"""Blind set: missions of two to five steps in one breath (docs/17), on the four fake maps, English, Korean (반말 /
해요체 / 하십시오체, honorific -시-) and mixed, fillers, corrections inside, named people at places, waits with times,
"갔다 와", "one of", and commands that must stay unread or be refused (a place not on the map, "a while", a wave or a
dance as a step, a name with no place, too far, too long).
Format: CASES = {text: {"steps", "map", "markers"}}. "steps" is the short notation of tests/test_steps.py (`short()`):
"pick cup | go booth_A | give James", "turn 90" = left, "turn -90" = right, "move forward 0.5", "wait 10", "wait" (until
told to go on / stay at the end), "wait order", "receive cup", "receive hand", "receive cup wait", "say <text>",
"place", "place dining table", "hold", "go here" (where the command was given), "go a,b" (one of them); "?" = some
words must stay unread or the mission is refused (nothing runs). "map" names a fake map in tests/blind/maps.py and
"markers" is its marker list: hand it to the reader instead of the live map (tests/test_steps.py reads c["steps"]).
held-out: only scored, never read by whoever fixes the code.
"""
CASES = {'pick up the cup and take it to p3': {'steps': 'pick cup | go p3',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'grab the red cup, go to p5 and give it to James': {'steps': 'pick red cup | go p5 | give James',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'go to p2 and then come back': {'steps': 'go p2 | go here',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'take the apple to p4 and put it on the table': {'steps': 'pick apple | go p4 | place dining table',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'take the cup, go to the exit, give it and say Anvar says hello': {'steps': 'pick cup | go exit | give | say Anvar '
'says hello',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'bring the cup to p3, p5 or p7': {'steps': 'pick cup | go p3,p5,p7',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'go to p10 and wait there until someone gives you a cup, then bring it here': {'steps': 'go p10 | receive cup wait | '
'go here',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'go to p6 and stay there': {'steps': 'go p6 | wait',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'go to the exit, wait there, then go home': {'steps': 'go exit | wait | go home',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'take this from me and bring it to p8': {'steps': 'receive hand | go p8',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'take the bottle to dock two': {'steps': 'pick bottle | go dock2',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'go to p4, wait one minute and come back': {'steps': 'go p4 | wait 60 | go here',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'pick up the white cup, go to p2 and hold it': {'steps': 'pick white cup | go p2 | hold',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'go to p11 and come back': {'steps': '?',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'move forward 5 meters and turn left': {'steps': '?',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'go to p5 and dance': {'steps': '?',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'컵 들고 피쓰리로 가서 줘': {'steps': 'pick cup | go p3 | give',
'map': 'office',
'markers': ['p1', 'p2', 'p3', 'p4', 'p5', 'p6', 'p7', 'p8', 'p9', 'p10', 'home', 'exit', 'dock2']},
'p5 갔다 와': {'steps': 'go p5 | go here',
'map': 'office',
'markers': ['p1', 'p2', 'p3', 'p4', 'p5', 'p6', 'p7', 'p8', 'p9', 'p10', 'home', 'exit', 'dock2']},
'피원으로 가고 그다음 피투로 가': {'steps': 'go p1 | go p2',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'p9에 가서 기다려': {'steps': 'go p9 | wait',
'map': 'office',
'markers': ['p1', 'p2', 'p3', 'p4', 'p5', 'p6', 'p7', 'p8', 'p9', 'p10', 'home', 'exit', 'dock2']},
'5분 뒤에 홈으로 가': {'steps': 'wait 300 | go home',
'map': 'office',
'markers': ['p1', 'p2', 'p3', 'p4', 'p5', 'p6', 'p7', 'p8', 'p9', 'p10', 'home', 'exit', 'dock2']},
'피쓰리로 가세요, 아니 피포로 가서 기다려 주세요': {'steps': 'go p4 | wait',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'p1 가서 1분 30초 기다리신 후에 홈으로 가 주세요': {'steps': 'go p1 | wait 90 | go home',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'p3 가서 몇 분 기다려': {'steps': '?',
'map': 'office',
'markers': ['p1', 'p2', 'p3', 'p4', 'p5', 'p6', 'p7', 'p8', 'p9', 'p10', 'home', 'exit', 'dock2']},
'피로 가서 컵 줘': {'steps': '?',
'map': 'office',
'markers': ['p1', 'p2', 'p3', 'p4', 'p5', 'p6', 'p7', 'p8', 'p9', 'p10', 'home', 'exit', 'dock2']},
'p5로 go 하고 come back': {'steps': 'go p5 | go here',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'컵 pick up 해서 p2로 가': {'steps': 'pick cup | go p2',
'map': 'office',
'markers': ['p1',
'p2',
'p3',
'p4',
'p5',
'p6',
'p7',
'p8',
'p9',
'p10',
'home',
'exit',
'dock2']},
'go to the stage and then come back': {'steps': 'go stage | go here',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'go to booth 3 and wait there for 30 seconds, then go to the entrance': {'steps': 'go booth_3 | wait 30 | go entrance',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'go to the entrance, say welcome to Cutshion, and come back': {'steps': 'go entrance | say welcome to Cutshion | go '
'here',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'go to booth A and say: the demo starts at four': {'steps': 'go booth_A | say the demo starts at four',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'bring the cup to Mina at the coffee corner': {'steps': 'pick cup | go coffee_corner | give Mina',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'Sarah is at booth B, bring her the apple': {'steps': 'pick apple | go booth_B | give Sarah',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'go to booth A or booth B and come back': {'steps': 'go booth_A,booth_B | go here',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'take the cup to the stage, sorry, I mean booth 3, and give it to James': {'steps': 'pick cup | go booth_3 | give '
'James',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'go to the stage and wait until someone gives you a cup, then bring it to the info desk': {'steps': 'go stage | '
'receive cup wait '
'| go info_desk',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'go to booth B, pick up the cup, go to the stage, give it to Sarah and come back': {'steps': 'go booth_B | pick cup | '
'go stage | give Sarah | '
'go here',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'hold this and take it to Tom at the entrance': {'steps': 'receive hand | go entrance | give Tom',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'go to the booth and come back': {'steps': '?',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'go to the restroom and come back': {'steps': '?',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'스테이지로 가서 안녕하세요라고 말해 주세요': {'steps': 'go stage | say 안녕하세요',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'스테이지로 간 다음에 부스 쓰리로 가': {'steps': 'go stage | go booth_3',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'사라는 부스 A에 있어, 사과 갖다줘': {'steps': 'pick apple | go booth_A | give 사라',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'부스 A 다녀와': {'steps': 'go booth_A | go here',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'부스 칠로 가서 돌아와': {'steps': '?',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'booth A로 가서 wait 30 seconds 하고 돌아와': {'steps': 'go booth_A | wait 30 | go here',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'컵 들고 stage로 go, 그리고 Sarah한테 줘': {'steps': 'pick cup | go stage | give Sarah',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'go to 커피 코너 and come back': {'steps': 'go coffee_corner | go here',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'take the apple to 부스 B 하고 놔 줘': {'steps': 'pick apple | go booth_B | place',
'map': 'expo',
'markers': ['home',
'dock2',
'booth_A',
'booth_B',
'booth_3',
'entrance',
'stage',
'coffee_corner',
'info_desk']},
'커피 코너로 가서 컵 받아 와': {'steps': 'go 커피코너 | receive cup | go here',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'부스 3에 가서 시키는 거 해': {'steps': 'go 부스3 | wait order',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'무대에서 기다려': {'steps': 'go 무대 | wait',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'컵을 들고 휴게실로 가서 테이블에 놔 주세요': {'steps': 'pick cup | go 휴게실 | place dining table',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'먼저 부스 삼으로 가고 마지막으로 홈으로 가': {'steps': 'go 부스3 | go home',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'무대로 가, 아니 회의실로 가서 기다려': {'steps': 'go 회의실 | wait',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'이거 받아서 회의실에 계신 김 부장님께 전해 주십시오': {'steps': 'receive hand | go 회의실 | give 김 부장님',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'go to 회의실 and wait there for 20 seconds, then come back': {'steps': 'go 회의실 | wait 20 | go here',
'map': 'korean',
'markers': ['home',
'커피코너',
'부스3',
'입구',
'무대',
'안내데스크',
'휴게실',
'회의실']},
'go to 커피코너, then 입구, then home': {'steps': 'go 커피코너 | go 입구 | go home',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'컵 들고 주방 가서 줘': {'steps': '?', 'map': 'korean', 'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'회의실 가서 좀 오래 기다려': {'steps': '?',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'부스 5 갔다 와': {'steps': '?', 'map': 'korean', 'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'커피 코너 가서 이따가 돌아와': {'steps': '?',
'map': 'korean',
'markers': ['home', '커피코너', '부스3', '입구', '무대', '안내데스크', '휴게실', '회의실']},
'pick up the cup and take it to gate 1': {'steps': 'pick cup | go gate_1',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'go to hall A, wait 1 minute, then go to the photo zone': {'steps': 'go hall_A | wait 60 | go photo_zone',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'go to gate 2 and give the apple to Emma': {'steps': 'pick apple | go gate_2 | give Emma',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'turn left, move forward 2 meters, then turn right': {'steps': 'turn 90 | move forward 2 | turn -90',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'go forward one meter and turn around': {'steps': 'move forward 1 | turn 180',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'go to gate 1, no, gate 2, and wait there': {'steps': 'go gate_2 | wait',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'take this from my hand and give it to Chris at the stage': {'steps': 'receive hand | go stage | give Chris',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'go to the gate and come back': {'steps': '?',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'go to the photo zone and take a picture': {'steps': '?',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'go to hall A and wait half a day': {'steps': '?',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'컵 들고 게이트 원으로 가서 줘': {'steps': 'pick cup | go gate_1 | give',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'홀 A로 가서 1분 기다리고 스테이지로 가': {'steps': 'go hall_A | wait 60 | go stage',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'테이블 프론트에 가서 사과 집어서 여기로 가져와': {'steps': 'go table_front | pick apple | go here | give',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'게이트 투에 있는 에마한테 컵 갖다주세요': {'steps': 'pick cup | go gate_2 | give 에마',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'엑시트로 가서 기다려 주십시오': {'steps': 'go exit | wait',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'오른쪽으로 90도 돌고 앞으로 반 미터 가': {'steps': 'turn -90 | move forward 0.5',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'포토존 가서 사진 찍어': {'steps': '?',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']},
'hall A로 go 하고 wait 10 seconds': {'steps': 'go hall_A | wait 10',
'map': 'hall',
'markers': ['home',
'dock2',
'gate_1',
'gate_2',
'hall_A',
'exit',
'table_front',
'photo_zone',
'stage']}}