<commit_before>// Mandrill Mail Server specific implementation

package main

import (
	"bytes"
	"encoding/json"
	// "io/ioutil"
	"net/http"
)

type MandrillServer struct {
	Server MailServer
}

func (s *MandrillServer) Send(message Message) int {
	mail := MandrillMail{Key: s.Server.ApiKey}
	mail.Message.Text = message.Text
	mail.Message.Subject = message.Subject
	mail.Message.From = message.From
	mail.Message.To = make([]MandrillTo, len(message.To))
	for i, to := range message.To {
		mail.Message.To[i] = MandrillTo{Email: to}
	}
	jsonBuff, err := json.Marshal(mail)<commit_msg>Adding missing import<commit_after>// Mandrill Mail Server specific implementation

package main

import (
	"bytes"
	"encoding/json"
	"io/ioutil"
	"net/http"
)

type MandrillServer struct {
	Server MailServer
}

func (s *MandrillServer) Send(message Message) int {
	mail := MandrillMail{Key: s.Server.ApiKey}
	mail.Message.Text = message.Text
	mail.Message.Subject = message.Subject
	mail.Message.From = message.From
	mail.Message.To = make([]MandrillTo, len(message.To))
	for i, to := range message.To {
		mail.Message.To[i] = MandrillTo{Email: to}
	}
	jsonBuff, err := json.Marshal(mail)
{'fraction_non_alphanumeric': 0.13128729752770674, 'fraction_numerical': 0.0, 'mean_word_length': 4.537735849056604, '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': '4186067', 'n_tokens_mistral': 427, 'n_tokens_neox': 410, 'n_words': 95}