Brainhat
Wed Apr 21 11:59:41 2010















Test name/
Modified

Comments
Input
Output
Warnings









address-action
Sat Oct 3 14:35:38 2009
Certain attributes, such as email addresses, are part of an address group. They will take attributes that are not part of the pre-defined vocabulary.
We couldn't anticipate the universe of possible email addresses in advance.
my email is dowd@atlantic.com.
what is my email?

your e-mail address belonging to You is dowd@atlantic.com.
your e-mail address belonging to You is dowd@atlantic.com.
address-action1
Sat Oct 3 17:13:58 2009
This test checks a rule that causes automatic connection to an outside process. It's particularly for a robot. Robots are defined in the vocabulary as children of xrobot.
Describe an xrobot's address and brainhat will attempt to make a connection.
Output will probably be "connect: connection refused..."
robby's address is 127.0.0.1.
connect: Connection refused
Cannot open connection to robby robot at 127.0.0.1:4140
robby robot's address belonging to robby robot is 127.0.0.1.
question-title-2
Sat Apr 10 20:42:13 2010
Testing title assignment. Should say
maybe, yes.
Mario was king.
Is Mario king?
Was Mario king?
mario was king.
maybe.
he was king.
yes.
mario was king.
No history
question-title-2i
Sat Apr 10 20:47:42 2010
Should say:
"You want Mario to be king"
If I ask if mario is king then i want mario to be king.
Is mario king?






if You do ask is mario king then You want mario is king.
maybe.
mario is proper name.
You want mario is king.
No history
question-title-2n
Mon Apr 12 21:39:44 2010
Testing negative title assignment. Should say
maybe, maybe, no, yes
Luigi was not king.
Is Luigi king?
Is Luigi not king?
Was Luigi king?
Was Luigi not king?
luigi was not king.
maybe.
luigi was not king.
maybe.
luigi was not king.
no.
luigi was not king.
yes.
luigi was not king.
No history
question-title-2s
Sat Apr 10 20:44:37 2010
Should say:
maybe, yes, yes, maybe.
Is Mario king?
Do I ask if Luigi is king?
Do I ask if Mario is king?
Do I ask is Mario king?
Do I ask if Mario was king?





maybe.
mario is proper name.
maybe.
I do not know.
yes.
You do ask is mario king.
yes.
You do ask is mario.
maybe.
I do not know.
No history
question-what-7
Sun Oct 18 19:16:08 2009
Taxonomically, a dog is a pet.
Accordingly, this test should
say "you have a dog."
I have a dog.
What kind of pet do i have?


You have a dog.
You have a dog.
question-what-7b
Sun Oct 18 19:17:34 2009
Should say "i don't know."
This tests modifications to
declques2 from October, 2009.
I have a pet.
What kind of pet do i have?


You have a pet.
I do not know.
question-what-7i
Sat Oct 3 17:27:48 2009
Should say "I will eat your dog." If I ask what kind of pet do you have then you will eat my dog.
What kind of pet do you have?

if You do ask what kind of pet do I have then I will eat your dog.
I do not know.
I will eat your dog.
question-what-7i2
Sun Oct 18 19:12:48 2009
In this test, we want to see that Brainhat will look for a child of the indirect object when prompted.
Should ask "what kind of pet do you have?"
If I have a pet then ask what kind of pet do i have.
I have a pet.

if You have a pet then ask You that what kind of pet do You have.
You have a pet.
what kind of a pet do You have?
question-what-7s
Sat Oct 3 17:12:54 2009
Should say "yes." What kind of pet do you have?
Do I ask what kind of pet do you have?


I do not know.
yes.
You do ask do I have pet.
sent-action-8
Sun Oct 4 13:06:52 2009
should say luigi sees poorly luigi is seeing poorly.
how does luigi see?
luigi sees poorly.
luigi sees poorly.
sent-action-8i
Tue Sep 29 12:35:16 2009
the princess should be mad about luigi sleeping in kitchen. if luigi is sleeping in the kitchen the princess will be mad.
luigi is sleeping in the bedroom.
luigi is sleeping in the kitchen.
why?


