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
翻译准备中
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
A collection of small, self-contained toy web apps, each in its own directory and deployed to GitHub Pages.查看完整 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.