<commit_before>{{#let @content.value as |v|}}

    {{#if (eq this.format "certstatus")}}
        <OxiBase::Label @class="certstatus-{{lc (try v.value v.label)}}" @tooltip={{v.tooltip}} @text={{v.label}} @raw={{true}} />
    {{else if (eq this.format "link")}}
        <OxiBase::Formatted::Link @spec={{v}}/>
    {{else if (eq this.format "extlink")}}
        <a href={{v.page}} target={{try v.target "_blank"}} title={{v.tooltip}}>
            <OxiBase::Label @text={{v.label}} @raw={{true}} />
        </a>
    {{else if (eq this.format "timestamp")}}
        {{this.timestamp}}
    {{else if (eq this.format "text")}}
        <OxiBase::Label @text={{v}} @raw={{false}} />
    {{else if (eq this.format "nl2br")}}
        {{#each this.valueSplitByNewline as |line|}} {{line}}<br> {{/each}}
    {{else if (eq this.format "code")}}
        <code>{{this.valueStr}}</code>
    {{else if (eq this.format "asciidata")}}
        <div class="hover-element">
            <pre class="content pre-scrollable">{{this.valueStr}}</pre>
            <div class="menu">
                <OxiBase::Download @data={{this.valueStr}} />
            </div>
        </div>
    {{else if (eq this.format "download")}}
        <OxiBase::Download @type={{v.type}} @data={{v.data}} @mimeType={{v.mimetype}} @fileName={{v.filename}} @autoDownload={{v.autodownload}} @hide={{v.hide}} />
    {{else if (eq this.format "raw")}}
        {{{defuse this.valueStr}}}
    {{else if (eq this.format "deflist")}}
        <dl>
            {{#each v as |val|}}
                <dt>{{val.label}}</dt>
                {{#each (arrayify val.value) as |ddVal|}}
                    <dd>
                        <OxiBase::Formatted::Arbitrary @value={{ddVal}} @raw={{if (eq val.format "raw") true false}} />
                    </dd>
                {{/each}}
            {{/each}}
        </dl>
    {{else if (eq this.format "ullist")}}
        <ul class="list-unstyled">
            {{#each v as |val|}} <li><OxiBase::Label @text={{val}} @raw={{false}} /></li> {{/each}}
        </ul><commit_msg>UI: format "ullist" can now handle any type of array values<commit_after>{{#let @content.value as |v|}}

    {{#if (eq this.format "certstatus")}}
        <OxiBase::Label @class="certstatus-{{lc (try v.value v.label)}}" @tooltip={{v.tooltip}} @text={{v.label}} @raw={{true}} />
    {{else if (eq this.format "link")}}
        <OxiBase::Formatted::Link @spec={{v}}/>
    {{else if (eq this.format "extlink")}}
        <a href={{v.page}} target={{try v.target "_blank"}} title={{v.tooltip}}>
            <OxiBase::Label @text={{v.label}} @raw={{true}} />
        </a>
    {{else if (eq this.format "timestamp")}}
        {{this.timestamp}}
    {{else if (eq this.format "text")}}
        <OxiBase::Label @text={{v}} @raw={{false}} />
    {{else if (eq this.format "nl2br")}}
        {{#each this.valueSplitByNewline as |line|}} {{line}}<br> {{/each}}
    {{else if (eq this.format "code")}}
        <code>{{this.valueStr}}</code>
    {{else if (eq this.format "asciidata")}}
        <div class="hover-element">
            <pre class="content pre-scrollable">{{this.valueStr}}</pre>
            <div class="menu">
                <OxiBase::Download @data={{this.valueStr}} />
            </div>
        </div>
    {{else if (eq this.format "download")}}
        <OxiBase::Download @type={{v.type}} @data={{v.data}} @mimeType={{v.mimetype}} @fileName={{v.filename}} @autoDownload={{v.autodownload}} @hide={{v.hide}} />
    {{else if (eq this.format "raw")}}
        {{{defuse this.valueStr}}}
    {{else if (eq this.format "deflist")}}
        <dl>
            {{#each v as |val|}}
                <dt>{{val.label}}</dt>
                {{#each (arrayify val.value) as |ddVal|}}
                    <dd>
                        <OxiBase::Formatted::Arbitrary @value={{ddVal}} @raw={{if (eq val.format "raw") true false}} />
                    </dd>
                {{/each}}
            {{/each}}
        </dl>
    {{else if (eq this.format "ullist")}}
        <ul class="list-unstyled">
            {{#each v as |val|}}
                <li>
                    <OxiBase::Formatted::Arbitrary @value={{val}} @raw={{false}} />
                </li>
            {{/each}}
        </ul>
{'fraction_non_alphanumeric': 0.22649976381672177, 'fraction_numerical': 0.0004723665564478035, 'mean_word_length': 2.2854926299456944, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3957562', 'n_tokens_mistral': 1405, 'n_tokens_neox': 1418, 'n_words': 310}