<commit_before>#!/usr/bin/env bash

function run() {
  cmd_output=$($1)
  return_value=$?
  if [ $return_value != 0 ]; then
    echo "Command '$1' failed"
    exit -1
  else
    echo "output: $cmd_output"
    echo "Command succeeded."
  fi
  return $return_value
}

cd /home/ubuntu/python-crossbarhttp/

sleep 5

run "coverage run --source=crossbarhttp crossbarhttp_tests.py"
cp .coverage /data/.coverage

sleep 1
<commit_msg>Removed copying of coverage report to data<commit_after>#!/usr/bin/env bash

function run() {
  cmd_output=$($1)
  return_value=$?
  if [ $return_value != 0 ]; then
    echo "Command '$1' failed"
    exit -1
  else
    echo "output: $cmd_output"
    echo "Command succeeded."
  fi
  return $return_value
}

cd /home/ubuntu/python-crossbarhttp/

sleep 5

run "coverage run --source=crossbarhttp crossbarhttp_tests.py"

sleep 1

{'fraction_non_alphanumeric': 0.12441314553990611, 'fraction_numerical': 0.014084507042253521, 'mean_word_length': 3.4894736842105263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3991212', 'n_tokens_mistral': 317, 'n_tokens_neox': 301, 'n_words': 83}