<commit_before>(defproject {{name}} "1.0.0-SNAPSHOT"
  :description "{{upper-name}} service"
  :url "http://wikis.in.nokia.com/NokiaMusicArchitecture/{{upper-name}}"
  :dependencies [[org.clojure/clojure "1.4.0"]
                 [compojure "1.1.3" :exclusions [javax.servlet/servlet-api]]
                 [ring-middleware-format "0.3.0"]
                 [org.clojure/data.xml "0.0.7"]
                 [org.clojure/data.json "0.2.1"]
                 [org.clojure/data.zip "0.1.1"]
                 [org.clojure/tools.logging "0.2.3"]
                 [org.slf4j/slf4j-api "1.6.4"]
                 [org.slf4j/jul-to-slf4j "1.6.0"]
                 [ch.qos.logback/logback-classic "1.0.3"]
                 [com.ovi.common.logging/logback-appender "0.0.32"]
                 [com.yammer.metrics/metrics-logback "2.1.1"]
                 [com.ovi.common.metrics/metrics-graphite "2.1.12"]
                 [clj-http "0.5.3"]
                 [cheshire "5.0.2"]
                 [clj-time "0.4.4"]
                 [environ "0.4.0"]
                 [nokia/ring-utils "1.0.0"]
                 [metrics-clojure "1.0.1"]
                 [metrics-clojure-ring "1.0.1"]]

  :profiles {:dev {:dependencies [[com.github.rest-driver/rest-client-driver "1.1.28"
                                   :exclusions [org.slf4j/slf4j-nop javax.servlet/servlet-api]]
                                  [junit "4.10"]
                                  [clj-http-fake "0.4.1"]
                                  [rest-cljer "0.1.7"]
                                  [midje "1.5.1"]]
                   :plugins [[lein-rpm "0.0.4"]
                             [lein-midje "3.0.1"]
                             [jonase/kibit "0.0.4"]]}}
  :plugins [[lein-ring "0.8.5"]
            [lein-environ "0.4.0"]
            [lein-release "1.0.73"]]

  ;; development token values
  :env {
        :environment-name "Dev"
        :service-name {{name}}
        :service-port "3000"
        :service-url "http://localhost:%s/1.x"
        :restdriver-port "8081"
        :environment-entertainment-graphite-host "graphite.brislabs.com"
        :environment-entertainment-graphite-port "8080"
        :service-graphite-post-interval "1"
        :service-graphite-post-unit "MINUTES"
        :service-graphite-enabled "ENABLED"
        :service-production "false"
        }

  :lein-release {:release-tasks [:clean :uberjar :pom :rpm]
                 :clojars-url "<EMAIL>:"}

  :ring {:handler {{name}}.web/app
         :main {{name}}.setup
         :port ~(Integer.  (get (System/getenv) "SERVICE_PORT" "3000"))
         :init {{name}}.setup/setup
         :browser-uri "/1.x/status"}

  :repositories {"internal-clojars"
                 "http://clojars.brislabs.com/repo"
                 "rm.brislabs.com"
                 "http://rm.brislabs.com/nexus/content/groups/all-releases"}

  :uberjar-name "{{upper-name}}.jar"

  :rpm {:name "{{upper-name}}1"
        :summary "RPM for {{upper-name}} service"
        :copyright "Nokia {{year}}"
        :preinstall {:scriptFile "scripts/rpm/preinstall.sh"}
        :postinstall {:scriptFile "scripts/rpm/postinstall.sh"}
        :preremove {:scriptFile "scripts/rpm/preremove.sh"}
        :postremove {:scriptFile "scripts/rpm/postremove.sh"}
        :requires ["jdk >= 2000:1.6.0_31-fcs"]
        :mappings [{:directory "/usr/local/jetty"
                    :filemode "444"
                    :username "jetty"
                    :groupname "jetty"
                    :sources {:source [{:location "target/{{upper-name}}.jar"}]}}
                   {:directory "/usr/local/jetty/bin"
                    :filemode "744"
                    :username "jetty"
                    :groupname "jetty"
                    :sources {:source [{:location "scripts/bin"}]}}
                   {:directory "/usr/local/deployment/{{upper-name}}1/bin"
                    :filemode "744"
                    :sources {:source [{:location "scripts/dmt"}]}}
                   {:directory "/etc/rc.d/init.d"
                    :filemode "744"
                    :username "jetty"
                    :groupname "jetty"
                    :sources {:source [{:location "scripts/service/jetty"}]}}]}

  :main {{name}}.setup)
