def execute(self, input_data):
        my_ssdeep = input_data['meta_deep']['ssdeep']
        my_md5 = input_data['meta_deep']['md5']

        # For every PE sample in the database compute my ssdeep fuzzy match
        sample_set = self.workbench.generate_sample_set('exe')
        results = self.workbench.set_work_request('meta_deep', sample_set, ['md5','ssdeep'])
        sim_list = []
        for result in results:
            if result['md5'] != my_md5:
                sim_list.append({'md5':result['md5'], 'sim':ssd.compare(my_ssdeep, result['ssdeep'])})

        # Sort and return the sim_list (with some logic for threshold)
        sim_list.sort(key=itemgetter('sim'), reverse=True)
        output_list = [sim for sim in sim_list if sim['sim'] > 0]
        return {'md5': my_md5, 'sim_list':output_list}
Execute method
dataset/ETHPy150Open SuperCowPowers/workbench/workbench/workers/pe_deep_sim.py/PEDeepSim.execute