<commit_before>FROM python:3.7.4-buster
LABEL maintainer="<EMAIL>"

RUN apt-get update && apt-get install -y git lxc

RUN git clone https://github.com/project-lovelace/lovelace-engine.git /engine/
RUN git clone https://github.com/project-lovelace/lovelace-problems.git /problems/

RUN pip install falcon gunicorn

RUN mkdir -p "/var/log/lovelace/" && touch "/var/log/lovelace/lovelace-engine.log"

WORKDIR /engine/
ENV ENGINE_PORT 14714
EXPOSE $ENGINE_PORT
CMD gunicorn --workers 1 --log-level debug --timeout 600 --preload --reload --bind localhost:$ENGINE_PORT engine.api:app
<commit_msg>Add numpy and scipy because why not<commit_after>FROM python:3.7.4-buster
LABEL maintainer="<EMAIL>"

RUN apt-get update && apt-get install -y git lxc

RUN git clone https://github.com/project-lovelace/lovelace-engine.git /engine/
RUN git clone https://github.com/project-lovelace/lovelace-problems.git /problems/

RUN pip install falcon gunicorn numpy scipy

RUN mkdir -p "/var/log/lovelace/" && touch "/var/log/lovelace/lovelace-engine.log"

WORKDIR /engine/
ENV ENGINE_PORT 14714
EXPOSE $ENGINE_PORT
CMD gunicorn --workers 1 --log-level debug --timeout 600 --preload --reload --bind localhost:$ENGINE_PORT engine.api:app

{'fraction_non_alphanumeric': 0.12520593080724876, 'fraction_numerical': 0.019769357495881382, 'mean_word_length': 4.170212765957447, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '6011701', 'n_tokens_mistral': 449, 'n_tokens_neox': 416, 'n_words': 114}