{% extends "_base.html" %} {% block title %}Diff {{ run_id }} vs {{ other_run_id }} — yt-shorts-trends{% endblock %} {% block content %}

Diff: {{ run_id }} vs {{ other_run_id }}

{% if error %}

Diff unavailable

{{ error }}

{% else %}

Archetype share delta

{% if archetype_deltas %} {% for row in archetype_deltas %} {% endfor %}
Archetype Share A Share B Delta (B - A)
{{ row.archetype }} {{ "%.3f"|format(row.share_a) }} {{ "%.3f"|format(row.share_b) }} {{ "%+.3f"|format(row.delta) }}
{% else %}

No archetype data in either run.

{% endif %}

New videos (in {{ other_run_id }}, not in {{ run_id }})

{% if new_videos %} {% for v in new_videos %} {% endfor %}
video_idtitlerank
{{ v.video_id }}{{ v.title }}{{ v.rank }}
{% else %}

No new videos.

{% endif %}

Dropped videos (in {{ run_id }}, not in {{ other_run_id }})

{% if dropped_videos %} {% for v in dropped_videos %} {% endfor %}
video_idtitlerank
{{ v.video_id }}{{ v.title }}{{ v.rank }}
{% else %}

No dropped videos.

{% endif %}

Rank delta (videos in both runs)

{% if rank_deltas %} {% for r in rank_deltas %} {% endfor %}
video_id title rank A rank B delta composite A composite B
{{ r.video_id }} {{ r.title }} {{ r.rank_a }} {{ r.rank_b }} {{ "%+d"|format(r.rank_delta) }} {{ r.composite_a }} {{ r.composite_b }}
{% else %}

No shared videos.

{% endif %} {% endif %}

← Back to jobs

{% endblock %}