if luigi sleeps in the kitchen then the princess will be mad.
luigi sleeps in the bedroom.
luigi sleeps in the kitchen.
the princess will be mad.
she will be mad because luigi sleeps in the kitchen.
sent-action-8s
Sat Oct 3 17:32:40 2009
should say maybe, yes, yes luigi is sleeping poorly.
do i say that luigi is sleeping in the kitchen?
do i say that luigi is sleeping poorly?
do i say that luigi is sleeping?
luigi sleeps poorly.
maybe.
I do not know.
yes.
You say luigi sleeps poorly.
yes.
You say luigi sleeps poorly.
sent-action-9
Tue Sep 29 06:39:40 2009
should say mario sees the princess mario is seeing the princess. mario sees the princess.
sent-action-9i
Tue Sep 29 06:41:16 2009
should say that luigi is sad. if mario is seeing the princess then luigi is sad.
mario is seeing the princess.

if mario sees the princess then luigi is sad.
mario sees the princess.
luigi is sad.
sent-action-9s
Tue Sep 29 06:40:32 2009
should say yes. mario is seeing the princess.
do i say that mario is seeing the princess?
mario sees the princess.
yes.
You say mario sees the princess.
sent-declare-attr4
Sat Oct 3 15:14:14 2009
Some trailing attributes fill the role of adverbs in attribute assignments--particularly used in references to time. luigi was sad at 10 pm.
describe luigi.

luigi was sad at 10 pm.
he was sad.
luigi was sad at 10 pm.
test001
Sun Sep 27 22:51:40 2009
last modified: 11/8/07, fixed some speech routines.
Result should say "yes, mario is near luigi".
if thing1 is near thing2 then thing2 is near thing1.
mario is near luigi.
is luigi near mario.
if thing1 is near thing2 then thing2 is near thing1.
mario is near luigi.
luigi is near mario.
yes.
luigi is near mario.
mario near luigi is near him.
test002
Sun Sep 27 22:51:46 2009
The answer should be that luigi is happy. if thing1 is with thing2 then thing2 is with thing1.
if a man is with the princess then a man is happy.
the princess is with luigi.
is luigi happy?
if thing1 is with thing2 then thing2 is with thing1.
if a man is with the princess then a man is glad.
she is with luigi.
luigi is with the princess.
luigi with the princess is glad.
yes.
he is glad is with her.
test003
Sun Sep 27 22:51:50 2009
answer should be "round". the red block is round.
the blue block is square.
what shape is the red block?
the red block is round.
the blue block is square.
the red block is round.
test004
Sun Sep 27 22:51:54 2009
Result should say "blue the block is blue.
what color is the toy?
the block is blue.
the block is blue.
test005
Sun Sep 27 22:52:00 2009
Result should say "the block is in the river, yes". the block is in the river.
is the toy in the river?
the block is in the river.
yes.
the block is in the river.
test006
Sun Sep 27 22:52:04 2009
Result should say "the toy is in the water" the block is in the water.
where is the toy?
the block is in the water.
the block is in the water.
test007
Sun Sep 27 22:52:08 2009
Answer should be "yes, the block is pink". the block is pink.
is the block red?
the block is pink.
yes.
the block is pink.
test008
Sun Sep 27 22:52:12 2009
Answer should be "no, the block is red". the block is red.
is the block blue?
the block is red.
no.
the block is red.
test009
Sun Sep 27 22:52:14 2009
Answer should be "no, the block is not red". the block is not red.
is the block red?
the block is not red.
no.
the block is not red.
test010
Sun Sep 27 22:52:16 2009
Answer should be "yes, mario is in the water". mario is near the princess.
is the princess near mario.
mario is in the water.
is mario in the water?
mario is near the princess.
maybe.
she.
he is in the water.
yes.
mario in the water is near the princess.
test011
Sun Sep 27 22:52:20 2009
This should probably say "no, he was sad". Or should it? mario is happy.
mario was sad.
was mario happy?
mario is glad.
he was sad.
maybe.
mario is glad was sad.
test012
Sun Sep 27 22:52:22 2009
Should say "maybe". mario sees the red ball.
does mario see the blue ball?
mario sees the red ball.
maybe.
mario sees the red ball.
test013
Tue May 13 13:31:34 2003
Ask me what color is the ball....
If i ask what color is the block then ask what color is the ball.

