<commit_before>#!/bin/bash

if [ "${EGGS_GIT_HOME}" == "" ] ; then
    echo "Please set EGGS_GIT_HOME variable"
fi

PACKAGE_DIR=net/codetojoy/example

mkdir -p src/main/java/$PACKAGE_DIR
mkdir -p src/test/java/$PACKAGE_DIR

REF_PROJ_DIR=${EGGS_GIT_HOME}/reference_project

cp $REF_PROJ_DIR/src/main/java/$PACKAGE_DIR/*.java src/main/java/$PACKAGE_DIR
cp $REF_PROJ_DIR/src/test/java/$PACKAGE_DIR/*.java src/test/java/$PACKAGE_DIR
cp $REF_PROJ_DIR/build.gradle .

cp $REF_PROJ_DIR/.gitignore .

echo "Ready."
<commit_msg>refactoring<commit_after>#!/bin/bash

if [ "${EGGS_GIT_HOME}" == "" ] ; then
    echo "Please set EGGS_GIT_HOME variable"
fi

PACKAGE_DIR=com/example

mkdir -p src/main/java/$PACKAGE_DIR
mkdir -p src/test/java/$PACKAGE_DIR

REF_PROJ_DIR=${EGGS_GIT_HOME}/reference_project

cp $REF_PROJ_DIR/src/main/java/$PACKAGE_DIR/*.java src/main/java/$PACKAGE_DIR
cp $REF_PROJ_DIR/src/test/java/$PACKAGE_DIR/*.java src/test/java/$PACKAGE_DIR
cp $REF_PROJ_DIR/build.gradle .

cp $REF_PROJ_DIR/.gitignore .

echo "Ready."

{'fraction_non_alphanumeric': 0.14717348927875243, 'fraction_numerical': 0.0, 'mean_word_length': 4.97093023255814, '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': '2314438', 'n_tokens_mistral': 441, 'n_tokens_neox': 430, 'n_words': 60}