<commit_before>#!/bin/bash

status=0
scalac_version=`scalac -version 2>&1 | grep "^Scala compiler version" | grep -oP '\K(\d+\.\d+\.\d+)'`
[[ "$scalac_version" = "2.10.3" ]] || { echo "Incorrect scalac version: $scalac_version."; status=1; }

scala_version=`scala -version 2>&1 | grep "^Scala code runner" | grep -oP '\K(\d+\.\d+\.\d+)'`
[[ "$scala_version" = "2.10.3" ]] || { echo "Incorrect scala version: $scala_version."; status=1; }

exit $status
<commit_msg>Check sbt version.<commit_after>#!/bin/bash

status=0
scalac_version=`scalac -version 2>&1 | grep "^Scala compiler version" | grep -oP '\K(\d+\.\d+\.\d+)'`
[[ "$scalac_version" = "2.10.3" ]] || { echo "Incorrect scalac version: $scalac_version."; status=1; }

scala_version=`scala -version 2>&1 | grep "^Scala code runner" | grep -oP '\K(\d+\.\d+\.\d+)'`
[[ "$scala_version" = "2.10.3" ]] || { echo "Incorrect scala version: $scala_version."; status=1; }

sbt_version=`sbt --version 2>&1 | grep version | grep -oP '\d+\.\d+\.\d+'`
[[ "$sbt_version" = "0.13.1" ]] || { echo "Incorrect sbt version: $sbt_version."; status=1; }

exit $status

{'fraction_non_alphanumeric': 0.24388032638259294, 'fraction_numerical': 0.033544877606527655, 'mean_word_length': 4.111111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '335169', 'n_tokens_mistral': 470, 'n_tokens_neox': 429, 'n_words': 98}