Passed: 13 / 13 Total Score: 100.0 / 100.0

Test Build

Status:

Passed

Score:

10 / 10

Test Decode Small

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

a aa  aaa   aaaa     aaaaa
                                                     

Expected (Correct Output)

a aa  aaa   aaaa     aaaaa
                                                     

Test Decode Simple

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

the quick brown fox jumped over the lazy dog
                                   

Expected (Correct Output)

the quick brown fox jumped over the lazy dog
                                   

Test Decode Message

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

Congratulations. You are learning how to program!
                              

Expected (Correct Output)

Congratulations. You are learning how to program!
                              

Test Decode Nephi

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

I, Nephi, having been born of goodly parents, therefore I was
taught somewhat in all the learning of my father; and having seen
many afflictions in the course of my days, nevertheless, having
been highly favored of the Lord in all my days; yea, having had a
great knowledge of the goodness and the mysteries of God,
therefore I make a record of my proceedings in my days.
Yea, I make a record in the language of my father, which
consists of the learning of the Jews and the language of the
Egyptians.

Expected (Correct Output)

I, Nephi, having been born of goodly parents, therefore I was
taught somewhat in all the learning of my father; and having seen
many afflictions in the course of my days, nevertheless, having
been highly favored of the Lord in all my days; yea, having had a
great knowledge of the goodness and the mysteries of God,
therefore I make a record of my proceedings in my days.
Yea, I make a record in the language of my father, which
consists of the learning of the Jews and the language of the
Egyptians.

Test Encode Small

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

x xx  xxx   xxxx     xxxxx
                                                     

Expected (Correct Output)

x xx  xxx   xxxx     xxxxx
                                                     

Test Encode Simple

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

fvk dyzgp alrej hrt nycwku rikl fvk oxbs urm
                                   

Expected (Correct Output)

fvk dyzgp alrej hrt nycwku rikl fvk oxbs urm
                                   

Test Encode Message

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

Grjmlxfyoxfzrjq. Sry xlk okxljzjm vre fr wlrmlxc!
                              

Expected (Correct Output)

Grjmlxfyoxfzrjq. Sry xlk okxljzjm vre fr wlrmlxc!
                              

Test Encode Nephi

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

Z, Jkwvz, vxizjm akkj arlj rh mrruos wxlkjfq, fvklkhrlk Z exq
fxymvf qrckevxf zj xoo fvk okxljzjm rh cs hxfvkl; xju vxizjm qkkj
cxjs xhhozgfzrjq zj fvk grylqk rh cs uxsq, jkiklfvkokqq, vxizjm
akkj vzmvos hxirlku rh fvk Orlu zj xoo cs uxsq; skx, vxizjm vxu x
mlkxf pjreokumk rh fvk mrrujkqq xju fvk csqfklzkq rh Mru,
fvklkhrlk Z cxpk x lkgrlu rh cs wlrgkkuzjmq zj cs uxsq.
Skx, Z cxpk x lkgrlu zj fvk oxjmyxmk rh cs hxfvkl, evzgv
grjqzqfq rh fvk okxljzjm rh fvk Nkeq xju fvk oxjmyxmk rh fvk
Kmswfzxjq.

Expected (Correct Output)

Z, Jkwvz, vxizjm akkj arlj rh mrruos wxlkjfq, fvklkhrlk Z exq
fxymvf qrckevxf zj xoo fvk okxljzjm rh cs hxfvkl; xju vxizjm qkkj
cxjs xhhozgfzrjq zj fvk grylqk rh cs uxsq, jkiklfvkokqq, vxizjm
akkj vzmvos hxirlku rh fvk Orlu zj xoo cs uxsq; skx, vxizjm vxu x
mlkxf pjreokumk rh fvk mrrujkqq xju fvk csqfklzkq rh Mru,
fvklkhrlk Z cxpk x lkgrlu rh cs wlrgkkuzjmq zj cs uxsq.
Skx, Z cxpk x lkgrlu zj fvk oxjmyxmk rh cs hxfvkl, evzgv
grjqzqfq rh fvk okxljzjm rh fvk Nkeq xju fvk oxjmyxmk rh fvk
Kmswfzxjq.

