added pretty_errored_instances.py