## Evaluator Report

Sort By:
Student:

### Perfection — 007

File: submissions/sample_solutions.ipynb

Total: 29/29 (100.0%)

Question: question_eight
Split a sentence into words (split on whitespace).

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_eight("hello world") == ["hello","world"] | passed | 1 |
assert question_eight("") == [] | passed | 1 |

Question: question_eighteen
Return concatenated DataFrame with reset index.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert len(out)==2 and list(out['x'])==[1,2] | passed | 1 |

Question: question_eleven
Return intersection of two lists as a set.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_eleven([1,2,3],[2,3,4]) == {2,3} | passed | 1 |

Question: question_fifteen
Given a list, return a pandas Series of value_counts sorted by index.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert isinstance(s, pd.Series) | passed | 1 |
assert s.loc['a'] == 2 and s.loc['b'] == 1 | passed | 1 |

Question: question_five
Invert a dict mapping k->v into v->list_of_k.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_five({'a':1,'b':2,'c':1}) == {1:['a','c'],2:['b']} | passed | 1 |

Question: question_four
Flatten a list containing lists by one level.

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

Question: question_fourteen
Return only even numbers in original order.

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

Question: question_nine
Join a list of words with given separator.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_nine(["a","b"],"-") == "a-b" | passed | 1 |
assert question_nine([]) == "" | passed | 1 |

Question: question_nineteen
Group by 'key' and sum numeric column 'val'. Return DataFrame sorted by key.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['val'])==[4,2] and list(out['key'])==['a','b'] | passed | 1 |

Question: question_one
Return the sum of unique elements in a list (each element counted once).

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_one([1,2,2,3]) == 6 | passed | 1 |
assert question_one([]) == 0 | passed | 1 |

Question: question_seventeen
Perform inner merge on 'id' and return merged DataFrame.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['id']) == [2] | passed | 1 |
assert out.iloc[0]['x'] == 20 and out.iloc[0]['y'] == 200 | passed | 1 |

Question: question_six
Given two dicts with numeric values, return merged dict summing values for same keys.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_six({'x':1,'y':2},{'y':3,'z':4}) == {'x':1,'y':5,'z':4} | passed | 1 |

Question: question_sixteen
Given DataFrame with column 'name' = 'First Last', split into 'first' and 'last' columns.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['first']) == ['John','Alice'] | passed | 1 |
assert list(out['last']) == ['Doe','Smith'] | passed | 1 |

Question: question_ten
Return length of the longest word in sentence.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_ten("I love python") == 6 | passed | 1 |
assert question_ten("") == 0 | passed | 1 |

Question: question_thirteen
Return list of squares.

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

Question: question_three
Return a dict mapping element -> count.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_three([1,2,2,3]) == {1:1,2:2,3:1} | passed | 1 |
assert question_three([]) == {} | passed | 1 |

Question: question_twelve
Remove duplicates preserving the first occurrence order.

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

Question: question_twenty
Fill NA in numeric column 'num' with given fill_value and return DataFrame.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['num'])==[1,9,3] | passed | 1 |

Question: question_two
Return a new list that is the reverse of input list.

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

### Zero guy — 0000

File: submissions/student_answer_sheet.ipynb

Total: 0/30 (0.0%)

Question: question_eight
Split a sentence into words (split on whitespace).

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_eight("hello world") == ["hello","world"] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_eight("") == [] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_eighteen
Return concatenated DataFrame with reset index.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert len(out)==2 and list(out['x'])==[1,2] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: object of type 'NoneType' has no len()

Question: question_eleven
Return intersection of two lists as a set.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_eleven([1,2,3],[2,3,4]) == {2,3} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_fifteen
Given a list, return a pandas Series of value_counts sorted by index.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert isinstance(s, pd.Series) | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert s.loc['a'] == 2 and s.loc['b'] == 1 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AttributeError: 'NoneType' object has no attribute 'loc'

Question: question_five
Invert a dict mapping k->v into v->list_of_k.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_five({'a':1,'b':2,'c':1}) == {1:['a','c'],2:['b']} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_four
Flatten a list containing lists by one level.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_four([[1,2],[3,4]]) == [1,2,3,4] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_four([]) == [] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_fourteen
Return only even numbers in original order.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_fourteen([1,2,3,4]) == [2,4] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_nine
Join a list of words with given separator.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_nine(["a","b"],"-") == "a-b" | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_nine([]) == "" | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_nineteen
Group by 'key' and sum numeric column 'val'. Return DataFrame sorted by key.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['val'])==[4,2] and list(out['key'])==['a','b'] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable

Question: question_one
Return the sum of unique elements in a list (each element counted once).

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_one([1,2,2,3]) == 6 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_one([]) == 0 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_seven
Return top k frequent elements (order not important).

Assertion | Status | Score | Error
--- | --- | --- | ---
[context setup] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 39, in run_assertions exec(context_code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not iterable

Question: question_seventeen
Perform inner merge on 'id' and return merged DataFrame.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['id']) == [2] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable
assert out.iloc[0]['x'] == 20 and out.iloc[0]['y'] == 200 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AttributeError: 'NoneType' object has no attribute 'iloc'