Test Frequency Small

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

{'a': 0.556, ' ': 0.407, '\n': 0.037}
                                          

Expected (Correct Output)

{'a': 0.556, ' ': 0.407, '\n': 0.037}
                                          

Test Frequency Simple

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

{'t': 0.044, 'h': 0.044, 'e': 0.089, ' ': 0.178, 'q': 0.022, 'u': 0.044, 'i': 0.022, 'c': 0.022, 'k': 0.022, 'b': 0.022, 'r': 0.044, 'o': 0.089, 'w': 0.022, 'n': 0.022, 'f': 0.022, 'x': 0.022, 'j': 0.022, 'm': 0.022, 'p': 0.022, 'd': 0.044, 'v': 0.022, 'l': 0.022, 'a': 0.022, 'z': 0.022, 'y': 0.022, 'g': 0.022, '\n': 0.022}

Expected (Correct Output)

{'t': 0.044, 'h': 0.044, 'e': 0.089, ' ': 0.178, 'q': 0.022, 'u': 0.044, 'i': 0.022, 'c': 0.022, 'k': 0.022, 'b': 0.022, 'r': 0.044, 'o': 0.089, 'w': 0.022, 'n': 0.022, 'f': 0.022, 'x': 0.022, 'j': 0.022, 'm': 0.022, 'p': 0.022, 'd': 0.044, 'v': 0.022, 'l': 0.022, 'a': 0.022, 'z': 0.022, 'y': 0.022, 'g': 0.022, '\n': 0.022}

Test Frequency Message

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

{'c': 0.02, 'o': 0.12, 'n': 0.08, 'g': 0.06, 'r': 0.1, 'a': 0.1, 't': 0.06, 'u': 0.04, 'l': 0.04, 'i': 0.04, 's': 0.02, '.': 0.02, ' ': 0.12, 'y': 0.02, 'e': 0.04, 'h': 0.02, 'w': 0.02, 'p': 0.02, 'm': 0.02, '!': 0.02, '\n': 0.02}

Expected (Correct Output)

{'c': 0.02, 'o': 0.12, 'n': 0.08, 'g': 0.06, 'r': 0.1, 'a': 0.1, 't': 0.06, 'u': 0.04, 'l': 0.04, 'i': 0.04, 's': 0.02, '.': 0.02, ' ': 0.12, 'y': 0.02, 'e': 0.04, 'h': 0.02, 'w': 0.02, 'p': 0.02, 'm': 0.02, '!': 0.02, '\n': 0.02}

Test Frequency Nephi

Status:

Passed

Score:

7.5 / 7.5

Observed (Your Actual Output)

{'i': 0.048, ',': 0.018, ' ': 0.168, 'n': 0.064, 'e': 0.106, 'p': 0.008, 'h': 0.054, 'a': 0.074, 'v': 0.012, 'g': 0.038, 'b': 0.006, 'o': 0.058, 'r': 0.042, 'f': 0.036, 'd': 0.032, 'l': 0.028, 'y': 0.032, 't': 0.048, 's': 0.042, 'w': 0.01, '\n': 0.018, 'u': 0.008, 'm': 0.022, ';': 0.004, 'c': 0.014, 'k': 0.006, '.': 0.004, 'j': 0.002}

Expected (Correct Output)

{'i': 0.048, ',': 0.018, ' ': 0.168, 'n': 0.064, 'e': 0.106, 'p': 0.008, 'h': 0.054, 'a': 0.074, 'v': 0.012, 'g': 0.038, 'b': 0.006, 'o': 0.058, 'r': 0.042, 'f': 0.036, 'd': 0.032, 'l': 0.028, 'y': 0.032, 't': 0.048, 's': 0.042, 'w': 0.01, '\n': 0.018, 'u': 0.008, 'm': 0.022, ';': 0.004, 'c': 0.014, 'k': 0.006, '.': 0.004, 'j': 0.002}