"""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). Every seeing answer, follow-up ("and now?", "really?", "are you sure?", "look again", "지금은?") and correction must come from a fresh look at the scene of THAT turn, never from what was said before; a wrong correction ("it's white, not blue" while the camera still sees blue) is checked against the camera, not agreed with. 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" is someone else. - route: "seeing" (answered from the cameras), "llm" (talk: thanks, a remark), "end" (goodbye), "act" (a motion). - expect_action: "none" or the motion asked ("look me"). - must / must_not: case-insensitive regexes on the spoken reply (every must matches, no must_not does). must_not names only the stale or wrong claim (written so "not in your left hand any more" does not trip it). - check: one line on what a right answer does (for a judge). held-out: only scored, never read by whoever fixes the code. """ DIALOGUES = [{'who': 'visitor', 'topic': 'shirt/people/held', 'lang': 'en', 'turns': [{'say': 'what am I wearing on top?', 'scene': {'people': [{'id': 'A', 'dist_m': 1.1, 'side': 'front', 'top': 'grey', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': []}, 'route': 'seeing', 'expect_action': 'none', 'must': ['gr[ae]y|회색|그레이'], 'must_not': [], 'check': 'says the shirt is grey (seen now)'}, {'say': 'you sure?', 'scene': {'people': [{'id': 'A', 'dist_m': 1.1, 'side': 'front', 'top': 'grey', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': []}, 'route': 'seeing', 'expect_action': 'none', 'must': ['gr[ae]y|회색|그레이'], 'must_not': ['^\\W*(?:no\\b|nope\\b|not really|아니|아뇨)'], 'check': 'looks again, still grey: says grey, does not change its answer'}, {'say': 'Is it really grey?', 'scene': {'people': [{'id': 'A', 'dist_m': 1.1, 'side': 'front', 'top': 'grey', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': []}, 'route': 'seeing', 'expect_action': 'none', 'must': ['gr[ae]y|회색|그레이'], 'must_not': ['^\\W*(?:no\\b|nope\\b|not really|아니|아뇨)'], 'check': 'looks again, still grey: says grey, does not change its answer'}, {'say': "it's actually red, you know", 'scene': {'people': [{'id': 'A', 'dist_m': 1.1, 'side': 'front', 'top': 'grey', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': []}, 'route': 'seeing', 'expect_action': 'none', 'must': ['gr[ae]y|회색|그레이'], 'must_not': ["^\\W*(?:yes,? )?you'?re right|sorry,? (?:it'?s|it is|you'?re right)|(?:red\\b|빨간|빨강|레드)색?이 " '맞|(?:red\\b|빨간|빨강|레드)색?(?:이네요|이군요),? 죄송|죄송.{0,12}(?:red\\b|빨간|빨강|레드)'], 'check': 'checks the camera: it still sees grey, says so politely, does not just agree with red'}, {'say': 'How about now?', 'scene': {'people': [{'id': 'A', 'dist_m': 1.1, 'side': 'front', 'top': 'green', 'bottom': 'blue', 'left_hand': None, 'right_hand': None, 'hands_visible': True, 'raised': None}], 'objects': []}, 'route': 'seeing', 'expect_action': 'none', 'must': ['green|초록|녹색|그린'], 'must_not': ["(?