<commit_before>#include <stdio.h>
#include <wchar.h>
#include <stddef.h>
#include <locale.h>

int main(void)
{
    setlocale(LC_CTYPE, "en_US.utf8"); /* Matches my locale.          */
 /* setlocale(LC_CTYPE, "");              Also works, more portable?  */

    wchar_t *unicode =
        L"\u0060abc"
        L"abcXYZ"
    /*  L"\u0061\u0062\u0063\u0058\u0059\u005a"  Same as above, but
     *                                           not valid universal
     *                                           characters
     */
        L"\u03B1\u03B2\u03B3"
        L"\u2200\u2205\u2605";

    int n = fwprintf(stdout, L"%ls", unicode);
    wprintf(L"\n%d characters printed\n\n", n);

    wprintf(L"print lambda via universal character name: \u03bb\n");
    wprintf(L"print lambda via unicode in source code: λ\n");

    /*
     *  Can't mix calls of wide/non-wide characters versions
     *  of printf/wprintf family of functions.  Calling printf
     *  below would fail.  Which versons are based on the
     *  first call made by the program.  The program sets
     *  up the iostreams first call.
     */
    int i = 21;
    if (i >= 10) {
        wprintf(L"\nThe ultimate answer is %d\n", 2*i);
    }

    return 0;
}<commit_msg>Slight improvement grok/C/CSyntax<commit_after>#include <stdio.h>
#include <wchar.h>
#include <stddef.h>
#include <locale.h>

int main(void)
{
    setlocale(LC_CTYPE, "en_US.utf8"); /* Matches my locale.          */
 /* setlocale(LC_CTYPE, "");              Also works, more portable?  */

    wchar_t *unicode =
        L"\u0060abc"
        L"abcXYZ"
    /*  L"\u0061\u0062\u0063\u0058\u0059\u005a"  Same as above, but
     *                                           not valid universal
     *                                           characters
     */
        L"\u03B1\u03B2\u03B3"
        L"\u2200\u2205\u2605";

    int n = fwprintf(stdout, L"%ls", unicode);
    wprintf(L"\n%d characters printed\n\n", n);

    wprintf(L"print lambda via universal character name: \u03bb\n");
    wprintf(L"print lambda via unicode in source code: λ\n");

    int i = 20;
    i = i + 1;
    /*
     *  Can't mix calls of wide/non-wide characters versions
     *  of printf/wprintf family of functions.  Calling printf
     *  below would fail.  Which versons are based on the
     *  first call made by the program.  The program sets
     *  up the iostreams first call.
     */
    if (i >= 10) {
        wprintf(L"\nThe ultimate answer is %d\n", 2*i);
    }

    return 0;
}
{'fraction_non_alphanumeric': 0.12204881952781113, 'fraction_numerical': 0.04601840736294518, 'mean_word_length': 1.847380410022779, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5548851', 'n_tokens_mistral': 924, 'n_tokens_neox': 835, 'n_words': 225}