PNG asset at copecheck-cities/static/favicon-32.png
- Kind
- Asset
- Date
- 2026-04-17T21:47:48Z
- Source
copecheck-cities/static/favicon-32.png
cities site mirror
Generated OKF concepts for cities, split into readable chunks with source, type, and date.
Showing concepts 1-41 of 41. Each page is capped at 75 concepts so browsers, crawlers, and LLM agents do not have to ingest the whole network at once.
PNG asset at copecheck-cities/static/favicon-32.png
copecheck-cities/static/favicon-32.pngICO asset at copecheck-cities/static/favicon.ico
copecheck-cities/static/favicon.ico"""Add top 10 best/worst cities articles to CopeCheck Cities.""" import os # 1. Create article template template_path = "/home/ben/infra/copecheck-cities/templates/article.html" template = r'''{% extends "base.html" %}.
copecheck-cities/add_articles.py#!/usr/bin/env python3 """Add Ireland, Canada, Australia, and New Zealand to CopeCheck Cities.""" import json, os SECTOR_WEIGHTS = {"administrative_support": 0.85, "retail": 0.80, "manufacturing": 0.82.
copecheck-cities/add_countries.pyimport json cities = [] # Batch 1: AL-FL (10 cities) cities.extend([ {"name":"Birmingham","slug":"birmingham-al","region":"Alabama","population":197575,"gva":42000.
copecheck-cities/add_us_cities.pyimport re import json import os from datetime import datetime from flask import Flask, render_template, abort, request, Response, url_for, jsonify app = Flask(__name__) # --- CopeCheck heuristic sector-exposure weights.
copecheck-cities/app.py[ { "name": "Sydney", "slug": "sydney", "region": "New South Wales", "population": 5231147, "gva": 85000, "sectors": { "agriculture": 0.2, "manufacturing": 5.5, "construction": 7.2, "wholesale": 3.5, "retail": 8.8.
copecheck-cities/data/au.json[ { "name": "Toronto", "slug": "toronto", "region": "Ontario", "population": 2794356, "gva": 72000, "sectors": { "agriculture": 0.2, "manufacturing": 6.8, "construction": 5.5, "wholesale": 3.8, "retail": 9.5.
copecheck-cities/data/ca.json[ { "name": "Dublin", "slug": "dublin", "region": "Leinster", "population": 1458154, "gva": 95000, "sectors": { "agriculture": 0.3, "manufacturing": 5.2, "construction": 4.8, "wholesale": 3.5, "retail": 8.9.
copecheck-cities/data/ie.json{ "slug": "london", "backed_up_at": "2026-09-25T14:15:44+00:00", "reason": "extended narrative pass against measured ONS data", "previous": { "oracle_soft": "London's extraordinary economic diversity is its ultimate.
copecheck-cities/data/narrative_backups/london-20260925T141544Z.json{ "slug": "london", "backed_up_at": "2026-09-25T14:17:24+00:00", "reason": "extended narrative pass against measured ONS data", "previous": { "oracle_soft": "London's measured labour market in mid-2026 reads as a.
copecheck-cities/data/narrative_backups/london-20260925T141724Z.json{ "slug": "london", "backed_up_at": "2026-09-25T22:09:56+00:00", "reason": "extended narrative pass against measured ONS data", "previous": { "oracle_soft": "London's measured labour market has moved the wrong way on.
copecheck-cities/data/narrative_backups/london-20260925T220956Z.json[ { "name": "Auckland", "slug": "auckland", "region": "Auckland", "population": 1695200, "gva": 68000, "sectors": { "agriculture": 0.5, "manufacturing": 7.2, "construction": 8.5, "wholesale": 4.5, "retail": 9.8.
copecheck-cities/data/nz.json[ { "name": "Swindon", "slug": "swindon", "region": "South West", "population": 185609, "sectors": { "agriculture": 0.4, "manufacturing": 11.2, "construction": 5.1, "wholesale": 4.8, "retail": 10.5.
copecheck-cities/data/uk.json{ "generated_at": "2026-11-22T08:30:05+00:00", "national": { "unemployment_rate": { "cdid": "MGSX", "title": "Unemployment rate (16+, SA)", "unit": "%", "value": 4.6, "period": "July to September 2026", "period_raw".
copecheck-cities/data/uk_labour.json{ "generated_at": "2026-11-24T07:15:01+00:00", "scope": "United Kingdom (country-level; the upstream dataset records no city or location field)", "upstream_last_updated": "2026-11-24", "upstream_last_scan".
copecheck-cities/data/uk_layoffs.json{ "generated_at": "2026-11-22T08:35:02+00:00", "workbook": "rtisanov2026.xlsx", "regions": { "North East": { "latest_period": "October 2026", "latest": 1119806, "year_ago_period": "October 2025", "year_ago": 1124777.
copecheck-cities/data/uk_rti.json[ { "name": "Birmingham", "slug": "birmingham-al", "region": "Alabama", "population": 197575, "gva": 42000, "sectors": { "agriculture": 0.3, "manufacturing": 8.5, "construction": 5.8, "wholesale": 3.2, "retail": 11.2.
copecheck-cities/data/us.jsonimport re app_path = "/home/ben/infra/copecheck-cities/app.py" with open(app_path, "r") as f: content = f.read() # Fix 1: articles_index - add countries=COUNTRIES content = content.replace( 'return.
copecheck-cities/fix_articles.pyapp_path = "/home/ben/infra/copecheck-cities/templates/base.html" with open(app_path, "r") as f: content = f.read() old_nav = """ <div class="nav-links"> {% for code, info in countries.items() if countries is defined.
copecheck-cities/fix_nav.py""" CopeCheck Cities — regenerate a city's narrative fields against measured data. This is an EXTENDED PASS in the established sense: it ADDS or replaces narrative prose only. It never computes, touches, or writes a.
copecheck-cities/generate_city_narrative.pybind = "127.0.0.1:5020" workers = 2 timeout = 30 accesslog = "-" errorlog = "-"
copecheck-cities/gunicorn_config.py""" CopeCheck Cities — UK labour market fetcher. Pulls genuinely current UK labour market data from two official sources and [redacted secret-like line] 1. ONS time series API.
copecheck-cities/labour_fetcher.py""" CopeCheck Cities — one-way snapshot of UK layoffs from copecheck-layoffs. Deliberate architecture: this script READS the layoffs service's data file and writes a private snapshot into this site's own data.
copecheck-cities/layoffs_sync.pypath = "/home/ben/infra/copecheck-cities/templates/city.html" with open(path, "r") as f: content = f.read() old = """automation probabilities, mapped to SIC sectors via ONS correspondence tables.""" new = """automation.
copecheck-cities/patch_city_template.pyimport re app_path = "/home/ben/infra/copecheck-cities/app.py" with open(app_path, "r") as f: content = f.read() old = ''' "us": { "name": "United States", "flag": "\\U0001f1fa\\U0001f1f8", "data_file": "us.json".
copecheck-cities/patch_countries.pypath = "/home/ben/infra/copecheck-cities/templates/landing.html" with open(path, "r") as f: content = f.read() old = """ONS workforce data. It's a blunt instrument, but it shows which local economies have the most to.
copecheck-cities/patch_landing.pyflask==3.1.1 gunicorn==23.0.0
copecheck-cities/requirements.txt""" CopeCheck Cities — HMRC PAYE RTI payrolled employees parser. The RTI payroll series is the one ONS says "currently provides the most reliable measure of employees", and it is the other half of the payroll-vs-.
copecheck-cities/rti_fetcher.py""" Trailing-slash canonicalisation for the CopeCheck Flask sites. Problem ------- Flask/Werkzeug only auto-redirects in ONE direction. A rule declared WITH a trailing slash ("/foo/") redirects "/foo" -> "/foo/" with a.
copecheck-cities/slash_canonical.py{% extends "base.html" %} {% block title %}404 — Page Not Found | CopeCheck Cities{% endblock %} {% block content %} <div style="text-align: center; padding: 4rem 0;"> <h1 style="font-size: 4rem; color: #333;">404</h1>.
copecheck-cities/templates/404.html{% extends "base.html" %} {% block title %}AI Disclosure | CopeCheck{% endblock %} {% block content %} <article class="cc-ai-disclosure" style="max-width:52rem;margin:0 auto 3rem;line-height:1.65"> <p.
copecheck-cities/templates/ai_disclosure.html<style> .cc-ai-label,.cc-ai-footer{box-sizing:border-box;border:1px solid rgba(245,158,11,.45);background:rgba(245,158,11,.08);color:inherit} .cc-ai-label{margin:1rem auto 1.5rem;padding:.75rem.
copecheck-cities/templates/_ai_footer.html<aside class="cc-ai-label" role="note" aria-label="AI-generated content disclosure"> <strong>AI-generated analysis</strong> <span>Scores and analytical summaries may be generated by AI. Check linked primary sources.
copecheck-cities/templates/_ai_label.html{% extends "base.html" %} {% block title %}{{ title }} — CopeCheck Cities{% endblock %} {% block content %} <h1>{{ title }}</h1> <p class="subtitle" style="color: #888; margin-bottom: 2rem;">{{ subtitle }}</p> <div.
copecheck-cities/templates/article.html{% extends "base.html" %} {% block title %}Articles from the Oracle — CopeCheck Cities{% endblock %} {% block content %} <h1>Articles from the Oracle</h1> <p class="subtitle" style="color: #888; margin-bottom.
copecheck-cities/templates/articles_index.html<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{% block title %}CopeCheck Cities{% endblock %}</title> <meta.
copecheck-cities/templates/base.html{% extends "base.html" %} {% set countries = {country_code: country} %} {% block title %}{{ city.name }} — AI Displacement Score {{ city.score }}/100 | CopeCheck Cities{% endblock %} {% block content %} <div.
copecheck-cities/templates/city.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.
copecheck-cities/templates/country.html{% extends "base.html" %} {% set countries = countries %} {% block title %}CopeCheck Cities — AI Displacement Vulnerability Rankings{% endblock %} {% block content %} <h1>Which cities are most exposed to AI.
copecheck-cities/templates/landing.html<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> {% for page in pages %} <url> <loc>{{ page.url }}</loc> <priority>{{ page.priority }}</priority> </url> {% endfor %}.
copecheck-cities/templates/sitemap.xmlCopeCheck Network: Main · UK · Countries · EU · Policy · Cities · Layoffs · Careers · Quiz · Feedback