CopeCheck OKF

cities site mirror

cities OKF browser

Generated OKF concepts for cities, split into readable chunks with source, type, and date.

Open JSON manifest Download ZIP bundle Read OKF root
41 total concepts 1 / 1 chunk 2026-11-24T13:27:52Z generated

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.

1

41 shown

cities

41 in this chunk / 41 total / Asset: 2 / Source File: 39

Readable page Markdown index
favicon-32.png

PNG asset at copecheck-cities/static/favicon-32.png

Kind
Asset
Date
2026-04-17T21:47:48Z
Source
copecheck-cities/static/favicon-32.png
favicon.ico

ICO asset at copecheck-cities/static/favicon.ico

Kind
Asset
Date
2026-04-17T21:47:48Z
Source
copecheck-cities/static/favicon.ico
"""Add top 10 best/worst cities articles to CopeCheck Cities."""

"""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" %}.

Kind
Source File
Date
2026-05-09T15:11:11Z
Source
copecheck-cities/add_articles.py
!/usr/bin/env python3

#!/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.

Kind
Source File
Date
2026-05-09T15:06:33Z
Source
copecheck-cities/add_countries.py
import json

import json cities = [] # Batch 1: AL-FL (10 cities) cities.extend([ {"name":"Birmingham","slug":"birmingham-al","region":"Alabama","population":197575,"gva":42000.

Kind
Source File
Date
2026-05-08T22:43:43Z
Source
copecheck-cities/add_us_cities.py
import re

import 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.

Kind
Source File
Date
2026-09-26T08:28:11Z
Source
copecheck-cities/app.py
"name": "Sydney",

[ { "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.

Kind
Source File
Date
2026-05-09T15:06:37Z
Source
copecheck-cities/data/au.json
"name": "Toronto",

[ { "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.

Kind
Source File
Date
2026-05-09T15:06:37Z
Source
copecheck-cities/data/ca.json
"name": "Dublin",

[ { "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.

Kind
Source File
Date
2026-05-09T15:06:37Z
Source
copecheck-cities/data/ie.json
"slug": "london",

{ "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.

Kind
Source File
Date
2026-09-25T14:15:44Z
Source
copecheck-cities/data/narrative_backups/london-20260925T141544Z.json
"slug": "london",

{ "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.

Kind
Source File
Date
2026-09-25T14:17:24Z
Source
copecheck-cities/data/narrative_backups/london-20260925T141724Z.json
"slug": "london",

{ "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.

Kind
Source File
Date
2026-09-25T22:09:56Z
Source
copecheck-cities/data/narrative_backups/london-20260925T220956Z.json
"name": "Auckland",

[ { "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.

Kind
Source File
Date
2026-05-09T15:06:37Z
Source
copecheck-cities/data/nz.json
"name": "Swindon",

[ { "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.

Kind
Source File
Date
2026-09-25T22:09:56Z
Source
copecheck-cities/data/uk.json
"generated_at": "2026-11-22T08:30:05+00:00",

{ "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".

Kind
Source File
Date
2026-11-22T08:30:05Z
Source
copecheck-cities/data/uk_labour.json
"generated_at": "2026-11-24T07:15:01+00:00",

{ "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".

Kind
Source File
Date
2026-11-24T07:15:01Z
Source
copecheck-cities/data/uk_layoffs.json
"generated_at": "2026-11-22T08:35:02+00:00",

{ "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.

Kind
Source File
Date
2026-11-22T08:35:02Z
Source
copecheck-cities/data/uk_rti.json
"name": "Birmingham",

[ { "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.

Kind
Source File
Date
2026-05-08T22:43:47Z
Source
copecheck-cities/data/us.json
import re

import 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.

Kind
Source File
Date
2026-05-09T15:11:56Z
Source
copecheck-cities/fix_articles.py
app_path = "/home/ben/infra/copecheck-cities/templates/base.html"

app_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.

Kind
Source File
Date
2026-05-09T17:58:45Z
Source
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.

Kind
Source File
Date
2026-10-20T10:43:18Z
Source
copecheck-cities/generate_city_narrative.py
bind = "127.0.0.1:5020"

bind = "127.0.0.1:5020" workers = 2 timeout = 30 accesslog = "-" errorlog = "-"

Kind
Source File
Date
2026-05-06T08:49:49Z
Source
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.

Kind
Source File
Date
2026-10-20T10:36:02Z
Source
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.

Kind
Source File
Date
2026-09-25T22:06:34Z
Source
copecheck-cities/layoffs_sync.py
path = "/home/ben/infra/copecheck-cities/templates/city.html"

path = "/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.

Kind
Source File
Date
2026-05-09T15:08:05Z
Source
copecheck-cities/patch_city_template.py
import re

import 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".

Kind
Source File
Date
2026-05-09T15:07:01Z
Source
copecheck-cities/patch_countries.py
path = "/home/ben/infra/copecheck-cities/templates/landing.html"

path = "/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.

Kind
Source File
Date
2026-05-09T15:08:20Z
Source
copecheck-cities/patch_landing.py
flask==3.1.1

flask==3.1.1 gunicorn==23.0.0

Kind
Source File
Date
2026-05-06T08:49:49Z
Source
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-.

Kind
Source File
Date
2026-09-25T14:09:13Z
Source
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.

Kind
Source File
Date
2026-09-26T08:14:59Z
Source
copecheck-cities/slash_canonical.py
<div style="text-align: center; padding: 4rem 0;">

{% 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>.

Kind
Source File
Date
2026-05-06T08:49:51Z
Source
copecheck-cities/templates/404.html
<style>

<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.

Kind
Source File
Date
2026-08-02T08:28:44Z
Source
copecheck-cities/templates/_ai_footer.html
<h1>{{ title }}</h1>

{% 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.

Kind
Source File
Date
2026-08-24T09:44:56Z
Source
copecheck-cities/templates/article.html
<h1>Articles from the Oracle</h1>

{% 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.

Kind
Source File
Date
2026-05-09T15:11:21Z
Source
copecheck-cities/templates/articles_index.html
<html lang="en">

<!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.

Kind
Source File
Date
2026-08-24T09:44:56Z
Source
copecheck-cities/templates/base.html
<div class="breadcrumb">

{% extends "base.html" %} {% set countries = {country_code: country} %} {% block title %}{{ city.name }} — AI Displacement Score {{ city.score }}/100 | CopeCheck Cities{% endblock %} {% block content %} <div.

Kind
Source File
Date
2026-10-20T10:37:35Z
Source
copecheck-cities/templates/city.html
<div class="breadcrumb">

{% extends "base.html" %} {% set countries = {country_code: country} %} {% block title %}{{ country.name }} — AI Displacement Rankings | CopeCheck Cities{% endblock %} {% block content %} <div class="breadcrumb"> <a.

Kind
Source File
Date
2026-09-25T13:45:54Z
Source
copecheck-cities/templates/country.html
<h1>Which cities are most exposed to AI displacement?</h1>

{% 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.

Kind
Source File
Date
2026-08-24T09:44:56Z
Source
copecheck-cities/templates/landing.html
<?xml version="1.0" encoding="UTF-8"?>

<?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 %}.

Kind
Source File
Date
2026-05-06T08:49:51Z
Source
copecheck-cities/templates/sitemap.xml
1
Custom GPT Ask the Oracle