<commit_before><html>
<head>
    <title>Sendung: {{ show.name }} &mdash; Radio Helsinki - Freies Radio Graz</title>
</head>
<body>

<div id="calendar"></div>

<div id="content-main" class="show-detail">

    <div class="show-detail-header bf-{{ show.broadcastformat.slug }}">
        <div class="show-details">
            <h1 id="name">{{ show.name }}</h1>
            {% if show.id != 1 %}
                <p id="programslots">
                    {% for slot in show.programslots.all %}
                        {% if slot.is_active %}
                            <span class="programslot">{{ slot }}</span><br/>
                        {% endif %}
                    {% endfor %}
                </p>
            {% endif %}
        </div>

        <div class="show-categorization">
            <p id="broadcastformat">{{ show.broadcastformat.format }}</p>
            {% for si in show.showinformation.all %}
                <span title="{{ si.information }}" class="abbrev si-{{ si.abbrev }}"><span>{{ si.abbrev }}</span></span>
            {% endfor %}
            {% for st in show.showtopic.all %}
                <span title="{{ st.topic }}" class="abbrev st-{{ st.abbrev }}"><span>{{ st.abbrev }}</span></span>
            {% endfor %}
            {% for mf in show.musicfocus.all %}
                <span title="{{ mf.focus }}" class="abbrev mf-{{ mf.abbrev }}"><span>{{ mf.abbrev }}</span></span>
            {% endfor %}
        </div>

    </div>

    <div id="short-description" class="documentDescription">{{ show.short_description }}</div>

    {% if show.description %}
        <div id="description">{{ show.description|safe }}</div>
    {% endif %}

    {% if show.image and show.image_enabled %}
        <div id="image" style="float: right;"><img src="/program/static/{{ show.image }}" width="200" alt="image"></div>
    {% endif %}

    <p>
        {% for host in show.hosts.all %}
            <a href="{% url "host-detail" host.id %}">{{ host }}</a><br/>
        {% endfor %}
        {% if show.email %}
            <strong>Email:</strong> <a href="mailto:{{ show.email }}">{{ show.email }}</a><br/>
        {% endif %}
        {% if show.website %}
            <strong>Website:</strong> <a href="{{ show.website }}">{{ show.website }}</a><br/>
        {% endif %}
        {% if show.cba_series_id %}
            <strong>CBA-Link:</strong> <a href="http://cba.fro.at/series/{{ show.cba_series_id }}">CBA</a><br/>
        {% endif %}
    </p>

    {% if show.notes.all %}
        <br/>
        <h2>Sendungstipps</h2>
        <ul class="recommendations-list">
            {% for note in show.notes.all reversed %}
                <li>
                    <a href="{% url "timeslot-detail" note.timeslot.id %}"
                       title="{{ note.title }}">{{ note.start|date:"d. M Y" }}:</a>
                    <div class="title">{{ note.title }}</div>
                </li>
            {% endfor %}
        </ul>
    {% endif %}

</div>

</body>
</html>
<commit_msg>include notes of predecessor show if available.<commit_after><html>
<head>
    <title>Sendung: {{ show.name }} &mdash; Radio Helsinki - Freies Radio Graz</title>
</head>
<body>

<div id="calendar"></div>

<div id="content-main" class="show-detail">

    <div class="show-detail-header bf-{{ show.broadcastformat.slug }}">
        <div class="show-details">
            <h1 id="name">{{ show.name }}</h1>
            {% if show.id != 1 %}
                <p id="programslots">
                    {% for slot in show.programslots.all %}
                        {% if slot.is_active %}
                            <span class="programslot">{{ slot }}</span><br/>
                        {% endif %}
                    {% endfor %}
                </p>
            {% endif %}
        </div>

        <div class="show-categorization">
            <p id="broadcastformat">{{ show.broadcastformat.format }}</p>
            {% for si in show.showinformation.all %}
                <span title="{{ si.information }}" class="abbrev si-{{ si.abbrev }}"><span>{{ si.abbrev }}</span></span>
            {% endfor %}
            {% for st in show.showtopic.all %}
                <span title="{{ st.topic }}" class="abbrev st-{{ st.abbrev }}"><span>{{ st.abbrev }}</span></span>
            {% endfor %}
            {% for mf in show.musicfocus.all %}
                <span title="{{ mf.focus }}" class="abbrev mf-{{ mf.abbrev }}"><span>{{ mf.abbrev }}</span></span>
            {% endfor %}
        </div>

    </div>

    <div id="short-description" class="documentDescription">{{ show.short_description }}</div>

    {% if show.description %}
        <div id="description">{{ show.description|safe }}</div>
    {% endif %}

    {% if show.image and show.image_enabled %}
        <div id="image" style="float: right;"><img src="/program/static/{{ show.image }}" width="200" alt="image"></div>
    {% endif %}

    <p>
        {% for host in show.hosts.all %}
            <a href="{% url "host-detail" host.id %}">{{ host }}</a><br/>
        {% endfor %}
        {% if show.email %}
            <strong>Email:</strong> <a href="mailto:{{ show.email }}">{{ show.email }}</a><br/>
        {% endif %}
        {% if show.website %}
            <strong>Website:</strong> <a href="{{ show.website }}">{{ show.website }}</a><br/>
        {% endif %}
        {% if show.cba_series_id %}
            <strong>CBA-Link:</strong> <a href="http://cba.fro.at/series/{{ show.cba_series_id }}">CBA</a><br/>
        {% endif %}
    </p>

    {% if show.notes.all %}
        <br/>
        <h2>Sendungstipps</h2>
        <ul class="recommendations-list">
            {% for note in show.notes.all reversed %}
                <li>
                    <a href="{% url "timeslot-detail" note.timeslot.id %}"
                       title="{{ note.title }}">{{ note.start|date:"d. M Y" }}:</a>
                    <div class="title">{{ note.title }}</div>
                </li>
            {% endfor %}
            {% if show.predecessor and show.predecessor.notes.all %}
                {% if show.name != show.predecessor.name %}
                    <h3>Davor als {{ show.predecessor.name }}</h3>
                {%  endif %}
                {% for note in show.predecessor.notes.all reversed %}
                    <li>
                        <a href="{%  url "timeslot-detail" note.timeslot.id %}"
                           title="{{ note.title }}">{{ note.start|date:"d. M Y" }}:</a>
                        <div class="title">{{ note.title }}</div>
                    </li>
                {% endfor %}
            {% endif %}
        </ul>
    {% endif %}
</div>

</body>
</html>

{'fraction_non_alphanumeric': 0.2009626955475331, 'fraction_numerical': 0.002707581227436823, 'mean_word_length': 1.7149857084524296, 'pattern_counts': {'":': 0, '<': 165, '<?xml version=': 0, '>': 165, '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': '3849100', 'n_tokens_mistral': 2244, 'n_tokens_neox': 1990, 'n_words': 434}