<commit_before>def tools = new Tools(this.args)

tools.command("sudo apt-get -y install ruby zip bc mencoder wget libboost-dev libboost-thread-dev libtiff5-dev libopenexr-dev")

tools.command("wget http://ftp.sa.xemacs.org/pub/ubuntu-releases/ubuntu/pool/universe/p/povray/povray_3.7.0.0-4~ubuntu14.04.1_amd64.deb -O /tmp/povray37.deb")
tools.command("wget http://ftp.sa.xemacs.org/pub/ubuntu-releases/ubuntu/pool/universe/p/povray/povray-includes_3.7.0.0-4~ubuntu14.04.1_all.deb  -O /tmp/povray37_include.deb")

tools.command("dpkg -i /tmp/povray37.deb")
tools.command("dpkg -i /tmp/povray37_include.deb")

// to execute sample simulation, which has executor in ruby
if (!tools.isRubyValid()) tools.installRvmRuby()

tools.download(tools.config.simDownloadURL, "${tools.installDir}/scalarm_simulation_manager.xz")
tools.command("unxz scalarm_simulation_manager.xz && chmod +x scalarm_simulation_manager", tools.installDir)

ant = new AntBuilder()
<commit_msg>Adding curl dependency to simulation manager installation.<commit_after>def tools = new Tools(this.args)

tools.command("sudo apt-get -y install ruby zip bc mencoder wget libboost-dev libboost-thread-dev libtiff5-dev libopenexr-dev curl wget")

tools.command("wget http://ftp.sa.xemacs.org/pub/ubuntu-releases/ubuntu/pool/universe/p/povray/povray_3.7.0.0-4~ubuntu14.04.1_amd64.deb -O /tmp/povray37.deb")
tools.command("wget http://ftp.sa.xemacs.org/pub/ubuntu-releases/ubuntu/pool/universe/p/povray/povray-includes_3.7.0.0-4~ubuntu14.04.1_all.deb  -O /tmp/povray37_include.deb")

tools.command("dpkg -i /tmp/povray37.deb")
tools.command("dpkg -i /tmp/povray37_include.deb")

// to execute sample simulation, which has executor in ruby
if (!tools.isRubyValid()) tools.installRvmRuby()

tools.download(tools.config.simDownloadURL, "${tools.installDir}/scalarm_simulation_manager.xz")
tools.command("unxz scalarm_simulation_manager.xz && chmod +x scalarm_simulation_manager", tools.installDir)

ant = new AntBuilder()
{'fraction_non_alphanumeric': 0.14437689969604864, 'fraction_numerical': 0.031408308004052685, 'mean_word_length': 5.391585760517799, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3817656', 'n_tokens_mistral': 816, 'n_tokens_neox': 730, 'n_words': 116}