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 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Scot-LAND — 蘇格蘭每個地點的年度地租 (scot-land.scot)
AI 翻譯
Scot-LAND — Annual Ground Rent at every place in Scotland (scot-land.scot)
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Scot-LAND
Annual Ground Rent assessment at the core of a free, public, open land information system for Scotland.
Scot-LAND is a professional, SLRG-aligned platform that estimates Annual Ground Rent (the rental value of land alone, excluding buildings and improvements) for every location in Scotland. It transforms complex valuation logic into a free public resource for education, research, policy analysis, and journalism.檢視完整 README ↗Annual Ground Rent assessment at the core of a free, public, open land information system for Scotland.
Scot-LAND is a professional, SLRG-aligned platform that estimates Annual Ground Rent (the rental value of land alone, excluding buildings and improvements) for every location in Scotland. It transforms complex valuation logic into a free public resource for education, research, policy analysis, and journalism.
The platform is permanently free for everyone to view, explore, and download (where licenses allow), designed to help the public understand both who holds land and what the land is worth under Georgist principles.
Live Site: https://www.scot-land.scot
The repository powers a multi-layered information system:
The analytical heart of the project. It provides residual site-value estimates and Annual Ground Rent calculations on a 3×3 m What3Words grid, ensuring that land rent is treated as a location-based value.
A spatial aggregation system that sums three distinct forms of economic rent to show the "Total Wealth" of a location:
la-calc model using socio-economic proxies.Expanding the platform into a broader land information system by integrating:
| Layer | Technology |
|---|---|
| Frontend | Next.js 16, MapLibre GL JS, Tailwind CSS |
| Backend | Python FastAPI, Pydantic |
| Data/Spatial | PostgreSQL + PostGIS (National Wealth Engine) |
| Valuation | SLRG-aligned residual method (Wightman $\rightarrow$ Pickard $\rightarrow$ Sandilands) |
| Grid | What3Words 3 m grid (via W3W_API_KEY) |
The backend handles the valuation engine and the National Wealth Engine (via PostGIS).
cd backend
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
Database Requirement: The National Wealth Engine requires a PostgreSQL database with the PostGIS extension installed. Ensure your connection strings are configured in your environment.
Initial Data Build:
# Build baseline valuation data (HPI, Boundaries)
python -m etl.build_processed
python -m etl.build_boundaries
python -m etl.build_wards
Run API:
uvicorn api.main:app --reload --app-dir .
http://127.0.0.1:8000 | Docs: http://127.0.0.1:8000/docscd frontend
npm install
$env:NEXT_PUBLIC_API_URL="http://127.0.0.1:8000"
npm run dev
http://localhost:3000| Endpoint | Method | Description |
|---|---|---|
/georgist/wealth | GET | Wealth Inspector. Sums Surface, Resource, and Eco rents for a point. |
/layers/georgist/surface-rent | GET | Surface rent layer based on la-calc (Data Zone proxies). |
/layers/georgist/resource-rent | GET | GeoJSON of resource polygons. |
/layers/georgist/eco-rent | GET | GeoJSON of ecological polygons. |
/sync/ros | POST | Syncs the wealth engine with Registers of Scotland open data. |
| Endpoint | Method | Description |
|---|---|---|
/square | GET | AGR for a point / W3W cell. |
/assessment/report | GET | Professional assessment pack (JSON/Markdown). |
/layers/w3w-grid | GET | Viewport W3W cells with AGR. |
/layers/parcels/at | GET | Cadastral parcel polygon under a point (ROS INSPIRE). |
/fiscal/summary | GET | National fiscal dashboard (Tax basket vs AGR). |
Scot-LAND adheres to a strict professional standard to ensure all research is defensible and legal.
The platform implements the lineage of Georgist land value theory: Adam Smith $\rightarrow$ David Ricardo $\rightarrow$ Henry George $\rightarrow$ Mason Gaffney $\rightarrow$ Fred Harrison $\rightarrow$ Roger Sandilands $\rightarrow$ Andy Wightman (Residual) $\rightarrow$ Duncan Pickard (Economic Rent).
The public site is hosted on a local machine and published via a Cloudflare Tunnel:
https://www.scot-land.scot / https://scot-land.scotdocker-compose.home.yml) serves the app on port 3000.scripts/ops/deploy-home.ps1 builds images first, health-checks a canary, then swaps; never stops cloudflared. See docs/HOME_DEPLOY.md.scripts/ops/uptime-check.ps1 / .sh) — no paid vendor.