<commit_before>#!/bin/sh

set -ae

# GC logging set to default value of path.logs
CRATE_GC_LOG_DIR="/data/log"
# Special VM options for Java in Docker
CRATE_JAVA_OPTS="-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Des.cgroups.hierarchy.override=/ $CRATE_JAVA_OPTS"

if [ "${1:0:1}" = '-' ]; then
    set -- crate "$@"
fi

if [ "$1" = 'crate' -a "$(id -u)" = '0' ]; then
    chown -R crate:crate /data
    set -- gosu crate "$@"
fi

exec "$@"<commit_msg>Set CRATE_HEAP_DUMP_PATH for CrateDB 3.0+<commit_after>#!/bin/sh

set -ae

# GC logging set to default value of path.logs
CRATE_GC_LOG_DIR="/data/log"
CRATE_HEAP_DUMP_PATH="/data/data"
# Special VM options for Java in Docker
CRATE_JAVA_OPTS="-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Des.cgroups.hierarchy.override=/ $CRATE_JAVA_OPTS"

if [ "${1:0:1}" = '-' ]; then
    set -- crate "$@"
fi

if [ "$1" = 'crate' -a "$(id -u)" = '0' ]; then
    chown -R crate:crate /data
    set -- gosu crate "$@"
fi

exec "$@"
{'fraction_non_alphanumeric': 0.17326732673267325, 'fraction_numerical': 0.011881188118811881, 'mean_word_length': 3.8840579710144927, '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': '3552608', 'n_tokens_mistral': 418, 'n_tokens_neox': 404, 'n_words': 97}