Hmm not sure if there's any point in mentioning beta errors in this thread (that people in other places didn't find and reported already) but just in case. These code bits:
the checks results will always be false, resulting in empty set. It should be checking in
instead.
Python:
knownclasses = []
if (1 in oldpersondex["Instructor Ramos"]):
knownclasses.append("Grass")
// ...
oldpersondex["Instructor Ramos"]["ClassesKnown"]
etcinstead.