<commit_before>package email

import (
	"time"

	"github.com/stretchr/testify/mock"
)

// ServiceMock is a mocked object implementing ServiceInterface
type ServiceMock struct {
	mock.Mock
}

// Send just records the activity, and returns what the Mock object tells it to
func (m *ServiceMock) Send(email *Email) error {
	time.Sleep(10 * time.Millisecond)
	args := m.Called(email)
	return args.Error(0)<commit_msg>Tweak.<commit_after>package email

import (
	"time"

	"github.com/stretchr/testify/mock"
)

// ServiceMock is a mocked object implementing ServiceInterface
type ServiceMock struct {
	mock.Mock
}

// Send just records the activity, and returns what the Mock object tells it to
func (m *ServiceMock) Send(email *Email) error {
	time.Sleep(5 * time.Millisecond)
	args := m.Called(email)
	return args.Error(0)
{'fraction_non_alphanumeric': 0.10146699266503667, 'fraction_numerical': 0.006112469437652812, 'mean_word_length': 4.533783783783784, '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': '2842790', 'n_tokens_mistral': 263, 'n_tokens_neox': 260, 'n_words': 83}