<commit_before>#!/bin/bash

# Download FFmpeg and HM decoder and place them in $PATH.

set -euvo pipefail

mkdir -p "${HOME}/bin"

wget http://ultravideo.cs.tut.fi/ffmpeg-release-32bit-static.tar.xz
sha256sum -c - << EOF
4d3302ba0415e08ca10ca578dcd1f0acc48fadc9b803718283c8c670350c903e  ffmpeg-release-32bit-static.tar.xz
EOF
tar xf ffmpeg-release-32bit-static.tar.xz
cp ffmpeg-2.6.3-32bit-static/ffmpeg "${HOME}/bin/ffmpeg"
chmod +x "${HOME}/bin/ffmpeg"

wget http://ultravideo.cs.tut.fi/ubuntu-12.04-hmdec-16.10.tgz
sha256sum -c - << EOF
e00d61dd031a14aab1a03c0b23df315b8f6ec3fab66a0e2ae2162496153ccf92  ubuntu-12.04-hmdec-16.10.tgz
EOF
tar xf ubuntu-12.04-hmdec-16.10.tgz<commit_msg>Update the ffmpeg version used in the tests<commit_after>#!/bin/bash

# Download FFmpeg and HM decoder and place them in $PATH.

set -euvo pipefail

mkdir -p "${HOME}/bin"

wget http://ultravideo.cs.tut.fi/ffmpeg-release-4.2.1-32bit-static.tar.xz
sha256sum -c - << EOF
226f55f8a94d71f3d231a20fe59fcbb7f6100cabf663f9bcb887d17b332a91c5  ffmpeg-release-4.2.1-32bit-static.tar.xz
EOF
tar xf ffmpeg-release-4.2.1-32bit-static.tar.xz
cp ffmpeg-4.2.1-i686-static/ffmpeg "${HOME}/bin/ffmpeg"
chmod +x "${HOME}/bin/ffmpeg"

wget http://ultravideo.cs.tut.fi/ubuntu-12.04-hmdec-16.10.tgz
sha256sum -c - << EOF
e00d61dd031a14aab1a03c0b23df315b8f6ec3fab66a0e2ae2162496153ccf92  ubuntu-12.04-hmdec-16.10.tgz
EOF
tar xf ubuntu-12.04-hmdec-16.10.tgz
{'fraction_non_alphanumeric': 0.13883016208597604, 'fraction_numerical': 0.1719520789288231, 'mean_word_length': 4.482625482625482, 'pattern_counts': {'":': 0, '<': 11, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4782082', 'n_tokens_mistral': 827, 'n_tokens_neox': 672, 'n_words': 96}