retentioneering-tools
Python toolkit, MCP server, and agent skills for reproducible, auditable clickstream and event log analytics. Helps AI agents, data scientists and analysts build, validate, and cross-check product ana
Explore interactive simulations of healthcare data, queueing theory, and parametric 3D models
Translation pending
AI summary · website and README
DataJavaScript · HTMLGitHub @ThomUKOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
A collection of small, self-contained toy web apps, each in its own directory and deployed to GitHub Pages.Read the full README ↗
A collection of small, self-contained toy web apps, each in its own directory and deployed to GitHub Pages.
https://thomuk.github.io/claude-scratchpad/
| App | Path | Live | Description |
|---|---|---|---|
| Occupancy & Percentiles | occupancy/ | open | Simulates daily occupancy and shows why p50/p85/p95/p99 give very different absolute answers from the same data. Runs R in the browser via webR. |
| Flu Season Shapes | flu/ | open | Weekly flu patients overlaid across seasons (early-peak / late-peak / slow-burn), and which past season a new one most resembles so far. Runs R in the browser via webR. |
| Average vs Intraday Bed Modelling | averages-modelling/ | open | Why average-based bed planning (admissions × LOS) under-provisions versus an hour-by-hour deterministic flow model accounting for arrival timing, LOS spread and discharge timing. Runs R in the browser via webR. |
| Population Pyramids — English Geographies | population-projections/ | open | Two population pyramids side by side for selected areas (region / sub-ICB / local authority, multi-select) and chosen years, with change by age band and sex below. Real ONS 2022-based subnational projections. Runs R in the browser via webR. |
| England Geography Map | england-region-map/ | open | Linked list + Leaflet map selector for English regions, sub-ICBs and local authorities — tick the list or click the map and they stay in sync. ONS boundaries, OpenStreetMap tiles. |
| Waiting Lists: Shape & Simulation | waiting-list/ | open | Queueing theory for backlogs (NHS RTT and any waiting list): the exponential model + targets, how constraining long waiters reshapes the census, and a referral/removal simulator. Based on Fong et al. (2022) / NHSRwaitinglist. Runs R in the browser via webR. |
| Demand & Capacity — NUH (RX1) | demand-and-capacity/ | open | Trust-wide, specialty-connected demand & capacity model for Nottingham University Hospitals: RTT 65/80/92 glide path converted to required outpatient, theatre, bed and diagnostic capacity per treatment function. Pure-JS engine, unit-tested. |
| RTT 18-week Diversion | rtt-diversion/ | open | Animated fictional waiting list to 1 April 2028 under surplus / balanced / deficit capacity, each run ordinarily and again with capacity diverted in the final 18 weeks to flatter the %<18wk figure on the day, plus the hangover after. A study of a tactic the author does not endorse. Pure-JS engine, unit-tested. |
| Global Explorer | global-explorer/ | open | Educational guessing game on a three.js globe: pick a start country, then find the hidden one by distance, with warmer/cooler guesses coloured on the map and an info card (capital, population, borders, facts, who administers each dependent territory) for all 250 countries and territories. Published copy: developed in a private repository and replaced on every publish, so do not edit it here. |
| Block World | block-world/ | open | A 3D block-building game for tablets and phones, co-designed with Elliott: a 256×256 world where digging finds water, 76 block types from moonstone to candy stripe, furniture with real lights, flying, a mini-map, passcode trapdoors, chests with treasure, security cameras you watch on a computer, and villagers you can ride. Pure-JS engine, unit-tested. |
| Build Life | build-life/ | open | A life-building game for children aged 7–12, designed with its two players: buy a house, decorate it room by room and outside, earn coins at school with maths, words and world quizzes and mini games, keep pets (including a dragon), bring babies home from the hospital, catch burglars with cameras, and trade up from a flat to a castle. Pure-JS engine, unit-tested. |
| NHS Specialties & Treatment Functions | nhs-specialties/ | open | Index of NHS main specialties and treatment function codes (NHS Data Dictionary) built into a YAML-driven factsheet per specialty, with a graph layer linking specialties through their medical roles: grades, shared training pathways and special-interest roles. Pure-JS engine, unit-tested. |
| Synthetic Hospital Data | ThomUK/synthetic-hospital-data | open | Seeded, reproducible, deliberately messy synthetic dataset for a fictional large acute trust (800,000 patients, 2023/24 to 2025/26) with an R generator, DuckDB build, derived and aggregate SQL, a table viewer and ERDs. Moved to its own repository; synthetic-hospital-datastructure/ here is only a redirect. |
Every push to main triggers .github/workflows/pages.yml, which publishes the
repo root to GitHub Pages. An app in directory foo/ is therefore served at
https://thomuk.github.io/claude-scratchpad/foo/.
To add a new app: create its directory, then add a card to the root
index.html (copy the existing template block) and a row to the table above.