<commit_before>package main

import (
	"flag"
	"github.com/Sirupsen/logrus"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/sts"
	docker "github.com/fsouza/go-dockerclient"
	"github.com/swipely/iam-docker/src/app"
	"net/url"
	"os"
	"time"
)

var (
	log = logrus.WithFields(logrus.Fields{"package": "main"})

	listenAddr              = flag.String("listen-addr", ":8080", "Address on which the HTTP server should listen")
	readTimeout             = flag.Duration("read-timeout", time.Minute, "Read timeout of the HTTP server")
	writeTimeout            = flag.Duration("write-timeout", time.Minute, "Write timeout of the HTTP server")
	metadata                = flag.String("metadata-api", "http://169.254.169.254:80", "Address of the EC2 MetaData API")
	eventHandlers           = flag.Int("event-handlers", 4, "Number of workers listening to the Docker Events channel")
	dockerSyncPeriod        = flag.Duration("docker-sync-period", time.Minute, "Frequency of Docker Container sync")
	credentialRefreshPeriod = flag.Duration("credential-refresh-period", time.Minute, "Frequency of the IAM credential sync")
)

func main() {
	flag.Parse()
	metaDataUpstream, err := url.Parse(*metadata)
	if err != nil {
		log.WithFields(logrus.Fields{
			"url": *metadata,
		}).Error("Invalid EC2 MetaData API URL")
		os.Exit(1)
	}
<commit_msg>metadata-api => meta-data-api<commit_after>package main

import (
	"flag"
	"github.com/Sirupsen/logrus"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/sts"
	docker "github.com/fsouza/go-dockerclient"
	"github.com/swipely/iam-docker/src/app"
	"net/url"
	"os"
	"time"
)

var (
	log = logrus.WithFields(logrus.Fields{"package": "main"})

	listenAddr              = flag.String("listen-addr", ":8080", "Address on which the HTTP server should listen")
	readTimeout             = flag.Duration("read-timeout", time.Minute, "Read timeout of the HTTP server")
	writeTimeout            = flag.Duration("write-timeout", time.Minute, "Write timeout of the HTTP server")
	metadata                = flag.String("meta-data-api", "http://169.254.169.254:80", "Address of the EC2 MetaData API")
	eventHandlers           = flag.Int("event-handlers", 4, "Number of workers listening to the Docker Events channel")
	dockerSyncPeriod        = flag.Duration("docker-sync-period", time.Minute, "Frequency of Docker Container sync")
	credentialRefreshPeriod = flag.Duration("credential-refresh-period", time.Minute, "Frequency of the IAM credential sync")
)

func main() {
	flag.Parse()
	metaDataUpstream, err := url.Parse(*metadata)
	if err != nil {
		log.WithFields(logrus.Fields{
			"url": *metadata,
		}).Error("Invalid EC2 MetaData API URL")
		os.Exit(1)
	}

{'fraction_non_alphanumeric': 0.14605504587155962, 'fraction_numerical': 0.016146788990825688, 'mean_word_length': 3.774080560420315, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6361992', 'n_tokens_mistral': 949, 'n_tokens_neox': 888, 'n_words': 205}