---
type: "Source File"
title: "CopeCheck Labs"
description: "# CopeCheck Labs Local mirror of the live `labs.copecheck.com` Flask service. Live target: ```text /home/ben/infra/labs Service: copecheck-labs.service ``` Current research pages: - `/microsoft-research` - Microsoft."
resource: "https://labs.copecheck.com"
tags: ["copecheck", "labs", "source-file", "md"]
timestamp: "2026-05-16T20:48:24Z"
site: "labs"
source_path: "labs/README.md"
---

# CopeCheck Labs

Source path: `labs/README.md`  
Index snapshot generated: `2026-11-24T13:27:52Z`  
File modified: `2026-05-16T20:48:24Z`

```md
# CopeCheck Labs

Local mirror of the live `labs.copecheck.com` Flask service.

Live target:

```text
/home/ben/infra/labs
Service: copecheck-labs.service
```

Current research pages:

- `/microsoft-research` - Microsoft Research agent-network red-team analysis.
- `/ai-economy-ireland` - Trinity College Dublin and Microsoft Ireland AI Economy Ireland 2026 research.
- `/consultancy` - consultancy cope tracker.
- `/consultancy/accenture-ireland` - Accenture Ireland Generating Impact 2026 analysis.
- `/cope#report-scanner` - public report scorer for uploaded PDFs, report URLs,
  or pasted report text. Results are saved to `data/report-submissions.jsonl`
  and shareable at `/report/<id>`.
- `/report-scanners` - institutional report scanners for Goldman Sachs,
  McKinsey, Accenture, Deloitte, PwC, and BCG. These are consultancy/bank
  evidence sources rather than AI labs, but belong in Labs as scored support
  material for the displacement thesis.

The local `server.py` and `thesis/data/appendix-live.json` were reconciled
from the live VPS state on 2026-05-16 after parallel Claude/Codex edits, so
they include AI Economy Ireland, Accenture Ireland, and Singular Bank.

[redacted secret-like line]
PDF text with the VPS `pdftotext` binary, fetches only public HTTP/S URLs, caps
public inputs at 12 MB / 80k text characters, and scores deterministic signals:
displacement evidence, euphemism, institutional self-interest, capability
expansion, and direct labour-market acknowledgement.

Scoring guardrail: capability-heavy PDFs are capped below terminal cope unless
the extracted text also contains direct labour-market evidence such as jobs,
hiring, wages, worker displacement, or labour-market effects. This prevents
generic AI architecture or enterprise AI PDFs from scoring in the 90s purely
because they mention agents, workflows, finance, legal, or research.

The institutional scanner registry lives in `server.py` as
`REPORT_SCANNER_SOURCES`. The public API endpoints are:

- `GET /api/report-scanners` - list scanner sources and curated report URLs.
- `POST /api/report-scanners/run` - run one scanner source with `source_id`
  and optional `limit`.

Scheduled scanner runner:

```bash
python3 tools/scan_report_sources.py --limit 2
python3 tools/scan_report_sources.py --source mckinsey --limit 1
```

Live timer units:

```text
copecheck-labs-report-scanners.service
copecheck-labs-report-scanners.timer
```

Deploy:

```bash
rsync -az CopeCheck/labs/server.py CopeCheck/labs/README.md CopeCheck/labs/tools/ ben@46.224.150.87:/home/ben/infra/labs/
rsync -az CopeCheck/labs/systemd/ ben@46.224.150.87:/home/ben/infra/labs/systemd/
ssh ben@46.224.150.87 "cd /home/ben/infra/labs && python3 -m py_compile server.py && sudo systemctl restart copecheck-labs"
```
```
