<commit_before>package kasper

import (
	"testing"

	"github.com/Shopify/sarama"
	"github.com/stretchr/testify/assert"
)

func TestDefaultConfig(t *testing.T) {
	actual := DefaultConfig()
	expected := &Config{
		RequiredAcks:             sarama.WaitForAll,
		MaxInFlightMessageGroups: 5000,
		MarkOffsetsHook:          actual.MarkOffsetsHook,
	}
	assert.NotNil(t, actual.MarkOffsetsHook)
	assert.Equal(t, expected, actual)
}<commit_msg>Fix failing test, bis<commit_after>package kasper

import (
	"testing"

	"github.com/Shopify/sarama"
	"github.com/stretchr/testify/assert"
)

func TestDefaultConfig(t *testing.T) {
	config := DefaultConfig()
	assert.NotNil(t, config.MarkOffsetsHook)
	assert.Equal(t, sarama.WaitForAll, config.RequiredAcks)
	assert.Equal(t, 5000, config.MaxInFlightMessageGroups)
}
{'fraction_non_alphanumeric': 0.1225, 'fraction_numerical': 0.01, 'mean_word_length': 5.022556390977444, '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': '1248902', 'n_tokens_mistral': 302, 'n_tokens_neox': 285, 'n_words': 46}