<commit_before>package zlib

import (
	"bytes"
	"compress/zlib"
	"io/ioutil"
)

func Fuzz(data []byte) int {
	r, err := zlib.NewReader(bytes.NewReader(data))
	if err != nil {
		panic(err)
	}
	_, err = ioutil.ReadAll(r)
	if err != nil {
		return 0
	}
	return 1
}<commit_msg>fix a bug in test<commit_after>package zlib

import (
	"bytes"
	"compress/zlib"
	"io/ioutil"
)

func Fuzz(data []byte) int {
	r, err := zlib.NewReader(bytes.NewReader(data))
	if err != nil {
		return 0
	}
	_, err = ioutil.ReadAll(r)
	if err != nil {
		return 0
	}
	return 1
}
{'fraction_non_alphanumeric': 0.15328467153284672, 'fraction_numerical': 0.009124087591240875, 'mean_word_length': 3.4274193548387095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2186237', 'n_tokens_mistral': 252, 'n_tokens_neox': 241, 'n_words': 57}