<commit_before>#!/bin/bash

if [ -e "/usr/bin/supervisord" ] ; then
    service supervisor start
    /wait-for-daemons.sh -a
fi
sudo -u df -H DISPLAY=:1 dwarffortress "$@"<commit_msg>Since the save directory is a mountable volume, it looses its ownership when the container is started, and need to be set to the df user again on startup<commit_after>#!/bin/bash

if [ -e "/usr/bin/supervisord" ] ; then
    service supervisor start
    /wait-for-daemons.sh -a
fi
chown -R df:df /df_linux/data/save
sudo -u df -H DISPLAY=:1 dwarffortress "$@"
{'fraction_non_alphanumeric': 0.12014787430683918, 'fraction_numerical': 0.0036968576709796672, 'mean_word_length': 3.479338842975207, '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': '4272250', 'n_tokens_mistral': 201, 'n_tokens_neox': 188, 'n_words': 66}