I finished HW4req and submitted it for testing, passing 9/9 tests. Just out of curiosity I de-commented the tests "04" and "09" in test01.py and ran the tests on my machine, but they both fail, generating ever so slightly different matrices than expected (and incorrect sync indexes). In the case of test 04 the difference is the position of a single "1".
Could it be an issue with my program or are those tests simply disfunctional remnants?
EDIT: I wrote "In the case of test 09" but I meant "test 04", the Divine Comedy one; Fixed
UPDATE: After some debugging it seems that it is an encoding(?) issue: in test 04 the sequence ?"—" in line ~600 somehow turns into â inside my function, instead of space, which in turn returns an extra empty string, causing an extra zero to be added next to this "word". A similar issue appears with test 09 on a larger scale. I had trouble working with particular characters before, even though my text editor is set to UTF-8 and # -*- coding: utf-8 -*- is still in line 1 of my program; I'll find a solution eventually. Everything turned out fine in the VM so far, hopefully it'll keep this way!