<commit_before>﻿
/**
 * Filter to check which selection state is active
 */
export function qStatusFilter() {
    "use strict";
    return function (elementStatus: string) {
        switch (elementStatus) {
            case "S":
                return "selected";
            case "A":
                return "alternative";
            case "O":
                return "optional";
            case "X":
                return "excluded";
            case "XS":
                return "selectedExcluded";
            case "L":
                return "locked";
        }
        return "option";
    };
}

/**
 * Filter to check which item is selected
 */<commit_msg>code cleanup<commit_after>﻿
/**
 * Filter to check which selection state is active
 */
export function qStatusFilter() {
    "use strict";
    return function (elementStatus: string) {
        switch (elementStatus) {
            case "S":
                return "selected";
            case "A":
                return "alternative";
            case "X":
                return "excluded";
            case "XS":
                return "selectedExcluded";
            case "L":
                return "locked";

            default:
                return "optional";
        }
    };
}

/**
 * Filter to check which item is selected
 */
{'fraction_non_alphanumeric': 0.10659509202453987, 'fraction_numerical': 0.0, 'mean_word_length': 1.39010989010989, 'pattern_counts': {'":': 11, '<': 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': '6314217', 'n_tokens_mistral': 329, 'n_tokens_neox': 313, 'n_words': 104}