def emit(self, filename=None):
        if not self.finished:
            self.finish()
        
        if filename is None:
            return pickle.dumps(self.results)
        else:
            f = open(filename, 'w')
            pickle.dump(self.results, f)
            f.close()
spits out a pickled object of the results
dataset/ETHPy150Open sunlightlabs/clearspending/completeness/__init__.py/MetricTester.emit