<commit_before>#include <pulse/proplist.h>

#include <stdio.h>

static int fail_count = 0;

#define ASSERT(expr) do { \
    if (!(expr)) { \
        fprintf(stderr, "Failed: %s\n", #expr); \
        fail_count++; \
        return 1; \
    } \
} while(0)


int main()
{
    pa_proplist* pl = NULL;
    ASSERT((pl = pa_proplist_new()) != NULL);

    ASSERT(pa_proplist_sets(pl, "prop1", "aaaa"));
    ASSERT(pa_proplist_sets(pl, "prop2", "bbbb"));

    pa_proplist_free(pl);
}<commit_msg>FIX: fix test assertion<commit_after>#include <pulse/def.h>
#include <pulse/proplist.h>

#include <stdio.h>

static int fail_count = 0;

#define ASSERT(expr) do { \
    if (!(expr)) { \
        fprintf(stderr, "Failed: %s\n", #expr); \
        fail_count++; \
        return 1; \
    } \
} while(0)


int main()
{
    pa_proplist* pl = NULL;
    ASSERT((pl = pa_proplist_new()) != NULL);

    ASSERT(pa_proplist_sets(pl, "prop1", "aaaa") == PA_OK);
    ASSERT(pa_proplist_sets(pl, "prop2", "bbbb") == PA_OK);

    pa_proplist_free(pl);
}
{'fraction_non_alphanumeric': 0.187683284457478, 'fraction_numerical': 0.009775171065493646, 'mean_word_length': 3.0634920634920637, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '5458479', 'n_tokens_mistral': 423, 'n_tokens_neox': 395, 'n_words': 79}