<commit_before>/*  =========================================================================
    mlm_selftest - run self tests

    -------------------------------------------------------------------------
    Copyright (c) the Contributors as noted in the AUTHORS file.
    This file is part of the Malamute Project

    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
    =========================================================================
*/

#include "mlm_classes.h"

int main (int argc, char *argv [])
{
    bool verbose;
    if (argc == 2 && streq (argv [1], "-v"))
        verbose = true;
    else
        verbose = false;

    printf ("Running self tests...\n");
    zbits_test (verbose);
    mlm_msg_test (verbose);
    mlm_server_test (verbose);
    mlm_client_test (verbose);
    printf ("Tests passed OK\n");
    return 0;
}<commit_msg>Added missing include of labs/zbits.h<commit_after>/*  =========================================================================
    mlm_selftest - run self tests

    -------------------------------------------------------------------------
    Copyright (c) the Contributors as noted in the AUTHORS file.
    This file is part of the Malamute Project

    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
    =========================================================================
*/

#include "mlm_classes.h"
#include "labs/zbits.h"

int main (int argc, char *argv [])
{
    bool verbose;
    if (argc == 2 && streq (argv [1], "-v"))
        verbose = true;
    else
        verbose = false;

    printf ("Running self tests...\n");
    zbits_test (verbose);
    mlm_msg_test (verbose);
    mlm_server_test (verbose);
    mlm_client_test (verbose);
    printf ("Tests passed OK\n");
    return 0;
}
{'fraction_non_alphanumeric': 0.29728419010669255, 'fraction_numerical': 0.006789524733268671, 'mean_word_length': 2.409917355371901, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6393634', 'n_tokens_mistral': 571, 'n_tokens_neox': 530, 'n_words': 200}