<commit_before>{% load i18n %}
<!-- ko ifnot: $data.search -->
<div class="node-config-item">
    <div class="control-label">
        {% trans "Concept Collection" %}
    </div>
    <div>
        <select data-bind="disable: isEditable === false, placeholder: '{% trans "Select a concept collection" %}', value: topConcept, options: conceptCollections , optionsText: 'label', optionsValue: 'id', chosen: {width: '100%', allow_single_deselect: true}"></select>
    </div>
</div>
<!-- /ko -->

<!-- ko if: $data.search -->
<div class="col-md-4 col-lg-3">
    <select class="resources" data-bind="value: op, chosen: {width: '100%', disable_search_threshold: 15}">
        <option value="">{% trans "Equals" %}</option>
        <option value="!">{% trans "Not" %}</option>
    </select>
</div>

<div class="col-md-8 col-lg-9">
    <input style="width:30%; display:inline-block;"
        data-bind="
            value: searchValue,
            select2Query: {<commit_msg>fixes issue w/ concept values list, re: #3786<commit_after>{% load i18n %}
<!-- ko ifnot: $data.search -->
<div class="node-config-item">
    <div class="control-label">
        {% trans "Concept Collection" %}
    </div>
    <div data-bind="if: conceptCollections().length > 0">
        <select data-bind="disable: isEditable === false, placeholder: '{% trans "Select a concept collection" %}', value: topConcept, options: conceptCollections , optionsText: 'label', optionsValue: 'id', chosen: {width: '100%', allow_single_deselect: true}"></select>
    </div>
</div>
<!-- /ko -->

<!-- ko if: $data.search -->
<div class="col-md-4 col-lg-3">
    <select class="resources" data-bind="value: op, chosen: {width: '100%', disable_search_threshold: 15}">
        <option value="">{% trans "Equals" %}</option>
        <option value="!">{% trans "Not" %}</option>
    </select>
</div>

<div class="col-md-8 col-lg-9">
    <input style="width:30%; display:inline-block;"
        data-bind="
            value: searchValue,
            select2Query: {
{'fraction_non_alphanumeric': 0.2054726368159204, 'fraction_numerical': 0.019402985074626865, 'mean_word_length': 3.3622559652928414, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 44, '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': '254732', 'n_tokens_mistral': 673, 'n_tokens_neox': 641, 'n_words': 166}