I believe this fixes Issue 13 which I also ran into. The KeyError exception is not caught in localDAO get_map when item_idx does not exist for a given ans_key. This can happen when no users provided ans_key for item_idx. There was a previous comment to return an empty list in these cases which I have done and this resolves the error for me and provides sensible results. This is not caught in the localDAO test as the test data contains only a single question id.
I believe this fixes Issue 13 which I also ran into. The KeyError exception is not caught in localDAO get_map when item_idx does not exist for a given ans_key. This can happen when no users provided ans_key for item_idx. There was a previous comment to return an empty list in these cases which I have done and this resolves the error for me and provides sensible results. This is not caught in the localDAO test as the test data contains only a single question id.