<commit_before>package main

import (
	"encoding/json"
	"log"
	"math/rand"
	"os"
	"sync"
	"time"

	"github.com/AdRoll/goamz/aws"
	"github.com/AdRoll/goamz/kinesis"
)

func main() {
	rand.Seed(time.Now().UnixNano()) // takes the current time in nanoseconds as the seed

	var pub = os.Getenv("AWSPUB")
	var secret = os.Getenv("AWSSecret")
	auth := aws.Auth{AccessKey: pub, SecretKey: secret}
	K := kinesis.New(auth, aws.USEast)
	var wg sync.WaitGroup
	for i := 0; i < 100; i++ {
		problemMap := make(map[string]int)
		problemMap["Num1"] = rand.Intn(100)
		problemMap["Num2"] = rand.Intn(100)
		jsonData, jsonErr := json.Marshal(problemMap)<commit_msg>update main.go<commit_after>package main

import (
	"encoding/json"
	"log"
	"math/rand"
	"os"
	"sync"
	"time"

	"github.com/AdRoll/goamz/aws"
	"github.com/AdRoll/goamz/kinesis"
)

func main() {
	rand.Seed(time.Now().UnixNano()) // takes the current time in nanoseconds as the seed

	var pub = os.Getenv("AWSPUB")
	var secret = os.Getenv("AWSSecret")
	auth := aws.Auth{AccessKey: pub, SecretKey: secret}
	K := kinesis.New(auth, aws.USEast)
	var wg sync.WaitGroup
	for i := 0; i < 10; i++ {
		problemMap := make(map[string]int)
		problemMap["Num1"] = rand.Intn(100)
		problemMap["Num2"] = rand.Intn(100)
		jsonData, jsonErr := json.Marshal(problemMap)
{'fraction_non_alphanumeric': 0.1687211093990755, 'fraction_numerical': 0.017719568567026195, 'mean_word_length': 4.345679012345679, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1741671', 'n_tokens_mistral': 571, 'n_tokens_neox': 534, 'n_words': 110}