<commit_before><?php

define('FA_MAX_LENGTH', 100);

function fa_brevity($message, $length)
{
    if (!isset($length)) {
        $length = FA_MAX_LENGTH;
    }
    if (strlen($message) > $length) {
        $source_words = preg_split('/\b/', $message);
        $target_words = array();<commit_msg>Fix defaults for brevity().<commit_after><?php

define('FA_MAX_LENGTH', 100);

function fa_brevity($message, $length = 0)
{
    if ($length == 0) {
        $length = FA_MAX_LENGTH;
    }
    if (strlen($message) > $length) {
        $source_words = preg_split('/\b/', $message);
        $target_words = array();
{'fraction_non_alphanumeric': 0.17957166392092258, 'fraction_numerical': 0.013179571663920923, 'mean_word_length': 3.3120567375886525, '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': '1959612', 'n_tokens_mistral': 217, 'n_tokens_neox': 209, 'n_words': 40}