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.