Question: question_six
Given two dicts with numeric values, return merged dict summing values for same keys.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_six({'x':1,'y':2},{'y':3,'z':4}) == {'x':1,'y':5,'z':4} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_sixteen
Given DataFrame with column 'name' = 'First Last', split into 'first' and 'last' columns.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['first']) == ['John','Alice'] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable
assert list(out['last']) == ['Doe','Smith'] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable

Question: question_ten
Return length of the longest word in sentence.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_ten("I love python") == 6 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_ten("") == 0 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_thirteen
Return list of squares.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_thirteen([1,2,3]) == [1,4,9] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_three
Return a dict mapping element -> count.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_three([1,2,2,3]) == {1:1,2:2,3:1} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_three([]) == {} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_twelve
Remove duplicates preserving the first occurrence order.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_twelve([1,2,2,3,1]) == [1,2,3] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_twenty
Fill NA in numeric column 'num' with given fill_value and return DataFrame.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['num'])==[1,9,3] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable

Question: question_two
Return a new list that is the reverse of input list.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_two([1,2,3]) == [3,2,1] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_two([]) == [] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

### perfect but zero — 000 7 0000

File: submissions/student_assignment_partial_incorrect.ipynb

Total: 5/27 (18.52%)

Question: question_eight
Split a sentence into words (split on whitespace).

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_eight("hello world") == ["hello","world"] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_eight' is not defined. Did you mean: 'question_five'?
assert question_eight("") == [] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_eight' is not defined. Did you mean: 'question_five'?

Question: question_eighteen
Return concatenated DataFrame with reset index.

