<commit_before>// various small aws helper funcitons in this file
package main

import (
	"log"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
)

func awsSession() (error, *session.Session) {
	sess, err := session.NewSession(&aws.Config{Region: aws.String(region)})
	if err != nil {
		log.Fatal("Failed establishing AWS session ", err)
		return err, &session.Session{}
	}
	return nil, sess 
}

// helper functions for finding ids of AWS resources
func subnetFinder(s string) (error, string) { return nil, "" }
func sgFinder(s string) (error, string)     { return nil, "" }
func amiFinder(s string) (error, string)    { return nil, "" }
func vpcFinder(s string) (error, string)    { return nil, "" }<commit_msg>Saving<commit_after>// various small aws helper funcitons in this file
package main

import (
	"log"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
)

func awsSession() (error, *session.Session) {
	sess, err := session.NewSession(&aws.Config{Region: aws.String(region)})
	if err != nil {
		log.Fatal("Failed establishing AWS session ", err)
		return err, &session.Session{}
	}
	return nil, sess    
}

// helper functions for finding ids of AWS resources
func subnetFinder(s string) (error, string) { return nil, "" }
func sgFinder(s string) (error, string)     { return nil, "" }
func amiFinder(s string) (error, string)    { return nil, "" }
func vpcFinder(s string) (error, string)    { return nil, "" }
{'fraction_non_alphanumeric': 0.1453804347826087, 'fraction_numerical': 0.0, 'mean_word_length': 4.0793103448275865, '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': '5761050', 'n_tokens_mistral': 502, 'n_tokens_neox': 501, 'n_words': 146}