<commit_before>#!/bin/bash
source ../commons/commons.sh
echo ">> Downloading..."
URL=`cat input_url`;
FILENAME=$(basename "$URL");
if [ -e input/gtfs.zip ]; then
    mv input/gtfs.zip $FILENAME;
    checkResult $?;
    wget --header="User-Agent: MonTransit" --timeout=60 --tries=6 -N $URL;
    checkResult $?;
else
    wget --header="User-Agent: MonTransit" --timeout=60 --tries=6 -S $URL;
    checkResult $?;
fi;
# DEBUG
DEBUG=${pwd}; # DEBUG
echo "DEBUG ---------------------------------";
echo "DEBUG > pwd:"; # DEBUG
pwd;
echo "DEBUG > ls -al:"; # DEBUG
ls -al;
echo "DEBUG ---------------------------------";
# DEBUG
if [ -e $FILENAME ]; then<commit_msg>Create input directory if not exists.<commit_after>#!/bin/bash
source ../commons/commons.sh
echo ">> Downloading..."
URL=`cat input_url`;
FILENAME=$(basename "$URL");
if [ -e input/gtfs.zip ]; then
    mv input/gtfs.zip $FILENAME;
    checkResult $?;
    wget --header="User-Agent: MonTransit" --timeout=60 --tries=6 -N $URL;
    checkResult $?;
else
    wget --header="User-Agent: MonTransit" --timeout=60 --tries=6 -S $URL;
    checkResult $?;
fi;
mkdir -p input;
if [ -e $FILENAME ]; then
{'fraction_non_alphanumeric': 0.2391304347826087, 'fraction_numerical': 0.010434782608695653, 'mean_word_length': 2.6891025641025643, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3334310', 'n_tokens_mistral': 418, 'n_tokens_neox': 401, 'n_words': 105}