Output Analysis: |
Line |
|
Possible Points |
|
Deduc -tions |
|
Your Program's Output |
|
1 | |
1 | |
| |
This is an example of a correct line. |
|
2 | |
1 | |
| |
This line is also OK. |
|
3 | |
10 | |
| |
temperature of medium: 150.17 |
|
expected output: | |
temperature of medium: 160.17 |
|
-2 | |
word 4: found "150.17" when expecting "160.17" |
|
4 | |
14 | |
| |
5.0 616.26 23.30 |
|
expected output: | |
5.0 616.26 24.30 |
|
-4 | |
word 3: found "23.30" when expecting "24.30" |
|
5 | |
1 | |
| |
The next line is a "fuzzy compare" example. |
|
6 | |
14 | |
| |
5.0 616.26 23.30 |
|
expected output: | |
5.0 616.26 24.30 |
|
-4 | |
word 3: number "23.30" is too far from expected number "24.30" |
|
expected output: | |
------------------------------ |
|
1 | |
-1 | |
missing line |
|
7 | |
0 | |
| |
|
|
8 | |
1 | |
| |
These error samples are from test2
(tokenized lines). |
|
9 | |
0 | |
| |
|
|
10 | |
8 | |
| |
yo! |
|
expected output: | |
|
|
-8 | |
word 1 (yo!) should not be generated |
|
11 | |
9 | |
| |
yo ma |
|
expected output: | |
yo yo ma |
|
-3 | |
word 2: found "ma" when expecting "yo" |
|
-3 | |
missing word 3 (ma) from expected output |
|
12 | |
20 | |
| |
hello |
|
expected output: | |
hello there big boss. |
|
-5 | |
missing word 2 (there) from expected output |
|
-5 | |
missing word 3 (big) from expected output |
|
-5 | |
missing word 4 (boss.) from expected output |
|
13 | |
25 | |
| |
hussein coolest vastani. |
|
expected output: | |
hussein cool vastani |
|
-5 | |
word 2: found "coolest" when expecting "cool" |
|
14 | |
33 | |
| |
make your dreamz reality. |
|
expected output: | |
make your dreams reality. |
|
-30 | |
word 3: found "dreamz" when expecting "dreams" |
|
15 | |
12 | |
| |
hope this woks also kya?. |
|
expected output: | |
hope this works also. |
|
-2 | |
word 3: found "woks" when expecting "works" |
|
-2 | |
word 4: found "also" when expecting "also." |
|
-3 | |
word 5 (kya?.) should not be generated |
|
16 | |
| |
| |
Whats up dawg? |
|
-2 | |
this line should not be generated |
|
17 | |
0 | |
| |
|
|
18 | |
1 | |
| |
These error samples are from test02
(non-tokenized lines). |
|
19 | |
0 | |
| |
|
|
20 | |
10 | |
| |
He is going to 100.25 |
|
expected output: | |
He is 7 8 100.20 |
|
-10 | |
line does not match expected output |
|
21 | |
10 | |
| |
He is 6 6.6 100.48 |
|
expected output: | |
He is 5 5.5 100.50 |
|
-10 | |
line does not match expected output |
|
22 | |
1 | |
| |
This is the next-to-last line. |
|
23 | |
1 | |
| |
This is the last line generated by my program. |
|
 |
Total deductions: -37 |