<commit_before>#!/bin/sh

set -o nounset
set -o errexit

docker build --build-arg http_proxy=http://web-proxy.gre.hpecorp.net:8080 -t spark-submit .

docker run \
  -ti
  --rm
  -p 5001:5001 \
  -p 5002:5002 \
  -p 5003:5003 \
  --name spark-submit \
  -v /home/cloud-user/data:/home/cloud-user/data \
  -e SPARK_MASTER="spark://172.16.31.10:7077" \
  -e MAIN_CLASS="image.Generator0S" \
  -e SPARK_DRIVER_HOST="172.16.31.10" \
  -e SCM_URL="https://github.com/tashoyan/sc.git" \
  -e SCM_BRANCH="spark" \
  -e PROJECT_SUBDIR="05-functional-programming-in-scala-capstone/observatory" \
  -e SKIP_TESTS="1" \
  -e https_proxy="http://web-proxy.gre.hpecorp.net:8080" \
  spark-submit<commit_msg>Fix typo<commit_after>#!/bin/sh

set -o nounset
set -o errexit

docker build --build-arg http_proxy=http://web-proxy.gre.hpecorp.net:8080 -t spark-submit .

docker run \
  -ti \
  --rm \
  -p 5001:5001 \
  -p 5002:5002 \
  -p 5003:5003 \
  --name spark-submit \
  -v /home/cloud-user/data:/home/cloud-user/data \
  -e SPARK_MASTER="spark://172.16.31.10:7077" \
  -e MAIN_CLASS="image.Generator0S" \
  -e SPARK_DRIVER_HOST="172.16.31.10" \
  -e SCM_URL="https://github.com/tashoyan/sc.git" \
  -e SCM_BRANCH="spark" \
  -e PROJECT_SUBDIR="05-functional-programming-in-scala-capstone/observatory" \
  -e SKIP_TESTS="1" \
  -e https_proxy="http://web-proxy.gre.hpecorp.net:8080" \
  spark-submit
{'fraction_non_alphanumeric': 0.18194945848375452, 'fraction_numerical': 0.08375451263537906, 'mean_word_length': 2.85, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '4389573', 'n_tokens_mistral': 699, 'n_tokens_neox': 610, 'n_words': 88}