def test_fuzzers_with_not_enough_samples(): experiment_df = create_experiment_data() # Drop one of the afl/libxml trials (trial id 5). experiment_df = experiment_df[experiment_df.trial_id != 5] benchmark_df = experiment_df[experiment_df.benchmark == 'libxml'] snapshot_df = data_utils.get_benchmark_snapshot(benchmark_df) expected_fuzzers = ['afl'] assert data_utils.get_fuzzers_with_not_enough_samples( snapshot_df) == expected_fuzzers
def fuzzers_with_not_enough_samples(self): """Fuzzers with not enough samples.""" return data_utils.get_fuzzers_with_not_enough_samples( self._benchmark_snapshot_df)