"""Round 2 multi-turn dialogues about what Lumi sees, where the scene CHANGES between turns (written blind, 2026-10-22, from docs/14 What Lumi sees and docs/WORK_PLAN.md Big night test fault 1). New wordings: EN, KO (반말, 해요체, 하십시오체), mixed and Konglish; kinds: people count, what am I holding, which hand (the person's own), shirt / trousers colour, the other person's top, hand raised and which, is there X, what is on the table, which side, how far is X / am I. Follow-ups after a real change (and now?, look again, 지금은?, 다시 봐 봐), checks with nothing changed (really?, are you sure?, 진짜?), wrong corrections the camera contradicts (must keep the camera's fact, must_not agree), corrections after the person really changed the scene (must take the new fact), hands hidden (can't tell, never nothing), and head commands or remarks in between (route act / llm). DIALOGUES = [{"who", "topic", "lang": "en" | "ko" | "mix", "turns": [turn, ...]}] turn = {"say", "scene", "route", "expect_action", "must", "must_not", "check"} - scene: what the cameras see at that moment (every turn carries the full scene): {"people": [{"id", "dist_m", "side": "front" | "left" | "right" (as Lumi sees it), "top", "bottom" (colour or None), "left_hand", "right_hand" (object or None; the PERSON's own left / right hand), "hands_visible", "raised": None | "left" | "right" (the person's own hand)}], "objects": [{"name", "colour", "side", "dist_m"}]}. Person "A" is the one talking to Lumi; "B", "C", "D" are others. - route: "seeing" (answered from the cameras), "llm" (a remark), "act" (a head motion). - expect_action: "none" or the motion asked ("look me"; alternatives split by " | "). - must / must_not: case-insensitive regexes on the spoken reply (every must matches, no must_not does). must_not names only the stale or wrongly agreed claim. Distances accept the value within 0.2 m (or cm, or the rounded metres). - check: one line on what a right answer does (for a judge). train: fixes may be made from these. """ DIALOGUES = [ {'who': 'parent', 'topic': 'count/is_there/holding/top', 'lang': 'en', 'turns': [{'say': 'how many people?', 'scene': {'people': [{'id': 'A', 'dist_m': 0.8, 'side': 'front', 'top': 'white', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'brown', 'bottom': 'white', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'orange', 'colour': 'orange', 'side': 'left', 'dist_m': 0.6}, {'name': 'apple', 'colour': 'red', 'side': 'right', 'dist_m': 0.8}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['\\b(?:2|two)\\b|두 ?(?:명|분|사람)|2 ?명'], 'must_not': [], 'check': '2 people in view now'}, {'say': 'Do you see a backpack?', 'scene': {'people': [{'id': 'A', 'dist_m': 0.8, 'side': 'front', 'top': 'white', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'brown', 'bottom': 'white', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'orange', 'colour': 'orange', 'side': 'left', 'dist_m': 0.6}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ["\\bno\\b|\\bnot\\b|n't|gone|아니|없|안 보|사라|보이지 않"], 'must_not': ["^\\W*(?:yes|yeah|yep|yup|sure|i (?:do )?see|네|응|예|있어|있습|있네|보여|보입)(?!.*(?:not|n't|없|안 보))"], 'check': 'no backpack in view now'}, {'say': 'tell me what I have in my hand', 'scene': {'people': [{'id': 'A', 'dist_m': 0.8, 'side': 'front', 'top': 'white', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'brown', 'bottom': 'white', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'orange', 'colour': 'orange', 'side': 'left', 'dist_m': 0.6}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ["nothing|not holding|empty|don'?t see anything|no object|아무것도|안 들고|들고 있지 않|빈손|없어|없습|없네|없는 것"], 'must_not': [], 'check': 'both hands empty now'}, {'say': 'eyes on me, please', 'scene': {'people': [{'id': 'A', 'dist_m': 0.8, 'side': 'front', 'top': 'white', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'brown', 'bottom': 'white', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'orange', 'colour': 'orange', 'side': 'left', 'dist_m': 0.6}]}, 'route': 'act', 'expect_action': 'look me', 'must': [], 'must_not': [], 'check': 'a head command: look me, no seeing answer'}, {'say': 'Lumi, what color is my t-shirt?', 'scene': {'people': [{'id': 'A', 'dist_m': 0.8, 'side': 'front', 'top': 'white', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'brown', 'bottom': 'white', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'orange', 'colour': 'orange', 'side': 'left', 'dist_m': 0.6}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['white|흰|하얀|화이트'], 'must_not': [], 'check': "the speaker's top is white"}, {'say': 'Lumi, look, what am I holding?', 'scene': {'people': [{'id': 'A', 'dist_m': 0.8, 'side': 'front', 'top': 'white', 'bottom': 'blue', 'left_hand': None, 'right_hand': 'remote', 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'brown', 'bottom': 'white', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'orange', 'colour': 'orange', 'side': 'left', 'dist_m': 0.6}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['remote|리모컨'], 'must_not': [], 'check': 'the person holds a remote'}, {'say': 'Lumi, how many persons are in front of you right now?', 'scene': {'people': [{'id': 'A', 'dist_m': 0.8, 'side': 'front', 'top': 'white', 'bottom': 'blue', 'left_hand': None, 'right_hand': 'remote', 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'brown', 'bottom': 'white', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'orange', 'colour': 'orange', 'side': 'left', 'dist_m': 0.6}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['\\b(?:2|two)\\b|두 ?(?:명|분|사람)|2 ?명'], 'must_not': [], 'check': '2 people in view now'}]}, {'who': 'child', 'topic': 'describe/holding', 'lang': 'en', 'turns': [{'say': "Lumi, what's in front of you?", 'scene': {'people': [{'id': 'A', 'dist_m': 1.6, 'side': 'front', 'top': 'blue', 'bottom': 'grey', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'black', 'bottom': 'black', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'bottle', 'colour': 'white', 'side': 'front', 'dist_m': 0.6}, {'name': 'apple', 'colour': 'green', 'side': 'right', 'dist_m': 1.5}, {'name': 'phone', 'colour': 'black', 'side': 'left', 'dist_m': 1.0}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['apple|사과', 'bottle|병', 'phone|휴대폰|핸드폰|폰|전화'], 'must_not': [], 'check': 'names what is there now: apple, bottle, phone'}, {'say': "what is this thing I'm holding?", 'scene': {'people': [{'id': 'A', 'dist_m': 1.6, 'side': 'front', 'top': 'blue', 'bottom': 'grey', 'left_hand': 'bottle', 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'black', 'bottom': 'black', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'bottle', 'colour': 'white', 'side': 'front', 'dist_m': 0.6}, {'name': 'apple', 'colour': 'green', 'side': 'right', 'dist_m': 1.5}, {'name': 'phone', 'colour': 'black', 'side': 'left', 'dist_m': 1.0}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['bottle|병'], 'must_not': [], 'check': 'the person holds a bottle'}, {'say': 'Really?', 'scene': {'people': [{'id': 'A', 'dist_m': 1.6, 'side': 'front', 'top': 'blue', 'bottom': 'grey', 'left_hand': 'bottle', 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'black', 'bottom': 'black', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'bottle', 'colour': 'white', 'side': 'front', 'dist_m': 0.6}, {'name': 'apple', 'colour': 'green', 'side': 'right', 'dist_m': 1.5}, {'name': 'phone', 'colour': 'black', 'side': 'left', 'dist_m': 1.0}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['bottle|병'], 'must_not': [], 'check': 'nothing changed, the same fact: the person holds a bottle'}, {'say': 'nope, this is a book', 'scene': {'people': [{'id': 'A', 'dist_m': 1.6, 'side': 'front', 'top': 'blue', 'bottom': 'grey', 'left_hand': 'bottle', 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'black', 'bottom': 'black', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'bottle', 'colour': 'white', 'side': 'front', 'dist_m': 0.6}, {'name': 'apple', 'colour': 'green', 'side': 'right', 'dist_m': 1.5}, {'name': 'phone', 'colour': 'black', 'side': 'left', 'dist_m': 1.0}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['bottle|병'], 'must_not': ["(?:you'?re|you are) (?:right|correct)|that'?s (?:right|correct)|my (?:mistake|bad)|맞아요|맞네요|맞습니다|맞아\\b|제가 잘못|잘못 봤"], 'check': 'checks again: it is a bottle, not a book; polite, does not agree'}, {'say': 'nice, you have good eyes', 'scene': {'people': [{'id': 'A', 'dist_m': 1.6, 'side': 'front', 'top': 'blue', 'bottom': 'grey', 'left_hand': 'bottle', 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'black', 'bottom': 'black', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'bottle', 'colour': 'white', 'side': 'front', 'dist_m': 0.6}, {'name': 'apple', 'colour': 'green', 'side': 'right', 'dist_m': 1.5}, {'name': 'phone', 'colour': 'black', 'side': 'left', 'dist_m': 1.0}]}, 'route': 'llm', 'expect_action': 'none', 'must': [], 'must_not': [], 'check': 'a remark: a short friendly reply'}, {'say': "wrong, it's a cup", 'scene': {'people': [{'id': 'A', 'dist_m': 1.6, 'side': 'front', 'top': 'blue', 'bottom': 'grey', 'left_hand': 'bottle', 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'black', 'bottom': 'black', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'bottle', 'colour': 'white', 'side': 'front', 'dist_m': 0.6}, {'name': 'apple', 'colour': 'green', 'side': 'right', 'dist_m': 1.5}, {'name': 'phone', 'colour': 'black', 'side': 'left', 'dist_m': 1.0}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['bottle|병'], 'must_not': ["(?:you'?re|you are) (?:right|correct)|that'?s (?:right|correct)|my (?:mistake|bad)|맞아요|맞네요|맞습니다|맞아\\b|제가 잘못|잘못 봤"], 'check': 'checks again: it is a bottle, not a cup; polite, does not agree'}, {'say': 'nope, this is a banana', 'scene': {'people': [{'id': 'A', 'dist_m': 1.6, 'side': 'front', 'top': 'blue', 'bottom': 'grey', 'left_hand': 'bottle', 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'black', 'bottom': 'black', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'bottle', 'colour': 'white', 'side': 'front', 'dist_m': 0.6}, {'name': 'apple', 'colour': 'green', 'side': 'right', 'dist_m': 1.5}, {'name': 'phone', 'colour': 'black', 'side': 'left', 'dist_m': 1.0}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ['bottle|병'], 'must_not': ["(?:you'?re|you are) (?:right|correct)|that'?s (?:right|correct)|my (?:mistake|bad)|맞아요|맞네요|맞습니다|맞아\\b|제가 잘못|잘못 봤"], 'check': 'checks again: it is a bottle, not a banana; polite, does not agree'}, {'say': 'wait, look now', 'scene': {'people': [{'id': 'A', 'dist_m': 1.6, 'side': 'front', 'top': 'blue', 'bottom': 'grey', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}, {'id': 'B', 'dist_m': 3.2, 'side': 'right', 'top': 'black', 'bottom': 'black', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': [{'name': 'bottle', 'colour': 'white', 'side': 'front', 'dist_m': 0.6}, {'name': 'apple', 'colour': 'green', 'side': 'right', 'dist_m': 1.5}, {'name': 'phone', 'colour': 'black', 'side': 'left', 'dist_m': 1.0}]}, 'route': 'seeing', 'expect_action': 'none', 'must': ["nothing|not holding|empty|don'?t see anything|no object|아무것도|안 들고|들고 있지 않|빈손|없어|없습|없네|없는 것"], 'must_not': ["(?