Assertion | Status | Score | Error
--- | --- | --- | ---
[context setup] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 39, in run_assertions exec(context_code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 4, in <module> NameError: name 'question_eighteen' is not defined. Did you mean: 'question_three'?

Question: question_eleven
Return intersection of two lists as a set.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_eleven([1,2,3],[2,3,4]) == {2,3} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_eleven' is not defined. Did you mean: 'question_five'?

Question: question_fifteen
Given a list, return a pandas Series of value_counts sorted by index.

Assertion | Status | Score | Error
--- | --- | --- | ---
[context setup] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 39, in run_assertions exec(context_code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 2, in <module> NameError: name 'question_fifteen' is not defined. Did you mean: 'question_five'?

Question: question_five
Invert a dict mapping k->v into v->list_of_k.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_five({'a':1,'b':2,'c':1}) == {1:['a','c'],2:['b']} | passed | 1 |

Question: question_four
Flatten a list containing lists by one level.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_four([[1,2],[3,4]]) == [1,2,3,4] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_four([]) == [] | passed | 1 |

Question: question_fourteen
Return only even numbers in original order.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_fourteen([1,2,3,4]) == [2,4] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_fourteen' is not defined. Did you mean: 'question_four'?

Question: question_nine
Join a list of words with given separator.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_nine(["a","b"],"-") == "a-b" | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_nine' is not defined. Did you mean: 'question_one'?
assert question_nine([]) == "" | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_nine' is not defined. Did you mean: 'question_one'?

Question: question_nineteen
Group by 'key' and sum numeric column 'val'. Return DataFrame sorted by key.

Assertion | Status | Score | Error
--- | --- | --- | ---
[context setup] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 39, in run_assertions exec(context_code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 3, in <module> NameError: name 'question_nineteen' is not defined

Question: question_one
Return the sum of unique elements in a list (each element counted once).

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_one([1,2,2,3]) == 6 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_one([]) == 0 | passed | 1 |

Question: question_seven
Return top k frequent elements (order not important).

Assertion | Status | Score | Error
--- | --- | --- | ---
[context setup] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 39, in run_assertions exec(context_code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_seven' is not defined. Did you mean: 'question_five'?

Question: question_seventeen
Perform inner merge on 'id' and return merged DataFrame.

Assertion | Status | Score | Error
--- | --- | --- | ---
[context setup] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 39, in run_assertions exec(context_code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 4, in <module> NameError: name 'question_seventeen' is not defined

Question: question_six
Given two dicts with numeric values, return merged dict summing values for same keys.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_six({'x':1,'y':2},{'y':3,'z':4}) == {'x':1,'y':5,'z':4} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_six' is not defined. Did you mean: 'question_one'?

Question: question_sixteen
Given DataFrame with column 'name' = 'First Last', split into 'first' and 'last' columns.

Assertion | Status | Score | Error
--- | --- | --- | ---
[context setup] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 39, in run_assertions exec(context_code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 3, in <module> NameError: name 'question_sixteen' is not defined. Did you mean: 'question_three'?

Question: question_ten
Return length of the longest word in sentence.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_ten("I love python") == 6 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_ten' is not defined. Did you mean: 'question_two'?
assert question_ten("") == 0 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_ten' is not defined. Did you mean: 'question_two'?

Question: question_thirteen
Return list of squares.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_thirteen([1,2,3]) == [1,4,9] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_thirteen' is not defined. Did you mean: 'question_three'?

Question: question_three
Return a dict mapping element -> count.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_three([1,2,2,3]) == {1:1,2:2,3:1} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_three([]) == {} | passed | 1 |

Question: question_twelve
Remove duplicates preserving the first occurrence order.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_twelve([1,2,2,3,1]) == [1,2,3] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'question_twelve' is not defined. Did you mean: 'question_two'?

Question: question_twenty
Fill NA in numeric column 'num' with given fill_value and return DataFrame.

Assertion | Status | Score | Error
--- | --- | --- | ---
[context setup] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 39, in run_assertions exec(context_code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 3, in <module> NameError: name 'question_twenty' is not defined. Did you mean: 'question_two'?

Question: question_two
Return a new list that is the reverse of input list.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_two([1,2,3]) == [3,2,1] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_two([]) == [] | passed | 1 |

### student name — student roll number

File: submissions/student_notebook.ipynb

Total: 0/30 (0.0%)

Question: question_eight
Split a sentence into words (split on whitespace).

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_eight("hello world") == ["hello","world"] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_eight("") == [] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_eighteen
Return concatenated DataFrame with reset index.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert len(out)==2 and list(out['x'])==[1,2] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: object of type 'NoneType' has no len()

Question: question_eleven
Return intersection of two lists as a set.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_eleven([1,2,3],[2,3,4]) == {2,3} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_fifteen
Given a list, return a pandas Series of value_counts sorted by index.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert isinstance(s, pd.Series) | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert s.loc['a'] == 2 and s.loc['b'] == 1 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AttributeError: 'NoneType' object has no attribute 'loc'

Question: question_five
Invert a dict mapping k->v into v->list_of_k.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_five({'a':1,'b':2,'c':1}) == {1:['a','c'],2:['b']} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_four
Flatten a list containing lists by one level.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_four([[1,2],[3,4]]) == [1,2,3,4] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_four([]) == [] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_fourteen
Return only even numbers in original order.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_fourteen([1,2,3,4]) == [2,4] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_nine
Join a list of words with given separator.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_nine(["a","b"],"-") == "a-b" | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_nine([]) == "" | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_nineteen
Group by 'key' and sum numeric column 'val'. Return DataFrame sorted by key.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['val'])==[4,2] and list(out['key'])==['a','b'] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable

Question: question_one
Return the sum of unique elements in a list (each element counted once).

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_one([1,2,2,3]) == 6 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_one([]) == 0 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_seven
Return top k frequent elements (order not important).

Assertion | Status | Score | Error
--- | --- | --- | ---
[context setup] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 39, in run_assertions exec(context_code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not iterable

Question: question_seventeen
Perform inner merge on 'id' and return merged DataFrame.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['id']) == [2] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable
assert out.iloc[0]['x'] == 20 and out.iloc[0]['y'] == 200 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AttributeError: 'NoneType' object has no attribute 'iloc'

Question: question_six
Given two dicts with numeric values, return merged dict summing values for same keys.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_six({'x':1,'y':2},{'y':3,'z':4}) == {'x':1,'y':5,'z':4} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_sixteen
Given DataFrame with column 'name' = 'First Last', split into 'first' and 'last' columns.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['first']) == ['John','Alice'] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable
assert list(out['last']) == ['Doe','Smith'] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable

Question: question_ten
Return length of the longest word in sentence.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_ten("I love python") == 6 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_ten("") == 0 | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_thirteen
Return list of squares.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_thirteen([1,2,3]) == [1,4,9] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_three
Return a dict mapping element -> count.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_three([1,2,2,3]) == {1:1,2:2,3:1} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_three([]) == {} | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_twelve
Remove duplicates preserving the first occurrence order.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_twelve([1,2,2,3,1]) == [1,2,3] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

Question: question_twenty
Fill NA in numeric column 'num' with given fill_value and return DataFrame.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert list(out['num'])==[1,9,3] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> TypeError: 'NoneType' object is not subscriptable

Question: question_two
Return a new list that is the reverse of input list.

Assertion | Status | Score | Error
--- | --- | --- | ---
assert question_two([1,2,3]) == [3,2,1] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError
assert question_two([]) == [] | failed | 0 | Traceback (most recent call last): File "/Volumes/MacSSD/Areas/Github_Repositories/evaluator/.venv/lib/python3.13/site-packages/instantgrade/comparison/comparison_service.py", line 57, in run_assertions exec(code, student_namespace) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> AssertionError

✖

### Student Summary

Student | Roll Number | File | Total Marks | Out of | Percentage
--- | --- | --- | --- | --- | ---
Perfection | 007 | sample_solutions.ipynb | 29 | 29 | 100.0%
perfect but zero | 000 7 0000 | student_assignment_partial_incorrect.ipynb | 5 | 27 | 18.52%
Zero guy | 0000 | student_answer_sheet.ipynb | 0 | 30 | 0.0%
student name | student roll number | student_notebook.ipynb | 0 | 30 | 0.0%