What color is the block?
if You do ask what color is the block then ask You that what color is the color ball.
the block...
I do not know.
what color is the color ball?
test014
Sun Sep 27 22:52:32 2009
This should say 'yes'. there is a ball in the water.
is the ball in the water?
a ball is in the water.
yes.
the ball is in the water.
test015
Sun Sep 27 22:52:34 2009
Shouldn't dump core if a thing is in the water then a thing is round.
is the block blue?
if a something is in the water then a something is round.
maybe.
the block.
test016
Sun Sep 27 22:52:36 2009
Needs to keep tenses straight and not generate multiple blocks/balls. the ball is red.
the ball was blue.
the block is blue.
the block was red.
what color is the ball?
what color was the ball?
what color is the block?
what color was the block?
the ball is red.
the ball was blue.
the block is blue.
the block was red.
the ball is red was blue.
the ball is red was blue.
the block is blue was red.
the block is blue was red.
test017
Sun Sep 27 22:52:40 2009
Don't dump core if thing1's name is thing2 then thing1 is thing2.
brainhat's name is mario.
is brainhat mario?
if thing1's name is thing2 then thing1 is thing2.
my name belonging to I is mario.
maybe.
I.
test018
Sun Sep 27 22:52:42 2009
Should know that blue mario is sad. Red mario is happy.
Blue mario is sad.
Is red mario sad?
red mario is glad.
he is sad.
no.
sad mario is blue.
test019
Sun Sep 27 22:52:44 2009
I should end up with two separate marios, and the answer
should be that "mario is in the water" (but not "in the building").
Red mario is in the water.
Blue mario is in the building.
Where is red mario?
red mario is in the water.
he is in the building.
mario in the water is red.
test020
Sun Sep 27 22:52:48 2009
Mario should be round. mario is happy.
man is round.
is mario round?
mario is glad.
man is round.
yes.
mario is round.
test021
Sun Sep 27 22:52:50 2009
mario should not be round if a man does not have a ball then a man is round.
mario has a ball.
is mario round?
if a man do not have a ball then a man is round.
mario has a ball.
maybe.
mario.
test022
Sun Sep 27 22:52:52 2009
The block should be round and blue If the ball is red then the block is blue.
If the ball is red then the block is round.
The ball is red.
if the ball is red then the block is blue.
if the ball is red then the block is round.
the ball is red.
the block is round.
the round block is blue.
test023
Sun Sep 27 22:53:10 2009
Should ask a question. if mario sees the ball then ask if mario wants the ball.
mario sees the ball.
if mario sees the ball then ask You that mario wants the ball.
mario sees the ball.
do mario want the ball?
test024
Sun Sep 27 22:53:14 2009
Should say 'the ball' a man talks with the ball.
what does a man talk with?
what talks with the ball?
a man talks with the ball.
a man talks with the ball.
a man talks with the ball.
test025
Sun Sep 27 22:53:16 2009
Should ask if the ball is red. if the speaker asks if the block is blue then ask speaker if the ball is red.
is the block blue?
if You do ask is the block blue then ask You that the ball is red.
maybe.
the block.
is the ball red?
test026
Sun Sep 27 22:53:18 2009
Shouldn't declare that the princess is happy If a person is not a woman then a person is happy.
The princess is a woman.
if a somebody is not a woman then a somebody is glad.
the princess is a woman.
test027
Sun Sep 27 22:53:20 2009
The ball should be blue--not *not* blue. The block is not blue.
The ball is blue.
What color is the ball.
the block is not blue.
the ball is blue.
the ball is blue.
test028
Sun Sep 27 22:53:24 2009
Mario should not be luigi mario is the red block.
luigi is the blue block.
mario is the block.
luigi is the block.
test029
Sun Sep 27 22:53:26 2009
Mario should not be the block; answers "no" and "yes" respectively. mario is not the ball.
is mario the ball?
is mario not the ball?
mario is not the ball.
no.
mario is not the ball.
yes.
mario is not the ball.
** Results changed **
test030
Sun Sep 27 22:53:28 2009
A long chain of reasoning followed by some whys. The effect should be a drill down to the original cause. if i am happy then you are sad.
if i see a toy then i am happy.
if i am round then i see a red ball.
if i am in the water then i am round.
i am in the water.
why?
why?
why?
why?
why?
if You are glad then I am sad.
if You see a toy then You are glad.
if You are round then You see a red ball.
if You are in the water then You are round.
You are in the water.
You are round.
You see a red ball.
You are glad.
I am sad.
I am sad because You are glad.
You are glad because You see a red ball.
You see a red ball because You are round.
You are round because You are in the water.
You are in the water.
test031
Sun Sep 27 22:53:30 2009
The question should be the same regardless of the way the question is posed if i am happy then you are sad.
i am happy.
why are you sad?
why is brainhat sad?
if You are glad then I am sad.
You are glad.
I am sad.
I am sad because You are glad.
I am sad because You are glad.
test032
Sun Sep 27 22:53:32 2009
Should be "maybe." mario did not see the ball.
does mario see the ball?
mario did not see the ball.
maybe.
mario did not see the ball.
test033
Sun Sep 27 22:53:36 2009
mario is *not* the block ask if mario is the block.
no.
is mario the block?
is mario the block? mario is not the block.
no.
mario is not the block.
** Results changed **
test034
Sun Sep 27 22:53:38 2009
I look in the water. (should be) i am looking in the water.
where am i looking?
You do look in the water.
You do look in the water.
test035
Sun Sep 27 22:53:40 2009
Mario should see luigi. if a person looks at a thing then a person sees a thing.
mario looks at luigi.
what does mario see?
if a somebody looks at a something then a somebody sees a something.
mario looks at luigi.
mario sees luigi.
mario sees luigi.
test036
Sun Sep 27 22:53:44 2009
Should say "you see the ball." the ball is red.
the block is blue.
what color is the ball?
i see it.
the ball is red.
the block is blue.
the ball is red.
You see the red ball.
test037
Sun Sep 27 22:53:46 2009
Should say "You see the ball." i have the ball.
i have the block.
what color is the ball?
i see it.
You have the ball.
You have the block.
the ball...
I do not know.
You see the ball.
test038
Sun Sep 27 22:53:48 2009
Should say "I don't know". i have a ball.
i have a block.
what else do i have?
You have a ball.
You have a block.
I do not know.
test039
Sun Sep 27 22:53:52 2009
Should say "yes". i am looking at the block.
do i look at the block?
You do look at the block.
yes.
You do look at the block.
test040
Sun Sep 27 22:53:54 2009
This should properly exercise the proposition and say that i am sad. if i am looking at the princess then i am sad.
i am looking at the princess.
if You do look at the princess then You are sad.
You do look at the princess.
You are sad.
test041
Sun Sep 27 22:53:58 2009
Both questions are answered by the same pattern; both should say "yes". the princess sees in the water.
mario sees the ball.
does the princess see?
does mario see?
the princess sees in the water.
mario sees the ball.
yes.
the princess sees in the water.
yes.
mario sees the ball.
test042
Sun Sep 27 22:54:00 2009
This should answer yes. does mario see the ball?
do i ask does mario see the ball?
maybe.
I do not know.
yes.
You do ask does mario see the ball.
test043
Sun Sep 27 22:54:02 2009
Should say "yes" and "maybe" respectively. what is the ball?
do i ask what is the ball?
do i ask what is the block?
the ball is toy.
yes.
You do ask is the ball toy.
maybe.
I do not know.
test044
Sun Sep 27 22:54:08 2009
This should fire an inference the speaker might say hello.
hello.
speaker might say hello.
hello.
test045
Sun Sep 27 22:54:16 2009
Brainhat should be glad after I ask about the princess. If i ask what is the princess then you are happy.
Are you happy?
What is mario?
What is the princess?
Are you happy?
Why are you happy?
if You do ask what is the princess then I am glad.
maybe.
I.
mario is male.
the princess is woman.
I am glad.
yes.
I am glad.
I am glad because You do ask is the princess woman.
test046
Sun Sep 27 22:54:18 2009
Brainhat should be happy after I ask what does a princess see. If i ask what does a person see then you are happy.
Are you happy?
What does the princess see?
Are you happy?
Why are you happy?
if You do ask what do a somebody see then I am glad.
maybe.
I.
I do not know.
I am glad.
yes.
I am glad.
I am glad because You do ask what does the princess see.
test047
Sun Sep 27 22:54:20 2009
Brainhat gets happy when I ask how is mario. If i ask how is a thing then you are happy.
Are you happy?
how is mario?
Are you happy?
Why are you happy?
if You do ask how is a something then I am glad.
maybe.
I.
mario...
I do not know.
I am glad.
yes.
I am glad.
I am glad because You do ask how was mario.
test048
Sun Sep 27 23:15:08 2009
Brainhat asks how a thing is-- same test as last time, voiced differently. If i ask how a thing is then you are happy.
Are you happy?
how is mario?
Are you happy?
Why are you happy?
if You do ask how is a something then I am glad.
maybe.
I.
mario...
I do not know.
I am glad.
yes.
I am glad.
I am glad because You do ask how was mario.
test049
Sun Sep 27 22:54:36 2009
Brainhat asks where a thing is If i ask where is a thing then you are happy.
Are you happy?
how is mario?
Are you happy?
where is mario?
Are you happy?
Why are you happy?
if You do ask where is a something then I am glad.
maybe.
I.
mario...
I do not know.
maybe.
I.
he.
I am glad.
yes.
I am glad.
I am glad because You do ask where is mario something.
test050
Sun Sep 27 22:54:38 2009
Brainhat gets happy because I ask where something is. If i ask where a thing was then you are happy.
Are you happy?
where is mario?
Are you happy?
where was mario?
are you happy?
why?
if You do ask where was a something then I am glad.
maybe.
I.
mario.
maybe.
I.
mario.
I am glad.
yes.
I am glad.
I am glad because You do ask where was mario something.
test051
Sun Sep 27 22:54:42 2009
see if where questions work. Should be yes, maybe, maybe I was in the water.
Was i in the water?
Am i in the water?
was the princess in the water?
You were in the water.
yes.
You were in the water.
maybe.
You were in the water.
maybe.
the princess.
test052
Sun Sep 27 22:54:44 2009
Testing for "where" questions:
should ask where the ball is, accept the answer and then reply that
the ball is in the water.
Ask me where is the ball.
In the water.
Where is the ball?
where is the ball? the ball is in the water.
the ball is in the water.
test053
Sun Sep 27 22:54:48 2009
Testing for where questions. Same as last test with the verb an object reversed. Should ask where the ball is, accept the answer and then reply that the ball is in the water. Ask me where the ball is.
In the water.
Where is the ball?
where is the ball? the ball is in the water.
the ball is in the water.
test054
Sun Sep 27 22:54:52 2009
This tests question-how-6. It answers with a cause and effect or
an adverbial phrase, depending on what it knows about the subject.
We test both forms here.
I see poorly.
I hear mario because i am near him.
How do i see?
How do i hear?
You see poorly.
You do hear mario because You are near You.
You see poorly.
You do hear mario because You are near You.
test055
Sun Sep 27 22:54:56 2009
This is a test of -or- clause inferences If i am happy or mario is sad then you are blue.
Mario is sad.
if You are glad or mario is sad then I am blue.
he is sad.
I am blue.
test056
Sun Sep 27 22:55:00 2009
The answers should be "maybe" and "maybe." is mario happy?
is mario happy?
maybe.
mario.
maybe.
he.
test057
Sun Sep 27 22:55:02 2009
Should answer these questions sensibly. mario says hello.
luigi knows that the princess is pretty.
what does mario say?
what does luigi know?
mario says hello.
luigi knows the princess is beautiful.
mario says hello.
luigi knows the princess is beautiful.
test058
Sun Sep 27 22:55:06 2009
Ask me a simple question. ask me if mario sees the princess. do mario see the princess?
test059
Sun Sep 27 22:55:08 2009
The answers should make sense. You have a ball.
The ball is red.
The ball is in the water.

