<commit_before>
#include <stdio.h>
#include <core_c/musikcore_c.h>

int main(int argc, char** argv) {
    mcsdk_context* context = NULL;
    mcsdk_context_init(&context);
    if (context) {
        printf("initialized\n");
    }
    mcsdk_map_list ml = mcsdk_svc_metadata_query_albums(context->metadata, "alice");
    int count = mcsdk_map_list_get_count(ml);
    for (int i = 0; i < count; i++) {
        mcsdk_map m = mcsdk_map_list_get_at(ml, i);
        size_t len = mcsdk_map_get_string(m, "album", NULL, 0);
        char* str = malloc(len * sizeof(char));
        mcsdk_map_get_string(m, "album", str, len);
        printf("%s\n", str);
        free(str);
    }
    mcsdk_map_list_release(ml);
    mcsdk_context_release(&context);
    return 0;
}<commit_msg>More main.c test code.<commit_after>
#include <stdio.h>
#include <unistd.h>
#include <core_c/musikcore_c.h>

int main(int argc, char** argv) {
    mcsdk_context* context = NULL;
    mcsdk_context_init(&context);
    if (context) {
        printf("initialized\n");
    }
    mcsdk_map_list ml = mcsdk_svc_metadata_query_albums(context->metadata, "beatles");
    int count = mcsdk_map_list_get_count(ml);
    for (int i = 0; i < count; i++) {
        mcsdk_map m = mcsdk_map_list_get_at(ml, i);
        size_t len = mcsdk_map_get_string(m, "album", NULL, 0);
        char* str = malloc(len * sizeof(char));
        mcsdk_map_get_string(m, "album", str, len);
        printf("%s\n", str);
        free(str);
    }
    mcsdk_map_list_release(ml);
    mcsdk_track_list tl = mcsdk_svc_metadata_query_tracks(
        context->metadata, "a day in the life", mcsdk_no_limit, mcsdk_no_offset);
    mcsdk_svc_playback_play(context->playback, tl, 0);
    mcsdk_track_list_release(tl);
    usleep(1000000 * 5);
    mcsdk_context_release(&context);
    printf("released\n");
    return 0;
}
{'fraction_non_alphanumeric': 0.1375, 'fraction_numerical': 0.008152173913043478, 'mean_word_length': 3.4468599033816427, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 12, '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': '318484', 'n_tokens_mistral': 731, 'n_tokens_neox': 712, 'n_words': 135}