<commit_before><?php

/*
 * Smarty plugin
 * -------------------------------------------------------------
 * Type:     modifier
 * Name:     string_format
 * Purpose:  format strings via sprintf
 * -------------------------------------------------------------
 */
function smarty_modifier_string_format($string, $format)
{
    return sprintf($format, $string);
}

/* vim: set expandtab: */

?><commit_msg>fixed arg order of string_format<commit_after><?php

/*
 * Smarty plugin
 * -------------------------------------------------------------
 * Type:     modifier
 * Name:     string_format
 * Purpose:  format strings via sprintf
 * -------------------------------------------------------------
 */
function smarty_modifier_string_format($string, $format)
{
    return sprintf($string, $format);
}

/* vim: set expandtab: */

?>
{'fraction_non_alphanumeric': 0.38748495788206977, 'fraction_numerical': 0.0, 'mean_word_length': 1.230563002680965, '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': '345989', 'n_tokens_mistral': 197, 'n_tokens_neox': 200, 'n_words': 46}