<commit_before>FROM ubuntu:15.10

RUN apt-get update && apt-get install -y \
    python3.4 \
    python3-pip \
    clang \
    gcc \
    g++ \
    cmake \
    libcgroup-dev \
    git \
    sudo \
    acl

RUN git clone https://github.com/pzread/judge.git
RUN cd judge && \
    pip3 install -r requirements.txt && \
    mkdir lib && \
    cd lib && \
    cmake .. && \
    make<commit_msg>Add TRAVIS_COMMIT<commit_after>FROM ubuntu:15.10

RUN apt-get update && apt-get install -y \
    python3.4 \
    python3-pip \
    clang \
    gcc \
    g++ \
    cmake \
    libcgroup-dev \
    git \
    sudo \
    acl

RUN if [ "${TRAVIS_COMMIT}" ]; then \
    mkdir judge && \
    cd judge && \
    git init && \
    git remote add origin https://github.com/pzread/judge.git && \
    git fetch origin ${TRAVIS_COMMIT} && \
    git reset --hard FETCH_HEAD; \
    else \
    git clone https://github.com/pzread/judge.git; fi

RUN cd judge && \
    pip3 install -r requirements.txt && \
    mkdir lib && \
    cd lib && \
    cmake .. && \
    make
{'fraction_non_alphanumeric': 0.13706563706563707, 'fraction_numerical': 0.015444015444015444, 'mean_word_length': 1.658974358974359, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '4372149', 'n_tokens_mistral': 396, 'n_tokens_neox': 370, 'n_words': 94}