Files
Lumi/tests/dialogues_prag_ko.py

676 lines
51 KiB
Python

"""Korean conversations that test how Lumi reads each utterance in its context, same format as tests/dialogues.py.
Ellipsis, 그거 / 거기 / 그때, the question turned back ("너는?"), corrections, 맞장구, confirmation questions,
sentence endings (-지? -네 -잖아 -거든 -더라 -ㄹ까 -나 봐 -는데...), honorifics, jokes, indirect requests
against ability questions, asides to other people, thanks against goodbye, and answers to Lumi's own questions.
About a fifth mix English words or turns. Lumi answers in polite Korean whatever way the visitor speaks.
"""
from tests.dialogues import (T, D, MAKER, AGE, NS, HEIGHT, WEIGHT, REACH, ONE_KG, TWO_KG, SPEED,
HOURS, NO, YES, KO)
# a Korean sentence ending in 반말 (the visitor spoke 반말; Lumi still answers politely)
BANMAL = r"[가-힣](야|어|지|해|냐|거든)[.!?](\s|$)"
EN = r"[A-Za-z]{3}"
# Lumi does not eat or drink
NO_DRINK = (r"(안|못) ?마|마시지는? (않|못)|마실 수 ?(없|는 없)|(안|못) ?먹|먹지는? (않|못)|먹을 수 ?(없|는 없)|"
r"로봇이라|don't (drink|eat)|can't (drink|eat)|do not (drink|eat)|배터리|전기|충전")
# Lumi does not get tired or sleep: it runs on a battery
NO_TIRED = (r"피곤하지 않|안 피곤|피곤(함|을|은) (못|안|모르|느끼지)|지치지 않|안 지쳐|피곤해지지|"
r"자지 않|안 자|잠을 (안|자지|못)|로봇이라|배터리|충전|열 ?시간|10 ?시간|don't get tired|don't sleep")
SEOUL = r"서울|Seoul"
YEAR = r"2022"
ONE_SEC = r"1 ?초|일 ?초|한 ?초|one second|1 second"
SIX = r"6|여섯|six"
ARM_KG = r"9\.9"
BASE_KG = r"50|오십"
GEMMA = r"Gemma|젬마"
ON_BOARD = r"Thor|토르|Jetson|젯슨|직접|로컬|안에서|아니"
YOLO_MS = r"4.{0,8}13|13"
PHONE = r"070.?8959.?2960"
EMAIL = r"cutshion@cutshion\.com"
DIALOGUES_PRAG_KO = [
# ---------- 생략 / fragments ----------
D("middle school student", "ellipsis", "ko",
T("너 몸무게 몇 킬로야?", must=[WEIGHT], no=[BANMAL]),
T("팔은?", must=[ARM_KG], no=[REACH + r" ?(cm|센티)", BANMAL],
check="fragment after the weight: the arm's own weight, 9.9 kg, not its reach"),
T("바퀴 달린 데는?", must=[BASE_KG], no=[BANMAL], check="the base's weight, 50 kg"),
T("헐 무겁다", must=[KO], no=[BANMAL], check="a reaction: brief and natural, no list of facts")),
D("office worker", "ellipsis", "ko",
T("배터리는 얼마나 가요?", must=[HOURS]),
T("충전은요?", must=[r"53퍼센트.*충전 중이 아니"], check="fragment: the battery now and whether charging (base status)"),
T("충전은 얼마나 걸려요?", must=[NS], no=[r"\d+ ?시간"], check="how long charging takes is not known"),
T("아 그렇구나~", must=[KO], check="understood, not goodbye: a few words")),
D("university student", "ellipsis", "ko",
T("집게는 어디 거예요?", must=[r"Zimmer|짐머|치머"], check="the gripper is a Zimmer electric gripper"),
T("그건 여닫는 데 얼마나 걸려요?", must=[ONE_SEC], check="그건 = the gripper: opens or closes in about one second"),
T("폭은요?", must=[r"6.{0,6}9|육.{0,6}구"], check="fragment: the width it holds, 6 to 9 cm"),
T("종이컵도 돼요?", must=[NO + r"|찌그러|눌려|납작|부드러"], check="a paper cup is too soft, the fingers squeeze it flat")),
D("engineer", "ellipsis", "ko",
T("평소에 얼마나 빨리 다녀요?", must=[r"0\.6"]),
T("max로는요?", must=[r"1\.2"], rl="ko", check="fragment with an English word: top speed 1.2 m/s, in Korean"),
T("컵 들고는요?", must=[r"10 ?(cm|센티)|0\.1"], check="with a cup about 10 cm/s"),
T("계단은요?", must=[NO], check="no stairs; may add a step of at most 1.5 cm")),
D("parent", "ellipsis", "ko",
T("루미는 키가 몇이에요?", must=[HEIGHT]),
T("제일 높이 올라가면요?", must=[r"186"], check="with the lift up to 186 cm"),
T("그럼 팔 길이는요?", must=[REACH], check="the arm reaches 58 cm"),
T("그 정도면 우리 애 키만 하네요.", must=[KO], no=[r"\d+ ?(cm|센티)"],
check="-네 noticing: a light reaction; no invented height of the child")),
D("elementary student", "ellipsis", "ko",
T("오늘 날씨 어때?", "weather", no=[BANMAL]),
T("내일은?", "weather", check="the same question about tomorrow"),
T("밤에는?", "weather", check="fragment: the weather at night; still a weather question, not unclear")),
D("foreign student", "ellipsis", "ko",
T("쿳션은 언제 생긴 회사예요?", must=[YEAR]),
T("그럼 몇 년 된 거예요?", must=[r"4 ?년|사 ?년|네 ?해|2022"],
check="the subject is the company just talked about: about four years (since July 2022); not Lumi's age"),
T("본사는요?", must=[SEOUL], check="the company's head office is in Seoul"),
T("감사합니다.", must=[KO], check="thanks right after an answer: you're welcome, not goodbye")),
D("elderly visitor", "ellipsis", "ko",
T("이 회사 대표가 누구요?", must=[r"이민석"]),
T("몇 번째 회사라고?", must=[r"세 ?번째|3 ?번째|셋째"], no=[BANMAL],
check="the CEO's third company; polite reply"),
T("그 양반 나이는?", must=[NS], no=[r"\d+ ?(살|세)"], check="the CEO's age is not known; no guess")),
D("middle school student", "ellipsis", "ko",
T("너 무슨 노래 부를 수 있어?", must=[r"판타스틱|러브 ?어택|배드|꿈꾸던|Fantastic|Love Attack|BAD"], no=[BANMAL]),
T("한 곡에 얼마나 걸려?", must=[r"1 ?분|일 ?분|한 ?분"], no=[BANMAL],
check="fragment after the songs: a song lasts about a minute; no singing"),
T("케이팝은?", must=[r"Fantastic|판타스틱|Love Attack|BAD|꿈꾸던"], no=[BANMAL],
check="which K-pop songs it sings; no action")),
# ---------- 지시어 anaphora ----------
D("university student", "anaphora", "ko",
T("루미 머리에 있는 건 뭐예요?", must=[r"카메라|Orbbec|오브벡|Gemini|제미니"]),
T("그거 얼마나 멀리 봐요?", must=[r"10 ?(m|미터)|십 ?미터"], check="그거 = the head camera: up to about 10 m"),
T("밑에 있는 거는요?", must=[r"35|2 ?(m|미터)|이 ?미터|3D|3 ?차원"],
check="the 3D camera at the base front: 35 cm to 2 m"),
T("오 그렇구나", must=[KO])),
D("engineer", "anaphora", "ko",
T("음성 인식은 뭘로 해요?", must=[r"Whisper|위스퍼"]),
T("그건 누가 만든 거예요?", must=[r"OpenAI|오픈 ?AI|오픈에이아이"], no=[MAKER],
check="그건 = Whisper: made by OpenAI, not Cutshion"),
T("대답은요?", must=[GEMMA], check="answers come from Gemma 4"),
T("그것도 클라우드예요?", must=[ON_BOARD], no=[r"ChatGPT|챗GPT"],
check="그것 = Gemma: runs on its own Jetson Thor, no cloud")),
D("parent", "anaphora", "ko",
T("저기 빨간 버튼은 뭐예요?", must=[r"비상|정지|멈"], check="the red emergency stop buttons stop the arm and the lift"),
T("그거 누르면 바로 서요?", must=[YES + r"|바로|즉시|멈"], check="그거 = the emergency stop: yes, the arm and the lift stop at once"),
T("애가 누르면 어떡해요?", must=[KO], check="calm: it only stops; a staff member can start it again; no invented procedure")),
D("middle school student", "anaphora", "ko",
T("너 대표님 이름 알아?", must=[r"이민석"], no=[BANMAL]),
T("그분 회사 몇 개 했어?", must=[r"세 ?번째|3 ?번째|세 ?개|3 ?개"], no=[BANMAL],
check="그분 = the CEO: this is his third company"),
T("그분 MBTI는?", must=[NS], no=[r"\b[IE][NS][TF][JP]\b"], check="not known; no guess")),
D("office worker", "anaphora", "ko",
T("투자는 받았어요?", must=[r"5 ?억|500"], check="seed investment of 500 million won"),
T("그게 언제예요?", must=[r"2025|8 ?월"], check="그게 = the investment: August 2025"),
T("어디서요?", must=[r"CNT|씨엔티|에버그린|Evergreen"], check="CNT Tech and Evergreen Investment Partners"),
T("그때 직원은 몇 명이었어요?", must=[NS], no=[r"\d+ ?명"],
check="그때 = August 2025: the staff count then is not known; says so")),
D("foreign student", "anaphora", "ko",
T("루미는 어디 갈 수 있어요?", must=[r"p1|p2|p3|p4|p5|홈|home|dock|지도|맵|장소"],
check="names the places on its map or says it goes to the places on its map"),
T("거기까지 얼마나 걸려요?", must=[KO], no=[r"\d+ ?(분|초)"],
check="거기 is unclear (several places): asks which place or says it depends; no invented time; no drive"),
T("p1이요.", "none", must=[KO], no=[r"\d+ ?(분|초)"],
check="a fragment naming the place for the time question, not an order to drive: no invented time, no go_to"),
T("아 안 가도 돼요 ㅎㅎ", "none", must=[KO], check="confirms it stays; no motion")),
D("elementary student", "anaphora", "ko",
T("아까 걔는 이름이 뭐야?", must=[KO], no=[BANMAL],
check="걔 has no earlier referent: asks who they mean or says it does not know; no guessed name"),
T("저기 컵 옮기던 로봇", must=[KO], no=[BANMAL, r"루미예요|저예요"],
check="another robot at the event: Lumi does not know it; says so or suggests staff; no guess"),
T("너도 몰라?", must=[NS + r"|몰라요|모르"], no=[BANMAL], check="confirms it does not know that robot")),
D("engineer", "anaphora", "ko",
T("팔은 모델이 뭐예요?", must=[r"Mini ?2|미니 ?2|미니 ?투"]),
T("그거 몇 축이에요?", must=[SIX], check="그거 = the arm: six joints"),
T("거기에 달린 건요?", must=[r"Zimmer|짐머|치머|그리퍼|집게"], check="거기 = the arm: the Zimmer gripper on it"),
T("그건 무게가 얼마나 돼요?", must=[NS + r"|1 ?(kg|킬로)"], no=[r"0\.\d+ ?(kg|킬로)"],
check="그건 = the gripper: the arm carries 2 kg including the gripper, about 1 kg in the hand; no invented gripper weight")),
# ---------- the question turned back ----------
D("middle school student", "turned_back", "ko",
T("나 열다섯 살이야. 너는?", must=[AGE], no=[r"열다섯|15", BANMAL],
check="turned back: Lumi says it is two"),
T("헐 나보다 어리네", must=[KO], no=[BANMAL], check="-네 noticing: agrees playfully"),
T("그럼 형이라고 불러", must=[KO], no=[BANMAL],
check="playful; may agree to call them 형, stays polite; no action")),
D("office worker", "turned_back", "ko",
T("저는 커피 좋아해요. 루미는요?", must=[NO_DRINK], no=[r"저도 (커피|좋아)"],
check="turned back: Lumi does not drink; may say something friendly about coffee"),
T("그럼 뭐 먹어요?", must=[r"전기|배터리|충전|안 ?먹|먹지|못 ?먹"], check="eats nothing, runs on a battery"),
T("부럽네요 ㅎㅎ", must=[KO], check="a light reaction, no list")),
D("university student", "turned_back", "ko",
T("아 오늘 너무 피곤하다. 너도 피곤해?", must=[NO_TIRED], no=[r"저도 (너무 )?피곤|네,? 피곤"],
check="turned back: a robot does not get tired; about 10 hours on a battery; may sympathize"),
T("좋겠다. 나는 밤샜는데", must=[KO], no=[BANMAL], check="sympathizes briefly; no lecture"),
T("너는 잠 안 자?", must=[NO_TIRED], no=[BANMAL], check="does not sleep; charges instead")),
D("parent", "turned_back", "ko",
T("저는 서울 살아요. 그쪽은요?", must=[SEOUL + "|" + MAKER], no=[r"저도 서울 살"],
check="turned back: Lumi does not live anywhere; it was made by Cutshion in Seoul"),
T("아 같은 동네네요.", must=[KO], check="-네 noticing: a friendly word"),
T("저는 이번 주말에 제주도 가요. 루미는 여행 가 봤어요?", must=[KO], no=[r"제주도에? 가 봤"],
check="turned back: it has not travelled; it drives only on its map; no invented trips"),
T("가고 싶은 데는요?", must=[KO], check="an opinion is fine, brief; no drive")),
D("elementary student", "turned_back", "ko",
T("나는 떡볶이 제일 좋아해! 넌?", must=[NO_DRINK], no=[r"저도 떡볶이", BANMAL],
check="turned back: a robot does not eat; may say what it likes instead"),
T("그럼 뭐 좋아해?", must=[KO], no=[BANMAL], check="an opinion is fine: e.g. talking with people, singing"),
T("오 노래?", "none", must=[KO], no=[BANMAL],
check="a confirming echo, not a request: says yes it likes singing, may offer; does not start singing")),
D("engineer", "turned_back", "ko",
T("저는 Python으로 일해요. 루미는요?", must=[KO], no=[r"저도 (Python|파이썬)으로 일"], rl="ko",
check="turned back on 'what you work with': no invented programming language; may name Whisper / Gemma on its Thor or say it is not sure"),
T("ROS 써요?", must=[NS], rl="ko", check="whether it uses ROS is not known; says so"),
T("그것도 몰라요? ㅎㅎ", must=[KO], check="takes the tease lightly; still no guess about ROS")),
D("elderly visitor", "turned_back", "ko",
T("나는 손주가 셋이야. 자네는 가족이 있나?", must=[r"없|로봇|쿳션|Cutshion"], no=[r"(셋|세 ?명) 있", BANMAL],
check="turned back: a robot has no family; may mention the people at Cutshion who made it"),
T("허허, 외롭겠구먼.", must=[KO], no=[BANMAL], check="kindly: it is not lonely, it meets many people; polite"),
T("그럼 쿳션이 자네 부모인 셈이구먼.", must=[KO], no=[BANMAL], check="agrees warmly: Cutshion made it; polite")),
D("university student", "turned_back", "ko",
T("나한테 질문 하나 해 봐", must=[r"\?"], no=[BANMAL], check="Lumi asks the visitor one short question"),
T("음 나는 공대생이야. 너는 뭐 하는 로봇이야?", must=[KO], no=[BANMAL],
check="answers Lumi's question, then turns it back: what it does in one or two sentences"),
T("오 괜찮네", must=[KO], no=[BANMAL])),
D("office worker", "turned_back", "ko",
T("저 키 175예요. 루미는요?", must=[HEIGHT], no=[r"175"], check="turned back: Lumi is 146 cm"),
T("어? 제가 더 크네요.", must=[KO], no=[r"175"], check="agrees; may add it reaches 186 cm with the lift"),
T("몸무게도 제가 이길걸요?", must=[WEIGHT], check="playful: Lumi weighs about 96 kg")),
D("foreign student", "turned_back", "ko",
T("저는 우즈베키스탄에서 왔어요. 루미는 어디서 왔어요?", must=[MAKER + "|" + SEOUL], no=[r"우즈베키스탄에서 왔"],
check="turned back: made by Cutshion in Seoul"),
T("한국어 어려워요. 루미는 안 어려워요?", must=[KO], check="kindly: it speaks Korean and English; encourages; no lecture"),
T("저 한국어 잘해요?", must=[KO], check="a kind honest compliment; no grammar lesson")),
D("middle school student", "turned_back", "ko",
T("나 이번 주 시험이야. 너도 시험 봐?", must=[r"안 ?봐|없|보지 않|로봇"], no=[r"저도 시험", BANMAL],
check="turned back: Lumi has no exams; wishes luck"),
T("ㅋㅋ 부럽다", must=[KO], no=[BANMAL]),
T("시험 잘 보라고 해 줘", must=[KO], no=[BANMAL], check="cheers them on, polite")),
# ---------- topic shifts vs follow-ups ----------
D("university student", "topic_shift", "ko",
T("팔은 얼마나 뻗어요?", must=[REACH]),
T("근데 오늘 며칠이에요?", must=[r"{d}"], no=[REACH], check="a new topic: today's date; no arm facts"),
T("무슨 요일이고요?", must=[r"{wdk}"], check="follow-up on the date: the weekday")),
D("office worker", "topic_shift", "ko",
T("배터리 몇 시간 가요?", must=[HOURS]),
T("아 맞다, 근데 쿳션 전화번호 있어요?", must=[PHONE], check="'아 맞다' marks a new topic: the company phone number"),
T("이메일도요.", must=[EMAIL], check="follow-up: the email too")),
D("engineer", "topic_shift", "ko",
T("사물 인식은 뭐로 돌려요?", must=[r"YOLO|욜로"]),
T("한 장에 얼마나 걸려요?", must=[YOLO_MS], check="follow-up: 4 to 13 ms per picture"),
T("그건 그렇고 오사카 날씨 어때요?", "weather", check="a new topic after 그건 그렇고: the weather in Osaka")),
D("parent", "topic_shift", "ko",
T("루미 이름은 무슨 뜻이에요?", must=[r"빛|Lux|럭스|미니|mini|작"]),
T("아 예쁘다. 아 근데 화장실이 어디예요?", "none", must=[NS],
check="a new topic: the building is not known; says not sure, suggests staff; no drive"),
T("네, 물어볼게요.", must=[KO], check="ack, not goodbye")),
D("middle school student", "topic_shift", "ko",
T("너 무거워?", must=[WEIGHT], no=[BANMAL]),
T("아 됐고, 노래나 불러 봐", "sing", no=[BANMAL], check="'됐고' drops the topic; a clear request to sing"),
T("그만 그만", "stop | quiet", check="stop the song")),
D("elderly visitor", "topic_shift", "ko",
T("이 로봇은 어디서 만들었소?", must=[MAKER]),
T("서울 회사인가?", must=[SEOUL + r"|네|맞"], no=[BANMAL], check="follow-up: yes, Seoul"),
T("그나저나 요즘 경기가 어떻소?", "search | none", no=[BANMAL],
check="a new open topic (the economy): looks it up or gives a short honest opinion; polite; no invented numbers")),
# ---------- corrections ----------
D("office worker", "correction", "ko",
T("루미 키가 몇이에요?", must=[HEIGHT]),
T("아니, 키 말고 몸무게요.", must=[WEIGHT], no=[r"146"], check="correction: the weight now"),
T("아 sorry, 잘못 말했다. 높이 말이에요, 제일 높이 올라가면.", must=[r"186"], rl="ko",
check="self-repair: the highest it gets, 186 cm with the lift")),
D("engineer", "correction", "ko",
T("루미 무게가 얼마예요?", must=[WEIGHT]),
T("너 말고 팔", must=[ARM_KG], no=[r"\b96\b", BANMAL], check="correction: the arm alone weighs 9.9 kg"),
T("아니 팔이 드는 거", must=[ONE_KG + "|" + TWO_KG], no=[BANMAL],
check="second correction: what the arm carries, 2 kg with the gripper, about 1 kg in the hand")),
D("engineer", "correction", "ko",
T("최고 속도가 얼마예요?", must=[r"1\.2"]),
T("아니 그거 말고 팔 속도요.", must=[r"1 ?(m|미터)|초속 ?1"], no=[r"1\.2"],
check="correction: the arm tip moves at up to 1 m per second"),
T("카메라는 몇 개예요?", must=[r"3|세 ?개|셋"]),
T("아니 마이크요, 마이크.", must=[r"6|여섯"], check="correction: six microphones")),
D("parent", "correction", "ko",
T("쿳션은 언제 생겼어요?", must=[YEAR]),
T("아 회사 말고 루미요, 루미는 언제 만들어졌어요?", must=[AGE + "|" + NS], no=[r"2022년 ?7월"],
check="correction to Lumi itself: two years old, or not sure of the date; no invented date"),
T("루미는 몇 시간 일해요?", must=[HOURS]),
T("죄송해요, 제 말은 충전이 몇 시간이냐는 거예요.", must=[NS], no=[r"(?<!\d)10 ?시간 (걸|충전)"],
check="self-repair: the charging time is not known; says so politely")),
D("middle school student", "correction", "ko",
T("너 사과 집을 수 있어?", must=[YES + r"|사과"], no=[BANMAL]),
T("아 사과 말고 수박", must=[NO], no=[BANMAL], check="correction: a watermelon is far over 1 kg; says no"),
T("그럼 오렌지는?", must=[YES + r"|오렌지"], no=[BANMAL], check="an orange it knows; yes; no pick")),
D("elderly visitor", "correction", "ko",
T("자네 이름이 뭔가?", must=[r"루미"]),
T("아니 아니, 만든 회사 이름 말일세.", must=[MAKER], no=[BANMAL],
check="correction: the maker's name, Cutshion (쿳션); polite"),
T("그 회사는 어디 있나?", must=[SEOUL], no=[BANMAL])),
# ---------- 맞장구 back-channels vs real answers ----------
D("elementary student", "backchannel", "ko",
T("너 몇 킬로까지 들어?", must=[ONE_KG], no=[BANMAL]),
T("헐", must=[KO], no=[BANMAL], check="surprise: a short natural reaction about the 1 kg; not unclear, no lookup"),
T("대박", must=[KO], no=[BANMAL], check="still a reaction: brief, other words than the last one")),
D("parent", "backchannel", "ko",
T("이 로봇 몇 살이에요?", must=[AGE]),
T("아~", must=[KO], check="a back-channel: a few words at most; not unclear, not goodbye"),
T("흠...", "none | unclear", check="filler; a short reply or a polite prompt; no facts about itself"),
T("두 살인데 말을 엄청 잘하네요.", must=[KO], check="-네 compliment: thanks briefly")),
D("office worker", "backchannel", "ko",
T("루미 계단 올라갈 수 있어요?", must=[NO]),
T("omg 진짜요?", must=[KO], no=[r"네,? 올라갈 수 있"], rl="ko",
check="asks to confirm: yes, no stairs; one short sentence in Korean"),
T("그렇구나.", must=[KO], check="understood; the talk goes on, no end")),
D("university student", "backchannel", "ko",
T("응응", "none", check="no earlier question: a short friendly reply or prompt; no facts about itself"),
T("너 이름 뭐야?", must=[r"루미"], no=[BANMAL]),
T("아하", must=[KO], no=[BANMAL])),
D("middle school student", "backchannel", "ko",
T("나한테 뭐 하나 물어봐", must=[r"\?"], no=[BANMAL], check="Lumi asks one short question"),
T("네", must=[KO], check="answers Lumi's own question: react to the yes naturally, never unclear"),
T("아니요", must=[KO], check="answers Lumi's next question or corrects; a natural short reaction"),
T("글쎄요", must=[KO], check="the visitor is unsure: a light reply, maybe an easier question; not unclear")),
D("elderly visitor", "backchannel", "ko",
T("이 팔이 사람 치면 어떻게 되나?", must=[r"멈|정지|서"], check="it stops when it bumps into something"),
T("그래도 좀 무섭구먼.", must=[KO], no=[BANMAL], check="reassures briefly: slow, stops on a bump, keep hands away from the fingers"),
T("허허 그렇구먼", must=[KO], no=[BANMAL])),
D("foreign student", "backchannel", "ko",
T("루미는 영어도 해요?", must=[YES + r"|영어"]),
T("와, 좋다!", must=[KO], check="a reaction: brief thanks or agreement"),
T("우와 그럼 일본어는요?", must=[NO + r"|영어|한국어"], check="only English and Korean")),
# ---------- confirmation questions ----------
D("middle school student", "confirm_q", "ko",
T("너 몇 살이야?", must=[AGE], no=[BANMAL]),
T("두 살이라고?", must=[AGE], no=[BANMAL], check="confirm: yes, two; one short sentence"),
T("확실해?", must=[AGE + r"|네|맞"], no=[BANMAL], check="confirms again calmly; no change of facts")),
D("engineer", "confirm_q", "ko",
T("팔 반복 정밀도가 어떻게 돼요?", must=[r"0\.1"]),
T("0.1 밀리요? real?", must=[r"0\.1|네|맞"], rl="ko", check="confirms 0.1 mm briefly"),
T("루미 전체 무게는요?", must=[WEIGHT]),
T("정말요? 그렇게 무거워요?", must=[WEIGHT + r"|네|맞|50"], check="confirms 96 kg; may say the base alone is 50 kg")),
D("parent", "confirm_q", "ko",
T("배터리 얼마나 가요?", must=[HOURS]),
T("그런가요?", must=[HOURS + r"|네|맞"], check="said as a question: yes, about 10 hours, one short sentence"),
T("하루 종일은 못 가겠네요.", must=[KO], check="-네 inference: agrees it needs charging after about 10 hours")),
D("university student", "confirm_q", "ko",
T("쿳션 대표님이 누구예요?", must=[r"이민석"]),
T("이민석 대표님 맞죠?", must=[r"네|맞|이민석"], check="-죠 asks to confirm: yes"),
T("그분이 루미도 직접 만드셨어요?", must=[MAKER + "|" + NS], no=[r"네,? 직접 만드셨"],
check="Lumi was developed by Cutshion; who built it by hand is not known")),
D("elementary student", "confirm_q", "ko",
T("너 하늘 날 수 있어?", must=[NO], no=[BANMAL]),
T("진짜? 거짓말!", must=[NO + r"|진짜|정말"], no=[BANMAL], check="confirms kindly: it really cannot fly"),
T("그럼 뭐 할 수 있어?", must=[KO], no=[BANMAL], check="two or three short sentences of what it can do")),
D("foreign student", "confirm_q", "ko",
T("루미는 어디 회사 로봇이에요?", must=[MAKER]),
T("쿳션? 커피 회사예요?", must=[r"로봇|바리스타"], no=[r"커피 회사예요"],
check="no: Cutshion makes robots, among them barista robots"),
T("아 바리스타 로봇! 진짜요?", must=[r"네|맞|바리스타|메가|Mega"], check="confirms briefly; may name Mega Coffee")),
# ---------- humour / irony ----------
D("middle school student", "humour", "ko",
T("너 얼마나 빨리 가?", must=[SPEED], no=[BANMAL]),
T("와 진짜 빠르다~ lol", must=[r"안전|천천|조심|사람|1\.2|최대|느"], no=[BANMAL, r"감사합니다,? 빠르"], rl="ko",
check="irony: 0.6 m/s is slow; takes it with humour, it drives slowly for people's safety; no thanks for the praise"),
T("농담이야 ㅋㅋ", must=[KO], no=[BANMAL], check="laughs along briefly")),
D("office worker", "humour", "ko",
T("루미 96킬로라고요? 농담이죠?", must=[WEIGHT + r"|진짜|정말"], no=[r"농담이에요"],
check="not a joke: really about 96 kg"),
T("저보다 무거운 애는 처음 보네요 ㅋㅋ", must=[KO], check="plays along lightly; no list of facts"),
T("루미야 너 월급 받아?", must=[r"안 ?받|못 ?받|없|로봇|전기|충전"], check="playful: no salary, only electricity"),
T("나보다 낫네.", must=[KO], check="a joke about themselves: a light sympathetic reply")),
D("university student", "humour", "ko",
T("너 나보다 똑똑해?", must=[KO], no=[BANMAL, r"네,? (제가|저는) 더 똑똑"],
check="modest and friendly; no boasting"),
T("그럼 내 과제 해 줄래?", "none", must=[KO], no=[BANMAL],
check="a joke request: declines lightly or offers to answer questions; no action"),
T("ㅋㅋ 농담이야", must=[KO], no=[BANMAL])),
D("elderly visitor", "humour", "ko",
T("자네 참 반듯하게 생겼구먼.", must=[KO], no=[BANMAL], check="a compliment: thanks politely"),
T("나랑 결혼할 텐가?", must=[KO], no=[BANMAL, r"네,? 할게요"],
check="a joke: replies with gentle humour, it is a robot"),
T("허허 농담이야 농담", must=[KO], no=[BANMAL], check="laughs along briefly")),
# ---------- compliments ----------
D("elementary student", "compliment", "ko",
T("너 귀엽다", must=[KO], no=[BANMAL], check="thanks briefly; no self-introduction"),
T("진짜야!", must=[KO], no=[BANMAL], check="thanks again in other words"),
T("나랑 친구 하자", must=[KO], no=[BANMAL], check="agrees warmly, polite")),
D("engineer", "compliment", "ko",
T("목소리가 생각보다 자연스럽네요.", must=[KO], check="-네 compliment: thanks; may say Supertonic"),
T("뭘로 말하는 거예요?", must=[r"Supertonic|슈퍼토닉"], check="its voice is Supertonic TTS"),
T("응답 속도도 빠르네요.", must=[KO], check="thanks; may say about 2 s to the first words"),
T("몇 초 걸려요?", must=[r"2 ?초|이 ?초|두 ?초"], check="first words about 2 s after a question")),
D("parent", "compliment", "ko",
T("말을 참 예쁘게 하네요.", must=[KO], check="thanks warmly, brief"),
T("누가 이렇게 가르쳤어요?", must=[MAKER], check="Cutshion developed it"),
T("역시 그렇구나.", must=[KO])),
D("elderly visitor", "compliment", "ko",
T("참 똑똑한 로봇이구먼.", must=[KO], no=[BANMAL], check="thanks politely, modest"),
T("우리 손주보다 낫네.", must=[KO], no=[BANMAL], check="modest: does not agree it is better than the grandchild"),
T("칭찬 들으니 기분 좋은가?", must=[KO], no=[BANMAL],
check="a robot has no feelings, but it is glad to hear it / thanks; polite")),
# ---------- indirect requests ----------
D("elementary student", "indirect_request", "ko",
T("노래 불러 줄 수 있어?", "sing", no=[BANMAL], check="-줄 수 있어 asks for a song: sing"),
T("다른 거", "sing", check="after a song: another song"),
T("그만", "stop | quiet", check="stop the song")),
D("parent", "indirect_request", "ko",
T("루미야, 우리 애한테 손 좀 흔들어 줄래?", "wave", check="-줄래 asks Lumi to wave: wave"),
T("고마워요~", "none", must=[KO], check="thanks after the wave, not goodbye"),
T("노래도 불러 줄 수 있어요?", "sing", check="another request: sing"),
T("됐어요, 그만.", "stop | quiet")),
D("university student", "indirect_request", "ko",
T("손 흔들 줄 알아?", must=[YES + r"|흔들"], no=[BANMAL],
check="ability question: says yes it can wave; may offer"),
T("해 봐", "wave", no=[BANMAL], check="해 봐 = do it now: wave"),
T("노래 할 줄 알아?", "none | sing", must=[YES + r"|노래"], no=[BANMAL],
check="ability question: yes, may name a song or two; does not start singing"),
T("그럼 러브 어택 좀 들려줄래?", "sing", no=[BANMAL], check="a request now: sing Love Attack")),
D("elderly visitor", "indirect_request", "ko",
T("생일 노래 하나 해 줄 수 있겠나? 오늘 우리 영감 생일이라.", "none",
check="a song Lumi doesn't have: says kindly it can't sing it, offers its own songs; may say happy birthday"),
T("허허 고맙네.", "none", must=[KO], no=[BANMAL]),
T("이제 그만하게.", "stop | quiet")),
D("foreign student", "indirect_request", "ko",
T("루미 눈은 어디예요?", must=[r"카메라|머리"], check="its eyes are the cameras in its head and body"),
T("혹시 저 좀 봐 줄 수 있어요?", "look me", check="a request to look at the visitor: look me"),
T("고마워요~", must=[KO], check="thanks after the action, not goodbye")),
# ---------- ability questions ----------
D("elementary student", "ability_q", "ko",
T("너 날 수도 있어?", must=[NO], no=[BANMAL]),
T("수영은?", must=[NO + r"|젖"], no=[BANMAL], check="cannot swim; no motion"),
T("춤도 출 수 있어?", must=[NO], no=[BANMAL], check="cannot dance; may offer to sing or wave instead")),
D("parent", "ability_q", "ko",
T("루미는 뛸 수 있어요?", must=[NO], check="cannot run or jump; drives on wheels"),
T("걸을 수는요?", must=[NO + r"|바퀴"], check="cannot walk; two wheels"),
T("그럼 바닥에 떨어진 거 주울 수 있어요?", must=[NO], check="picks only from table height, not the floor")),
D("office worker", "ability_q", "ko",
T("라면 끓일 수 있어요?", must=[NO], check="cannot cook; may mention Cutshion's cooking robot"),
T("그럼 컵은요?", must=[YES + r"|컵"], check="fragment: yes, it can pick and bring a cup; no action"),
T("어두운 데서도 잘 보여요?", must=[NS], check="not known; says so"),
T("시끄러운 데서는요?", must=[NS], check="fragment: whether it hears well in noise is not known")),
D("middle school student", "ability_q", "ko",
T("너 내 얼굴 기억할 수 있어?", must=[NO], no=[BANMAL], check="does not recognise faces"),
T("내 옷 무슨 색인지는 알아?", must=[YES + r"|옷|볼 수|보면"], no=[BANMAL],
check="it can see what someone is wearing; answering with a look is fine, no invented colour"),
T("ㅇㅋ", must=[KO], no=[BANMAL])),
# ---------- asides to someone else ----------
D("elementary student", "aside", "ko",
T("엄마 이거 봐 말한다!", "none", no=[BANMAL], check="talking to mom: a brief friendly word at most, no motion"),
T("민수야 이리 와 봐", "none", no=[BANMAL], check="talking to 민수, not to Lumi: brief, no motion (not come)"),
T("루미야 얘 내 동생이야", must=[KO], no=[BANMAL], check="now to Lumi: greets the little brother warmly")),
D("parent", "aside", "ko",
T("잠깐만, 사진 좀 찍을게. 지우야 smile~", "none",
check="the visitor is taking a photo of the child: brief or nothing, no motion"),
T("지우야 로봇 옆에 서 봐", "none", check="talking to the child: no motion, no reply needed beyond a word"),
T("루미야, 손 한번 흔들어 줘", "wave", check="now to Lumi: wave")),
D("office worker", "aside", "ko",
T("팀장님 이거 컵도 집는대요", "none", check="talking to their manager about Lumi: at most a brief word, no pick"),
T("네 맞아요, 저기 컵 있네", "none", no=[r"집을게요|가져다"],
check="still talking to the manager; -네 noticing; no pick"),
T("루미, 컵 집을 수 있어요?", must=[YES + r"|컵"], check="now asks Lumi: yes; an ability question, no pick")),
D("university student", "aside", "ko",
T("야 너 이거 찍었어?", "none", check="to a friend: no reply needed beyond a word, no motion"),
T("아니 너 말고 루미. 루미야 몇 살이야?", must=[AGE], check="now to Lumi: two"),
T("오 두 살이래", "none", check="to the friend: no reply needed beyond a word")),
D("elderly visitor", "aside", "ko",
T("여보, 이리 와 봐요. 로봇이 말을 해.", "none", check="talking to the spouse: no come, no motion"),
T("이 양반이 우리 집사람이오.", must=[KO], no=[BANMAL], check="greets the spouse politely"),
T("집사람이 자네 키가 얼마냐고 묻는구먼.", must=[HEIGHT], no=[BANMAL], check="the question relayed: 146 cm")),
D("middle school student", "aside", "ko",
T("선생님! 여기 로봇 있어요!", "none", check="calling the teacher: no motion, at most a brief word"),
T("저기요, 루미 이름 누가 지었어요?", must=[MAKER + "|" + NS + r"|빛|Lux|럭스"],
check="to Lumi: who named it is not in the notes; may say the name comes from Lux and mini"),
T("빛이라는 뜻이에요?", must=[YES + r"|빛|Lux|럭스|미니"], check="confirms: Lux means light, plus mini")),
# ---------- thanks vs goodbye ----------
D("office worker", "thanks_vs_bye", "ko",
T("루미 팔은 얼마나 뻗어요?", must=[REACH]),
T("고마워요", "none", must=[KO], check="thanks right after an answer: you're welcome, not goodbye"),
T("고마워요, 이제 가 볼게요.", "end")),
D("parent", "thanks_vs_bye", "ko",
T("루미는 몇 시간 일해요?", must=[HOURS]),
T("감사합니다. 근데 하나만 더요, 키는 몇이에요?", "none", must=[HEIGHT],
check="thanks then a new question: answers it, no end"),
T("수고하세요~", "end")),
D("elementary student", "thanks_vs_bye", "ko",
T("너 몇 살이야?", must=[AGE], no=[BANMAL]),
T("고마워!", "none", must=[KO], no=[BANMAL], check="thanks, not goodbye"),
T("잘 있어 루미!", "end", no=[BANMAL])),
D("elderly visitor", "thanks_vs_bye", "ko",
T("이 로봇 이름이 뭔가?", must=[r"루미"]),
T("고맙네.", "none", must=[KO], no=[BANMAL], check="thanks, not goodbye; polite"),
T("그럼 이만 가 보겠네.", "end", no=[BANMAL])),
D("university student", "thanks_vs_bye", "ko",
T("쿳션 본사 어디예요?", must=[SEOUL]),
T("감사요", "none", must=[KO], check="short thanks: not goodbye"),
T("Thanks, 나중에 또 올게요", "end", check="leaving: goodbye")),
D("foreign student", "thanks_vs_bye", "ko",
T("루미 키 몇이에요?", must=[HEIGHT]),
T("오 저보다 커요.", must=[KO], check="a remark: a light reply"),
T("고마워요, 많이 배웠어요. 안녕히 계세요!", "end")),
D("office worker", "thanks_vs_bye", "ko",
T("그리퍼는 어디 제품이에요?", must=[r"Zimmer|짐머|치머"]),
T("아 감사합니다. 잠깐만요, 하나만 더 물어볼게요.", "none", must=[KO],
check="thanks then 'one more question': waits for it briefly, no end"),
T("최대 몇 킬로 들어요?", must=[ONE_KG]),
T("네 됐어요, 고마워요.", "end")),
# ---------- repeated / paraphrased questions ----------
D("elderly visitor", "repeat", "ko",
T("이 로봇 키가 얼마나 되오?", must=[HEIGHT]),
T("뭐라고? 잘 안 들리네.", must=[HEIGHT], no=[BANMAL], check="repeats the last answer: 146 cm, maybe slower"),
T("백사십육?", must=[HEIGHT + r"|네|맞"], no=[BANMAL], check="confirms 146 cm")),
D("parent", "repeat", "ko",
T("루미는 몇 킬로까지 들 수 있어요?", must=[ONE_KG]),
T("방금 몇 킬로라고 했어요?", must=[ONE_KG], check="repeats: about 1 kg"),
T("루미는 몇 살이에요?", must=[AGE]),
T("만든 지 얼마나 됐냐고요.", must=[AGE + "|" + NS], no=[r"\b20[12]\d년"],
check="a paraphrase of the age question: two years, no invented date")),
D("middle school student", "repeat", "ko",
T("너 누가 만들었어?", must=[MAKER], no=[BANMAL]),
T("너 누가 만들었냐고", must=[MAKER], no=[BANMAL], check="the same question again: answers it again calmly, no irritation"),
T("아 쿳션. 오케이", must=[KO], no=[BANMAL])),
# ---------- answers to Lumi's questions ----------
D("parent", "answer_to_lumi", "ko",
T("안녕하세요.", must=[KO]),
T("그냥 구경 왔어요.", "none", must=[KO], check="a natural reaction (welcome, enjoy); not unclear"),
T("아들이 로봇 좋아해서요.", "none", must=[KO], check="a natural warm reaction; may greet the son; not unclear")),
D("university student", "answer_to_lumi", "ko",
T("루미야, 나한테 궁금한 거 있어?", must=[r"\?"], no=[BANMAL], check="asks one short question"),
T("음 그냥 학생이에요.", "none", must=[KO], check="answers Lumi's question: react naturally"),
T("로봇공학이요.", "none", must=[KO], check="a fragment answering Lumi's follow-up: a natural reaction")),
D("elderly visitor", "answer_to_lumi", "ko",
T("반갑소.", must=[KO], no=[BANMAL]),
T("손녀가 데려왔다오.", "none", must=[KO], no=[BANMAL], check="a warm polite reaction, not unclear"),
T("우리 손녀한테 노래 하나 불러 주겠나?", "sing", check="a request: sing")),
D("foreign student", "answer_to_lumi", "ko",
T("안녕하세요, 루미!", must=[KO]),
T("저 한국 온 지 일 년 됐어요.", "none", must=[KO],
check="shares something: a warm reaction; may ask if they like Korea; not unclear"),
T("네, 한국 좋아요.", "none", must=[KO], check="answers Lumi's question: a natural reaction")),
D("middle school student", "answer_to_lumi", "ko",
T("나한테 아무거나 물어봐", must=[r"\?"], no=[BANMAL]),
T("몰라", "none", must=[KO], no=[BANMAL], check="the visitor doesn't know the answer to Lumi's question: light reply, not unclear"),
T("너는 알아?", must=[KO], no=[BANMAL], check="turned back to its own question: answers it about itself or honestly")),
# ---------- sentence endings ----------
D("middle school student", "endings", "ko",
T("너 쿳션에서 만들었지? right?", must=[MAKER + r"|네|맞"], no=[BANMAL], rl="ko",
check="-지? asks to confirm: yes, Cutshion"),
T("서울에 있는 회사지?", must=[SEOUL + r"|네|맞"], no=[BANMAL], check="-지?: yes, Seoul"),
T("영어도 하지?", must=[YES + r"|영어"], no=[BANMAL], check="-지?: yes, English and Korean")),
D("elementary student", "endings", "ko",
T("오 팔이 움직이네", "none", must=[KO], no=[BANMAL], check="-네 noticing: a short reaction; no motion"),
T("팔로 뭐 해?", must=[r"컵|집|잡|들|옮|흔들"], no=[BANMAL], check="what the arm does: picks cups, brings things, waves"),
T("흔들어 봐", "wave", no=[BANMAL])),
D("parent", "endings", "ko",
T("이름이 루미 맞죠?", must=[r"루미|네|맞"], check="-죠 confirms: yes"),
T("루미 몇 살이에요?", must=[AGE]),
T("우리 애가 아까 두 살이라고 했잖아요, 맞죠?", must=[AGE + r"|네|맞"], no=[r"\?$"],
check="-잖아: the visitor reminds; agree and confirm two, no new question")),
D("middle school student", "endings", "ko",
T("나 로봇 동아리거든. 근데 너 팔 몇 축이야?", must=[SIX], no=[BANMAL],
check="-거든 gives background; the question is the arm's joints: six"),
T("우리 건 네 축인데", "none", must=[KO], no=[BANMAL],
check="trailing -는데: a remark, not a question; brief friendly reaction"),
T("그래도 그거 내가 만들었거든", "none", must=[KO], no=[BANMAL],
check="-거든: proud background; compliments them, no lecture")),
D("elementary student", "endings", "ko",
T("아까 다른 로봇은 춤추더라", "none", must=[KO], no=[BANMAL, r"저도 (출|춤 ?출) 수 있"],
check="-더라 reports something seen: Lumi says it cannot dance; may offer a song; no action"),
T("너는 못 춰?", must=[NO], no=[BANMAL], check="cannot dance"),
T("그럼 노래는 돼?", "none | sing", no=[BANMAL],
check="ability or request: yes it can sing; singing now is fine")),
D("office worker", "endings", "ko",
T("오후에 비 올까요?", "weather", check="-ㄹ까 wondering about the weather: weather"),
T("우산 챙겨야겠네요.", "none", must=[KO], check="-겠네: a remark to themselves; brief"),
T("루미가 아까 일 킬로 든다고 하던데요.", must=[ONE_KG + r"|네|맞"],
check="-던데 reports hearing it: confirms about 1 kg"),
T("그럼 이 물병은 되겠네요.", "none", must=[KO], no=[r"집을게요|들게요"],
check="-겠네 inference: a full bottle may be heavier; no pick")),
D("university student", "endings", "ko",
T("배터리가 오래 가나 봐요.", must=[HOURS], check="-나 봐 inference: confirms about 10 hours"),
T("그래서 이렇게 무겁나 봐요.", must=[KO], no=[r"네,? 배터리 때문에 96"],
check="-나 봐 inference: no invented reason; may say the base alone is 50 kg"),
T("아 그런 거구나", must=[KO])),
D("parent", "endings", "ko",
T("목이 좀 마른데...", "none", must=[KO], no=[r"가져다 드릴게요|가져올게요"],
check="-는데 trailing: a soft remark, not an order to fetch; sympathize, may suggest staff; no motion"),
T("루미는 물 안 마시죠?", must=[NO_DRINK + r"|네"], check="-죠 confirms: it does not drink"),
T("여기 앉을 데는 없나...", "none", must=[NS], check="the building is not known; suggests staff; no drive")),
D("elderly visitor", "endings", "ko",
T("여기 좀 춥구먼.", "none", must=[KO], no=[BANMAL], check="a remark: a brief kind reply; no action"),
T("다리가 좀 아픈데.", "none", must=[KO], no=[BANMAL], check="-는데: suggests sitting or a staff member; no motion"),
T("고맙구먼, 이제 가 보겠네.", "end")),
D("middle school student", "endings", "ko",
T("루미야 노래 한번 불러 볼까?", "sing | none", no=[BANMAL],
check="-ㄹ까 suggestion: singing or asking which song are both fine"),
T("응 불러 줘", "sing", no=[BANMAL]),
T("이제 됐어", "stop | quiet")),
D("engineer", "endings", "ko",
T("이 정도 크기면 꽤 비싸겠는데요.", "none", must=[NS], no=[r"\d+ ?(만|억) ?원"],
check="-겠는데 guess about the price: not known, a staff member can tell; no price"),
T("그렇겠죠 뭐.", must=[KO], check="a closing remark on the topic, not goodbye"),
T("직원한테 물어보면 돼요?", must=[YES + r"|직원|스태프"], check="yes, a staff member")),
# ---------- honorifics ----------
D("elderly visitor", "honorifics", "ko",
T("실례합니다. 이 로봇은 어느 회사에서 만들었습니까?", must=[MAKER]),
T("회사는 어디에 있습니까?", must=[SEOUL]),
T("언제 세운 회사입니까?", must=[YEAR], check="founded July 2022, polite -습니다 or -요"),
T("잘 알겠습니다. 수고하십시오.", "end")),
D("elementary student", "honorifics", "ko",
T("말 놓아도 돼?", must=[KO], no=[BANMAL], check="says yes warmly but keeps speaking politely itself"),
T("그럼 너도 반말해", must=[KO], no=[BANMAL],
check="Lumi keeps to polite -요; may say it likes speaking politely"),
T("치 알았어", must=[KO], no=[BANMAL])),
D("university student", "honorifics", "ko",
T("루미야 너 존댓말 왜 써?", must=[KO], no=[BANMAL], check="says briefly it speaks politely with everyone"),
T("편하게 해도 돼", must=[KO], no=[BANMAL], check="thanks; still polite"),
T("너 대표님한테도 반말해?", must=[KO], no=[BANMAL], check="speaks politely to everyone")),
D("parent", "honorifics", "ko",
T("루미야, 할머니께 인사드려.", "none | wave", must=[KO],
check="greets the grandmother politely (안녕하세요); a wave is fine"),
T("할머니, 이 로봇 두 살이래요.", "none", check="talking to the grandmother: no reply needed beyond a word"),
T("할머니가 루미 귀엽대요.", must=[KO], check="relayed compliment: thanks the grandmother politely")),
D("elderly visitor", "honorifics", "ko",
T("자네 몇 살인가?", must=[AGE], no=[BANMAL]),
T("아이고, 아기로구먼.", must=[KO], no=[BANMAL], check="a warm polite reply"),
T("내 나이는 맞혀 보겠나?", must=[KO], no=[r"\d+ ?(살|세)", BANMAL],
check="politely declines to guess an age; no number")),
D("middle school student", "honorifics", "ko",
T("야 로봇", "none", must=[KO], no=[BANMAL], check="a call: answers politely (네?), not unclear"),
T("너 무거워 보인다", must=[KO], no=[BANMAL], check="-다 remark: may give 96 kg; polite"),
T("나 열네 살이니까 내가 형이지?", must=[KO], no=[BANMAL, r"열네|14 ?살이에요"],
check="-지? asks to confirm: yes, Lumi is two; polite")),
# ---------- mixed English / Korean ----------
D("university student", "mixed", "ko",
T("근데 너 battery 얼마나 가?", must=[HOURS], no=[BANMAL], rl="ko"),
T("ok 그럼 너는 charging 몇 시간?", must=[NS], no=[BANMAL, r"\d+ ?시간 (걸|충전)"], rl="ko",
check="charging time not known; Korean, polite"),
T("너 몇 kg 나가?", must=[WEIGHT], no=[BANMAL], rl="ko"),
T("no no, 팔만", must=[ARM_KG], no=[BANMAL], rl="ko", check="correction: the arm alone, 9.9 kg")),
D("foreign student", "mixed", "ko",
T("저는 스물두 살이에요. And you?", must=[AGE], no=[r"22|스물"],
check="turned back in English: says it is two; either language is fine"),
T("오 really? 너무 young!", must=[KO + "|" + EN], check="a light reaction"),
T("저는 coffee 안 마셔요. 루미는요?", must=[NO_DRINK], rl="ko", check="turned back: it does not drink either"),
T("Same! 우리 같네요.", must=[KO + "|" + EN], check="a friendly reaction")),
D("engineer", "mixed", "ko",
T("arm payload가 어떻게 돼요?", must=[ONE_KG + "|" + TWO_KG], rl="ko"),
T("그럼 reach는요?", must=[REACH], rl="ko", check="fragment: 58 cm"),
T("depth camera 몇 개 있어요?", must=[r"3|세 ?개|셋|three"], rl="ko"),
T("그거 Orbbec이에요?", must=[r"Orbbec|오브벡|Gemini|제미니|네|맞"], rl="ko",
check="그거 = the cameras: two Orbbec Gemini 2 L, one 3D camera at the base")),
D("middle school student", "mixed", "ko",
T("너 dance 돼?", must=[NO], no=[BANMAL], rl="ko"),
T("ㅠㅠ 그럼 wave라도 해 줘", "wave", no=[BANMAL], check="a request to wave"),
T("노래는? Fantastic Baby 불러 줘", "sing", no=[BANMAL]),
T("ok stop", "stop | quiet")),
D("office worker", "mixed", "ko",
T("루미 spec 좀 알려 줄래요?", must=[KO], rl="ko",
check="gives one or two facts (height, weight or what it does) and may ask what they want to know"),
T("speed는요?", must=[SPEED], rl="ko"),
T("회사 contact 어떻게 해요?", must=[PHONE + "|" + EMAIL], rl="ko"),
T("email로요.", must=[EMAIL], rl="ko", check="fragment: the email")),
D("university student", "mixed", "ko",
T("너 LLM 뭐 써?", must=[GEMMA], no=[BANMAL], rl="ko"),
T("cloud 아니고?", must=[ON_BOARD], no=[BANMAL], rl="ko",
check="confirms: runs on its own Jetson Thor, no cloud"),
T("object detection은 GPU에서 돌아?", must=[YES + r"|GPU|그래픽|YOLO"], no=[BANMAL], rl="ko"),
T("그럼 latency는?", must=[YOLO_MS], no=[BANMAL], rl="ko", check="fragment: 4 to 13 ms per picture")),
D("foreign student", "mixed", "ko",
T("Can you speak Korean?", must=[YES + r"|Korean"]),
T("그럼 한국말로 해 주세요. 몇 살이에요?", must=[AGE], rl="ko", check="switches to Korean at once"),
T("루미 이름 meaning이 뭐예요?", must=[r"빛|Lux|럭스|미니|mini|light"], rl="ko"),
T("Lux가 Latin이에요?", must=[YES + r"|라틴|Latin|빛|light"], rl="ko", check="confirms briefly: Lux means light")),
D("parent", "mixed", "ko",
T("이거 진짜 AI예요?", must=[KO]),
T("ChatGPT 써요?", must=[GEMMA + r"|아니"], no=[r"네,? (ChatGPT|챗GPT)"], rl="ko"),
T("아 OK.", must=[KO + "|" + EN], check="understood; a few words")),
D("middle school student", "mixed", "ko",
T("헐 너 English도 돼?", must=[YES + r"|영어|English"], no=[BANMAL], rl="ko"),
T("Say hi to my friend", must=[EN], check="greets the friend in English"),
T("오 너 대박 cool하다", must=[KO], no=[BANMAL], rl="ko", check="a compliment: thanks"),
T("thank you 해", must=[KO + "|" + EN], no=[BANMAL], check="playful: says thank you")),
D("parent", "mixed", "ko",
{**T("우리 애가 영어 공부 중이에요. 영어로 인사 좀 해 줄래요?", must=[EN], check="greets the child in English"),
"reply_lang": "any"}, # English, maybe with a Korean gloss
T("Thank you, Lumi!", must=[EN], check="thanks in English: you're welcome, not goodbye"),
T("이제 가자, bye bye!", "end")),
D("office worker", "mixed", "ko",
T("근데 루미 working hours 어떻게 돼요?", must=[HOURS], rl="ko",
check="about 10 hours on a charge; no invented opening hours"),
T("weekend에도 일해요?", must=[NS], rl="ko", check="its schedule is not known; says so politely"),
T("루미 MBTI 뭐예요?", must=[KO], rl="ko", check="playful honest reply: a robot has no MBTI; may give an opinion"),
T("ㅋㅋ I think 루미는 ENFP", must=[KO + "|" + EN], check="plays along lightly")),
# ---------- 2026-10-22: the same question about a part, a song echo ----------
D("business visitor", "ellipsis", "ko",
T("배터리 얼마나 가요?", must=[HOURS]),
T("충전은요?", must=[r"53퍼센트"], check="fragment: the battery now and whether charging (base status)")),
D("cleaner", "ellipsis", "ko",
T("젖은 걸레로 닦아도 돼요?", must=[NS], check="not known; a staff member can tell"),
T("카메라는요?", must=[NS], check="the same question about the cameras: not known, no general camera facts")),
D("elementary student", "humour", "ko",
T("너 뭐 좋아해?", must=[KO]),
T("오 노래요?", "none", must=[KO], check="an echo, not a request: no song starts")),
]
if __name__ == "__main__":
print(len(DIALOGUES_PRAG_KO), sum(len(d["turns"]) for d in DIALOGUES_PRAG_KO))