| 1 |
This is CRM114, version 20100106-BlameMichelson (TRE 0.7.5 (LGPL)) |
| 2 |
Copyright 2001-2009 William S. Yerazunis |
| 3 |
This software is licensed under the GPL with ABSOLUTELY NO WARRANTY |
| 4 |
|
| 5 |
CRM114 testing brackets, escapes and #'s |
| 6 |
|
| 7 |
If you don't see any compiler error messages, that means the test passed. |
| 8 |
|
| 9 |
|
| 10 |
CRM114 testing backslash |
| 11 |
|
| 12 |
/-;-{-abcd-}-;-/ =/==\= |
| 13 |
This text started out on three lines but it should appear on just one. |
| 14 |
testing part-line comments |
| 15 |
|
| 16 |
CRM114 testing FAULT/TRAP... |
| 17 |
--- you should not see an error yet --- |
| 18 |
you should see this --><--and this, with nothing in between. |
| 19 |
|
| 20 |
--- the next thing you see SHOULD be an error "unable to read-open"--- |
| 21 |
Caught the error - fault text was |
| 22 |
./crm114: *ERROR* |
| 23 |
For some reason, I was unable to read-open the file named zoob.zipulrlfjf |
| 24 |
Sorry, but this program is very sick and probably should be killed off. |
| 25 |
This happened at line 25 of file fataltraptest.crm |
| 26 |
(runtime system location: crm_expr_file_io.c(135) in routine: crm_expr_input) |
| 27 |
--- and again, the next thing you see SHOULD be an error "unable to write-open"--- |
| 28 |
Caught the error - fault text was |
| 29 |
./crm114: *ERROR* |
| 30 |
For some reason, I was unable to write-open the file named /No/Such/Directory/frotz.mumble |
| 31 |
Sorry, but this program is very sick and probably should be killed off. |
| 32 |
This happened at line 35 of file fataltraptest.crm |
| 33 |
(runtime system location: crm_expr_file_io.c(329) in routine: crm_expr_output) |
| 34 |
|
| 35 |
|
| 36 |
Start of insert processor testing |
| 37 |
start here ... the first middle bit... the really middle-middle bit ... the last middle bit... and the last bit of normal text |
| 38 |
now we test nonexistent file overrides |
| 39 |
this should not cause a FATAL ERROR, because we trap it. |
| 40 |
We caught the nonexistent file fault here. Message was: |
| 41 |
<<start of msg>> |
| 42 |
Couldn't insert the file named 'there_is_no_such_file_as_this.txt' that you asked for. This is probably a bad thing. |
| 43 |
<<end of msg>> |
| 44 |
via the TRAP |
| 45 |
End of insert testing. |
| 46 |
|
| 47 |
|
| 48 |
CRM114 testing match functionality |
| 49 |
|
| 50 |
Testing exact match on foo... found exact match on 'foo' |
| 51 |
Testing exact match on foo... |
| 52 |
Testing absent match on foo... match says "no foo found". |
| 53 |
Testing absent match on foo... |
| 54 |
Testing nocase match on foo... found a nocase match on 'fOo' |
| 55 |
Testing nocase match on foo... |
| 56 |
Testing nocase absent match on foo... match says "no foo found". |
| 57 |
Testing nocase absent match on foo... |
| 58 |
Testing multiline match on foo... found an allowed multiline match on ' |
| 59 |
multiline: this is a multiline test of foo |
| 60 |
multiline-- should see both lines ZZZ' |
| 61 |
Testing multiline match on foo... |
| 62 |
Testing nomultiline match on foo... found a nomultiline match on 'nomultiline: this is a nomultiline test of foo' |
| 63 |
Testing nomultiline match on foo... |
| 64 |
Testing fromendchar match for foo then bar...... found the foo...then bar |
| 65 |
Testing fromendchar match for foo then bar...... found the foo... |
| 66 |
Testing fromnext match for f+oo+.. first 'foo'.. found one on 'ffoooo' |
| 67 |
Testing fromnext match for f+oo+.. first 'foo'.. |
| 68 |
Testing newend match for f+oo+.. first 'foo'.. found one on 'ffooo' |
| 69 |
Testing newend match for f+oo+.. first 'foo'.. |
| 70 |
Testing indirect goto ":twist:" and ":shout:".... got :twist:... got to TWIST. |
| 71 |
Testing indirect goto ":twist:" and ":shout:".... got :shout2:... got to SHOUT. |
| 72 |
Testing self-supplied-match ... found '123' ... found 'smith 123 anderson ZZZ' |
| 73 |
Testing self-supplied-match ... found '123' ... |
| 74 |
Testing indep start/end ... found 'foo bar 1 2 foo' ... found '1' ... found 'bar 1 2 foo bar'... found '2' |
| 75 |
Testing indep start/end ... found 'foo bar foo' ... |
| 76 |
Testing indep start/end ... found 'foo 1 foo' ... found '1' ... found 'bar 2 bar'... found '2' |
| 77 |
Testing indep start/end ... found 'foo 2 bar 1 bar foo' ... found '1' ... found 'bar 1 bar'... |
| 78 |
Testing box region control |
| 79 |
got 10-17 as this: correct (should be 'correct', no angles) |
| 80 |
|
| 81 |
Testing box region control, part 2 |
| 82 |
got 10-17 as this: rrec (should be 'rrec') |
| 83 |
|
| 84 |
Testing box region control, isolated variable |
| 85 |
got 10-17 as this: rrec (should be 'rrec') |
| 86 |
Fromend match: esult (should be 'esult') |
| 87 |
|
| 88 |
Testing box region indexed control |
| 89 |
got this: 'correct' (should be 'correct', no angles) |
| 90 |
|
| 91 |
Testing box region regex control |
| 92 |
got this: '>correct<' (should be '>correct<', with angles) |
| 93 |
|
| 94 |
Testing box region failing regex control |
| 95 |
got this: '' (should be '', the empty string) |
| 96 |
|
| 97 |
Testing box region regex/index control |
| 98 |
got this: 'correct' (should be 'correct', no angles) |
| 99 |
|
| 100 |
Testing box region index/regex control |
| 101 |
got this: '>correct<' (should be '>correct<', with angles) |
| 102 |
|
| 103 |
Testing box region index/index control |
| 104 |
got this: 'correct' (should be 'correct', no angles) |
| 105 |
|
| 106 |
Testing box region regex with spaces control |
| 107 |
got this: '> correct <' (should be '> correct <', with angles) |
| 108 |
|
| 109 |
Testing box region regex with spaces control |
| 110 |
got this: 'correct' (should be 'correct', no angles) |
| 111 |
testing <absent> versus binding (the '67' bug) |
| 112 |
The next stmt --- SHOULD--- get an error message! |
| 113 |
Caught the error, fault text was: |
| 114 |
|
| 115 |
./crm114: *WARNING* |
| 116 |
This program specifies an 'absent' match, and also tries to bind variables that, by the above, aren't matched! We'll ignore these variable bindings for now. |
| 117 |
I'll try to keep working. |
| 118 |
This happened at line 298 of file matchtest.crm |
| 119 |
(runtime system location: crm_expr_match.c(413) in routine: crm_expr_match) |
| 120 |
|
| 121 |
|
| 122 |
------------------END OF TESTING---------------------- |
| 123 |
searching for a foo...found a foo, searching for bar.ooo... no bar.ooo in front of the foo. |
| 124 |
searching for a foo...found a foo, searching for bar.ooo... no bar.ooo in front of the foo. |
| 125 |
|
| 126 |
CRM114 testing ALTERation and copying |
| 127 |
|
| 128 |
----- Whole file ----- |
| 129 |
01abcdefghijkl89---------------------- |
| 130 |
1: abcde, 2: cdefg, 3: fghij z: cdefg |
| 131 |
---altering the z copy ----- |
| 132 |
|
| 133 |
1: abcde, 2: cdefg, 3: fghij z: CDEEEFG |
| 134 |
----- Whole file ----- |
| 135 |
01abcdefghijkl89 ---altering the original ----- |
| 136 |
|
| 137 |
1: abCDEEE, 2: CDEEEFG, 3: FGhij z: CDEEEFG |
| 138 |
----- Whole file ----- |
| 139 |
01abCDEEEFGhijkl89 ---altering the original again----- |
| 140 |
|
| 141 |
1: abCD, 2: CDFG, 3: FGhij z: CDEEEFG |
| 142 |
----- Whole file ----- |
| 143 |
01abCDFGhijkl89---------------------- |
| 144 |
----- Rematched Whole file ----- |
| 145 |
01abCDFGhijkl89 |
| 146 |
---------------------- |
| 147 |
------putting things back----- |
| 148 |
----- Whole file ----- |
| 149 |
01abcdefghijkl89 |
| 150 |
---------------------- |
| 151 |
|
| 152 |
---------------------- |
| 153 |
:q: = cdefg |
| 154 |
ISOLATEing :q: - this should copy |
| 155 |
:q: = cdefg |
| 156 |
ALTERing :q: to ZZZZZ |
| 157 |
:q: = ZZZZZ |
| 158 |
----- Whole file ----- |
| 159 |
01abcdefghijkl89 |
| 160 |
---------------------- |
| 161 |
|
| 162 |
Checking initialization of isolation |
| 163 |
AAAAA |
| 164 |
|
| 165 |
--- CRM114 testing string rewrites |
| 166 |
|
| 167 |
------------------------ |
| 168 |
abc |
| 169 |
frobnitz_singleline this should trigger |
| 170 |
def |
| 171 |
frobnitz_multiline zebra |
| 172 |
giraffe |
| 173 |
and so should this. |
| 174 |
testpattern |
| 175 |
mno |
| 176 |
------------------------ |
| 177 |
abc |
| 178 |
single-line rewrite ran OK. |
| 179 |
def |
| 180 |
multi-line rewrite ran OK. |
| 181 |
mno |
| 182 |
|
| 183 |
CRM114 testing that start / length works in matches |
| 184 |
|
| 185 |
DEBUG: whitelist==<<CRM114 |
| 186 |
crm114 |
| 187 |
harvard.edu |
| 188 |
tufts.edu |
| 189 |
dartmouth.edu |
| 190 |
mit.edu |
| 191 |
rpi.edu |
| 192 |
>> |
| 193 |
DEBUG: matched==<<CRM114>> |
| 194 |
DEBUG: matched==<<crm114>> |
| 195 |
DEBUG: matched==<<harvard.edu>> |
| 196 |
DEBUG: matched==<<tufts.edu>> |
| 197 |
DEBUG: matched==<<dartmouth.edu>> |
| 198 |
DEBUG: matched==<<mit.edu>> |
| 199 |
DEBUG: matched==<<rpi.edu>> |
| 200 |
DEBUG: [TheEnd] |
| 201 |
|
| 202 |
CRM114 testing outcall and status codes |
| 203 |
|
| 204 |
----- keeping a process around ---- |
| 205 |
|
| 206 |
preparing... |
| 207 |
OK_IF_PID_CHANGES: one... MINION PROC PID: 20682 from-pipe: 6 to-pipe: 5 |
| 208 |
OK_IF_PID_SAME_AS_ABOVE: again... MINION PROC PID: 20682 from-pipe: 6 to-pipe: 5 |
| 209 |
and done ...DEAD MINION, EXIT CODE: 0 |
| 210 |
exit value test got DEAD MINION, EXIT CODE: 123 |
| 211 |
CRM114: Testing union and intersection |
| 212 |
|
| 213 |
We start with this: ' a b c d e f g h i j k l m n o p q r s t u v w x y z ' |
| 214 |
intersection of abc and cde is t1: 'c' |
| 215 |
union of l thru s is t2: 'l m n o p q r s' |
| 216 |
intersection of abc and t2 is t3: '' |
| 217 |
union of zulu and t1 is t4: 'c d e f g h i j k l m n o p q r s t u v w x y z' |
| 218 |
|
| 219 |
CRM114: test syscall 'printf beep' |
| 220 |
|
| 221 |
|
| 222 |
CRM114: testing default command line args |
| 223 |
blah 1 = :blah: |
| 224 |
blah 2 = new value |
| 225 |
|
| 226 |
|
| 227 |
CRM114: testing default command line args |
| 228 |
blah 1 = command override |
| 229 |
blah 2 = command override |
| 230 |
|
| 231 |
CRM114: testing windowing on windows and variables |
| 232 |
|
| 233 |
|
| 234 |
test one- input by chars, delimited by 'A' |
| 235 |
Got: |
| 236 |
This is the test one result A |
| 237 |
test two- input by EOFs, delimited by 'A' |
| 238 |
Got: |
| 239 |
this is the test two result A |
| 240 |
test three- window an isolated var by chars, delimited by 'A' |
| 241 |
Got: |
| 242 |
this is the test three result A |
| 243 |
test four- isolated var, input by EOFs, delimited by 'A' |
| 244 |
Got: |
| 245 |
this is the test four result A |
| 246 |
and lastly- did the data window stay constant? |
| 247 |
this is the test two result A |
| 248 |
|
| 249 |
CRM114: testing windowing on windows from a variable |
| 250 |
|
| 251 |
Input stuff is : This is the test one result A this is the test two result A this is the test three result A this is the test four result A this is the test 5 result A this is the test six result A this is extra stuff and should trigger exit from the loop since it doesn't have the proper delimiter. |
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
testing delimited by 'A' |
| 256 |
Data Window: data window test text |
| 257 |
Windowed value = This is the test one result A |
| 258 |
Remaining stuff = this is the test two result A this is the test three result A this is the test four result A this is the test 5 result A this is the test six result A this is extra stuff and should trigger exit from the loop since it doesn't have the proper delimiter. |
| 259 |
|
| 260 |
|
| 261 |
Data Window: data window test text |
| 262 |
Windowed value = this is the test two result A |
| 263 |
Remaining stuff = this is the test three result A this is the test four result A this is the test 5 result A this is the test six result A this is extra stuff and should trigger exit from the loop since it doesn't have the proper delimiter. |
| 264 |
|
| 265 |
|
| 266 |
Data Window: data window test text |
| 267 |
Windowed value = this is the test three result A |
| 268 |
Remaining stuff = this is the test four result A this is the test 5 result A this is the test six result A this is extra stuff and should trigger exit from the loop since it doesn't have the proper delimiter. |
| 269 |
|
| 270 |
|
| 271 |
Data Window: data window test text |
| 272 |
Windowed value = this is the test four result A |
| 273 |
Remaining stuff = this is the test 5 result A this is the test six result A this is extra stuff and should trigger exit from the loop since it doesn't have the proper delimiter. |
| 274 |
|
| 275 |
|
| 276 |
Data Window: data window test text |
| 277 |
Windowed value = this is the test 5 result A |
| 278 |
Remaining stuff = this is the test six result A this is extra stuff and should trigger exit from the loop since it doesn't have the proper delimiter. |
| 279 |
|
| 280 |
|
| 281 |
Data Window: data window test text |
| 282 |
Windowed value = this is the test six result A |
| 283 |
Remaining stuff = this is extra stuff and should trigger exit from the loop since it doesn't have the proper delimiter. |
| 284 |
|
| 285 |
|
| 286 |
Bounced out of the WINDOW loop -- no further stuff |
| 287 |
End of window-from-variable testing |
| 288 |
Start of approximate match testing. |
| 289 |
|
| 290 |
Input string to match against: "molasses anaconda foo bar baz agentsmith mranderson " |
| 291 |
|
| 292 |
(foo) {1} ---> foo |
| 293 |
(fou){~} ---> foo |
| 294 |
(foo) {1} ---> foo |
| 295 |
(fou){~0} <no match> |
| 296 |
(foo) {1} ---> foo |
| 297 |
(fou){~1} ---> foo |
| 298 |
(foo) {1} ---> foo |
| 299 |
(fou){~2} ---> foo |
| 300 |
(fou){~3} ---> foo |
| 301 |
(fuu){~} ---> foo |
| 302 |
(fuu){~0} <no match> |
| 303 |
(fuu){~1} <no match> |
| 304 |
(fuu){~2} ---> foo |
| 305 |
(fuu){~3} ---> foo |
| 306 |
(fou){#} ---> foo |
| 307 |
(fou){#0} <no match> |
| 308 |
(fou){#1} ---> foo |
| 309 |
(fou){#2} ---> foo |
| 310 |
(fou){#3} ---> foo |
| 311 |
(fou){# ~1} ---> foo |
| 312 |
(fou){#0 ~1} <no match> |
| 313 |
(fou){#1 ~1} ---> foo |
| 314 |
(fou){#2 ~1} ---> foo |
| 315 |
(fou){#3 ~1} ---> foo |
| 316 |
(fuu){#} ---> foo |
| 317 |
(fuu){#0} <no match> |
| 318 |
(fuu){#1} <no match> |
| 319 |
(fuu){#2} ---> foo |
| 320 |
(fuu){#3} ---> foo |
| 321 |
(fuu){# ~1} <no match> |
| 322 |
(fuu){#0 ~1} <no match> |
| 323 |
(fuu){#1 ~1} <no match> |
| 324 |
(fuu){#2 ~1} <no match> |
| 325 |
(fuu){#3 ~1} <no match> |
| 326 |
(fuu){# ~2} ---> foo |
| 327 |
(fuu){#0 ~2} <no match> |
| 328 |
(fuu){#1 ~2} <no match> |
| 329 |
(fuu){#2 ~2} ---> foo |
| 330 |
(fuu){#3 ~2} ---> foo |
| 331 |
(fuu){# ~3} ---> foo |
| 332 |
(fuu){#0 ~3} <no match> |
| 333 |
(fuu){#1 ~3} <no match> |
| 334 |
(fuu){#2 ~3} ---> foo |
| 335 |
(fuu){#3 ~3} ---> foo |
| 336 |
(fuu){# ~} ---> foo |
| 337 |
(fuu){#0 ~} <no match> |
| 338 |
(fuu){#1 ~} <no match> |
| 339 |
(fuu){#2 ~} ---> foo |
| 340 |
(fuu){#3 ~} ---> foo |
| 341 |
(fou){#} ---> foo |
| 342 |
(fou){#0} <no match> |
| 343 |
(fou){+1 -1} ---> fo |
| 344 |
(fou){+2 -2} ---> fo |
| 345 |
(fou){+3 -3} ---> fo |
| 346 |
(fou){# ~1} ---> foo |
| 347 |
(fou){#0 ~1} <no match> |
| 348 |
(fou){+1 -1 ~1} ---> fo |
| 349 |
(fou){+2 -2 ~1} ---> fo |
| 350 |
(fou){+3 -3 ~1} ---> fo |
| 351 |
(fou){# ~2} ---> foo |
| 352 |
(fou){#0 ~2} <no match> |
| 353 |
(fou){+1 -1 ~2} ---> fo |
| 354 |
(fou){+2 -2 ~2} ---> fo |
| 355 |
(fou){+3 -3 ~2} ---> fo |
| 356 |
(fou){# ~3} ---> foo |
| 357 |
(fou){#0 ~3} <no match> |
| 358 |
(fou){+1 -1 ~3} ---> fo |
| 359 |
(fou){+2 -2 ~3} ---> fo |
| 360 |
(fou){+3 -3 ~3} ---> fo |
| 361 |
(fou){# ~} ---> foo |
| 362 |
(fou){#0 ~} <no match> |
| 363 |
(fou){+1 -1 ~} ---> fo |
| 364 |
(fou){+2 -2 ~} ---> fo |
| 365 |
(fou){+3 -3 ~} ---> fo |
| 366 |
(fuu){#} ---> foo |
| 367 |
(fuu){#0} <no match> |
| 368 |
(fuu){+1 -1} <no match> |
| 369 |
(fuu){+2 -2} ---> f |
| 370 |
(fuu){+3 -3} ---> f |
| 371 |
(fuu){# ~1} <no match> |
| 372 |
(fuu){#0 ~1} <no match> |
| 373 |
(fuu){+1 -1 ~1} <no match> |
| 374 |
(fuu){+2 -2 ~1} <no match> |
| 375 |
(fuu){+3 -3 ~1} <no match> |
| 376 |
(fuu){# ~2} ---> foo |
| 377 |
(fuu){#0 ~2} <no match> |
| 378 |
(fuu){+1 -1 ~2} <no match> |
| 379 |
(fuu){+2 -2 ~2} ---> f |
| 380 |
(fuu){+3 -3 ~2} ---> f |
| 381 |
(fuu){# ~3} ---> foo |
| 382 |
(fuu){#0 ~3} <no match> |
| 383 |
(fuu){+1 -1 ~3} <no match> |
| 384 |
(fuu){+2 -2 ~3} ---> f |
| 385 |
(fuu){+3 -3 ~3} ---> f |
| 386 |
(fuu){# ~} ---> foo |
| 387 |
(fuu){#0 ~} <no match> |
| 388 |
(fuu){+1 -1 ~} <no match> |
| 389 |
(fuu){+2 -2 ~} ---> f |
| 390 |
(fuu){+3 -3 ~} ---> f |
| 391 |
(anaconda){~} ---> anaconda |
| 392 |
(anaonda){ 1i + 1d < 1 } <no match> |
| 393 |
(anaonda){ 1i + 1d < 2 } ---> anaconda |
| 394 |
(ananda){ 1i + 1d < 1 } <no match> |
| 395 |
(ananda){ 1i + 1d < 2 } <no match> |
| 396 |
(ananda){ 1i + 1d < 3 } ---> anaconda |
| 397 |
(ana123conda){ 1i + 1d < 2 } <no match> |
| 398 |
(ana123conda){ 1i + 1d < 3 } <no match> |
| 399 |
(ana123conda){ 1i + 1d < 4 } ---> anaconda |
| 400 |
(ana123cona){ 1i + 1d < 4 } <no match> |
| 401 |
(ana123cona){ 1i + 1d < 5 } ---> anaconda |
| 402 |
(ana123coa){ 1i + 1d < 4 } <no match> |
| 403 |
(ana123coa){ 1i + 1d < 5 } ---> anaco |
| 404 |
(ana123coa){ 1i + 1d < 6 } ---> anaco |
| 405 |
(ana123ca){ 1i + 1d < 4 } <no match> |
| 406 |
(ana123a){ 1i + 1d < 4 } <no match> |
| 407 |
(ana123a){ 1i + 1d < 3 } <no match> |
| 408 |
(anukeonda){~} ---> anaconda |
| 409 |
(anaconda){ 1i + 1d < 1} ---> anaconda |
| 410 |
(anaconda){ 1i + 1d < 1, #1} ---> anaconda |
| 411 |
(anaconda){ 1i + 1d < 1 #1 ~10 } ---> anaconda |
| 412 |
(anaconda){ #1, ~1, 1i + 1d < 1 } ---> anaconda |
| 413 |
(anaconda){ #1 ~1 1i + 1d < 1 } ---> anaconda |
| 414 |
(anacnda){ #1 ~1 1i + 1d < 1 } <no match> |
| 415 |
(agentsmith){~} ---> agentsmith |
| 416 |
(annndersen){~} ---> anderson |
| 417 |
(anentemstn){~} ---> agentsmith |
| 418 |
(anacda){~} ---> anaconda |
| 419 |
(anacda){ #1 ~1 1i + 1d < 1 } <no match> |
| 420 |
(znacnda){ #1 ~1 1i + 1d < 1 } <no match> |
| 421 |
(znacnda){ #1 ~2 1i + 1d < 1 } <no match> |
| 422 |
(znacnda){ #1 ~3 1i + 1d < 1 } <no match> |
| 423 |
(znacnda){ #1 ~3 1i + 1d < 2 } ---> anaconda |
| 424 |
(anac){~1}(onda){~1} ---> anaconda |
| 425 |
(aac){~1}(onda){~1} ---> naconda |
| 426 |
(ac){~1}(onda){~1} ---> aconda |
| 427 |
(anac){~1}(oda){~1} ---> anaconda |
| 428 |
(aac){~1}(oa){~1} ---> nacon |
| 429 |
(ac){~1}(oa){~1} ---> acon |
| 430 |
(anac){~1}(onda){~1} ---> anaconda |
| 431 |
(anZac){~1}(onZda){~1} ---> anaconda |
| 432 |
(anZZac){~1}(onZda){~1} <no match> |
| 433 |
(anZac){~1}(onZZda){~1} <no match> |
| 434 |
([a-n]){3,100} ---> anac |
| 435 |
([a-n]){3,100}? ---> ana |
| 436 |
end of approximate match testing. |
| 437 |
|
| 438 |
Algebraic math test |
| 439 |
string value of x is 12345, string value of pi is 3.14159 |
| 440 |
length of x is 5 , length of pi is 7 |
| 441 |
string rep of X is shorter than pi |
| 442 |
matheval of x + pi is 12348.14159 |
| 443 |
Algebraic matheval of (2*3)+(4*5) is 26 |
| 444 |
and adding 3.14159 to that is 29.14159 |
| 445 |
|
| 446 |
Testing RPN mode math |
| 447 |
string value of x is 12345, string value of pi is 3.14159 |
| 448 |
length of x is 5 , length of pi is 7 |
| 449 |
string rep of X is shorter than pi |
| 450 |
matheval of x + pi is 12348.14159 |
| 451 |
RPN matheval of (2*3)+(4*5) is 26 |
| 452 |
and adding 3.14159 to that is 29.14159 |
| 453 |
|
| 454 |
|
| 455 |
This test checks to see that EVAL properly detects blowups |
| 456 |
You should see an error message as the next thing, |
| 457 |
with a large string of Z's. |
| 458 |
We should get an error here, due to the (intentional!) loop |
| 459 |
|
| 460 |
./crm114: *WARNING* |
| 461 |
The variable you're attempting to EVAL seems to eval infinitely, and hence I cannot compute it. I did try a lot, though. I got this far before I gave up: :*:a:ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ(...truncated) |
| 462 |
I'll try to keep working. |
| 463 |
This happened at line 20 of file eval_infiniteloop.crm |
| 464 |
(runtime system location: crm_expr_alter.c(125) function crm_expr_eval) |
| 465 |
Original: The quick brown fox jumped over the lazy dog's back |
| 466 |
delete file then append: alpha bravo charlie |
| 467 |
prior file, no append: The quick brown fox jumped over the lazy dog's back |
| 468 |
prior file, and append: The quick brown fox jumped over the lazy dog's back alpha bravo charlie |
| 469 |
Grab chars 10 thru 25: brown fox jumpe |
| 470 |
Grab chars 17 and length 12: ox jumped ov |
| 471 |
Now, change the fox to cat: uick brown cat jumped over the |
| 472 |
Final check- did it really get written? The quick brown cat jumped over the lazy dog's back alpha bravo charlie |
| 473 |
isolate :a: as 'hdgdgb aaa hdgdb', match b as /aaa/ |
| 474 |
a=hdgdgb aaa hdgdb - b=aaa |
| 475 |
alter :a: as 'x' |
| 476 |
a=x - b= |
| 477 |
|
| 478 |
re-isolate :a: as 'hdgdgb bbb hdgdb' |
| 479 |
a=hdgdgb bbb hdgdb - b= |
| 480 |
|
| 481 |
now match :b: to :a:'s 'bbb' section |
| 482 |
a=hdgdgb bbb hdgdb - b=bbb |
| 483 |
|
| 484 |
now alter :a: to 'x' again |
| 485 |
a=x - b= |
| 486 |
|
| 487 |
re-re-isolate :a: as 'hdgdgb ccc hdgdb' |
| 488 |
a=hdgdgb ccc hdgdb - b= |
| 489 |
|
| 490 |
now match :b: to :a:'s 'ccc' section |
| 491 |
a=hdgdgb ccc hdgdb - b=ccc |
| 492 |
|
| 493 |
now alter :a: to 'x' again |
| 494 |
a=x - b= |
| 495 |
Content-Type: text/html; charset=us-ascii |
| 496 |
Content-Transfer-Encoding: 7bit |
| 497 |
|
| 498 |
Content-Type: image/gif; |
| 499 |
name="clonic.GIF" |
| 500 |
Content-Transfer-Encoding: base64 |
| 501 |
Content-ID: <part1.07010905.07040200@[email protected]> |
| 502 |
Content-Disposition: inline; |
| 503 |
filename="clonic.GIF" |
| 504 |
|
| 505 |
:boundary:=------------000708090009050006030006 |
| 506 |
:c:=1 |
| 507 |
Content-Type: text/html; charset=us-ascii |
| 508 |
Content-Transfer-Encoding: 7bit |
| 509 |
|
| 510 |
:c:=2 |
| 511 |
Content-Type: image/gif; |
| 512 |
name="clonic.GIF" |
| 513 |
Content-Transfer-Encoding: base64 |
| 514 |
Content-ID: <iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii> |
| 515 |
Content-Disposition: inline; |
| 516 |
filename="clonic.GIF" |
| 517 |
|
| 518 |
:boundary:=--0123456789 |
| 519 |
:c:=1 |
| 520 |
Content-Type: text |
| 521 |
Content-Transfer-Encoding: 7bit |
| 522 |
|
| 523 |
:c:=2 |
| 524 |
Content-Type: image |
| 525 |
name="clonic.GIF" |
| 526 |
Content-Transfer-Encoding: base64 |
| 527 |
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii |
| 528 |
|
| 529 |
:boundary:=--0123 |
| 530 |
:c:=1 |
| 531 |
C-T: txt |
| 532 |
C-T-E: 7 |
| 533 |
|
| 534 |
:c:=2 |
| 535 |
C-T: img |
| 536 |
name="clonic.GIF" |
| 537 |
C-T-E: b64 |
| 538 |
iiii |
| 539 |
|
| 540 |
|
| 541 |
Match-Isolate reclamation test 1. If this program doesn't |
| 542 |
error out, the test is passed. (we allocate about 80 megs, |
| 543 |
well past the window size, but in small (400K) chunks that |
| 544 |
alternately are allocated and become reclaimable) |
| 545 |
OK_IF_SIZE_CHANGES: Size of isolation at start: 933509 |
| 546 |
Bytes used per pass: 931467 |
| 547 |
Passes done: 100 |
| 548 |
Total flux through isolation: 186293400 |
| 549 |
OK_IF_SIZE_CHANGES: Final isolation size: 933525 |
| 550 |
OK_IF_LESS_THAN_100: Total growth: 16 |
| 551 |
|
| 552 |
Match-Isolate reclamation test. If this program doesn't |
| 553 |
error out, the test is passed. (we allocate about 80 megs, |
| 554 |
well past the window size, but in small (400K) chunks that |
| 555 |
alternately are allocated and become reclaimable) |
| 556 |
OK_IF_SIZE_CHANGES: Size of isolation at start: 935934 |
| 557 |
Bytes used per pass: 931467 |
| 558 |
Passes done: 10 |
| 559 |
Total flux through isolation: 18629340 |
| 560 |
OK_IF_SIZE_CHANGES: Final isolation size: 935948 |
| 561 |
OK_IF_LESS_THAN_10: Total growth: 14 |
| 562 |
Bytes used per pass: 931467 |
| 563 |
Passes done: 20 |
| 564 |
Total flux through isolation: 37258680 |
| 565 |
OK_IF_SIZE_CHANGES: Final isolation size: 935953 |
| 566 |
OK_IF_LESS_THAN_20: Total growth: 19 |
| 567 |
Bytes used per pass: 931467 |
| 568 |
Passes done: 30 |
| 569 |
Total flux through isolation: 55888020 |
| 570 |
OK_IF_SIZE_CHANGES: Final isolation size: 935953 |
| 571 |
OK_IF_LESS_THAN_30: Total growth: 19 |
| 572 |
Bytes used per pass: 931467 |
| 573 |
Passes done: 40 |
| 574 |
Total flux through isolation: 74517360 |
| 575 |
OK_IF_SIZE_CHANGES: Final isolation size: 935953 |
| 576 |
OK_IF_LESS_THAN_40: Total growth: 19 |
| 577 |
Starting |
| 578 |
|
| 579 |
|
| 580 |
Testing local and forking call and returns. (level 0) |
| 581 |
The foo (level 1) |
| 582 |
Middle (level 0) |
| 583 |
The bar was > a b c d e < (level 1) |
| 584 |
Got back >z y x w v< |
| 585 |
End (level 0) |
| 586 |
Doing factorial with a mutating argument |
| 587 |
arglist return factorial call entry, args = 5 1 (level 1) |
| 588 |
arglist return factorial call entry, args = 4 5 (level 2) |
| 589 |
arglist return factorial call entry, args = 3 20 (level 3) |
| 590 |
arglist return factorial call entry, args = 2 60 (level 4) |
| 591 |
arglist return factorial call entry, args = 1 120 (level 5) |
| 592 |
Recursion bottomed out, returning :out: = 120 |
| 593 |
Call return, :out: = 120 ( level 4) |
| 594 |
Call return, :out: = 120 ( level 3) |
| 595 |
Call return, :out: = 120 ( level 2) |
| 596 |
Call return, :out: = 120 ( level 1) |
| 597 |
5 factorial is 120 (level 0) |
| 598 |
|
| 599 |
Doing factorial with inplace args. |
| 600 |
downward recurse call entry, args = 5 1 (level 1) |
| 601 |
downward recurse call entry, args = 4 5 (level 2) |
| 602 |
downward recurse call entry, args = 3 20 (level 3) |
| 603 |
downward recurse call entry, args = 2 60 (level 4) |
| 604 |
downward recurse call entry, args = 1 120 (level 5) |
| 605 |
Recursion bottomed out, returning :out: = 120 |
| 606 |
Call return, :out: = 120 (level 4) |
| 607 |
Call return, :out: = 120 (level 3) |
| 608 |
Call return, :out: = 120 (level 2) |
| 609 |
Call return, :out: = 120 (level 1) |
| 610 |
5 factorial_inplace is 120 (level 0) |
| 611 |
|
| 612 |
Doing factorial with return args |
| 613 |
Call factorial_returnarg entry, arg = 5 (level 1) |
| 614 |
N is 5 NM1 is 4 |
| 615 |
Call factorial_returnarg entry, arg = 4 5 (level 2) |
| 616 |
N is 4 NM1 is 3 |
| 617 |
Call factorial_returnarg entry, arg = 3 4 5 (level 3) |
| 618 |
N is 3 NM1 is 2 |
| 619 |
Call factorial_returnarg entry, arg = 2 3 4 5 (level 4) |
| 620 |
N is 2 NM1 is 1 |
| 621 |
Call factorial_returnarg entry, arg = 1 2 3 4 5 (level 5) |
| 622 |
Calling bottomed out with N-1 <= 0.00 (level 5) |
| 623 |
Call returned, return value was 1 2 3 4 5 (level 4) |
| 624 |
p1: 1, p2: 2, rest: 3 4 5 |
| 625 |
multiply p1 and p2, put that on the front, and return :out: = 2 3 4 5 (level 4) |
| 626 |
Call returned, return value was 2 3 4 5 (level 3) |
| 627 |
p1: 2, p2: 3, rest: 4 5 |
| 628 |
multiply p1 and p2, put that on the front, and return :out: = 6 4 5 (level 3) |
| 629 |
Call returned, return value was 6 4 5 (level 2) |
| 630 |
p1: 6, p2: 4, rest: 5 |
| 631 |
multiply p1 and p2, put that on the front, and return :out: = 24 5 (level 2) |
| 632 |
Call returned, return value was 24 5 (level 1) |
| 633 |
p1: 24, p2: 5, rest: |
| 634 |
multiply p1 and p2, put that on the front, and return :out: = 120 (level 1) |
| 635 |
5 factorial_returnarg is 120 (level 0) |
| 636 |
|
| 637 |
|
| 638 |
and now do some fully isolated forking calls |
| 639 |
Returned output = In the fork... data window is This is the original data window. It shouldn't change (level 0) |
| 640 |
Inputted; now the data window is: this string is your input |
| 641 |
Changing the data window in this fork. |
| 642 |
Now the data window is: This is a _changed_ data window, local to this SYSCALLed fork. |
| 643 |
(level 0) |
| 644 |
Returned status: |
| 645 |
DEAD MINION, EXIT CODE: 123 |
| 646 |
And the data window is now: This is the original data window. It shouldn't change |
| 647 |
|
| 648 |
TRANSLATE basic functionality test |
| 649 |
|
| 650 |
original: foo bar zappa 0123456789.,?`~!@#$%^&*()_-+= XYZZY QUICK BROWN FOX a-e |
| 651 |
rot13: sbb one mnccn 0123456789.,?`~!@#$%^&*()_-+= XYZZY QUICK BROWN FOX n-r |
| 652 |
again: foo bar zappa 0123456789.,?`~!@#$%^&*()_-+= XYZZY QUICK BROWN FOX a-e |
| 653 |
invrange: ull yzi azkkz 9876543210.,?`~!@#$%^&*()_-+= XYZZY QUICK BROWN FOX z-v |
| 654 |
unique: fo bar zapa 0123456789.,?`~!@#$%^&*()_-+= XYZZY QUICK BROWN FOX a-e |
| 655 |
invrange: ull yzi azkkz 0123456789.,?`~!@#$%^&*()_-+= XYZZY QUICK BROWN FOX z-v |
| 656 |
literal: foo bzr azppz 0123456789.,?`~!@#$%^&*()_-+= XYZZY QUICK BROWN FOX z-e |
| 657 |
lit+uniq: foo bzr azppz 0123456789.,?`~!@#$%^&*()_-+= XYZZY QUICK BROWN FOX z-e |
| 658 |
deletion: 02468.,?`~!@#$%^&*()_-+= XYZZY QUICK BROWN FOX - |
| 659 |
del-inv: foobarzappa13579ae |
| 660 |
del-inv2: xyywxwxwxwzzww0y2z4w6x8yywxwwxyzwxyyywxzxzzwXYZZYwQUICKwBROWNwFOXwwxw |
| 661 |
srcvar: FOO BAR ZAPPA 0123456789.,?`~!@#$%^&*()_-+= xyzzy quick brown fox A-E |
| 662 |
src-dest: ULL YZI AZKKZ 0123456789.,?`~!@#$%^&*()_-+= cbaab jfrxp yildm ulc Z-V |
| 663 |
version: 20100106-BlameMichelson ( TRE 0.7.5 (LGPL) ) |
| 664 |
|
| 665 |
noSpaces before: Are The Russian Involved ? |
| 666 |
noSpaces after : AreTheRussianInvolved? |
| 667 |
|
| 668 |
withSpaces before: Nuclear Combat Toe To Toe With The Rooskies ! |
| 669 |
withSpaces after : NuclearCombatToeToToeWithTheRooskies! |
| 670 |
|
| 671 |
|
| 672 |
#! /usr/bin/crm |
| 673 |
# |
| 674 |
# quine.crm - produce program's own source code as output |
| 675 |
|
| 676 |
# Copyright 2009 William S. Yerazunis. |
| 677 |
# This file is under GPLv3, as described in COPYING. |
| 678 |
|
| 679 |
{ |
| 680 |
window |
| 681 |
output /:*:_pgm_text:/ |
| 682 |
} |
| 683 |
|
| 684 |
|
| 685 |
one two three |
| 686 |
|
| 687 |
***** checking return and exit codes |
| 688 |
Status: DEAD MINION, EXIT CODE: 123 |
| 689 |
|
| 690 |
***** check that failed syscalls will code right |
| 691 |
Status: DEAD MINION, EXIT CODE: 127 |
| 692 |
result -->you hit the jackpot<--->and that's good<--->:frobotz:<--- |
| 693 |
|
| 694 |
**** Default (SBPH Markovian) classifier |
| 695 |
type A |
| 696 |
CLASSIFY fails; success probability: 0.0000 pR: -11.4360 |
| 697 |
Best match to file #1 (a_test.css) prob: 1.0000 pR: 11.4360 |
| 698 |
Total features in input file: 192 |
| 699 |
#0 (m_test.css): features: 63522, hits: 129, prob: 3.66e-12, pR: -11.44 |
| 700 |
#1 (a_test.css): features: 68546, hits: 4319, prob: 1.00e+00, pR: 11.44 |
| 701 |
|
| 702 |
type M |
| 703 |
CLASSIFY succeeds; success probability: 0.9875 pR: 1.8989 |
| 704 |
Best match to file #0 (m_test.css) prob: 0.9875 pR: 1.8989 |
| 705 |
Total features in input file: 130 |
| 706 |
#0 (m_test.css): features: 63522, hits: 749, prob: 9.88e-01, pR: 1.90 |
| 707 |
#1 (a_test.css): features: 68546, hits: 248, prob: 1.25e-02, pR: -1.90 |
| 708 |
|
| 709 |
|
| 710 |
**** OSB Markovian classifier |
| 711 |
type A |
| 712 |
CLASSIFY fails; success probability: 0.0007 pR: -3.1804 |
| 713 |
Best match to file #1 (a_test.css) prob: 0.9993 pR: 3.1804 |
| 714 |
Total features in input file: 48 |
| 715 |
#0 (m_test.css): features: 15881, hits: 7, prob: 6.60e-04, pR: -3.18 |
| 716 |
#1 (a_test.css): features: 17137, hits: 488, prob: 9.99e-01, pR: 3.18 |
| 717 |
|
| 718 |
type M |
| 719 |
CLASSIFY succeeds; success probability: 0.8832 pR: 0.8787 |
| 720 |
Best match to file #0 (m_test.css) prob: 0.8832 pR: 0.8787 |
| 721 |
Total features in input file: 40 |
| 722 |
#0 (m_test.css): features: 15881, hits: 340, prob: 8.83e-01, pR: 0.88 |
| 723 |
#1 (a_test.css): features: 17137, hits: 8, prob: 1.17e-01, pR: -0.88 |
| 724 |
|
| 725 |
|
| 726 |
**** OSB Markov Unique classifier |
| 727 |
type A |
| 728 |
CLASSIFY fails; success probability: 0.0007 pR: -3.1365 |
| 729 |
Best match to file #1 (a_test.css) prob: 0.9993 pR: 3.1365 |
| 730 |
Total features in input file: 48 |
| 731 |
#0 (m_test.css): features: 15047, hits: 7, prob: 7.30e-04, pR: -3.14 |
| 732 |
#1 (a_test.css): features: 14993, hits: 426, prob: 9.99e-01, pR: 3.14 |
| 733 |
|
| 734 |
type M |
| 735 |
CLASSIFY succeeds; success probability: 0.8612 pR: 0.7928 |
| 736 |
Best match to file #0 (m_test.css) prob: 0.8612 pR: 0.7928 |
| 737 |
Total features in input file: 40 |
| 738 |
#0 (m_test.css): features: 15047, hits: 112, prob: 8.61e-01, pR: 0.79 |
| 739 |
#1 (a_test.css): features: 14993, hits: 4, prob: 1.39e-01, pR: -0.79 |
| 740 |
|
| 741 |
|
| 742 |
**** OSB Markov Chisquared Unique classifier |
| 743 |
type A |
| 744 |
CLASSIFY fails; success probability: 0.0000 pR: -6.0741 |
| 745 |
Best match to file #1 (a_test.css) prob: 1.0000 pR: 6.0741 |
| 746 |
Total features in input file: 48 |
| 747 |
#0 (m_test.css): features: 15047, hits: 1, chi2: 3.20e+01, pR: -6.07 |
| 748 |
#1 (a_test.css): features: 14993, hits: 33, chi2: 2.94e-02, pR: 6.07 |
| 749 |
|
| 750 |
type M |
| 751 |
CLASSIFY succeeds; success probability: 0.8238 pR: 0.6700 |
| 752 |
Best match to file #0 (m_test.css) prob: 0.8238 pR: 0.6700 |
| 753 |
Total features in input file: 40 |
| 754 |
#0 (m_test.css): features: 15047, hits: 9, chi2: 1.11e+01, pR: 0.67 |
| 755 |
#1 (a_test.css): features: 14993, hits: 1, chi2: 2.40e+01, pR: -0.67 |
| 756 |
|
| 757 |
|
| 758 |
**** OSBF Local Confidence (Fidelis) classifier |
| 759 |
type A |
| 760 |
CLASSIFY fails; success probability: 0.0538 pR: -1.2453 |
| 761 |
Best match to file #1 (a_test.css) prob: 0.9462 pR: 1.2453 |
| 762 |
Total features in input file: 48 |
| 763 |
#0 (m_test.css): hits: 1, ufeats: 1, prob: 5.38e-02, pR: -1.25 |
| 764 |
#1 (a_test.css): hits: 33, ufeats: 33, prob: 9.46e-01, pR: 1.25 |
| 765 |
|
| 766 |
type M |
| 767 |
CLASSIFY succeeds; success probability: 0.6823 pR: 0.3319 |
| 768 |
Best match to file #0 (m_test.css) prob: 0.6823 pR: 0.3319 |
| 769 |
Total features in input file: 40 |
| 770 |
#0 (m_test.css): hits: 9, ufeats: 9, prob: 6.82e-01, pR: 0.33 |
| 771 |
#1 (a_test.css): hits: 1, ufeats: 1, prob: 3.18e-01, pR: -0.33 |
| 772 |
|
| 773 |
|
| 774 |
**** OSB Winnow classifier |
| 775 |
type A |
| 776 |
CLASSIFY fails; success probability: 0.4347 pR: -1.1415 |
| 777 |
Best match to file #1 (a_test.css) weight: 55.3809 pR: 2.2485 |
| 778 |
Total features in input file: 48 |
| 779 |
#0 (m_test.css): features: 30529.10, unseen: 1.50e+01, weight: 4.26e+01, pR: 1.11 |
| 780 |
#1 (a_test.css): features: 30507.50, unseen: 1.50e+01, weight: 5.54e+01, pR: 2.25 |
| 781 |
|
| 782 |
type M |
| 783 |
CLASSIFY succeeds; success probability: 0.5199 pR: 0.3454 |
| 784 |
Best match to file #0 (m_test.css) weight: 41.8609 pR: 6.6757 |
| 785 |
Total features in input file: 40 |
| 786 |
#0 (m_test.css): features: 30529.10, unseen: 3.10e+01, weight: 4.19e+01, pR: 6.68 |
| 787 |
#1 (a_test.css): features: 30507.50, unseen: 3.10e+01, weight: 3.87e+01, pR: 6.33 |
| 788 |
|
| 789 |
|
| 790 |
|
| 791 |
**** Now verify that winnow learns affect only the named file (m_test.css) |
| 792 |
type M |
| 793 |
CLASSIFY succeeds; success probability: 0.5213 pR: 0.3697 |
| 794 |
Best match to file #0 (m_test.css) weight: 42.0957 pR: 6.7000 |
| 795 |
Total features in input file: 40 |
| 796 |
#0 (m_test.css): features: 47122.80, unseen: 3.10e+01, weight: 4.21e+01, pR: 6.70 |
| 797 |
#1 (a_test.css): features: 30507.50, unseen: 3.10e+01, weight: 3.87e+01, pR: 6.33 |
| 798 |
|
| 799 |
|
| 800 |
|
| 801 |
and now refute-learn into a_test.css |
| 802 |
type M |
| 803 |
CLASSIFY succeeds; success probability: 0.5224 pR: 0.3892 |
| 804 |
Best match to file #0 (m_test.css) weight: 42.0957 pR: 6.7000 |
| 805 |
Total features in input file: 40 |
| 806 |
#0 (m_test.css): features: 47122.80, unseen: 3.10e+01, weight: 4.21e+01, pR: 6.70 |
| 807 |
#1 (a_test.css): features: 42181.02, unseen: 3.10e+01, weight: 3.85e+01, pR: 6.31 |
| 808 |
|
| 809 |
|
| 810 |
**** Unigram Bayesian classifier |
| 811 |
type A |
| 812 |
CLASSIFY fails; success probability: 0.1570 pR: -0.7300 |
| 813 |
Best match to file #1 (a_test.css) prob: 0.8430 pR: 0.7300 |
| 814 |
Total features in input file: 12 |
| 815 |
#0 (m_test.css): features: 3972, hits: 125, prob: 1.57e-01, pR: -0.73 |
| 816 |
#1 (a_test.css): features: 4286, hits: 283, prob: 8.43e-01, pR: 0.73 |
| 817 |
|
| 818 |
type M |
| 819 |
CLASSIFY succeeds; success probability: 0.7226 pR: 0.4157 |
| 820 |
Best match to file #0 (m_test.css) prob: 0.7226 pR: 0.4157 |
| 821 |
Total features in input file: 10 |
| 822 |
#0 (m_test.css): features: 3972, hits: 205, prob: 7.23e-01, pR: 0.42 |
| 823 |
#1 (a_test.css): features: 4286, hits: 240, prob: 2.77e-01, pR: -0.42 |
| 824 |
|
| 825 |
|
| 826 |
**** unigram Winnow classifier |
| 827 |
type A |
| 828 |
CLASSIFY fails; success probability: 0.4432 pR: -0.9918 |
| 829 |
Best match to file #1 (a_test.css) weight: 13.7145 pR: 0.5800 |
| 830 |
Total features in input file: 12 |
| 831 |
#0 (m_test.css): features: 3056.52, unseen: 0.00e+00, weight: 1.09e+01, pR: -0.41 |
| 832 |
#1 (a_test.css): features: 2901.72, unseen: 0.00e+00, weight: 1.37e+01, pR: 0.58 |
| 833 |
|
| 834 |
type M |
| 835 |
CLASSIFY succeeds; success probability: 0.5652 pR: 1.1393 |
| 836 |
Best match to file #0 (m_test.css) weight: 10.4009 pR: 1.7197 |
| 837 |
Total features in input file: 9 |
| 838 |
#0 (m_test.css): features: 3056.52, unseen: 2.00e+00, weight: 1.04e+01, pR: 1.72 |
| 839 |
#1 (a_test.css): features: 2901.72, unseen: 2.00e+00, weight: 8.00e+00, pR: 0.58 |
| 840 |
|
| 841 |
|
| 842 |
**** OSB Hyperspace classifier |
| 843 |
type A |
| 844 |
CLASSIFY fails; success probability: 0.0010 pR: -30.1365 |
| 845 |
Best match to file #1 (a_test.css) prob: 0.9990 pR: 30.1365 |
| 846 |
Total features in input file: 47 |
| 847 |
#0 (m_test.css): features: 15048, hits: 1, radiance: 6.63e-05, prob: 9.68e-04, pR: -30.14 |
| 848 |
#1 (a_test.css): features: 14994, hits: 32, radiance: 6.84e-02, prob: 9.99e-01, pR: 30.14 |
| 849 |
|
| 850 |
type M |
| 851 |
CLASSIFY succeeds; success probability: 1.0000 pR: 216.2810 |
| 852 |
Best match to file #0 (m_test.css) prob: 1.0000 pR: 216.2810 |
| 853 |
Total features in input file: 39 |
| 854 |
#0 (m_test.css): features: 15048, hits: 8, radiance: 4.25e-03, prob: 1.00e+00, pR: 216.28 |
| 855 |
#1 (a_test.css): features: 14994, hits: 0, radiance: 0.00e+00, prob: 2.35e-22, pR: -216.28 |
| 856 |
|
| 857 |
|
| 858 |
**** OSB three-letter Hyperspace classifier |
| 859 |
type A |
| 860 |
CLASSIFY fails; success probability: 0.1947 pR: -6.1669 |
| 861 |
Best match to file #1 (a_test.css) prob: 0.8053 pR: 6.1669 |
| 862 |
Total features in input file: 11 |
| 863 |
#0 (m_test.css): features: 4348, hits: 5, radiance: 5.75e-03, prob: 1.95e-01, pR: -6.17 |
| 864 |
#1 (a_test.css): features: 4214, hits: 10, radiance: 2.38e-02, prob: 8.05e-01, pR: 6.17 |
| 865 |
|
| 866 |
type M |
| 867 |
CLASSIFY succeeds; success probability: 0.6695 pR: 3.0659 |
| 868 |
Best match to file #0 (m_test.css) prob: 0.6695 pR: 3.0659 |
| 869 |
Total features in input file: 14 |
| 870 |
#0 (m_test.css): features: 4348, hits: 13, radiance: 3.90e-02, prob: 6.70e-01, pR: 3.07 |
| 871 |
#1 (a_test.css): features: 4214, hits: 9, radiance: 1.92e-02, prob: 3.30e-01, pR: -3.07 |
| 872 |
|
| 873 |
|
| 874 |
**** Unigram Hyperspace classifier |
| 875 |
type A |
| 876 |
CLASSIFY fails; success probability: 0.1628 pR: -7.1107 |
| 877 |
Best match to file #1 (a_test.css) prob: 0.8372 pR: 7.1107 |
| 878 |
Total features in input file: 11 |
| 879 |
#0 (m_test.css): features: 1794, hits: 5, radiance: 1.39e-02, prob: 1.63e-01, pR: -7.11 |
| 880 |
#1 (a_test.css): features: 1406, hits: 10, radiance: 7.17e-02, prob: 8.37e-01, pR: 7.11 |
| 881 |
|
| 882 |
type M |
| 883 |
CLASSIFY succeeds; success probability: 0.9660 pR: 14.5322 |
| 884 |
Best match to file #0 (m_test.css) prob: 0.9660 pR: 14.5322 |
| 885 |
Total features in input file: 9 |
| 886 |
#0 (m_test.css): features: 1794, hits: 6, radiance: 2.01e-02, prob: 9.66e-01, pR: 14.53 |
| 887 |
#1 (a_test.css): features: 1406, hits: 1, radiance: 7.09e-04, prob: 3.40e-02, pR: -14.53 |
| 888 |
|
| 889 |
|
| 890 |
**** String Hyperspace classifier |
| 891 |
type A |
| 892 |
CLASSIFY fails; success probability: 0.0955 pR: -9.7666 |
| 893 |
Best match to file #1 (a_test.css) prob: 0.9045 pR: 9.7666 |
| 894 |
Total features in input file: 61 |
| 895 |
#0 (m_test.css): features: 22670, hits: 17, radiance: 1.27e-02, prob: 9.55e-02, pR: -9.77 |
| 896 |
#1 (a_test.css): features: 22452, hits: 52, radiance: 1.21e-01, prob: 9.05e-01, pR: 9.77 |
| 897 |
|
| 898 |
type M |
| 899 |
CLASSIFY succeeds; success probability: 0.8340 pR: 7.0113 |
| 900 |
Best match to file #0 (m_test.css) prob: 0.8340 pR: 7.0113 |
| 901 |
Total features in input file: 72 |
| 902 |
#0 (m_test.css): features: 22670, hits: 45, radiance: 8.94e-02, prob: 8.34e-01, pR: 7.01 |
| 903 |
#1 (a_test.css): features: 22452, hits: 20, radiance: 1.78e-02, prob: 1.66e-01, pR: -7.01 |
| 904 |
|
| 905 |
|
| 906 |
**** String Unigram Hyperspace classifier |
| 907 |
type A |
| 908 |
CLASSIFY fails; success probability: 0.2121 pR: -5.7002 |
| 909 |
Best match to file #1 (a_test.css) prob: 0.7879 pR: 5.7002 |
| 910 |
Total features in input file: 11 |
| 911 |
#0 (m_test.css): features: 3971, hits: 5, radiance: 6.30e-03, prob: 2.12e-01, pR: -5.70 |
| 912 |
#1 (a_test.css): features: 4285, hits: 10, radiance: 2.34e-02, prob: 7.88e-01, pR: 5.70 |
| 913 |
|
| 914 |
type M |
| 915 |
CLASSIFY succeeds; success probability: 0.9750 pR: 15.9041 |
| 916 |
Best match to file #0 (m_test.css) prob: 0.9750 pR: 15.9041 |
| 917 |
Total features in input file: 9 |
| 918 |
#0 (m_test.css): features: 3971, hits: 6, radiance: 9.08e-03, prob: 9.75e-01, pR: 15.90 |
| 919 |
#1 (a_test.css): features: 4285, hits: 1, radiance: 2.33e-04, prob: 2.50e-02, pR: -15.90 |
| 920 |
|
| 921 |
|
| 922 |
**** Vector 3-word-bag Hyperspace classifier |
| 923 |
type A |
| 924 |
CLASSIFY fails; success probability: 0.0000 pR: -220.5875 |
| 925 |
Best match to file #1 (a_test.css) prob: 1.0000 pR: 220.5875 |
| 926 |
Total features in input file: 11 |
| 927 |
#0 (m_test.css): features: 3971, hits: 0, radiance: 0.00e+00, prob: 8.73e-23, pR: -220.59 |
| 928 |
#1 (a_test.css): features: 4285, hits: 7, radiance: 1.14e-02, prob: 1.00e+00, pR: 220.59 |
| 929 |
|
| 930 |
type M |
| 931 |
CLASSIFY succeeds; success probability: 1.0000 pR: 204.0055 |
| 932 |
Best match to file #0 (m_test.css) prob: 1.0000 pR: 204.0055 |
| 933 |
Total features in input file: 9 |
| 934 |
#0 (m_test.css): features: 3971, hits: 1, radiance: 2.52e-04, prob: 1.00e+00, pR: 204.01 |
| 935 |
#1 (a_test.css): features: 4285, hits: 0, radiance: 0.00e+00, prob: 3.98e-21, pR: -204.01 |
| 936 |
|
| 937 |
|
| 938 |
**** Bit-Entropy classifier |
| 939 |
type A |
| 940 |
CLASSIFY fails; success probability: 0.0000 pR: -12.0014 |
| 941 |
Best match to file #1 (a_test.css) prob: 1.0000 pR: 12.0014 |
| 942 |
Total features in input file: 496 |
| 943 |
#0 (m_test.css): features: 181352 (3%), entropy: 434.778519, jumps: 31, prob: 9.97e-13, pR: -12.00 |
| 944 |
#1 (a_test.css): features: 179608 (3%), entropy: 144.839378, jumps: 5, prob: 1.00e+00, pR: 12.00 |
| 945 |
|
| 946 |
type M |
| 947 |
CLASSIFY succeeds; success probability: 1.0000 pR: 6.3285 |
| 948 |
Best match to file #0 (m_test.css) prob: 1.0000 pR: 6.3285 |
| 949 |
Total features in input file: 584 |
| 950 |
#0 (m_test.css): features: 181352 (3%), entropy: 385.057958, jumps: 29, prob: 1.00e+00, pR: 6.33 |
| 951 |
#1 (a_test.css): features: 179608 (3%), entropy: 537.946666, jumps: 39, prob: 4.69e-07, pR: -6.33 |
| 952 |
|
| 953 |
|
| 954 |
**** Bit-Entropy Toroid classifier |
| 955 |
type A |
| 956 |
CLASSIFY fails; success probability: 0.0000 pR: -7.5206 |
| 957 |
Best match to file #1 (a_test.css) prob: 1.0000 pR: 7.5206 |
| 958 |
Total features in input file: 496 |
| 959 |
#0 (m_test.css): features: 181352 (100%), entropy: 464.920710, jumps: 33, prob: 3.02e-08, pR: -7.52 |
| 960 |
#1 (a_test.css): features: 179608 (100%), entropy: 283.231656, jumps: 13, prob: 1.00e+00, pR: 7.52 |
| 961 |
|
| 962 |
type M |
| 963 |
CLASSIFY succeeds; success probability: 1.0000 pR: 5.1811 |
| 964 |
Best match to file #0 (m_test.css) prob: 1.0000 pR: 5.1811 |
| 965 |
Total features in input file: 584 |
| 966 |
#0 (m_test.css): features: 181352 (100%), entropy: 550.166118, jumps: 41, prob: 1.00e+00, pR: 5.18 |
| 967 |
#1 (a_test.css): features: 179608 (100%), entropy: 675.335081, jumps: 53, prob: 6.59e-06, pR: -5.18 |
| 968 |
|
| 969 |
|
| 970 |
**** Fast Substring Compression Match Classifier |
| 971 |
type A |
| 972 |
CLASSIFY fails; success probability: 0.1272 pR: -167.2656 |
| 973 |
Best match to file #1 (a_test.css) prob: 0.8728 pR: 167.2656 |
| 974 |
Total features in input file: 62 |
| 975 |
#0 (m_test.css): features: 22673, chcs: 30.40, prob: 1.27e-01, pR: -167.27 |
| 976 |
#1 (a_test.css): features: 22455, chcs: 208.52, prob: 8.73e-01, pR: 167.27 |
| 977 |
|
| 978 |
type M |
| 979 |
CLASSIFY succeeds; success probability: 0.7143 pR: 79.5911 |
| 980 |
Best match to file #0 (m_test.css) prob: 0.7143 pR: 79.5911 |
| 981 |
Total features in input file: 73 |
| 982 |
#0 (m_test.css): features: 22673, chcs: 138.32, prob: 7.14e-01, pR: 79.59 |
| 983 |
#1 (a_test.css): features: 22455, chcs: 55.33, prob: 2.86e-01, pR: -79.59 |
| 984 |
|
| 985 |
|
| 986 |
**** Neural Network Classifier |
| 987 |
type A |
| 988 |
CLASSIFY fails; success probability: 0.495362 pR: -1.7894 |
| 989 |
Best match to file #1 (a_test.css) prob: 0.5046 pR: 95.1750 |
| 990 |
Total features in input file: 220 |
| 991 |
#0 (m_test.css): feats: 33029 ic: 0.95 oc: 0.04 prob: 4.95e-01, pR: 90.08 |
| 992 |
#1 (a_test.css): feats: 33029 ic: 0.98 oc: 0.03 prob: 5.05e-01, pR: 95.17 |
| 993 |
|
| 994 |
type A |
| 995 |
CLASSIFY fails; success probability: 0.448415 pR: -17.9280 |
| 996 |
Best match to file #1 (a_test.css) prob: 0.5516 pR: 93.7239 |
| 997 |
Total features in input file: 188 |
| 998 |
#0 (m_test.css): feats: 33029 ic: 0.77 oc: 0.20 prob: 4.48e-01, pR: 55.70 |
| 999 |
#1 (a_test.css): feats: 33029 ic: 0.97 oc: 0.04 prob: 5.52e-01, pR: 93.72 |
| 1000 |
|
| 1001 |
**** Alternating Example Neural Network Classifier TRAINING |
| 1002 |
|
| 1003 |
**** Alternating Example Neural Network Classifier RUNNING TEST |
| 1004 |
type A |
| 1005 |
CLASSIFY fails; success probability: 0.093212 pR: -81.8632 |
| 1006 |
Best match to file #1 (a_test.css) prob: 0.9068 pR: 83.5828 |
| 1007 |
Total features in input file: 220 |
| 1008 |
#0 (m_test.css): feats: 5826 ic: 0.09 oc: 0.90 prob: 9.32e-02, pR: -80.16 |
| 1009 |
#1 (a_test.css): feats: 5826 ic: 0.92 oc: 0.09 prob: 9.07e-01, pR: 83.58 |
| 1010 |
|
| 1011 |
type M |
| 1012 |
CLASSIFY succeeds; success probability: 0.671733 pR: 39.6054 |
| 1013 |
Best match to file #0 (m_test.css) prob: 0.6717 pR: 51.5804 |
| 1014 |
Total features in input file: 175 |
| 1015 |
#0 (m_test.css): feats: 5826 ic: 0.76 oc: 0.26 prob: 6.72e-01, pR: 51.58 |
| 1016 |
#1 (a_test.css): feats: 5826 ic: 0.39 oc: 0.65 prob: 3.28e-01, pR: -27.42 |
| 1017 |
|
| 1018 |
|
| 1019 |
**** Support Vector Machine (SVM) unigram classifier |
| 1020 |
type M |
| 1021 |
CLASSIFY succeeds success probability: 0.688203 pR: 1.5838 |
| 1022 |
Best match to class #0 prob: 0.6882 pR: 1.5838 |
| 1023 |
Total features in input file: 12 |
| 1024 |
#0 (label +1): documents: 193, features: 3567, prob: 6.88e-01, pR: 1.58 |
| 1025 |
#1 (label -1): documents: 57, features: 3174, prob: 3.12e-01, pR: -1.58 |
| 1026 |
|
| 1027 |
type M |
| 1028 |
CLASSIFY succeeds success probability: 0.855189 pR: 7.4081 |
| 1029 |
Best match to class #0 prob: 0.8552 pR: 7.4081 |
| 1030 |
Total features in input file: 9 |
| 1031 |
#0 (label +1): documents: 193, features: 3567, prob: 8.55e-01, pR: 7.41 |
| 1032 |
#1 (label -1): documents: 57, features: 3174, prob: 1.45e-01, pR: -7.41 |
| 1033 |
|
| 1034 |
|
| 1035 |
**** Support Vector Machine (SVM) classifier |
| 1036 |
type M |
| 1037 |
CLASSIFY succeeds success probability: 0.677904 pR: 1.4405 |
| 1038 |
Best match to class #0 prob: 0.6779 pR: 1.4405 |
| 1039 |
Total features in input file: 48 |
| 1040 |
#0 (label +1): documents: 193, features: 15809, prob: 6.78e-01, pR: 1.44 |
| 1041 |
#1 (label -1): documents: 57, features: 16604, prob: 3.22e-01, pR: -1.44 |
| 1042 |
|
| 1043 |
type M |
| 1044 |
CLASSIFY succeeds success probability: 0.801854 pR: 4.3443 |
| 1045 |
Best match to class #0 prob: 0.8019 pR: 4.3443 |
| 1046 |
Total features in input file: 40 |
| 1047 |
#0 (label +1): documents: 193, features: 15809, prob: 8.02e-01, pR: 4.34 |
| 1048 |
#1 (label -1): documents: 57, features: 16604, prob: 1.98e-01, pR: -4.34 |
| 1049 |
|
| 1050 |
**** Alternating Example SVM Network Classifier TRAINING |
| 1051 |
|
| 1052 |
**** Alternating Example SVM Network Classifier RUNNING TEST |
| 1053 |
type A |
| 1054 |
CLASSIFY fails success probability: 0.075773 pR: -19.0619 |
| 1055 |
Best match to class #1 prob: 0.9242 pR: 19.0619 |
| 1056 |
Total features in input file: 150 |
| 1057 |
#0 (label +1): documents: 16, features: 2025, prob: 7.58e-02, pR: -19.06 |
| 1058 |
#1 (label -1): documents: 15, features: 2026, prob: 9.24e-01, pR: 19.06 |
| 1059 |
|
| 1060 |
type M |
| 1061 |
CLASSIFY succeeds success probability: 0.784357 pR: 3.7026 |
| 1062 |
Best match to class #0 prob: 0.7844 pR: 3.7026 |
| 1063 |
Total features in input file: 143 |
| 1064 |
#0 (label +1): documents: 16, features: 2025, prob: 7.84e-01, pR: 3.70 |
| 1065 |
#1 (label -1): documents: 15, features: 2026, prob: 2.16e-01, pR: -3.70 |
| 1066 |
|
| 1067 |
|
| 1068 |
**** String Kernel SVM (SKS) classifier |
| 1069 |
type M |
| 1070 |
CLASSIFY succeeds; success probability: 0.9749 pR: 15.8927 |
| 1071 |
Best match to file #0 (m_test.css) prob: 0.9749 pR: 15.8927 |
| 1072 |
Total features in input file: 62 |
| 1073 |
#0 (m_test.css):documents: 193, features: 22281, prob: 9.75e-01, pR: 15.89 |
| 1074 |
#1 (a_test.css):documents: 57, features: 22045, prob: 2.51e-02, pR: -15.89 |
| 1075 |
|
| 1076 |
type M |
| 1077 |
CLASSIFY succeeds; success probability: 0.9782 pR: 16.5262 |
| 1078 |
Best match to file #0 (m_test.css) prob: 0.9782 pR: 16.5262 |
| 1079 |
Total features in input file: 73 |
| 1080 |
#0 (m_test.css):documents: 193, features: 22281, prob: 9.78e-01, pR: 16.53 |
| 1081 |
#1 (a_test.css):documents: 57, features: 22045, prob: 2.18e-02, pR: -16.53 |
| 1082 |
|
| 1083 |
|
| 1084 |
**** String Kernel SVM (SKS) Unique classifier |
| 1085 |
type M |
| 1086 |
CLASSIFY succeeds; success probability: 0.9114 pR: 10.1239 |
| 1087 |
Best match to file #0 (m_test.css) prob: 0.9114 pR: 10.1239 |
| 1088 |
Total features in input file: 61 |
| 1089 |
#0 (m_test.css):documents: 193, features: 19836, prob: 9.11e-01, pR: 10.12 |
| 1090 |
#1 (a_test.css):documents: 57, features: 17656, prob: 8.86e-02, pR: -10.12 |
| 1091 |
|
| 1092 |
type M |
| 1093 |
CLASSIFY succeeds; success probability: 0.8047 pR: 6.1506 |
| 1094 |
Best match to file #0 (m_test.css) prob: 0.8047 pR: 6.1506 |
| 1095 |
Total features in input file: 70 |
| 1096 |
#0 (m_test.css):documents: 193, features: 19836, prob: 8.05e-01, pR: 6.15 |
| 1097 |
#1 (a_test.css):documents: 57, features: 17656, prob: 1.95e-01, pR: -6.15 |
| 1098 |
|
| 1099 |
|
| 1100 |
**** Bytewise Correlation classifier |
| 1101 |
type A |
| 1102 |
CLASSIFY fails; success probability: 0.0083 pR: -2.0751 |
| 1103 |
Best match to file #1 (Alice_In_Wonderland_Chap_1_And_2.txt) prob: 0.9917 pR: 2.0751 |
| 1104 |
Total features in input file: 22451 |
| 1105 |
#0 (Macbeth_Act_IV.txt): features: 22669, L1: 83555 L2: 114702 L3: 173428, l4: 358614 prob: 8.34e-03, pR: -2.08 |
| 1106 |
#1 (Alice_In_Wonderland_Chap_1_And_2.txt): features: 22451, L1: 96783 L2: 180165 L3: 1550947, l4: 49378101 prob: 9.92e-01, pR: 2.08 |
| 1107 |
|
| 1108 |
type M |
| 1109 |
CLASSIFY succeeds; success probability: 0.9223 pR: 1.0742 |
| 1110 |
Best match to file #0 (Macbeth_Act_IV.txt) prob: 0.9223 pR: 1.0742 |
| 1111 |
Total features in input file: 22669 |
| 1112 |
#0 (Macbeth_Act_IV.txt): features: 22669, L1: 406150 L2: 611044 L3: 2022288, l4: 28898980 prob: 9.22e-01, pR: 1.07 |
| 1113 |
#1 (Alice_In_Wonderland_Chap_1_And_2.txt): features: 22451, L1: 476674 L2: 678005 L3: 1148703, l4: 2858981 prob: 7.77e-02, pR: -1.07 |
| 1114 |
|
| 1115 |
|
| 1116 |
**** Clump / Pmulc Test |
| 1117 |
............................................... Unsure result |
| 1118 |
PMULC fails; success probabilty: 0.0089 pR: -20.4448 |
| 1119 |
Best match to clump #24 (clump_#24) prob: 0.0089 pR: -20.4448 |
| 1120 |
Closest document: #38 (document_#38) affinity: 0.7076 |
| 1121 |
Total features in input file: 211 |
| 1122 |
1: (clump_#1): documents: 3 affinity: 0.1321 prob: 0.0000 pR: -70.0000 |
| 1123 |
2: (clump_#2): documents: 2 affinity: 0.1186 prob: 0.0000 pR: -70.0000 |
| 1124 |
3: (clump_#3): documents: 1 affinity: 0.1380 prob: 0.0000 pR: -70.0000 |
| 1125 |
4: (clump_#4): documents: 4 affinity: 0.1298 prob: 0.0000 pR: -70.0000 |
| 1126 |
5: (clump_#5): documents: 1 affinity: 0.1121 prob: 0.0000 pR: -70.0000 |
| 1127 |
6: (clump_#6): documents: 1 affinity: 0.1431 prob: 0.0000 pR: -70.0000 |
| 1128 |
7: (clump_#7): documents: 2 affinity: 0.1300 prob: 0.0000 pR: -70.0000 |
| 1129 |
8: (clump_#8): documents: 1 affinity: 0.0980 prob: 0.0000 pR: -70.0000 |
| 1130 |
9: (clump_#9): documents: 1 affinity: 0.1564 prob: 0.0000 pR: -70.0000 |
| 1131 |
10: (clump_#10): documents: 7 affinity: 0.1173 prob: 0.0000 pR: -70.0000 |
| 1132 |
11: (clump_#11): documents: 1 affinity: 0.1436 prob: 0.0000 pR: -70.0000 |
| 1133 |
12: (clump_#12): documents: 1 affinity: 0.1392 prob: 0.0000 pR: -70.0000 |
| 1134 |
13: (clump_#13): documents: 1 affinity: 0.1042 prob: 0.0000 pR: -70.0000 |
| 1135 |
14: (clump_#14): documents: 2 affinity: 0.1344 prob: 0.0000 pR: -70.0000 |
| 1136 |
15: (clump_#15): documents: 1 affinity: 0.1171 prob: 0.0000 pR: -70.0000 |
| 1137 |
16: (clump_#16): documents: 1 affinity: 0.1116 prob: 0.0000 pR: -70.0000 |
| 1138 |
17: (clump_#17): documents: 1 affinity: 0.1134 prob: 0.0000 pR: -70.0000 |
| 1139 |
18: (clump_#18): documents: 2 affinity: 0.1162 prob: 0.0000 pR: -70.0000 |
| 1140 |
19: (clump_#19): documents: 1 affinity: 0.1019 prob: 0.0000 pR: -70.0000 |
| 1141 |
20: (clump_#20): documents: 1 affinity: 0.1322 prob: 0.0000 pR: -70.0000 |
| 1142 |
21: (clump_#21): documents: 1 affinity: 0.1461 prob: 0.0000 pR: -70.0000 |
| 1143 |
22: (clump_#22): documents: 1 affinity: 0.1169 prob: 0.0000 pR: -70.0000 |
| 1144 |
23: (clump_#23): documents: 1 affinity: 0.1131 prob: 0.0000 pR: -70.0000 |
| 1145 |
24: (clump_#24): documents: 9 affinity: 0.2366 prob: 0.0089 pR: -20.4448 |
| 1146 |
|
| 1147 |
Likely result: |
| 1148 |
PMULC succeeds; success probabilty: 1.0000 pR: 60.3644 |
| 1149 |
Best match to clump #2 (clump_#2) prob: 1.0000 pR: 60.3644 |
| 1150 |
Closest document: #1 (document_#1) affinity: 0.7264 |
| 1151 |
Total features in input file: 179 |
| 1152 |
1: (clump_#1): documents: 3 affinity: 0.1365 prob: 0.0000 pR: -70.0000 |
| 1153 |
2: (clump_#2): documents: 2 affinity: 0.4956 prob: 1.0000 pR: 60.3644 |
| 1154 |
3: (clump_#3): documents: 1 affinity: 0.1242 prob: 0.0000 pR: -70.0000 |
| 1155 |
4: (clump_#4): documents: 4 affinity: 0.1411 prob: 0.0000 pR: -70.0000 |
| 1156 |
5: (clump_#5): documents: 1 affinity: 0.1009 prob: 0.0000 pR: -70.0000 |
| 1157 |
6: (clump_#6): documents: 1 affinity: 0.0933 prob: 0.0000 pR: -70.0000 |
| 1158 |
7: (clump_#7): documents: 2 affinity: 0.1343 prob: 0.0000 pR: -70.0000 |
| 1159 |
8: (clump_#8): documents: 1 affinity: 0.1013 prob: 0.0000 pR: -70.0000 |
| 1160 |
9: (clump_#9): documents: 1 affinity: 0.1053 prob: 0.0000 pR: -70.0000 |
| 1161 |
10: (clump_#10): documents: 7 affinity: 0.1213 prob: 0.0000 pR: -70.0000 |
| 1162 |
11: (clump_#11): documents: 1 affinity: 0.1484 prob: 0.0000 pR: -70.0000 |
| 1163 |
12: (clump_#12): documents: 1 affinity: 0.1253 prob: 0.0000 pR: -70.0000 |
| 1164 |
13: (clump_#13): documents: 1 affinity: 0.1077 prob: 0.0000 pR: -70.0000 |
| 1165 |
14: (clump_#14): documents: 2 affinity: 0.1080 prob: 0.0000 pR: -70.0000 |
| 1166 |
15: (clump_#15): documents: 1 affinity: 0.0877 prob: 0.0000 pR: -70.0000 |
| 1167 |
16: (clump_#16): documents: 1 affinity: 0.1474 prob: 0.0000 pR: -70.0000 |
| 1168 |
17: (clump_#17): documents: 1 affinity: 0.1346 prob: 0.0000 pR: -70.0000 |
| 1169 |
18: (clump_#18): documents: 2 affinity: 0.1201 prob: 0.0000 pR: -70.0000 |
| 1170 |
19: (clump_#19): documents: 1 affinity: 0.1053 prob: 0.0000 pR: -70.0000 |
| 1171 |
20: (clump_#20): documents: 1 affinity: 0.1366 prob: 0.0000 pR: -70.0000 |
| 1172 |
21: (clump_#21): documents: 1 affinity: 0.1094 prob: 0.0000 pR: -70.0000 |
| 1173 |
22: (clump_#22): documents: 1 affinity: 0.1388 prob: 0.0000 pR: -70.0000 |
| 1174 |
23: (clump_#23): documents: 1 affinity: 0.1018 prob: 0.0000 pR: -70.0000 |
| 1175 |
24: (clump_#24): documents: 9 affinity: 0.1191 prob: 0.0000 pR: -70.0000 |
| 1176 |
|
| 1177 |
Likely result: |
| 1178 |
0 (document_#0) clump: 1 (clump_#1) affinity: 0.1255 |
| 1179 |
1 (document_#1) clump: 2 (clump_#2) affinity: 0.2121 |
| 1180 |
2 (document_#2) clump: 2 (clump_#2) affinity: 0.2121 |
| 1181 |
3 (document_#3) clump: 3 (clump_#3) affinity: 0.0000 |
| 1182 |
4 (document_#4) clump: 1 (clump_#1) affinity: 0.1628 |
| 1183 |
5 (document_#5) clump: 4 (clump_#4) affinity: 0.1535 |
| 1184 |
6 (document_#6) clump: 4 (clump_#4) affinity: 0.1334 |
| 1185 |
7 (document_#7) clump: 4 (clump_#4) affinity: 0.1957 |
| 1186 |
8 (document_#8) clump: 4 (clump_#4) affinity: 0.1598 |
| 1187 |
9 (document_#9) clump: 5 (clump_#5) affinity: 0.0000 |
| 1188 |
10 (document_#10) clump: 1 (clump_#1) affinity: 0.1821 |
| 1189 |
11 (document_#11) clump: 6 (clump_#6) affinity: 0.0000 |
| 1190 |
12 (document_#12) clump: 7 (clump_#7) affinity: 0.1364 |
| 1191 |
13 (document_#13) clump: 7 (clump_#7) affinity: 0.1364 |
| 1192 |
14 (document_#14) clump: 8 (clump_#8) affinity: 0.0000 |
| 1193 |
15 (document_#15) clump: 9 (clump_#9) affinity: 0.0000 |
| 1194 |
16 (document_#16) clump: 10 (clump_#10) affinity: 0.1744 |
| 1195 |
17 (document_#17) clump: 10 (clump_#10) affinity: 0.1882 |
| 1196 |
18 (document_#18) clump: 10 (clump_#10) affinity: 0.1999 |
| 1197 |
19 (document_#19) clump: 10 (clump_#10) affinity: 0.1940 |
| 1198 |
20 (document_#20) clump: 10 (clump_#10) affinity: 0.1593 |
| 1199 |
21 (document_#21) clump: 10 (clump_#10) affinity: 0.1684 |
| 1200 |
22 (document_#22) clump: 10 (clump_#10) affinity: 0.1682 |
| 1201 |
23 (document_#23) clump: 11 (clump_#11) affinity: 0.0000 |
| 1202 |
24 (document_#24) clump: 12 (clump_#12) affinity: 0.0000 |
| 1203 |
25 (document_#25) clump: 13 (clump_#13) affinity: 0.0000 |
| 1204 |
26 (document_#26) clump: 14 (clump_#14) affinity: 0.0916 |
| 1205 |
27 (document_#27) clump: 15 (clump_#15) affinity: 0.0000 |
| 1206 |
28 (document_#28) clump: 16 (clump_#16) affinity: 0.0000 |
| 1207 |
29 (document_#29) clump: 17 (clump_#17) affinity: 0.0000 |
| 1208 |
30 (document_#30) clump: 18 (clump_#18) affinity: 0.0892 |
| 1209 |
31 (document_#31) clump: 18 (clump_#18) affinity: 0.0892 |
| 1210 |
32 (document_#32) clump: 19 (clump_#19) affinity: 0.0000 |
| 1211 |
33 (document_#33) clump: 20 (clump_#20) affinity: 0.0000 |
| 1212 |
34 (document_#34) clump: 14 (clump_#14) affinity: 0.0916 |
| 1213 |
35 (document_#35) clump: 21 (clump_#21) affinity: 0.0000 |
| 1214 |
36 (document_#36) clump: 22 (clump_#22) affinity: 0.0000 |
| 1215 |
37 (document_#37) clump: 23 (clump_#23) affinity: 0.0000 |
| 1216 |
38 (document_#38) clump: 24 (clump_#24) affinity: 0.2282 |
| 1217 |
39 (document_#39) clump: 24 (clump_#24) affinity: 0.2296 |
| 1218 |
40 (document_#40) clump: 24 (clump_#24) affinity: 0.2475 |
| 1219 |
41 (document_#41) clump: 24 (clump_#24) affinity: 0.2399 |
| 1220 |
42 (document_#42) clump: 24 (clump_#24) affinity: 0.2422 |
| 1221 |
43 (document_#43) clump: 24 (clump_#24) affinity: 0.1964 |
| 1222 |
44 (document_#44) clump: 24 (clump_#24) affinity: 0.2248 |
| 1223 |
45 (document_#45) clump: 24 (clump_#24) affinity: 0.2493 |
| 1224 |
46 (document_#46) clump: 24 (clump_#24) affinity: 0.2191 |
| 1225 |
|
| 1226 |
|
| 1227 |
**** Principal Component Analysis (PCA) unigram classifier |
| 1228 |
type A |
| 1229 |
CLASSIFY fails success probability: 0.499846 pR: -0.3073 |
| 1230 |
Best match to class #1 prob: 0.5002 pR: 0.3073 |
| 1231 |
Total features in input file: 11 |
| 1232 |
#0 (label +1): documents: 193, features: 3567, prob: 5.00e-01, pR: -0.31 |
| 1233 |
#1 (label -1): documents: 57, features: 3174, prob: 5.00e-01, pR: 0.31 |
| 1234 |
|
| 1235 |
type M |
| 1236 |
CLASSIFY succeeds success probability: 0.506965 pR: 13.9301 |
| 1237 |
Best match to class #0 prob: 0.5070 pR: 13.9301 |
| 1238 |
Total features in input file: 8 |
| 1239 |
#0 (label +1): documents: 193, features: 3567, prob: 5.07e-01, pR: 13.93 |
| 1240 |
#1 (label -1): documents: 57, features: 3174, prob: 4.93e-01, pR: -13.93 |
| 1241 |
|
| 1242 |
|
| 1243 |
**** Principal Component Analysis (PCA) classifier |
| 1244 |
type A |
| 1245 |
CLASSIFY fails success probability: 0.497977 pR: -4.0453 |
| 1246 |
Best match to class #1 prob: 0.5020 pR: 4.0453 |
| 1247 |
Total features in input file: 47 |
| 1248 |
#0 (label +1): documents: 193, features: 15809, prob: 4.98e-01, pR: -4.05 |
| 1249 |
#1 (label -1): documents: 57, features: 16604, prob: 5.02e-01, pR: 4.05 |
| 1250 |
|
| 1251 |
type M |
| 1252 |
CLASSIFY succeeds success probability: 0.502855 pR: 5.7103 |
| 1253 |
Best match to class #0 prob: 0.5029 pR: 5.7103 |
| 1254 |
Total features in input file: 39 |
| 1255 |
#0 (label +1): documents: 193, features: 15809, prob: 5.03e-01, pR: 5.71 |
| 1256 |
#1 (label -1): documents: 57, features: 16604, prob: 4.97e-01, pR: -5.71 |
| 1257 |
|
| 1258 |
**** Alternating Example PCA Network Classifier TRAINING |
| 1259 |
|
| 1260 |
**** Alternating Example PCA Network Classifier RUNNING TEST |
| 1261 |
type A |
| 1262 |
CLASSIFY fails success probability: 0.171492 pR: -787.5435 |
| 1263 |
Best match to class #1 prob: 0.8285 pR: 787.5435 |
| 1264 |
Total features in input file: 149 |
| 1265 |
#0 (label +1): documents: 16, features: 2025, prob: 1.71e-01, pR: -787.54 |
| 1266 |
#1 (label -1): documents: 15, features: 2026, prob: 8.29e-01, pR: 787.54 |
| 1267 |
|
| 1268 |
type M |
| 1269 |
CLASSIFY succeeds success probability: 0.779493 pR: 631.3570 |
| 1270 |
Best match to class #0 prob: 0.7795 pR: 631.3570 |
| 1271 |
Total features in input file: 142 |
| 1272 |
#0 (label +1): documents: 16, features: 2025, prob: 7.79e-01, pR: 631.36 |
| 1273 |
#1 (label -1): documents: 15, features: 2026, prob: 2.21e-01, pR: -631.36 |
| 1274 |
|