From 9291ab9b3d568750465de03d72f9813c0c756d7e Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Mon, 25 May 2026 22:21:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20CLAUDE.md=EF=BC=9A?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=B7=B2=E5=88=A0=E9=99=A4=E7=9A=84=20PM=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=BC=95=E7=94=A8=EF=BC=8C=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E6=96=B0=E6=9C=8D=E5=8A=A1=E6=A8=A1=E5=9D=97=E5=92=8C=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 02e0038e..88f76bc7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -49,7 +49,7 @@ docker compose down && docker compose up -d --build ``` Users → Next.js (Vercel) → FastAPI :8000 (VPS) /terminal (paid gate) Weather Collector - / (landing page) Analysis (DEB + Mu + Polymarket scan) + / (landing page) Analysis (DEB + Mu) Payment Layer (USDC on Polygon) Telegram Bot → bot_listener.py ``` @@ -74,7 +74,8 @@ Users → Next.js (Vercel) → FastAPI :8000 (VPS) - `PolyWeatherTerminal` — main layout: sidebar + region tabs + 2-column grid - `CityRegionList` — city list panel (left top) - `CityContractDetail` — contract table panel (left bottom) -- `LiveTemperatureThresholdChart` — temperature trend + market thresholds (right) +- `LiveTemperatureThresholdChart` — multi-source overlay: obs + DEB + model curves + thresholds +- `RealtimeScrollChart` — lightweight realtime scrolling temperature + threshold bars - `TrainingDashboard` — DEB + Mu accuracy charts (sidebar "训练数据" tab) - `continent-grouping.ts` — 7 trading regions (`TRADING_REGIONS`), city-to-region fallback (`CITY_REGION_FALLBACK`), timezone detection (`detectLocalRegion`) @@ -90,14 +91,15 @@ Users → Next.js (Vercel) → FastAPI :8000 (VPS) | Path | Purpose | |------|---------| -| `web/routers/city.py` | City detail/summary/market-scan endpoints | +| `web/routers/city.py` | City detail/summary/realtime-stream endpoints | | `web/routers/scan.py` | Scan terminal aggregation | -| `web/services/city_payloads.py` | Market scan with Polymarket integration | +| `web/services/city_payloads.py` | City detail and summary payload builders | | `web/scan_terminal_city_row.py` | Builds terminal rows from analysis data | | `src/data_collection/city_registry.py` | 50-city registry with tz_offset | -| `src/data_collection/polymarket_readonly.py` | Market discovery, CLOB prices, WS cache | -| `src/data_collection/polymarket_ws_cache.py` | WebSocket quote cache | | `src/analysis/deb_algorithm.py` | DEB prediction + Mu calibration + accuracy | +| `web/services/analysis_utils.py` | Clock helpers, bucket labeling, time parsing | +| `web/services/observation_freshness.py` | Source profiles and freshness computation | +| `web/services/scan_ai_config.py` | Scan terminal and AI configuration constants | ## Auth Gating