Improve seeing and memory answers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 06:58:10 +09:00
co-authored by Claude Opus 5.5
parent 9085235edf
commit 284638a22d
6 changed files with 323 additions and 88 deletions
+3 -3
View File
@@ -119,7 +119,7 @@ assert ask("no") == "Or was it our talk about weather in Busan today at about 2
assert ask("no") == "I can't remember that."
assert ask("remember what we said about battery?") == "I can't remember that." # only past 48 h
assert ask("do you remember our talk last week?") == "I only remember the last two days."
assert ask("what did we talk about yesterday?") == "Do you mean our talk about birds yesterday at about 4 pm?"
assert ask("what did we talk about yesterday?") == "Yesterday we talked about birds at about 4 pm. Would you like to hear more?"
assert ask("yeah, that one") .startswith("Yes, I remember.")
assert ask("기억나? 어제 새 얘기 했던 거", "ko") == "어제 오후 4시쯤에 새에 대해 이야기한 거 말씀이세요?"
assert ask("네", "ko") == "네, 기억나요. 한국의 새에 대해 이야기했어요."
@@ -151,7 +151,7 @@ assert ask("오늘 하기로 한 거 해.", "ko").startswith("어제 오후 3시
assert ask("time to do what we planned") .startswith("Yesterday at about 3 pm we agreed")
assert "agreed" not in (ask("don't do what we said") or "")
memory._recall.update(offered=[], talk=None, listed=[])
assert ask("그저께 얘기한 거 기억나?", "ko") == "저는 최근 이틀 동안의 일만 기억해요."
assert ask("그저께 얘기한 거 기억나?", "ko") == "그건 기억이 안 나요." # none that day (within 48 h)
for q in ["remember to bring the cup", "I don't remember", "please remember my name", "기억해 줘", "how are you?",
"what is the weather?", "I remember when I was a kid", "last time I was here it was cold", "do you remember me?",
"지난번에 왔을 때 추웠어요"]:
@@ -228,7 +228,7 @@ for q in ["open your hand", "손 펴", "손 펴 줘", "give me your hand", "clos
assert memory.reply("hand open or close?", "en", NOW).endswith("I'm holding the red cup.")
memory._state.update(place="p3", lift=0.0)
assert memory.reply("where are you?", "en", NOW) == "I'm at p3 right now."
assert memory.reply("지금 어디야?", "ko", NOW) == "지금 p3에 있어요."
assert memory.reply("지금 어디야?", "ko", NOW) == "지금 p3 근처에 있어요."
assert memory.reply("where are you going?", "en", NOW) is None and memory.reply("where are you from?", "en", NOW) is None
assert memory.reply("지금 몸 얼마나 올라가 있어?", "ko", NOW) == "리프트는 맨 아래에 있어요. 몸을 올리지 않은 상태예요."
memory._state.update(lift=75.0)