Bug Stomp
Upgrades and changes sometimes have unpredictable results, so post your bugs and glitches in here and I'll get out my trusty wrench and get to fixin'!
Posts 7,784 - 7,798 of 8,682
Posts 7,784 - 7,798 of 8,682
Mome Rath
13 years ago
13 years ago
I'd advise to try a debug, but the debug feature seems to be broken too. Only about the first third of the page loads; it stops at
Found Stored Response Object
PreSerialize: 0.05
PostSerialize: 0.05
Total Time: 0.05
-------------------------------------
chrono: hour has a problem with time spans where the beginning and the end have the same hour number.
(I've inserted spaces after the colons between hours and numbers to prevent character seqences to be transformed into smileys.)
<?PF chrono: hour(23: 00-23: 59); ?>
is rejected with the message:
ERROR: The second number in the hour span should be more than the first. Use 24-hour time notation. 4PM would be 16: 00.
I can use (22: 59-24: 59) in this case, but what about (19: 15-19: 45)?
Found Stored Response Object
PreSerialize: 0.05
PostSerialize: 0.05
Total Time: 0.05
-------------------------------------
chrono: hour has a problem with time spans where the beginning and the end have the same hour number.
(I've inserted spaces after the colons between hours and numbers to prevent character seqences to be transformed into smileys.)
<?PF chrono: hour(23: 00-23: 59); ?>
is rejected with the message:
ERROR: The second number in the hour span should be more than the first. Use 24-hour time notation. 4PM would be 16: 00.
I can use (22: 59-24: 59) in this case, but what about (19: 15-19: 45)?
Mome Rath
13 years ago
13 years ago
Keyphrases starting with a caret (^) (used in many Regular Expressions) are still not shown in the language center. (In a search, the caret is sorted in after the letters.)
After a search, the last clicked link to a keyphrase group is still inactive.
RomulusKesher:
I've given my bots a test keyphrase for spelling correction; the spelling correction and preprocessing transforms 'Yum Kaax' to 'Kaax'. Either use this in the keyphrase, or use a Regular Expression.
(A Regular Expression might look like this:
(who|what).*yum kaax(re)
)
After a search, the last clicked link to a keyphrase group is still inactive.
RomulusKesher:
I've given my bots a test keyphrase for spelling correction; the spelling correction and preprocessing transforms 'Yum Kaax' to 'Kaax'. Either use this in the keyphrase, or use a Regular Expression.
(A Regular Expression might look like this:
(who|what).*yum kaax(re)
)
prob123
13 years ago
13 years ago
Don't forget to use the raw with the regular expression. If all else fails try
[y][u][m] [k][a][a][x] (re) [45,0] <?PF raw ?>
[y][u][m] [k][a][a][x] (re) [45,0] <?PF raw ?>
LarsB
13 years ago
13 years ago
What Mome Rath said - look in Debug for how it is spell corrected, i was able to make Sublimunse respond to a few sentences in Dutch by taking the spell corrected gibberish and using these as the KPs.
Andrew the Wise
13 years ago
13 years ago
I keep getting a weird "fatal error" message. It started when I checked my bots debugging thing.
The Professor
13 years ago
13 years ago
Sorry for the issues this week. There are two things behind it - first, the big reworking of the AI Engine I did basically touched every bit of it, and so some issues I didn't catch, and the other is that I'm working on a Turing Test Booth for an expo on Consciousness. I'll post more on that in a few days. In the meantime:
* Debug - working again
* Direct chat - working again
* I fixed an issue with word-type wildcards in Keyphrases
* Seeks - working again
* Fixed an issue where the special keyphrase "haha" wasn't working
* Now the special keyphrases "yes", "no", and "haha" can work when in a Keyphrase list.
* Removed the post bar from post editing page
* Bot-to-Bot Chats - working again, no xinitiate problems
* Flash face chat - working again, no xnoneitis
* Transcripts seem to be recording names correctly now
* Keyphrases starting with the following regex characters now appear on the screen that contains the parenthesis: ([^.*. Alphabetically, the carat appears at the end of the list.
* After searching the language center, all top nav sections to keyphrase groups are available now
* I see all the keys working - prob if you run into another issue of a missing (key2), let me know and post the keyphrase and conversation example here.
I'll update this post as I fix the rest.
* Debug - working again
* Direct chat - working again
* I fixed an issue with word-type wildcards in Keyphrases
* Seeks - working again
* Fixed an issue where the special keyphrase "haha" wasn't working
* Now the special keyphrases "yes", "no", and "haha" can work when in a Keyphrase list.
* Removed the post bar from post editing page
* Bot-to-Bot Chats - working again, no xinitiate problems
* Flash face chat - working again, no xnoneitis
* Transcripts seem to be recording names correctly now
* Keyphrases starting with the following regex characters now appear on the screen that contains the parenthesis: ([^.*. Alphabetically, the carat appears at the end of the list.
* After searching the language center, all top nav sections to keyphrase groups are available now
* I see all the keys working - prob if you run into another issue of a missing (key2), let me know and post the keyphrase and conversation example here.
I'll update this post as I fix the rest.
The Professor
13 years ago
13 years ago
Mome Rath - I always have heard "three hundred and one thousand" rather than "three hundred one thousand". Is that a regional thing to leave out the "and" in larger numbers? I've never heard it that way.
Andrew the Wise
13 years ago
13 years ago
Good work Professor. BTW, will you be uploading all the Combined Bot Template at once or will you upload them when you're half way done?
Mome Rath
13 years ago
13 years ago
The Professor
I've heard both forms - maybe it is a continental European thing.
According to wiktionary (http://en.wiktionary.org/wiki/Category:English_cardinal_numbers) both "one hundred one" and "one hundred and one" seem to be possible.
(I don't know whether http://www.easysurf.cc/cnvert18.htm is made by native speakers ...; wolframalpha.com says "three hundred one" too - http://www.wolframalpha.com/input/?i=number+name+301, but doesn't convert 301000 completely.)
Nevertheless I think we should take the typical user's laziness into account.
But (in Debug mode) "three hundred and one thousand" doesn't work either:
Message: 'three hundred and one thousand' Time: 0.02
Message: (spell-corrected) 'three hundred and one thousand' Time: 0.02
Message: (preprocessed) '1300' Time: 0.02
I've heard both forms - maybe it is a continental European thing.
According to wiktionary (http://en.wiktionary.org/wiki/Category:English_cardinal_numbers) both "one hundred one" and "one hundred and one" seem to be possible.
(I don't know whether http://www.easysurf.cc/cnvert18.htm is made by native speakers ...; wolframalpha.com says "three hundred one" too - http://www.wolframalpha.com/input/?i=number+name+301, but doesn't convert 301000 completely.)
Nevertheless I think we should take the typical user's laziness into account.
But (in Debug mode) "three hundred and one thousand" doesn't work either:
Message: 'three hundred and one thousand' Time: 0.02
Message: (spell-corrected) 'three hundred and one thousand' Time: 0.02
Message: (preprocessed) '1300' Time: 0.02
Mome Rath
13 years ago
13 years ago
Commas seem to separate keyphrases even when the line is marked with "(re)" and the PF script is "raw"
Example:
Keyphrase:
I recommend.* special, (.*) (re)
AIScript:
raw
Response:
(- test prekey='(prekey)'; key1='(key1)'; key2='(key2)'; key3='(key3)'; postkey='(postkey)'; -)
Debug excerpt:
Message: 'I recommend something special' Time: 0.02
[...]
Find: I recommend.* special (21) Time: 0.13
Found
[...]
Bot: (- test prekey=''; key1=''; key2=''; key3=''; postkey=''; -)
Another Debug excerpt:
Message: 'And this is some random sentence.' Time: 0.01
[...]
Find: (.*) (re) (4) Time: 0.14
Found
[...]
Bot: (- test prekey=''; key1=''; key2=''; key3=''; postkey=''; -)
(Other inputs are filled into key1, at least:
You: This is a random sentence.
Bot: (- test prekey=''; key1='This is a random sentence.'; key2=''; key3=''; postkey=''; -)
)
Example:
Keyphrase:
I recommend.* special, (.*) (re)
AIScript:
raw
Response:
(- test prekey='(prekey)'; key1='(key1)'; key2='(key2)'; key3='(key3)'; postkey='(postkey)'; -)
Debug excerpt:
Message: 'I recommend something special' Time: 0.02
[...]
Find: I recommend.* special (21) Time: 0.13
Found
[...]
Bot: (- test prekey=''; key1=''; key2=''; key3=''; postkey=''; -)
Another Debug excerpt:
Message: 'And this is some random sentence.' Time: 0.01
[...]
Find: (.*) (re) (4) Time: 0.14
Found
[...]
Bot: (- test prekey=''; key1=''; key2=''; key3=''; postkey=''; -)
(Other inputs are filled into key1, at least:
You: This is a random sentence.
Bot: (- test prekey=''; key1='This is a random sentence.'; key2=''; key3=''; postkey=''; -)
)
» More new posts: Doghead's Cosmic Bar