## Evaluator Report

Student:
Question:

### student name — student roll number

File: submissions/sample_solutions.ipynb

Total: 24/24 (100.0%)

Question: check_number
**Return:** A string such as `'Positive'`, `'Negative'`, or `'Zero'`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert check_number(5) == 'Positive' | passed | 1 |
assert check_number(-3) == 'Negative' | passed | 1 |
assert check_number(0) == 'Zero' | passed | 1 |

Question: numbers_1_to_n
Example if n = 5 then **Return:** `[1, 2, 3, 4, 5]`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert numbers_1_to_n(5) == [1, 2, 3, 4, 5] | passed | 1 |

Question: even_numbers_1_to_n
Example if n = 11 then **Return:** `[2, 4, 6, 8, 10]`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert even_numbers_1_to_n(11) == [2, 4, 6, 8, 10] | passed | 1 |

Question: square_number
**Example:** For input `4`, return `16`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert square_number(4) == 16 | passed | 1 |
assert square_number(0) == 0 | passed | 1 |

Question: check_password
**Example:** Input `'java'` → `'Access Denied'`; Input `'python'` → `'Access Granted'`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert check_password('python') == 'Access Granted' | passed | 1 |
assert check_password('PYTHON') == 'Access Denied' | passed | 1 |
assert check_password('java') == 'Access Denied' | passed | 1 |

Question: larger_number
**Example:** Input `(4, 9)` → `9` **Return:** The larger number.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert larger_number(4, 9) == 9 | passed | 1 |
assert larger_number(10, 3) == 10 | passed | 1 |
assert larger_number(5, 5) == 5 | passed | 1 |

Question: even_or_odd
**Example:** Input `4` → `'Even'`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert even_or_odd(2) == 'Even' | passed | 1 |
assert even_or_odd(3) == 'Odd' | passed | 1 |

Question: sum_1_to_n
**Example:** Input `5` → `15` because 1+2

Assertion | Status | Score | Error
--- | --- | --- | ---
assert sum_1_to_n(5) == 15 | passed | 1 |
assert sum_1_to_n(10) == 55 | passed | 1 |

Question: squares_1_to_n
if n is 5 **Return:** `[1, 4, 9, 16, 25]`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert squares_1_to_n(5) == [1, 4, 9, 16, 25] | passed | 1 |

Question: count_letter
**Example:** Input `('banana', 'a')` **Return:** `3`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert count_letter('banana', 'a') == 3 | passed | 1 |
assert count_letter('apple', 'p') == 2 | passed | 1 |
assert count_letter('python', 'z') == 0 | passed | 1 |

Question: average_of_three
**Example:** Input `(4, 8, 10)` → `7.3333...` **Return:** The arithmetic mean of the three numbers.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert round(average_of_three(4, 8, 10), 2) == 7.33 | passed | 1 |
assert average_of_three(3, 3, 3) == 3 | passed | 1 |
assert average_of_three(10, 0, 5) == 5 | passed | 1 |

### student name — student roll number

File: submissions/student_notebook.ipynb

Total: 0/24 (0.0%)

Question: check_number
**Return:** A string such as `'Positive'`, `'Negative'`, or `'Zero'`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert check_number(5) == 'Positive' | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert check_number(-3) == 'Negative' | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert check_number(0) == 'Zero' | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: numbers_1_to_n
Example if n = 5 then **Return:** `[1, 2, 3, 4, 5]`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert numbers_1_to_n(5) == [1, 2, 3, 4, 5] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: even_numbers_1_to_n
Example if n = 11 then **Return:** `[2, 4, 6, 8, 10]`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert even_numbers_1_to_n(11) == [2, 4, 6, 8, 10] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: square_number
**Example:** For input `4`, return `16`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert square_number(4) == 16 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert square_number(0) == 0 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: check_password
**Example:** Input `'java'` → `'Access Denied'`; Input `'python'` → `'Access Granted'`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert check_password('python') == 'Access Granted' | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert check_password('PYTHON') == 'Access Denied' | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert check_password('java') == 'Access Denied' | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: larger_number
**Example:** Input `(4, 9)` → `9` **Return:** The larger number.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert larger_number(4, 9) == 9 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert larger_number(10, 3) == 10 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert larger_number(5, 5) == 5 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: even_or_odd
**Example:** Input `4` → `'Even'`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert even_or_odd(2) == 'Even' | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert even_or_odd(3) == 'Odd' | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: sum_1_to_n
**Example:** Input `5` → `15` because 1+2

Assertion | Status | Score | Error
--- | --- | --- | ---
assert sum_1_to_n(5) == 15 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert sum_1_to_n(10) == 55 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: squares_1_to_n
if n is 5 **Return:** `[1, 4, 9, 16, 25]`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert squares_1_to_n(5) == [1, 4, 9, 16, 25] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: count_letter
**Example:** Input `('banana', 'a')` **Return:** `3`

Assertion | Status | Score | Error
--- | --- | --- | ---
assert count_letter('banana', 'a') == 3 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert count_letter('apple', 'p') == 2 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert count_letter('python', 'z') == 0 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: average_of_three
**Example:** Input `(4, 8, 10)` → `7.3333...` **Return:** The arithmetic mean of the three numbers.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert round(average_of_three(4, 8, 10), 2) == 7.33 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: type NoneType doesn't define __round__ method
assert average_of_three(3, 3, 3) == 3 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert average_of_three(10, 0, 5) == 5 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/src/evaluator/comparison/comparison_service.py", line 35, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError