check50

cs50/problems/2020/x/houses


:) import.py, roster.py exist

Log
checking that import.py exists...
checking that roster.py exists...

:( import.py correctly imports Harry Potter

Cause
expected "[{'first': 'Ha...", not "[]"

Log
running python3 import.py students.csv...

Expected Output:
[{'first': 'Harry', 'middle': 'James', 'last': 'Potter', 'house': 'Gryffindor', 'birth': 1980}]
Actual Output:
[]

:( import.py correctly imports Luna Lovegood

Cause
expected "[{'first': 'Lu...", not "[]"

Log
running python3 import.py students.csv...

Expected Output:
[{'first': 'Luna', 'middle': None, 'last': 'Lovegood', 'house': 'Ravenclaw', 'birth': 1981}]
Actual Output:
[]

:) import.py imports the correct number of rows

Log
running python3 import.py students.csv...

:) roster.py produces correct Hufflepuff roster

Log
running python3 roster.py Hufflepuff...

:) roster.py produces correct Gryffindor roster

Log
running python3 roster.py Gryffindor...