<commit_before>package main

import (
        "github.com/garyburd/redigo/redis"
        "encoding/json"
        "fmt"
		"github.com/turret-io/golapa/golapa"
)

func main() {
        conn, err := redis.Dial("tcp", ":6379")
        if err != nil {
                panic(err)
        }
        defer conn.Close()

        for {
                var queue string
                var data  []byte
                reply, err := redis.Values(conn.Do("BLPOP", "email_worker", 0))
                if err != nil {
                        fmt.Println(err.Error())
                }
                if _, err := redis.Scan(reply, &queue, &data); err != nil {
                        panic(err)
                }
                var msg golapa.Message
                err = json.Unmarshal(data, &msg)
                if err != nil {
                        panic(err)
                }
                mailer := &golapa.StandardEmailer{nil}
				mailer.Send(msg)
        }

}<commit_msg>Fixing template_path bug<commit_after>package main

import (
        "github.com/garyburd/redigo/redis"
        "encoding/json"
        "fmt"
		"github.com/turret-io/golapa/golapa"
)

func main() {
        conn, err := redis.Dial("tcp", ":6379")
        if err != nil {
                panic(err)
        }
        defer conn.Close()

        for {
                var queue string
                var data  []byte
                reply, err := redis.Values(conn.Do("BLPOP", "email_worker", 0))
                if err != nil {
                        fmt.Println(err.Error())
                }
                if _, err := redis.Scan(reply, &queue, &data); err != nil {
                        panic(err)
                }
                var msg golapa.Message
                err = json.Unmarshal(data, &msg)
                if err != nil {
                        panic(err)
                }
                mailer := &golapa.StandardEmailer{""}
				mailer.Send(msg)
        }

}
{'fraction_non_alphanumeric': 0.1196319018404908, 'fraction_numerical': 0.005112474437627812, 'mean_word_length': 1.1065662002152852, 'pattern_counts': {'":': 2, '<': 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': '4665812', 'n_tokens_mistral': 612, 'n_tokens_neox': 547, 'n_words': 114}