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

if test -n "$TEST_IMAGEMAGICK"; then
  # Install imagemagick
  sudo apt-get update
  sudo apt-get install imagemagick -y
else
  # Uninstall imagemagick from Travis CI
  sudo apt-get remove imagemagick -y

  # Download, make, and install graphicsmagick
  wget http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.17
  tar xvf GraphicsMagick-1.3.17.tar.xz
  cd GraphicsMagick-1.3.17
  ./configure
  make
  sudo make install
  cd ..
fi<commit_msg>Corrected download script for graphicsmagick<commit_after>#!/usr/bin/env bash

if test -n "$TEST_IMAGEMAGICK"; then
  # Install imagemagick
  sudo apt-get update
  sudo apt-get install imagemagick -y
else
  # Uninstall imagemagick from Travis CI
  sudo apt-get remove imagemagick -y

  # Download, make, and install graphicsmagick
  wget http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.17/GraphicsMagick-1.3.17.tar.xz/download --output-document GraphicsMagick-1.3.17.tar.xz
  tar xvf GraphicsMagick-1.3.17.tar.xz
  cd GraphicsMagick-1.3.17
  ./configure
  make
  sudo make install
  cd ..
fi
{'fraction_non_alphanumeric': 0.09605026929982047, 'fraction_numerical': 0.02872531418312388, 'mean_word_length': 3.6458333333333335, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2590326', 'n_tokens_mistral': 425, 'n_tokens_neox': 390, 'n_words': 99}