<commit_before>
# in honor of Android.
hmm() { # This help.
    echo 'usage: ". ./envsetup.sh" from your shell to add the following functions to your environment'
    echo

    # Supported OS'es include the path here, so >_>.
    # Also this skips funcs with !a-z names (e.g. for internals).
    # It also skips undocumented.
    cat `gettop`/envsetup.{sh,local.sh} | grep '^[a-z]*() {' | \
        sed -e 's/() { # /\t/' -e 's/[a-z]*() {.*$//' -e '/^$/d' -e 's/^/\t/' #| sort

    echo
    echo "Read the source for further details."
}


guess_is_top() {
    # These files are always present at top.
    if ! [ -f "envsetup.cmd" -a -f "envsetup.sh" ]; then return 127; fi
    if ! [ -f "COPYING" -a -f "README" ]; then return 127; fi

    # are we a gradle top?
    [ \
        -f "gradlew" \
        -a -f "build.gradle" \
        -a -f "settings.gradle" \
        -a -f "gradle/wrapper/gradle-wrapper.properties" \
    ] && return 0

    # are we a make top?
    [ \
        -f "Makefile" \<commit_msg>Assume envsetup.{sh,cmd} scripts mark top.<commit_after>
# in honor of Android.
hmm() { # This help.
    echo 'usage: ". ./envsetup.sh" from your shell to add the following functions to your environment'
    echo

    # Supported OS'es include the path here, so >_>.
    # Also this skips funcs with !a-z names (e.g. for internals).
    # It also skips undocumented.
    cat `gettop`/envsetup.{sh,local.sh} | grep '^[a-z]*() {' | \
        sed -e 's/() { # /\t/' -e 's/[a-z]*() {.*$//' -e '/^$/d' -e 's/^/\t/' #| sort

    echo
    echo "Read the source for further details."
}


guess_is_top() {
    # These files are always present at top.
    if ! [ -f "envsetup.cmd" -a -f "envsetup.sh" ]; then return 0; fi
    if ! [ -f "COPYING" -a -f "README" ]; then return 127; fi

    # are we a gradle top?
    [ \
        -f "gradlew" \
        -a -f "build.gradle" \
        -a -f "settings.gradle" \
        -a -f "gradle/wrapper/gradle-wrapper.properties" \
    ] && return 0

    # are we a make top?
    [ \
        -f "Makefile" \
{'fraction_non_alphanumeric': 0.17427589592538045, 'fraction_numerical': 0.005891016200294551, 'mean_word_length': 1.9493487698986975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7165276', 'n_tokens_mistral': 789, 'n_tokens_neox': 736, 'n_words': 244}