<commit_before>{
  "name": "tradenomiitti",
  "version": "1.0.0",
  "description": "Löydä elämäsi tradenomi",
  "main": "index.js",
  "scripts": {
    "preansible": "./conf/preinstall.sh",
    "serverinstallbase": "./conf/serverinstallbase.sh",
    "serverinstallpm2": "ansible-playbook conf/pm2install.yml -i conf/inventory.ini --limit ${ENV_TO_DEPLOY:-dev}",
    "compilelocal": "cd frontend && mkdir -p static/images && elm-make --yes Main.elm --output static/elm.js && browserify -t babelify js/main.js --outfile static/main.js && node-sass --precision 8 --include-path ../node_modules/bootstrap-sass/assets/stylesheets -r stylesheets/styles.scss | postcss --use autoprefixer -o static/styles.css && cp assets/* ../node_modules/bootstrap-sass/assets/fonts/bootstrap/* ../node_modules/font-awesome/fonts/* ../conf/assets/* static/ && cp index.html static/",
    "lint": "eslint server/",
    "start": "node server/index.js",
    "compilefrontend": "cd frontend && elm-make --yes Main.elm --output /srv/static/elm.js && browserify -t babelify js/main.js --outfile /srv/static/main.js",
    "compilescss": "node-sass --precision 8 --include-path node_modules/bootstrap-sass/assets/stylesheets -r frontend/stylesheets/styles.scss | postcss --use autoprefixer -o /srv/static/styles.css",
    "compileassets": "cp frontend/assets/* node_modules/bootstrap-sass/assets/fonts/bootstrap/* node_modules/font-awesome/fonts/* /srv/static/ && ./conf/copy-index-with-ga.sh",
    "deploy": "ansible-playbook conf/deploy.yml -i conf/inventory.ini --limit ${ENV_TO_DEPLOY:-dev} --tags 'deploy'",
    "uploadanddeploy": "ansible-playbook conf/deploy.yml -i conf/inventory.ini --limit ${ENV_TO_DEPLOY:-dev}",
    "seed-db": "knex migrate:latest && knex seed:run",
    "test": "mocha server/**/*.js",
    "testFrontend": "cd frontend && elm-test"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/futurice/tradenomiitti.git"
  },
  "author": "",
  "license": "AGPL-3.0",
  "bugs": {
    "url": "https://github.com/futurice/tradenomiitti/issues"
  },
  "homepage": "https://github.com/futurice/tradenomiitti#readme",
  "dependencies": {
    "autocomplete.js": "^0.28.1",
    "autoprefixer": "^6.7.7",
    "babel-polyfill": "^6.23.0",
    "babel-preset-es2015": "^6.24.0",
    "babelify": "^7.3.0",
    "body-parser": "^1.16.0",
    "bootstrap-sass": "^3.3.7",
    "browserify": "^14.1.0",
    "cookie-session": "^2.0.0-alpha.3",
    "cropperjs": "^1.0.0-beta.2",
    "d3-timer": "^1.0.5",
    "elm": "^0.18.0",
    "emailjs": "^1.0.8",
    "express": "^4.14.1",
    "express-fileupload": "^0.1.2",
    "file-type": "^4.1.0",
    "font-awesome": "^4.7.0",
    "gm": "^1.23.0",
    "json2csv": "^3.7.3",
    "knex": "^0.12.9",
    "lodash.groupby": "^4.6.0",
    "moment": "^2.18.1",
    "node-sass": "^4.5.0",
    "node-schedule": "^1.2.1",
    "pg": "^6.1.2",
    "postcss-cli": "^3.0.0",
    "request": "^2.79.0",
    "request-promise-native": "^1.0.3",
    "scroll-restoration-polyfill": "^0.6.1",
    "scss-to-json": "^1.1.0",
    "smoothscroll-polyfill": "^0.3.4",
    "uuid": "^3.0.1"
  },
  "devDependencies": {
    "chai": "^3.5.0",
    "chai-http": "^3.0.0",
    "elm-test": "=0.18.7",
    "eslint": "^4.2.0",
    "eslint-config-airbnb-base": "^11.2.0",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-promise": "^3.5.0",
    "mocha": "^3.2.0",
    "mockdate": "^2.0.1",
    "seedrandom": "^2.4.2",
    "xml2js": "^0.4.17"
  }
}
<commit_msg>Needed environment variables in test script<commit_after>{
  "name": "tradenomiitti",
  "version": "1.0.0",
  "description": "Löydä elämäsi tradenomi",
  "main": "index.js",
  "scripts": {
    "preansible": "./conf/preinstall.sh",
    "serverinstallbase": "./conf/serverinstallbase.sh",
    "serverinstallpm2": "ansible-playbook conf/pm2install.yml -i conf/inventory.ini --limit ${ENV_TO_DEPLOY:-dev}",
    "compilelocal": "cd frontend && mkdir -p static/images && elm-make --yes Main.elm --output static/elm.js && browserify -t babelify js/main.js --outfile static/main.js && node-sass --precision 8 --include-path ../node_modules/bootstrap-sass/assets/stylesheets -r stylesheets/styles.scss | postcss --use autoprefixer -o static/styles.css && cp assets/* ../node_modules/bootstrap-sass/assets/fonts/bootstrap/* ../node_modules/font-awesome/fonts/* ../conf/assets/* static/ && cp index.html static/",
    "lint": "eslint server/",
    "start": "node server/index.js",
    "compilefrontend": "cd frontend && elm-make --yes Main.elm --output /srv/static/elm.js && browserify -t babelify js/main.js --outfile /srv/static/main.js",
    "compilescss": "node-sass --precision 8 --include-path node_modules/bootstrap-sass/assets/stylesheets -r frontend/stylesheets/styles.scss | postcss --use autoprefixer -o /srv/static/styles.css",
    "compileassets": "cp frontend/assets/* node_modules/bootstrap-sass/assets/fonts/bootstrap/* node_modules/font-awesome/fonts/* /srv/static/ && ./conf/copy-index-with-ga.sh",
    "deploy": "ansible-playbook conf/deploy.yml -i conf/inventory.ini --limit ${ENV_TO_DEPLOY:-dev} --tags 'deploy'",
    "uploadanddeploy": "ansible-playbook conf/deploy.yml -i conf/inventory.ini --limit ${ENV_TO_DEPLOY:-dev}",
    "seed-db": "knex migrate:latest && knex seed:run",
    "test": "DISABLE_SEBACON=true ENABLE_EMAIL_SENDING=false mocha server/**/*.js",
    "testFrontend": "cd frontend && elm-test"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/futurice/tradenomiitti.git"
  },
  "author": "",
  "license": "AGPL-3.0",
  "bugs": {
    "url": "https://github.com/futurice/tradenomiitti/issues"
  },
  "homepage": "https://github.com/futurice/tradenomiitti#readme",
  "dependencies": {
    "autocomplete.js": "^0.28.1",
    "autoprefixer": "^6.7.7",
    "babel-polyfill": "^6.23.0",
    "babel-preset-es2015": "^6.24.0",
    "babelify": "^7.3.0",
    "body-parser": "^1.16.0",
    "bootstrap-sass": "^3.3.7",
    "browserify": "^14.1.0",
    "cookie-session": "^2.0.0-alpha.3",
    "cropperjs": "^1.0.0-beta.2",
    "d3-timer": "^1.0.5",
    "elm": "^0.18.0",
    "emailjs": "^1.0.8",
    "express": "^4.14.1",
    "express-fileupload": "^0.1.2",
    "file-type": "^4.1.0",
    "font-awesome": "^4.7.0",
    "gm": "^1.23.0",
    "json2csv": "^3.7.3",
    "knex": "^0.12.9",
    "lodash.groupby": "^4.6.0",
    "moment": "^2.18.1",
    "node-sass": "^4.5.0",
    "node-schedule": "^1.2.1",
    "pg": "^6.1.2",
    "postcss-cli": "^3.0.0",
    "request": "^2.79.0",
    "request-promise-native": "^1.0.3",
    "scroll-restoration-polyfill": "^0.6.1",
    "scss-to-json": "^1.1.0",
    "smoothscroll-polyfill": "^0.3.4",
    "uuid": "^3.0.1"
  },
  "devDependencies": {
    "chai": "^3.5.0",
    "chai-http": "^3.0.0",
    "elm-test": "=0.18.7",
    "eslint": "^4.2.0",
    "eslint-config-airbnb-base": "^11.2.0",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-promise": "^3.5.0",
    "mocha": "^3.2.0",
    "mockdate": "^2.0.1",
    "seedrandom": "^2.4.2",
    "xml2js": "^0.4.17"
  }
}

{'fraction_non_alphanumeric': 0.24044495151169423, 'fraction_numerical': 0.04592127780946948, 'mean_word_length': 3.1447990543735225, 'pattern_counts': {'":': 144, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5671986', 'n_tokens_mistral': 3045, 'n_tokens_neox': 2845, 'n_words': 467}