<commit_before>#!/bin/sh

dir="$(dirname "$0")"
source "$dir/odk_settings.sh"

# declare -a FORMS=("vcm_register" "VCM_Sett_Coordinates_1" "New_VCM_Summary")
declare -a FORMS=("VCM_Sett_Coordinates_1.2")
UUID=$(uuidgen)

wget -O/dev/null "${API_ROOT}?task=start_odk_jar&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"

for FORM in "${FORMS[@]}";
 do
   echo $FORM
    java -jar $JAR_FILE \
     --form_id $FORM \
     --export_filename $FORM \
     --aggregate_url $AGGREGATE_URL \
     --storage_directory $STORAGE_DIRECTORY \
     --export_directory $EXPORT_DIRECTORY \
     --odk_username $ODK_USER admin \
     --odk_password $ODK_PASS <PASSWORD> \
     --exclude_media_export;
done

sleep 2
# DONE WITH ODK JAR FILE #
wget -O/dev/null "${API_ROOT}?task=finish_odk_jar&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"<commit_msg>fix odk .sh file so settings is out of app deploy path<commit_after>#!/bin/sh

# dir="$(dirname "$0")"
# source "$dir/odk_settings.sh"
source "/Users/johndingee_seed/Desktop/odk_settings.sh"
source "/home/ubuntu/ODK/odk_settings.sh"

# declare -a FORMS=("vcm_register" "VCM_Sett_Coordinates_1" "New_VCM_Summary")
declare -a FORMS=("VCM_Sett_Coordinates_1.2")
UUID=$(uuidgen)

wget -O/dev/null "${API_ROOT}?task=start_odk_jar&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"

for FORM in "${FORMS[@]}";
 do
   echo $FORM
    java -jar $JAR_FILE \
     --form_id $FORM \
     --export_filename $FORM \
     --aggregate_url $AGGREGATE_URL \
     --storage_directory $STORAGE_DIRECTORY \
     --export_directory $EXPORT_DIRECTORY \
     --odk_username $ODK_USER admin \
     --odk_password $ODK_PASS <PASSWORD> \
     --exclude_media_export;
done

sleep 2
# DONE WITH ODK JAR FILE #
wget -O/dev/null "${API_ROOT}?task=finish_odk_jar&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"
{'fraction_non_alphanumeric': 0.15878916622411046, 'fraction_numerical': 0.0053106744556558685, 'mean_word_length': 4.524926686217009, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7533235', 'n_tokens_mistral': 752, 'n_tokens_neox': 734, 'n_words': 124}