<commit_msg>Fix service-name token value so that it contains a string<commit_after>(defproject {{name}} "1.0.0-SNAPSHOT"
  :description "{{upper-name}} service"
  :url "http://wikis.in.nokia.com/NokiaMusicArchitecture/{{upper-name}}"
  :dependencies [[org.clojure/clojure "1.4.0"]
                 [compojure "1.1.3" :exclusions [javax.servlet/servlet-api]]
                 [ring-middleware-format "0.3.0"]
                 [org.clojure/data.xml "0.0.7"]
                 [org.clojure/data.json "0.2.1"]
                 [org.clojure/data.zip "0.1.1"]
                 [org.clojure/tools.logging "0.2.3"]
                 [org.slf4j/slf4j-api "1.6.4"]
                 [org.slf4j/jul-to-slf4j "1.6.0"]
                 [ch.qos.logback/logback-classic "1.0.3"]
                 [com.ovi.common.logging/logback-appender "0.0.32"]
                 [com.yammer.metrics/metrics-logback "2.1.1"]
                 [com.ovi.common.metrics/metrics-graphite "2.1.12"]
                 [clj-http "0.5.3"]
                 [cheshire "5.0.2"]
                 [clj-time "0.4.4"]
                 [environ "0.4.0"]
                 [nokia/ring-utils "1.0.0"]
                 [metrics-clojure "1.0.1"]
                 [metrics-clojure-ring "1.0.1"]]

  :profiles {:dev {:dependencies [[com.github.rest-driver/rest-client-driver "1.1.28"
                                   :exclusions [org.slf4j/slf4j-nop javax.servlet/servlet-api]]
                                  [junit "4.10"]
                                  [clj-http-fake "0.4.1"]
                                  [rest-cljer "0.1.7"]
                                  [midje "1.5.1"]]
                   :plugins [[lein-rpm "0.0.4"]
                             [lein-midje "3.0.1"]
                             [jonase/kibit "0.0.4"]]}}
  :plugins [[lein-ring "0.8.5"]
            [lein-environ "0.4.0"]
            [lein-release "1.0.73"]]

  ;; development token values
  :env {:environment-name "Dev"
        :service-name "{{name}}"
        :service-port "3000"
        :service-url "http://localhost:%s/1.x"
        :restdriver-port "8081"
        :environment-entertainment-graphite-host "graphite.brislabs.com"
        :environment-entertainment-graphite-port "8080"
        :service-graphite-post-interval "1"
        :service-graphite-post-unit "MINUTES"
        :service-graphite-enabled "ENABLED"
        :service-production "false"}

  :lein-release {:release-tasks [:clean :uberjar :pom :rpm]
                 :clojars-url "<EMAIL>:"}

  :ring {:handler {{name}}.web/app
         :main {{name}}.setup
         :port ~(Integer.  (get (System/getenv) "SERVICE_PORT" "3000"))
         :init {{name}}.setup/setup
         :browser-uri "/1.x/status"}

  :repositories {"internal-clojars"
                 "http://clojars.brislabs.com/repo"
                 "rm.brislabs.com"
                 "http://rm.brislabs.com/nexus/content/groups/all-releases"}

  :uberjar-name "{{upper-name}}.jar"

  :rpm {:name "{{upper-name}}1"
        :summary "RPM for {{upper-name}} service"
        :copyright "Nokia {{year}}"
        :preinstall {:scriptFile "scripts/rpm/preinstall.sh"}
        :postinstall {:scriptFile "scripts/rpm/postinstall.sh"}
        :preremove {:scriptFile "scripts/rpm/preremove.sh"}
        :postremove {:scriptFile "scripts/rpm/postremove.sh"}
        :requires ["jdk >= 2000:1.6.0_31-fcs"]
        :mappings [{:directory "/usr/local/jetty"
                    :filemode "444"
                    :username "jetty"
                    :groupname "jetty"
                    :sources {:source [{:location "target/{{upper-name}}.jar"}]}}
                   {:directory "/usr/local/jetty/bin"
                    :filemode "744"
                    :username "jetty"
                    :groupname "jetty"
                    :sources {:source [{:location "scripts/bin"}]}}
                   {:directory "/usr/local/deployment/{{upper-name}}1/bin"
                    :filemode "744"
                    :sources {:source [{:location "scripts/dmt"}]}}
                   {:directory "/etc/rc.d/init.d"
                    :filemode "744"
                    :username "jetty"
                    :groupname "jetty"
                    :sources {:source [{:location "scripts/service/jetty"}]}}]}

  :main {{name}}.setup)

{'fraction_non_alphanumeric': 0.16455547736335913, 'fraction_numerical': 0.03471733520994605, 'mean_word_length': 1.5235276709085528, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '394939', 'n_tokens_mistral': 2951, 'n_tokens_neox': 2737, 'n_words': 429}