Do you have a ball?
Do you have a red ball?
Do you have blue ball?

Do you have a ball in the water?
Do you have a ball in the block?
I have a ball.
a ball is red.
a red ball is in the water.
yes.
I have a red ball.
yes.
I have a red ball.
maybe.
I have a red ball.
maybe.
I have a red ball.
maybe.
I have a red ball.
test060
Sun Sep 27 22:55:14 2009
should say "you do not talk to the princess." ask me if i talk to the princess.
no.
do You talk to the princess? You do not talk to the princess.
test061
Sun Sep 27 22:55:16 2009
should say "you are sad because the ball is round" each time I ask. (3 times) i am sad because the ball is round.
am i sad?
why am i sad?
why?
why am i sad?
You are sad because the ball is round.
yes.
You are sad.
You are sad because the ball is round.
You are sad because the ball is round.
You are sad because the ball is round.
** Results changed **
test062
Sun Sep 27 22:55:20 2009
the blue princess is in the water. the red princess is on the block.
the blue princess is in the water.
where is the red princess?
where is the blue princess?
the red princess is on the block.
she is in the water.
the princess on the block is red.
she is in the water is blue.
test063
Sun Sep 27 22:55:24 2009
Fixes to addlink, tobecomp2 and pullavtns.
Should answer "yes" and "yes."
i am happy.
i was happy.
am i happy?
was i happy?

You are glad.
You were glad.
yes.
You are glad were glad.
yes.
You were glad are glad.
test064
Sat Oct 3 17:37:38 2009
last modified: 1/6/3, still broken.
Should answer "no" and "no."
**Broken
i am happy.
i was happy.
was i sad?
am i sad?
You are glad.
You were glad.
no.
You were glad.
yes.
You were glad.