<commit_before>.pragma library

function createInitialState()
{
    var state = {}

    /* Generic options */
    state.page = "playlists"
    state.pageLabel = "playlists"
    state.showTopSection = true

    /* Playlists page options */
    state.playlists = {}

    // Holds the current Spotinetta::Playlist object, or undefined if none
    state.playlists.playlist = undefined

    // Possible stages:
    // "container": displays a list of available playlists for the current user
    // "playlist": displays the playlist specified by the above playlist property
    state.playlists.stage = "list"

    /* Search page options */
    state.search = {}

    // Possible stages:
    // "query" : query input screen<commit_msg>Fixed: wrong stage for playlists on default state initialization<commit_after>.pragma library

function createInitialState()
{
    var state = {}

    /* Generic options */
    state.page = "playlists"
    state.pageLabel = "playlists"
    state.showTopSection = true

    /* Playlists page options */
    state.playlists = {}

    // Holds the current Spotinetta::Playlist object, or undefined if none
    state.playlists.playlist = undefined

    // Possible stages:
    // "container": displays a list of available playlists for the current user
    // "playlist": displays the playlist specified by the above playlist property
    state.playlists.stage = "container"

    /* Search page options */
    state.search = {}

    // Possible stages:
    // "query" : query input screen
{'fraction_non_alphanumeric': 0.09854497354497355, 'fraction_numerical': 0.0, 'mean_word_length': 2.869565217391304, 'pattern_counts': {'":': 4, '<': 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': '3610833', 'n_tokens_mistral': 407, 'n_tokens_neox': 390, 'n_words': 135}