<commit_before>#!/bin/sh
# Name of nodes to start, here we have a single node
CELERYD_NODES="w1"

ENV_PYTHON="python"
# If you are using a virtual environment, comment out the line above and uncomment
# the folling line, substituting in the path to your virtual environment.
#ENV_PYTHON="/path/to/my/virtualenv/bin/python"

# Get the INSTALL_ROOT
. /etc/courtlistener
if [ -z $INSTALL_ROOT ]; then
  echo "INSTALL_ROOT is not set. Please set it in /etc/courtlistener."
  exit 1
fi

# How to call "manage.py celeryd_multi"
CELERYD_MULTI="$ENV_PYTHON $INSTALL_ROOT/manage.py celeryd_multi"

# Name of the celery config module.
CELERY_CONFIG_MODULE="celeryconfig"

# %n will be replaced with the nodename.
CELERYD_LOG_FILE="/var/log/celery/%n.log"
CELERYD_LOG_LEVEL="INFO"
CELERYD_PID_FILE="/var/run/celery/celery@%n.pid"

# Workers should run as an unprivileged user.
CELERYD_USER="celery"
CELERYD_GROUP="celery"

# Name of the projects settings module.
export DJANGO_SETTINGS_MODULE="settings"<commit_msg>Tweak to the celery starter.<commit_after>#!/bin/sh
# Name of nodes to start, here we have a single node
CELERYD_NODES="w1"

ENV_PYTHON="python"
# If you are using a virtual environment, comment out the line above and uncomment
# the folling line, substituting in the path to your virtual environment.
#ENV_PYTHON="/path/to/my/virtualenv/bin/python"

# Get the INSTALL_ROOT
. /etc/courtlistener
if [ -z $INSTALL_ROOT ]; then
  echo "INSTALL_ROOT is not set. Please set it in /etc/courtlistener."
  exit 1
fi

# How to call "manage.py celeryd_multi"
CELERYD_MULTI="$ENV_PYTHON $INSTALL_ROOT/manage.py celeryd_multi"

# Name of the celery config module.
CELERY_CONFIG_MODULE="celeryconfig"

# %n will be replaced with the nodename.
CELERYD_LOG_FILE="/var/log/celery/%n.log"
CELERYD_LOG_LEVEL="INFO"
CELERYD_PID_FILE="/var/run/celery/celery@%n.pid"

# Workers should run as an unprivileged user.
CELERYD_USER="celery"
CELERYD_GROUP="celery"

# Name of the projects settings module.
export DJANGO_SETTINGS_MODULE="alert.settings"
{'fraction_non_alphanumeric': 0.09857072449482504, 'fraction_numerical': 0.001971414489896501, 'mean_word_length': 5.246153846153846, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5184078', 'n_tokens_mistral': 748, 'n_tokens_neox': 719, 'n_words': 209}