<commit_before>#!/bin/bash

PWD="`<PASSWORD>`"

CURL=$(which curl)

if [[ ${#CURL} -eq 0 ]]; then
    echo "[Error] Install curl first."
    exit 1
fi

while [[ $# -gt 0 ]]; do
    case "$1" in
        -h|--help)
            echo "Usage: $0 [OPTIONS...]"
            echo "Options:"
            echo "  -h, --help                   Show this help and exit"
            echo "  -u, --username <username>    Log in with this user name"
            echo "  -p, --password <password>    Log in with this password"
            exit 0
            ;;
        -u|--username)
            shift
            if [[ $# -gt 0 ]]; then
                USERNAME=$1
                shift
            fi
            ;;
        -p|--password)
            shift
            if [[ $# -gt 0 ]]; then
                PASSWORD=$1
                shift
            fi
            ;;
        *)
            break
            ;;<commit_msg>move help to other case;<commit_after>#!/bin/bash

PWD="`<PASSWORD>`"

CURL=$(which curl)

if [[ ${#CURL} -eq 0 ]]; then
    echo "[Error] Install curl first."
    exit 1
fi

while [[ $# -gt 0 ]]; do
    case "$1" in
        -u|--username)
            shift
            if [[ $# -gt 0 ]]; then
                USERNAME=$1
                shift
            fi
            ;;
        -p|--password)
            shift
            if [[ $# -gt 0 ]]; then
                PASSWORD=$1
                shift
            fi
            ;;
        *)
            echo "Usage: $0 [OPTIONS...]"
            echo "Options:"
            echo "  -h, --help                   Show this help and exit"
            echo "  -u, --username <username>    Log in with this user name"
            echo "  -p, --password <password>    Log in with this password"
            exit 0
            ;;
{'fraction_non_alphanumeric': 0.13445378151260504, 'fraction_numerical': 0.011204481792717087, 'mean_word_length': 0.9778516057585825, 'pattern_counts': {'":': 0, '<': 9, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2413972', 'n_tokens_mistral': 551, 'n_tokens_neox': 508, 'n_words': 160}