<commit_before><html t:type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">

<h1>Palette Demo</h1>


<t:form t:id="demo" class="form-horizontal">
    <div class="control-group">
        <div class="controls">

            <label class="checkbox">
                <t:checkbox t:id="reorder"/>
                Enable Reorder
            </label>
        </div>

    </div>


    <div class="control-group">

        <t:label for="languages"/>

        <div class="controls">

            <t:palette t:id="languages" model="languageModel" reorder="reorder" encoder="languageEncoder"
                       availableLabel="Languages Offered" validate="required">
                <t:parameter name="selectedLabel" xml:space="default">
                    Selected
                    <t:if test="reorder">/ Ranked</t:if><commit_msg>Tweak the title when ordering is enabled<commit_after><html t:type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">

<h1>Palette Demo</h1>


<t:form t:id="demo" class="form-horizontal">
    <div class="control-group">
        <div class="controls">

            <label class="checkbox">
                <t:checkbox t:id="reorder"/>
                Enable Reorder
            </label>
        </div>

    </div>


    <div class="control-group">

        <t:label for="languages"/>

        <div class="controls">

            <t:palette t:id="languages" model="languageModel" reorder="reorder" encoder="languageEncoder"
                       availableLabel="Languages Offered" validate="required">
                <t:parameter name="selectedLabel" xml:space="default">
                    <t:if test="reorder" else="Selected">Ranked
                    </t:if>
{'fraction_non_alphanumeric': 0.15198618307426598, 'fraction_numerical': 0.0057570523891767415, 'mean_word_length': 2.3041825095057034, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1550835', 'n_tokens_mistral': 536, 'n_tokens_neox': 496, 'n_words': 89}