<commit_before>(defproject staircase "0.1.0-SNAPSHOT"
  :description "The application holding data-flow steps."
  :url "http://steps.herokuapp.org"
  :main staircase.main
  :aot [staircase.main]
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.clojure/tools.logging "0.2.6"] ;; Logging
                 [org.clojure/tools.reader "0.8.4"] ;; Read edn
                 [org.clojure/algo.monads "0.1.5"] ;; Monadic interfaces.
                 [org.clojure/java.jdbc "0.3.3"] ;; DB interface
                 [clj-http "0.9.1"] ;; Perform http requests.
                 [http-kit "2.1.16"]
                 [clj-jwt "0.0.6"] ;; Generate signed json web-tokens.
                 [persona-kit "0.1.1-SNAPSHOT"] ;; Authentication - Persona.
                 [com.cemerick/friend "0.2.0"] ;; Authentication.
                 [clj-time "0.6.0"] ;; deal with time.
                 [javax.servlet/servlet-api "2.5"] ;; Needed for middleware.
                 [honeysql "0.4.3"] ;; SQL sugar
                 [postgresql/postgresql "8.4-702.jdbc4"] ;; DB Driver
                 [compojure "1.1.6"] ;; Request handlers
                 [ring-middleware-format "0.3.2"] ;; JSON marshalling
                 [ring "1.2.2"] ;; sessions.
                 [ring/ring-json "0.3.1"]
                 [ring/ring-anti-forgery "0.3.1"] ;; CSRF protection.
                 [ring-cors "0.1.1"]
                 [c3p0/c3p0 "0.9.1.2"] ;; DB pooling
                 [com.stuartsierra/component "0.2.1"] ;; Dependency management
                 [environ "0.4.0"] ;; Settings management.
                 [cheshire "4.0.3"];; JSON serialisation
                 [clj-jgit "0.6.5-d"] ;; Git interface.
                 [org.mozilla/rhino "1.7R4"] ;; We depend on rhino 1.7r4
                 [org.lesscss/lesscss "1.7.0.1.1"] ;; Less 1.7.0 
                 [org.clojars.involans/dieter "0.5.0-SNAPSHOT"]
                 [hiccup "1.0.5"] ;; Templating
                 ;; Deal with load issues.
                 ;; see: https://github.com/LightTable/LightTable/issues/794
                 [org.clojure/core.cache "0.6.3"] 
                 [org.clojure/core.memoize "0.5.6" :exclusions [org.clojure/core.cache]]
                 [log4j/log4j "1.2.17"]] ;; Logging
  :min-lein-version "2.0.0"
  :plugins [[com.jakemccrary/lein-test-refresh "0.4.0"]
            [lein-bower "0.4.0"]
            [lein-environ "0.4.0"]
            [lein-pprint "1.1.1"]
            [lein-ring "0.8.10"]]
  :lesscss-paths ["src/less"]
  :lesscss-output-path "resources/public/css"
  :ring {:handler staircase.app/handler}
  :prep-tasks ["javac" "compile" "clean-tools" "load-tools"]
  :source-paths ["src/clojure"]
  :resource-paths ["resources" "external"]
  :aliases {
            "js-deps" ["run" "-m" "staircase.tasks/js-deps"]
            "clean-js" ["run" "-m" "staircase.tasks/clean-js"]
            "load-tools" ["run" "-m" "staircase.tasks/load-tools"]
            "clean-tools" ["run" "-m" "staircase.tasks/clean-tools"]}
  :test-selectors {
                   :all (constantly true)
                   :database :database
                   :default (complement :acceptance)}
  :bower {:directory "resources/public/vendor"}
  :bower-dependencies [[
    requirejs "~2.1.9",
    requirejs-text "~2.0.10",
    angular-route "~1.2.9",
    angular "~1.2.9",
    angular-ui-bootstrap-bower "~0.11.0",
    angular-cookies "~1.2.16",
    imjs "~3.2.2",
    lodash "~2.4.1",
    angular-resource "~1.2.16",
    requirejs-domready "~2.0.1",
    angular-ui-select2 "~0.0.5",
    angular-animate "~1.2.16"]]
  :env {
      :db-classname "org.postgresql.Driver"
      :db-subprotocol "postgresql"
      :web-max-session-age ~(* 60 60 24)
      :web-max-age ~(* 30 24 60 60)
      :web-services {
        "flymine" "http://www.flymine.org/query/service"
        "yeastmine" "http://yeastmine.yeastgenome.org/yeastmine/service"
        "mousemine" "http://www.mousemine.org/mousemine/service"}
       :web-tools [ ;; Needs to be listed so we know what order these should be shown in.
                   :templates
                   [:choose-list {:service "flymine"}]
                   [:choose-list {:service "mousemine"}]
                   [:new-query {:service "flymine"}]
                   [:new-query {:service "yeastmine"}]
                   :upload-list
                   :region-search
                   :histories
                   :show-table ;; TODO: make these autoconfigure...
                   :show-list
                   :show-enrichment
                   :resolve-ids
                   :convert-list
                   :list-templates
                   :export
                   :id-handler
                   :keyword-search ;; From resources/config - really must auto-configure this list...
                   ]
  }
)
<commit_msg>I think it is google closure causing all the issues<commit_after>(defproject staircase "0.1.0-SNAPSHOT"
  :description "The application holding data-flow steps."
  :url "http://steps.herokuapp.org"
  :main staircase.main
  :aot [staircase.main]
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.clojure/tools.logging "0.2.6"] ;; Logging
                 [org.clojure/tools.reader "0.8.4"] ;; Read edn
                 [org.clojure/algo.monads "0.1.5"] ;; Monadic interfaces.
                 [org.clojure/java.jdbc "0.3.3"] ;; DB interface
                 [clj-http "0.9.1"] ;; Perform http requests.
                 [http-kit "2.1.16"]
                 [clj-jwt "0.0.6"] ;; Generate signed json web-tokens.
                 [persona-kit "0.1.1-SNAPSHOT" :exclusions [org.clojure/google-closure-library]] ;; Authentication - Persona.
                 [com.cemerick/friend "0.2.0"] ;; Authentication.
                 [clj-time "0.6.0"] ;; deal with time.
                 [javax.servlet/servlet-api "2.5"] ;; Needed for middleware.
                 [honeysql "0.4.3"] ;; SQL sugar
                 [postgresql/postgresql "8.4-702.jdbc4"] ;; DB Driver
                 [compojure "1.1.6"] ;; Request handlers
                 [ring-middleware-format "0.3.2"] ;; JSON marshalling
                 [ring "1.2.2"] ;; sessions.
                 [ring/ring-json "0.3.1"]
                 [ring/ring-anti-forgery "0.3.1"] ;; CSRF protection.
                 [ring-cors "0.1.1"]
                 [c3p0/c3p0 "0.9.1.2"] ;; DB pooling
                 [com.stuartsierra/component "0.2.1"] ;; Dependency management
                 [environ "0.4.0"] ;; Settings management.
                 [cheshire "4.0.3"];; JSON serialisation
                 [clj-jgit "0.6.5-d"] ;; Git interface.
                 [org.mozilla/rhino "1.7R4"] ;; We depend on rhino 1.7r4
                 [org.lesscss/lesscss "1.7.0.1.1"] ;; Less 1.7.0 
                 [org.clojars.involans/dieter "0.5.0-SNAPSHOT"]
                 [hiccup "1.0.5"] ;; Templating
                 ;; Deal with load issues.
                 ;; see: https://github.com/LightTable/LightTable/issues/794
                 [org.clojure/core.cache "0.6.3"] 
                 [org.clojure/core.memoize "0.5.6" :exclusions [org.clojure/core.cache]]
                 [log4j/log4j "1.2.17"]] ;; Logging
  :min-lein-version "2.0.0"
  :plugins [[com.jakemccrary/lein-test-refresh "0.4.0"]
            [lein-bower "0.4.0"]
            [lein-environ "0.4.0"]
            [lein-pprint "1.1.1"]
            [lein-ring "0.8.10"]]
  :lesscss-paths ["src/less"]
  :lesscss-output-path "resources/public/css"
  :ring {:handler staircase.app/handler}
  :prep-tasks ["javac" "compile" "clean-tools" "load-tools"]
  :source-paths ["src/clojure"]
  :resource-paths ["resources" "external"]
  :aliases {
            "js-deps" ["run" "-m" "staircase.tasks/js-deps"]
            "clean-js" ["run" "-m" "staircase.tasks/clean-js"]
            "load-tools" ["run" "-m" "staircase.tasks/load-tools"]
            "clean-tools" ["run" "-m" "staircase.tasks/clean-tools"]}
  :test-selectors {
                   :all (constantly true)
                   :database :database
                   :default (complement :acceptance)}
  :bower {:directory "resources/public/vendor"}
  :bower-dependencies [[
    requirejs "~2.1.9",
    requirejs-text "~2.0.10",
    angular-route "~1.2.9",
    angular "~1.2.9",
    angular-ui-bootstrap-bower "~0.11.0",
    angular-cookies "~1.2.16",
    imjs "~3.2.2",
    lodash "~2.4.1",
    angular-resource "~1.2.16",
    requirejs-domready "~2.0.1",
    angular-ui-select2 "~0.0.5",
    angular-animate "~1.2.16"]]
  :env {
      :db-classname "org.postgresql.Driver"
      :db-subprotocol "postgresql"
      :web-max-session-age ~(* 60 60 24)
      :web-max-age ~(* 30 24 60 60)
      :web-services {
        "flymine" "http://www.flymine.org/query/service"
        "yeastmine" "http://yeastmine.yeastgenome.org/yeastmine/service"
        "mousemine" "http://www.mousemine.org/mousemine/service"}
       :web-tools [ ;; Needs to be listed so we know what order these should be shown in.
                   :templates
                   [:choose-list {:service "flymine"}]
                   [:choose-list {:service "mousemine"}]
                   [:new-query {:service "flymine"}]
                   [:new-query {:service "yeastmine"}]
                   :upload-list
                   :region-search
                   :histories
                   :show-table ;; TODO: make these autoconfigure...
                   :show-list
                   :show-enrichment
                   :resolve-ids
                   :convert-list
                   :list-templates
                   :export
                   :id-handler
                   :keyword-search ;; From resources/config - really must auto-configure this list...
                   ]
  }
)

{'fraction_non_alphanumeric': 0.16060264425540638, 'fraction_numerical': 0.04017628369375833, 'mean_word_length': 1.6259418729817008, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 4, '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': '3979695', 'n_tokens_mistral': 3469, 'n_tokens_neox': 3217, 'n_words': 605}