<commit_before>{{template "head" .}}
{{template "body_start" .}}
<h1>Wares</h1>

<table class="table table-bordered">
    <thead>
        <tr>
            <th>Id</th>
            <th>Name</th>
            <th>Transport</th>
            <th>Avg. Price</th>
        </tr>
    </thead>
    <tbody>
    {{range .Data.wares}}
        <tr{{if .NameRaw.Valid}} class="hidden"{{end}}>
            <td><a href="/ware/{{.Id}}">{{.Id}}</a></td>
            <td{{if .NameRaw.Valid}} class="ware-internal warning"{{end}}>
                {{if .Name.Valid}}
                    <a href="/ware/{{.Id}}">{{.Name.String}}</a>
                {{else}}{{if .NameRaw.Valid}}
                    <a href="/ware/{{.Id}}">({{.NameRaw.String}}</a>
                {{end}}
                {{end}}
            </td>
            <td>{{.Transport}}</td>
            <td>{{.PriceAverage}}</td>
        </tr>
    {{end}}
    {{if not .Data.wares}}
        <tr>
            <td colspan="4">No matching wares found.</td>
        </tr>
    {{end}}
    </tbody>
</table>
{{template "body_end" .}}
{{template "footer" .}}<commit_msg>revert template elseif problem. Go 1.2 was needed.<commit_after>{{template "head" .}}
{{template "body_start" .}}
<h1>Wares</h1>

<table class="table table-bordered">
    <thead>
        <tr>
            <th>Id</th>
            <th>Name</th>
            <th>Transport</th>
            <th>Avg. Price</th>
        </tr>
    </thead>
    <tbody>
    {{range .Data.wares}}
        <tr{{if .NameRaw.Valid}} class="hidden"{{end}}>
            <td><a href="/ware/{{.Id}}">{{.Id}}</a></td>
            <td{{if .NameRaw.Valid}} class="ware-internal warning"{{end}}>
                {{if .Name.Valid}}
                    <a href="/ware/{{.Id}}">{{.Name.String}}</a>
                {{else if .NameRaw.Valid}}
                    <a href="/ware/{{.Id}}">({{.NameRaw.String}}</a>
                {{end}}
            </td>
            <td>{{.Transport}}</td>
            <td>{{.PriceAverage}}</td>
        </tr>
    {{end}}
    {{if not .Data.wares}}
        <tr>
            <td colspan="4">No matching wares found.</td>
        </tr>
    {{end}}
    </tbody>
</table>
{{template "body_end" .}}
{{template "footer" .}}
{'fraction_non_alphanumeric': 0.2370806890299184, 'fraction_numerical': 0.003626473254759746, 'mean_word_length': 1.6180308422301304, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '5369421', 'n_tokens_mistral': 777, 'n_tokens_neox': 741, 'n_words': 129}