---
type: "Source File"
title: "<div class=\"breadcrumb\">"
description: "{% extends \"base.html\" %} {% set countries = {country_code: country} %} {% block title %}{{ country.name }} — AI Displacement Rankings | CopeCheck Cities{% endblock %} {% block content %} <div class=\"breadcrumb\"> <a."
resource: "https://cities.copecheck.com"
tags: ["copecheck", "cities", "source-file", "html"]
timestamp: "2026-09-25T13:45:54Z"
site: "cities"
source_path: "copecheck-cities/templates/country.html"
---

# <div class="breadcrumb">

Source path: `copecheck-cities/templates/country.html`  
Index snapshot generated: `2026-11-24T13:27:52Z`  
File modified: `2026-09-25T13:45:54Z`

```html
{% extends "base.html" %}
{% set countries = {country_code: country} %}

{% block title %}{{ country.name }} — AI Displacement Rankings | CopeCheck Cities{% endblock %}

{% block content %}
<div class="breadcrumb">
    <a href="/">Home</a> / <strong>{{ country.flag }} {{ country.name }}</strong>
</div>

<h1>{{ country.flag }} {{ country.name }} — City Exposure Rankings</h1>
<p class="subtitle">{{ total_cities }} historical city snapshots compared on CopeCheck's heuristic sector-exposure index (0–100). Higher means more concentration in sectors assigned higher weights; it is not a probability or job-loss forecast.</p>

{% if uk_labour and uk_labour.national %}
{% set n = uk_labour.national %}
<div style="margin: 1.5rem 0; padding: 1rem 1.2rem; background: #0d0d0d; border: 1px solid #1f1f1f; border-radius: 6px;">
    <h2 style="font-size: 1rem; margin-bottom: 0.3rem;">📊 UK labour market right now</h2>
    <p style="color: #888; font-size: 0.8rem; margin-bottom: 0.9rem;">
        Measured ONS statistics, shown as context. The rankings below are a structural
        exposure model and are not derived from these figures.
    </p>
    <div style="display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.88rem;">
        {% for key, label in [
            ('unemployment_rate', 'Unemployment rate'),
            ('employment_rate', 'Employment rate'),
            ('inactivity_rate', 'Inactivity rate'),
            ('vacancies', 'Vacancies'),
            ('claimant_count', 'Claimant count'),
            ('youth_unemployment_rate', 'Youth unemployment')
        ] %}
            {% if n[key] %}
            <div>
                <div style="color: #777; font-size: 0.75rem;">{{ label }}</div>
                <div style="font-size: 1.15rem;">
                    {%- if n[key].unit == '%' -%}{{ n[key].value }}%
                    {%- else -%}{{ "{:,}".format((n[key].value * 1000)|int) }}{%- endif -%}
                </div>
                <div style="color: #666; font-size: 0.72rem;">{{ n[key].period }}</div>
            </div>
            {% endif %}
        {% endfor %}
    </div>
    <p style="color: #666; font-size: 0.78rem; margin-top: 0.9rem;">
        Vacancies are at their lowest level outside the pandemic since 2014, and youth
        unemployment is at an 11-year high. Source:
        <a href="https://www.ons.gov.uk/employmentandlabourmarket/peopleinwork/employmentandemployeetypes/bulletins/uklabourmarket/september2026" rel="nofollow">ONS
        Labour market overview, UK: September 2026</a> (released 15 September 2026; next release
        20 October 2026). Retrieved {{ uk_labour.generated_at[:10] }}. LFS-derived outputs became
        plain &ldquo;official statistics&rdquo; on 11 August 2026 and ONS is not seeking
        reaccreditation. Contains public sector information licensed under the Open Government
        Licence v3.0.
    </p>
</div>
{% endif %}

{% macro sort_link(field, label) %}
    {% if sort_by == field %}
        {% set new_dir = 'asc' if sort_dir == 'desc' else 'desc' %}
        <a href="?sort={{ field }}&dir={{ new_dir }}">{{ label }} {% if sort_dir == 'desc' %}▼{% else %}▲{% endif %}</a>
    {% else %}
        <a href="?sort={{ field }}&dir=desc">{{ label }}</a>
    {% endif %}
{% endmacro %}

<table>
    <thead>
        <tr>
            <th>#</th>
            <th>{{ sort_link('name', 'City') }}</th>
            <th>{{ sort_link('region', 'Region') }}</th>
            <th>{{ sort_link('population', 'Baseline population') }}</th>
            <th>{{ sort_link('score', 'Score') }}</th>
            <th style="width: 120px;">Relative exposure</th>
            <th style="min-width: 200px;">Model scenario</th>
        </tr>
    </thead>
    <tbody>
        {% for city in cities %}
        <tr>
            <td style="color: #555;">{{ rank_map[city.slug] }}</td>
            <td><a href="/{{ country_code }}/{{ city.slug }}">{{ city.name }}</a></td>
            <td style="color: #888;">{{ city.region }}</td>
            <td style="color: #888;">{{ "{:,}".format(city.population) }}</td>
            <td class="score-cell {% if city.score >= 60 %}score-high{% elif city.score >= 52 %}score-med{% else %}score-low{% endif %}">
                {{ city.score }}
            </td>
            <td>
                <div class="bar">
                    <div class="bar-fill" style="width: {{ city.score }}%; background: {% if city.score >= 60 %}#ff6b6b{% elif city.score >= 52 %}#ffa94d{% else %}#69db7c{% endif %};"></div>
                </div>
            </td>
            <td class="oracle-preview">{{ city.oracle_soft[:80] }}{% if city.oracle_soft|length > 80 %}…{% endif %}</td>
        </tr>
        {% endfor %}
    </tbody>
</table>
{% endblock %}
```
