.gitignore DELETED
@@ -1,3 +0,0 @@
1
- .env
2
- __pycache__/
3
- *.pyc
 
 
 
 
.vercelignore DELETED
@@ -1,19 +0,0 @@
1
- # Exclude heavy python backend files from Vercel deployment
2
- app.py
3
- train.py
4
- requirements.txt
5
- Dockerfile
6
- *.pkl
7
- *.csv
8
- *.txt
9
- __pycache__/
10
- .system_generated/
11
- .gemini/
12
- scratch/
13
- .agents/
14
- .system/
15
- *.log
16
- postman_collection.json
17
- FRONTEND_API_DOC.md
18
- Doc.md
19
- PUBLIC_DOC.md
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
BACKEND_DOC.md DELETED
@@ -1,196 +0,0 @@
1
- # Aeterna AI - Backend Architecture & ML Engine Documentation (v4.0.0)
2
-
3
- Dokumen ini menjelaskan detail teknis arsitektur sistem backend, model machine learning (Gradient Boosting & Amazon Chronos), rekayasa fitur (*feature engineering*), serta panduan kontainerisasi dan *deployment* untuk **Aeterna AI (Waste Intelligence Platform)**.
4
-
5
- ---
6
-
7
- ## 🏗️ 1. Desain Arsitektur Backend
8
-
9
- Backend Aeterna AI dibangun menggunakan **FastAPI (Python)**, sebuah kerangka kerja web asinkron dengan performa tinggi yang setara dengan Node.js dan Go.
10
-
11
- ```
12
- +-----------------------------------------------------------------+
13
- | FASTAPI BACKEND |
14
- | |
15
- | [ /api/v1/predict ] [ /api/v1/autopilot ] [ /api/v1/news ]
16
- | | | | |
17
- | v v | |
18
- | +---------------+ +------------------+ | |
19
- | | Chronos T5 | | GBR Model | | |
20
- | | Transformer | | (GridSearchCV) | | |
21
- | +---------------+ +------------------+ | |
22
- | | | | |
23
- | +------------+------------+ | |
24
- | | | |
25
- | v v |
26
- | +-----------------------+ +-------------+ |
27
- | | Feature Engineering | | News DB | |
28
- | | - Weather (OpenMeteo) | | (JSON) | |
29
- | | - Event Multipliers | +-------------+ |
30
- | | - Spatial Calibration | |
31
- | +-----------------------+ |
32
- +-----------------------------------------------------------------+
33
- ```
34
-
35
- ### Komponen Utama:
36
- 1. **Asynchronous Handling**: Memanfaatkan FastAPI dengan `run_in_threadpool` untuk menjalankan inferensi deep learning (Chronos Transformer) tanpa memblokir thread event loop utama.
37
- 2. **CORS Security Middleware**: Dikonfigurasi secara wildcard (`*`) untuk mengizinkan aplikasi client-side (seperti dashboard Vercel) melakukan kueri asinkron lintas asal (*cross-origin*).
38
- 3. **Automatic Swagger Docs**: Endpoint mendefinisikan tipe data masukan menggunakan model **Pydantic** yang secara otomatis membuat spesifikasi OpenAPI dan dokumentasi interaktif di `/docs`.
39
-
40
- ---
41
-
42
- ## 🧠 2. Mesin Machine Learning (ML Engine)
43
-
44
- Aeterna AI mengadopsi arsitektur model hibrida:
45
-
46
- ### A. Gradient Boosting Regressor (GBR) - Model Prediksi Harian
47
- Model regresi teroptimasi yang memprediksi volume timbulan sampah harian tingkat kecamatan berdasarkan fitur-fitur spasial dan kontekstual.
48
- * **Hyperparameter Terbaik (GridSearchCV)**:
49
- * `n_estimators` (Jumlah pohon keputusan): **100**
50
- * `learning_rate` (Laju pembelajaran): **0.03**
51
- * `max_depth` (Kedalaman pohon maksimal): **3**
52
- * `subsample` (Rasio sampel acak per pohon): **0.9**
53
- * **Metrik Evaluasi Model**:
54
- * **Mean Absolute Error (MAE)**: `132.29 Ton` (Rata-rata kesalahan tebakan sekitar 132 ton).
55
- * **Root Mean Squared Error (RMSE)**: `165.46 Ton` (Tebakan stabil tanpa kesalahan ekstrem).
56
- * **R-Squared ($R^2$ Score)**: `81.51%` (81.5% pola data berhasil dijelaskan oleh fitur).
57
- * **Mean Absolute Percentage Error (MAPE)**: **`1.59%`** (Tingkat persentase kesalahan di bawah 2%, masuk kategori *Highly Accurate Forecasting*).
58
-
59
- ### B. Amazon Chronos-T5 (Tiny) - Model Deret Waktu (Time-Series)
60
- Model Transformer terlatih dari Amazon yang digunakan untuk memprediksi tren masa depan 7 s.d. 30 hari ke depan pada kueri simulasi. Chronos membaca barisan data historis dan melakukan peramalan probabilistik (diambil kuantil median `0.5`).
61
-
62
- ---
63
-
64
- ## 🌦️ 3. Rekayasa Fitur Dinamis (Feature Engineering)
65
-
66
- AI mengalibrasi prediksi mentah berdasarkan faktor riil eksternal:
67
-
68
- ### A. Multiplier Curah Hujan (Rainfall Multiplier)
69
- Sampah terbuka di Tempat Penampungan Sementara (TPS) menyerap air hujan, yang meningkatkan berat massa jenis sampah basah.
70
- * Sistem memanggil **Open-Meteo API** secara dinamis menggunakan titik koordinat presisi dari kecamatan target.
71
- * **Multiplier Formula**:
72
- $$\text{Volume}_{\text{calibrated}} = \text{Volume}_{\text{pred}} \times \left(1.0 + \frac{\text{Precipitation (mm)}}{1000} \right)$$
73
- *Curah hujan lebat (misal 50 mm) akan menambah berat jenis timbulan sekitar 5%.*
74
-
75
- ### B. Multiplier Skala Keramaian & Event (Event Multiplier)
76
- Jadwal acara besar Jakarta (`event_jakarta_2026.txt`) dipindai secara berkala berdasarkan tanggal kueri.
77
- * Jika ada event aktif, sistem mendeteksi nama acara dan skala keramaian (1 s.d. 5).
78
- * **Skala Multiplier**:
79
- * Skala 1 s.d. 2 (Keramaian lokal): **+10% s.d. +15%** volume sampah.
80
- * Skala 3 s.d. 4 (Keramaian regional, misal BTN Marathon): **+20% s.d. +25%** volume sampah.
81
- * Skala 5 (Keramaian masif, misal Idul Fitri): **+30% s.d. +35%** volume sampah.
82
-
83
- ---
84
-
85
- ## ⏰ 4. Timezone-Aware Engine (WIB / Asia/Jakarta)
86
-
87
- Agar hasil prediksi antara server lokal pengembang dan server Hugging Face (yang biasanya berlokasi di Amerika Serikat) sinkron 100%, backend Aeterna AI dilengkapi dengan pengunci zona waktu WIB (UTC+7):
88
-
89
- ```python
90
- from datetime import datetime, timezone, timedelta
91
-
92
- def get_jakarta_now() -> datetime:
93
- # Memaksa system time menggunakan Waktu Indonesia Barat (WIB)
94
- return datetime.now(timezone(timedelta(hours=7)))
95
- ```
96
- Semua query default, pencocokan kalender event, serta umpan berita menggunakan `get_jakarta_now()` untuk mencegah pergeseran penanggalan akibat perbedaan lokasi server fisik.
97
-
98
- ---
99
-
100
- ## 🐳 5. Panduan Kontainerisasi & Deployment (Hugging Face Spaces)
101
-
102
- Aplikasi dideploy ke **Hugging Face Spaces** menggunakan **Docker**.
103
-
104
- ### Berkas Dockerfile:
105
- ```dockerfile
106
- FROM python:3.11-slim
107
-
108
- # System setup
109
- WORKDIR /code
110
- RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
111
-
112
- # Install dependencies
113
- COPY requirements.txt .
114
- RUN pip install --no-cache-dir -r requirements.txt
115
-
116
- # Copy application files
117
- COPY . .
118
-
119
- # Expose port (Hugging Face standard port)
120
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
121
- ```
122
-
123
- ### Langkah Deployment ke Hugging Face:
124
- 1. Buat Space baru di Hugging Face, pilih SDK **Docker** (Blank template).
125
- 2. Tambahkan remote git Hugging Face ke repositori lokal Anda:
126
- ```bash
127
- git remote add huggingface https://huggingface.co/spaces/USERNAME/SPACE_NAME
128
- ```
129
- 3. Dorong perubahan langsung ke Space:
130
- ```bash
131
- git push huggingface main
132
- ```
133
- 4. Hugging Face akan mendeteksi `Dockerfile`, membangun *image*, dan menyalakan API pada port `7860` secara otomatis.
134
-
135
- ---
136
-
137
- ## 📰 6. Dokumentasi API Berita Dinamis (Dynamic News API)
138
-
139
- Endpoint ini menyediakan umpan berita terbaru mengenai tata kelola sampah di DKI Jakarta yang dihasilkan secara dinamis melalui integrasi LLM (Conduit API) dan terproteksi oleh sistem penyimpanan cadangan (*caching*) lokal.
140
-
141
- ### A. Spesifikasi Endpoint
142
- * **Path**: `/api/v1/news`
143
- * **Method**: `GET`
144
- * **Response Model**: `List[NewsItem]`
145
- * **Deskripsi**: Mengambil minimal 10 artikel berita persampahan terhangat yang dirilis paling lama 1 minggu dari tanggal kueri.
146
-
147
- ### B. Mekanisme Keandalan (Reliability Mechanism)
148
- Untuk menjamin tingkat kegagalan layanan 0% (*zero downtime*), sistem diimplementasikan menggunakan arsitektur bercabang (*fallback structure*):
149
-
150
- ```
151
- [ GET /api/v1/news ]
152
- |
153
- v
154
- +-------------------------+
155
- | Panggil Conduit LLM |
156
- | (GPT-4o-Mini API) |
157
- +-------------------------+
158
- |
159
- +------------+------------+
160
- | |
161
- (Status 200) (Timeout/Error/402)
162
- | |
163
- v v
164
- +-----------------------+ +-----------------------+
165
- | - Ambil Data Baru | | - Baca Backup Cache |
166
- | - Tulis ke JSON Cache | | (latest_waste_news) |
167
- | - Kembalikan Response | | - Kembalikan Response |
168
- +-----------------------+ +-----------------------+
169
- ```
170
-
171
- 1. **AI Crawl Mode**: Backend akan memanggil API LLM (Conduit) secara asinkron dengan batas waktu (*timeout*) 8.0 detik. AI diarahkan untuk membuat artikel berita riil/valid dengan rentang tanggal maksimum 7 hari ke belakang dari tanggal hari ini.
172
- 2. **JSON Database Backup**: Jika API eksternal mengalami kendala jaringan, melebihi kuota (Error 402/Free Plan Limit), atau mati, sistem secara otomatis mengalihkan permintaan untuk membaca data statis valid yang tersimpan di berkas `latest_waste_news.json` tanpa mengganggu kelancaran dashboard frontend.
173
-
174
- ### C. Skema Respons (JSON Schema)
175
- Setiap objek berita dalam array memiliki struktur data sebagai berikut:
176
-
177
- | Nama Field | Tipe Data | Deskripsi |
178
- | :--- | :--- | :--- |
179
- | `title` | `string` | Judul berita persampahan DKI Jakarta |
180
- | `source` | `string` | Nama penerbit berita resmi (misal: Kompas.com, Antara News) |
181
- | `url` | `string` | Tautan/URL artikel asli berita |
182
- | `date_fetched` | `string` | Tanggal penulisan/pengambilan berita (Format: `YYYY-MM-DD`) |
183
- | `summary` | `string` | Ringkasan isi berita dan tindak lanjut penanganan sampah |
184
-
185
- #### Contoh JSON Output:
186
- ```json
187
- [
188
- {
189
- "title": "DLH DKI Jakarta Wajibkan Pemilahan Sampah Rumah Tangga Mulai 1 Agustus 2026",
190
- "source": "Kompas.com",
191
- "url": "https://megapolitan.kompas.com/read/2026/07/12/dlh-dki-wajibkan-pemilahan-sampah-rumah-tangga",
192
- "date_fetched": "2026-07-12",
193
- "summary": "Dinas Lingkungan Hidup DKI Jakarta resmi mensosialisasikan Instruksi Gubernur No. 5 Tahun 2026 tentang kewajiban pilah sampah dari rumah guna mengurangi pasokan sampah ke TPST Bantargebang per 1 Agustus 2026."
194
- }
195
- ]
196
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Doc.md ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ # 🗑️ Waste Intelligence API — Complete Documentation
4
+ > **AI-Powered Predictive Waste Management System for Jakarta Pusat (CASE 2)**
5
+ > Version: `2.0.0` | License: `MIT` | Author: `Faril Putra Pratama - SMK Taruna Bangsa`
6
+
7
+ ---
8
+
9
+ ## 📑 Table of Contents
10
+ 1. [Project Overview](#1-project-overview)
11
+ 2. [System Architecture](#2-system-architecture)
12
+ 3. [Core AI & Business Logic](#3-core-ai--business-logic)
13
+ 4. [API Reference](#4-api-reference)
14
+ 5. [Data Dictionary](#5-data-dictionary)
15
+ 6. [Deployment & Setup](#6-deployment--setup)
16
+ 7. [Testing & Validation](#7-testing--validation)
17
+ 8. [Business Impact & Use Cases](#8-business-impact--use-cases)
18
+ 9. [Roadmap & Scalability](#9-roadmap--scalability)
19
+ 10. [Author & Support](#10-author--support)
20
+
21
+ ---
22
+
23
+ ## 1. Project Overview
24
+
25
+ ### Problem Statement
26
+ Penumpukan sampah di Jakarta Pusat sering terjadi secara mendadak saat:
27
+ - ️ Musim hujan tinggi (sampah basah → berat volume naik)
28
+ - 🎪 Event besar (PRJ, Lebaran, Konser, HUT RI)
29
+ - 📅 Weekend & libur nasional
30
+
31
+ Penanganan saat ini masih **reaktif**: armada dikirim setelah laporan masuk atau tumpukan terlihat. Akibatnya: biaya operasional membengkak, jadwal pengangkutan tidak efisien, dan risiko kesehatan lingkungan meningkat.
32
+
33
+ ### 💡 Solution
34
+ Sistem ini mengubah paradigma menjadi **prediktif** menggunakan:
35
+ - 🤖 **Amazon Chronos** (Transformer time-series) untuk forecasting baseline volume
36
+ - 🌦️ **BMKG Weather Integration** untuk penyesuaian berat sampah basah
37
+ - 📅 **Event Calendar Engine** dengan location-aware impact modeling
38
+ - 🚛 **Logistics Optimizer** untuk rekomendasi armada & manpower presisi
39
+
40
+ **Output**: Prediksi volume sampah 1–30 hari ke depan per lokasi, dekomposisi organik/plastik, status risiko, dan rencana logistik operasional.
41
+
42
+ ---
43
+
44
+ ## 2. System Architecture
45
+
46
+ ```
47
+ ┌─────────────────────────────────────────────────┐
48
+ │ CLIENT LAYER │
49
+ │ • Postman / Frontend Dashboard / Mobile App │
50
+ │ • REST API Calls (JSON) │
51
+ └────────────────────────────────────────────────┘
52
+ │ HTTPS / CORS
53
+
54
+ ┌─────────────────────────────────────────────────┐
55
+ │ API GATEWAY (FastAPI) │
56
+ │ • Request Validation (Pydantic) │
57
+ │ • CORS Middleware │
58
+ │ • Structured Logging │
59
+ └─────────────┬───────────────────────────────────┘
60
+
61
+ ┌─────────┴─────────┐
62
+ ▼ ▼
63
+ ─────────┐ ┌─────────────┐
64
+ │ PREDICT │ │ STATUS │
65
+ │Endpoint │ │ Check │
66
+ └────┬────┘ └─────────────┘
67
+
68
+
69
+ ┌─────────────────────────────────────────────────┐
70
+ │ BUSINESS LOGIC LAYER │
71
+ │ 1️⃣ Date Parser & Context Setup │
72
+ │ 2️⃣ Chronos Inference (Async/ThreadPool) │
73
+ │ 3️⃣ External Factor Integration │
74
+ │ • Rain multiplier (BMKG) │
75
+ │ • Event engine + radius mapping │
76
+ │ • Soft impact scaling (10–35%) │
77
+ │ 4️⃣ Post-Processing & Aggregation │
78
+ │ • KLHK 2026 decomposition │
79
+ │ • Risk scoring & truck calculation │
80
+ ─────────────┬───────────────────────────────────┘
81
+
82
+ ┌─────────┴─────────┐
83
+ ▼ ▼
84
+ ┌─────────┐ ┌─────────────┐
85
+ │ DATA │ │ MODEL │
86
+ │ LAYER │ │ LAYER │
87
+ │ • CSV │ │ • Chronos │
88
+ │ • In-mem│ │ T5-Tiny │
89
+ │ Cache │ │ • PyTorch │
90
+ └─────────┘ └─────────────┘
91
+ ```
92
+
93
+ ### 🔹 Tech Stack
94
+ | Layer | Technology |
95
+ |-------|------------|
96
+ | API Framework | FastAPI + Uvicorn |
97
+ | AI Model | Amazon Chronos-T5-Tiny (Hugging Face) |
98
+ | Data Processing | Pandas, NumPy |
99
+ | Validation | Pydantic v2 |
100
+ | Deployment | Hugging Face Spaces (CPU) |
101
+ | Logging | Python `logging` (structured) |
102
+
103
+ ---
104
+
105
+ ## 3. Core AI & Business Logic
106
+
107
+ ### 🤖 3.1 Time-Series Forecasting (Chronos)
108
+ - **Model**: `amazon/chronos-t5-tiny` (lightweight, CPU-optimized)
109
+ - **Input**: Historical volume series (`dataset_vibe_coder_2026.csv`, 365 hari)
110
+ - **Output**: Probabilistic forecast (median quantile `0.5`) untuk `N` hari ke depan
111
+ - **Advantage**: Mampu menangkap pola musiman, tren gradual, dan fluktuasi natural tanpa fitur engineering berat
112
+
113
+ ### 🎪 3.2 Event Engine & Location Matching
114
+ Event tidak serta-merta menaikkan volume di seluruh kota. Sistem menggunakan **radius-aware logic**:
115
+
116
+ ```python
117
+ EVENT_RADIUS_MAP = {
118
+ 'jiexpo': ['jis', 'kemayoran', 'pademangan', 'jakarta'],
119
+ 'monas': ['pasar senen', 'gang sempit tambora', 'merdeka', 'jakarta'],
120
+ 'gbk': ['senayan', 'tanah abang', 'kuningan', 'jakarta'],
121
+ 'ancol': ['pademangan', 'kelapa gading', 'jakarta'],
122
+ 'jakarta': ['*'] # City-wide
123
+ }
124
+ ```
125
+ - **Matching Rules**: Direct string match → City-wide fallback → Radius mapping
126
+ - **Impact Scaling**: `1.0 + (0.10 + min(scale * 0.05, 0.25))` → Maksimal **+35%** volume
127
+ - **Result**: Event di JIExpo hanya mempengaruhi JIS/Kemayoran, bukan GBK/Senayan
128
+
129
+ ### 🌧️ 3.3 Weather Integration (BMKG Style)
130
+ Curah hujan mempengaruhi berat sampah (basah = lebih padat/berat):
131
+ - `≤20mm`: Tidak ada penyesuaian
132
+ - `>20mm`: Multiplier `1.02` hingga `1.05` (linear scaling)
133
+ - **Rationale**: Sampah organik menyerap air → tonase naik tanpa volume fisik berubah drastis
134
+
135
+ ### ️ 3.4 Risk Scoring Algorithm
136
+ ```python
137
+ def hitung_prioritas(nama_lokasi, volume_ton):
138
+ akses = DATABASE_LOKASI[nama_lokasi]['aksesibilitas'] # 0.25 – 1.0
139
+ skor = volume_ton / akses
140
+ if skor > 1600: return 'CRITICAL ⚠️'
141
+ if skor >= 1100: return 'WARNING 🟡'
142
+ return 'SAFE ✅'
143
+ ```
144
+ - **Accessibility Factor**: Lokasi sempit/sulit dijangkau (`0.25`) mendapat skor risiko lebih tinggi untuk volume yang sama
145
+ - **Thresholds**: Dikalibrasi untuk rentang volume realistis Jakarta Pusat (1000–2000 ton)
146
+
147
+ ### 📊 3.5 Waste Decomposition (KLHK 2026)
148
+ Rasio dekomposisi dihitung dinamis dari dataset historis, fallback ke standar resmi:
149
+ - **Organik/Sisa Makanan**: `~49.87%`
150
+ - **Plastik**: `~22.95%`
151
+ - **Sisanya**: Kertas, logam, residu (tidak dihitung terpisah untuk optimasi logistik)
152
+
153
+ ---
154
+
155
+ ## 4. API Reference
156
+
157
+ ### `POST /api/v1/predict`
158
+ **Deskripsi**: Generate prediksi volume sampah 1–30 hari ke depan untuk lokasi tertentu.
159
+
160
+ #### Request Body
161
+ ```json
162
+ {
163
+ "hari_ke_depan": 7,
164
+ "prediksi_hujan_bmkg": 25.5,
165
+ "skala_keramaian": 0,
166
+ "nama_lokasi": "JIS",
167
+ "dari_tanggal": "06-01"
168
+ }
169
+ ```
170
+ | Field | Type | Required | Description |
171
+ |-------|------|----------|-------------|
172
+ | `hari_ke_depan` | `int` | ✅ | Durasi prediksi (1–30 hari) |
173
+ | `prediksi_hujan_bmkg` | `float` | ✅ | Estimasi curah hujan (mm). `0` = kering |
174
+ | `skala_keramaian` | `int` | ✅ | Skala event manual (0–5). `0` = normal |
175
+ | `nama_lokasi` | `string` | ✅ | Target lokasi: `JIS`, `GBK`, `Pasar Senen`, `Gang Sempit Tambora` |
176
+ | `dari_tanggal` | `string` | ❌ | Tanggal mulai. Format: `YYYY-MM-DD`, `MM-DD`, atau `"1 Juni 2026"` |
177
+
178
+ #### Response Success (200)
179
+ ```json
180
+ {
181
+ "status": "success",
182
+ "message": "🟡 WARNING di JIS: Volume di atas rata-rata.",
183
+ "confidence_score": 0.94,
184
+ "data": {
185
+ "prediction_results": [
186
+ {
187
+ "tanggal": "2026-06-02",
188
+ "lokasi": "JIS",
189
+ "total_volume_ton": 1245.50,
190
+ "sisa_makanan_ton": 621.15,
191
+ "plastik_ton": 285.84,
192
+ "rekomendasi_truk": 125,
193
+ "status_risiko": "WARNING 🟡",
194
+ "info_event": "PRJ Opening @ JIExpo"
195
+ }
196
+ ],
197
+ "logistics_plan": {
198
+ "trucks_needed": 872,
199
+ "manpower": 2616,
200
+ "estimated_duration_hours": 1743.2,
201
+ "efficiency_rate": "85% (Optimal)"
202
+ }
203
+ }
204
+ }
205
+ ```
206
+
207
+ #### Error Responses
208
+ | Status Code | Response | Cause |
209
+ |-------------|----------|-------|
210
+ | `400` | `{"detail": "Format tanggal tidak valid..."}` | Input tanggal tidak dikenali parser |
211
+ | `500` | `{"detail": "Gagal memproses prediksi: ..."}` | Internal error / model crash |
212
+ | `503` | `{"detail": "Model/Dataset belum siap."}` | Service masih startup / model loading |
213
+
214
+ ### `GET /`
215
+ **Deskripsi**: Health check & metadata sistem.
216
+ ```json
217
+ {
218
+ "status": "Online",
219
+ "model": "Chronos-T5 Tiny",
220
+ "dataset_year": "2026",
221
+ "events_loaded": 15
222
+ }
223
+ ```
224
+
225
+ ---
226
+
227
+ ## 5. Data Dictionary
228
+
229
+ ### 📄 `dataset_vibe_coder_2026.csv`
230
+ | Kolom | Tipe | Deskripsi |
231
+ |-------|------|-----------|
232
+ | `TANGGAL` | `YYYY-MM-DD` | Hari observasi |
233
+ | `RR` | `float` | Curah hujan (mm) |
234
+ | `Nama_Event` | `string` | Nama event (kosong jika tidak ada) |
235
+ | `Ada_Event` | `int` | Flag `1`/`0` |
236
+ | `Crowd_Scale` | `float` | Skala keramaian (0–5) |
237
+ | `Volume_Total_Ton` | `float` | Volume sampah baseline |
238
+ | `Vol_Sisa_Makanan_Ton` | `float` | Komponen organik |
239
+ | `Vol_Plastik_Ton` | `float` | Komponen plastik |
240
+ | `Hari_Ke` | `int` | Urutan hari (1–365) |
241
+ | `Is_Weekend` | `int` | `1` = Sabtu/Minggu |
242
+ | `ZONA` | `string` | Klasifikasi area: `Tourism`, `Residential`, `Commercial` |
243
+
244
+ ### 📄 `event_jakarta_2026.txt`
245
+ | Kolom | Tipe | Deskripsi |
246
+ |-------|------|-----------|
247
+ | `tanggal` | `YYYY-MM-DD` | Tanggal event |
248
+ | `nama_event` | `string` | Nama event |
249
+ | `lokasi` | `string` | Lokasi utama event |
250
+ | `skala_keramaian` | `int` | Skala 1–5 |
251
+
252
+ ---
253
+
254
+ ## 6. Deployment & Setup
255
+
256
+ ### Hugging Face Spaces (Production)
257
+ 1. Create Space → Template: `Blank` → Runtime: `Python`
258
+ 2. Upload files:
259
+ ```
260
+ 📁 waste-prediction-api/
261
+ ├── app.py
262
+ ├── dataset_vibe_coder_2026.csv
263
+ ├── event_jakarta_2026.txt
264
+ ├── requirements.txt
265
+ └── SYSTEM_ARCHITECTURE.md
266
+ ```
267
+ 3. Settings → Python 3.10, Hardware: `CPU`, Auto-rebuild: `ON`
268
+ 4. Click **Factory rebuild** after each commit
269
+
270
+ ### 💻 Local Development
271
+ ```bash
272
+ git clone https://huggingface.co/spaces/ALAMDIENG/waste-prediction-api
273
+ cd waste-prediction-api
274
+ pip install -r requirements.txt
275
+ uvicorn app:app --host 0.0.0.0 --port 8001 --reload
276
+ ```
277
+ Test:
278
+ ```bash
279
+ curl -X POST http://localhost:8001/api/v1/predict \
280
+ -H "Content-Type: application/json" \
281
+ -d '{"hari_ke_depan":7,"dari_tanggal":"06-01","nama_lokasi":"JIS"}'
282
+ ```
283
+
284
+ ### 📦 `requirements.txt`
285
+ ```txt
286
+ fastapi>=0.104.0
287
+ uvicorn>=0.24.0
288
+ pandas>=2.1.0
289
+ numpy>=1.26.0
290
+ torch>=2.1.0
291
+ chronos-forecasting>=0.1.0
292
+ pydantic>=2.5.0
293
+ ```
294
+
295
+ ---
296
+
297
+ ## 7. Testing & Validation
298
+
299
+ ### 🧪 Unit Tests (Conceptual)
300
+ ```python
301
+ def test_parse_flexible_date():
302
+ assert parse_flexible_date("06-01").date() == date(2026, 6, 1)
303
+ assert parse_flexible_date("1 Juni 2026").date() == date(2026, 6, 1)
304
+
305
+ def test_location_matching():
306
+ assert check_location_match("JIS", "JIExpo") == True
307
+ assert check_location_match("GBK", "JIExpo") == False
308
+ ```
309
+
310
+ ### Integration Scenarios (Postman)
311
+ | Scenario | Input | Expected |
312
+ |----------|-------|----------|
313
+ | Normal day | `dari_tanggal: "06-10", skala: 0` | `info_event: null`, volume ~1200 ton |
314
+ | Event match | `dari_tanggal: "06-01", lokasi: "JIS"` | `info_event: "PRJ..."`, +20–35% volume |
315
+ | Event no-match | `dari_tanggal: "06-01", lokasi: "GBK"` | `info_event: null`, volume normal |
316
+ | Heavy rain | `prediksi_hujan_bmkg: 50` | Multiplier +2–5% |
317
+ | Low accessibility | `lokasi: "Gang Sempit Tambora"` | Lower volume → WARNING/CRITICAL |
318
+
319
+ ### 📈 Performance Targets
320
+ - **Latency**: `< 3.0s` (p95) untuk forecast 7 hari
321
+ - **Throughput**: `10–20 req/min` (HF Spaces CPU tier)
322
+ - **Accuracy**: `±8–12%` MAE vs baseline historis (valid untuk perencanaan logistik)
323
+
324
+ ---
325
+
326
+ ## 8. Business Impact & Use Cases
327
+
328
+ ### Operational Efficiency
329
+ | Metric | Before (Reactive) | After (Predictive) | Improvement |
330
+ |--------|-------------------|--------------------|-------------|
331
+ | Fleet dispatch | After complaint/report | H-1/H-2 scheduled | ⬇️ 15–20% idle time |
332
+ | Fuel cost | Unplanned routes | Optimized zoning | ️ 10–12% consumption |
333
+ | Manpower | Overtime-heavy | Shift-planned | ⬇️ 8–10% overtime |
334
+ | Public health | Post-spill cleanup | Pre-emptive containment | ⬆️ Risk mitigation |
335
+
336
+ ### Primary Use Cases
337
+ 1. **Dinas Lingkungan Hidup**: Penjadwalan armada harian berbasis risiko zonasi
338
+ 2. **Event Organizer**: Kalkulasi kebutuhan TPS & truk sampah saat izin keramaian
339
+ 3. **Fasilitas Pengelola Sampah**: Alokasi shift & kapasitas gudang 3 hari ke depan
340
+ 4. **Dashboard Eksekutif**: Executive summary + visual heatmap volume per kecamatan
341
+
342
+ ---
343
+
344
+ ## 9. Roadmap & Scalability
345
+
346
+ ### v2.1 (Next 3 Months)
347
+ - [ ] Real-time BMKG API integration (auto-fetch `prediksi_hujan_bmkg`)
348
+ - [ ] Batch prediction endpoint (`/api/v1/predict/multi`)
349
+ - [ ] Export to PDF/CSV + email webhook
350
+ - [ ] Rate limiting & API key auth
351
+
352
+ ### 🏗️ v3.0 (Architecture Upgrade)
353
+ - [ ] Microservices split: `forecast-service`, `event-service`, `logistics-service`
354
+ - [ ] GPU inference optimization (Chronos-base/mini)
355
+ - [ ] Automated retraining pipeline (GitHub Actions + HF Datasets)
356
+ - [ ] Prometheus/Grafana observability + alerting
357
+
358
+ ### Long-term Vision
359
+ > *"Dari prediksi volume → optimasi rute real-time → circular economy tracking. Sistem ini menjadi tulang punggung smart city waste management yang data-driven, hemat biaya, dan berkelanjutan."*
360
+
361
+ ---
362
+
363
+ ## 10. Author & Support
364
+
365
+ **Developed by**:
366
+ **Faril Putra Pratama**
367
+ SMK Taruna Bangsa
368
+ 🔗 [GitHub: @FARILtau72](https://github.com/FARILtau72)
369
+
370
+ **License**: MIT
371
+ **Case Study**: Waste Volume Prediction System (CASE 2)
372
+ **Last Updated**: 2026-06-01
373
+
374
+ 📩 **Issues & Contributions**:
375
+ Gunakan GitHub Issues untuk bug report, feature request, atau dokumentasi improvement. PR welcome!
376
+
377
+ ---
378
+
379
+ > 💡 **Presenter Note**:
380
+ > *"Sistem ini bukan sekadar forecast angka. Ia adalah decision engine: Chronos memberi baseline, cuaca memberi koreksi berat, event memberi konteks spasial, dan risk scoring memberi prioritas aksi. Hasilnya? Armada tidak lagi keliling buta—mereka datang ke tempat yang tepat, di waktu yang tepat, dengan kapasitas yang tepat."*
381
+
382
+ ---
README.md CHANGED
@@ -8,191 +8,110 @@ app_file: app.py
8
  pinned: false
9
  ---
10
 
11
- # 🚛 Aeterna AI: Next-Gen Waste Intelligence Platform
12
- **Platform Sistem Peringatan Dini & Peramalan Sampah Real-Time DKI Jakarta (Case 2 - AI Open Innovation Challenge 2026)**
13
 
14
- ---
15
-
16
- ## 📖 Overview
17
 
18
- **Aeterna AI** (sebelumnya Eco-Twin AI) adalah platform analitik cerdas berbasis *Machine Learning* yang dirancang untuk memantau, memprediksi, dan mengoptimalkan manajemen logistik sampah DKI Jakarta secara spasial-temporal harian.
19
 
20
- Platform ini mengubah paradigma pengelolaan sampah dari **reaktif** (menangani setelah terjadi penumpukan) menjadi **prediktif** (memprediksi surge sebelum terjadi) guna mengoptimalkan penyebaran truk pengangkut ke 44 kecamatan DKI Jakarta.
21
 
22
- > [!NOTE]
23
- > **📖 DOKUMENTASI SISTEM BACKEND MENDALAM**:
24
- > Untuk rincian mendalam mengenai arsitektur backend, model machine learning (GBR & Chronos), metrik akurasi GBR (R² 81.51%, MAPE 1.59%), formula rekayasa fitur cuaca/event, dan deployment Docker, silakan merujuk ke **[BACKEND_DOC.md](BACKEND_DOC.md)**.
25
 
26
- ---
27
 
28
- ## 🌟 Fitur Unggulan (Key Features)
 
29
 
30
- 1. **AI Autopilot Forecaster**: Sistem asinkron otonom yang mengevaluasi seluruh **44 Kecamatan DKI Jakarta** secara paralel berdasarkan curah hujan tingkat koordinat (Open-Meteo) dan kalender event aktif.
31
- 2. **6-Kategori Komposisi Sampah**: Memprediksi rincian tonase sampah secara proporsional sesuai statistik riil DLH DKI Jakarta: *Sisa Makanan (~50.2%), Plastik (~22.8%), Kertas (~11.5%), Tekstil (~4.2%), Kaca (~3.2%), dan Logam/Lainnya (~8.1%)*.
32
- 3. **Dynamic Weather Multiplier**: Mengintegrasikan curah hujan real-time per kecamatan berdasarkan titik koordinat geografis asli untuk mengukur penambahan berat sampah basah akibat resapan air hujan (2% s.d. 5% multiplier).
33
- 4. **Event Calendar Crowd Engine**: Mengidentifikasi jadwal acara besar Jakarta (seperti PRJ, BTN Marathon, HUT RI, dll.) untuk menghitung lonjakan kapasitas sampah kerumunan (10% s.d. 35% multiplier).
34
- 5. **Interactive Cyber HUD UI**: Antarmuka bertema *Dark Glassmorphism* dengan kursor delay kustom (lerp), visualisasi progress bar kategori neon glow, rincian logistik armada truk (15-Ton Heavy Compactor), dan rute logistik ke TPST Bantargebang.
35
 
36
  ---
37
 
38
- ## 🏗️ Arsitektur Sistem (Clean Architecture)
39
-
40
- Sistem ini didesain menggunakan arsitektur modular multi-platform yang terpisah (*decoupled*):
41
-
42
- ```
43
- +-----------------------------------+
44
- | NEXT.JS FRONTEND |
45
- | (Hosted on Vercel Global CDN) |
46
- +-----------------------------------+
47
- |
48
- | HTTPS Requests
49
- v
50
- +-----------------------------------+
51
- | LARAVEL BACKEND |
52
- | (API Controller & Gateway) |
53
- +-----------------------------------+
54
- |
55
- | REST Proxy API
56
- v
57
- +---------------------------------------------------------------------------------------------------+
58
- | PYTHON ML MICROSERVICE CONTAINER |
59
- | (Docker - Hosted on Hugging Face Spaces) |
60
- | |
61
- | [ FastAPI ] --> [ GBR Model (GridSearchCV) ] & [ Amazon Chronos-T5 ] --> [ Open-Meteo API Sync ] |
62
- +---------------------------------------------------------------------------------------------------+
63
- ```
64
 
65
- ### Penjelasan Lapisan (Layers):
66
- * **Front-End Layer (Next.js)**: Menyajikan antarmuka pengguna interaktif. Memanfaatkan *Next.js Dynamic Imports* dengan SSR dinonaktifkan khusus untuk modul **Leaflet.js** agar peta interaktif dapat dirender secara asinkron di client-side tanpa memicu error server-node.
67
- * **API Gateway Layer (Laravel)**: Berfungsi sebagai backend pengendali utama. Menangani middleware CORS, validasi skema request, manajemen kalender event, parsing berita, dan mengamankan pemanggilan proxy ke microservice AI.
68
- * **ML Microservice Layer (Python)**: Kontainer Docker yang memuat model AI (GBR & Chronos) dan menyajikan API prediksi berkecepatan tinggi menggunakan FastAPI dengan threadpool non-blocking.
 
69
 
70
  ---
71
 
72
- ## 📊 Hasil Evaluasi & Akurasi Model GBR
73
-
74
- Model GBR dilatih dengan **GridSearchCV** di atas dataset historis teraugmentasi 2 tahun dengan baseline rata-rata kota **8.020 Ton/hari**.
75
 
76
- | Metrik Evaluasi | Model Baseline | Model Upgraded (Aeterna AI) | Status Performa |
77
- | :--- | :---: | :---: | :--- |
78
- | **Mean Absolute Error (MAE)** | `149.13 Ton` | **`132.29 Ton`** | Lebih Baik (Turun ⬇️) |
79
- | **Root Mean Squared Error (RMSE)** | `188.46 Ton` | **`165.46 Ton`** | Lebih Baik (Turun ⬇️) |
80
- | **R-Squared ($R^2$ Score)** | `76.02%` | **`81.51%`** | Lebih Baik (Naik ⬆️) |
81
- | **Mean Absolute Percentage Error (MAPE)** | `1.78%` | **`1.59%`** | **Sangat Akurat (< 10%) (⬇️)** |
82
 
83
  ---
84
 
85
- ## 🌦Model Rekayasa Fitur Matematika
86
 
87
- ### A. Rainfall weight multiplier:
88
- $$Volume_{calibrated} = Volume_{pred} \times \left(1.0 + \frac{Precipitation_{mm}}{1000} \right)$$
 
 
 
 
89
 
90
- ### B. Event Crowd Multiplier:
91
- * Skala 1 s.d. 2 (Lokal): **+10% s.d. +15%** volume sampah.
92
- * Skala 3 s.d. 4 (Regional): **+20% s.d. +25%** volume sampah.
93
- * Skala 5 (Nasional / Hari Raya): **+30% s.d. +35%** volume sampah.
 
94
 
95
- ---
 
 
96
 
97
- ## 📡 Referensi Endpoint API Utama
98
-
99
- Semua endpoint didukung dengan dokumentasi interaktif Swagger UI di `/docs`.
100
-
101
- ### 1. Predict Waste Volume (Forecasting)
102
- * **Method**: `POST`
103
- * **Endpoint**: `/api/v1/predict`
104
- * **Request Payload**:
105
- ```json
106
- {
107
- "forecast_days": 7,
108
- "rainfall_mm": 0.0,
109
- "event_scale": 0,
110
- "location": "Menteng",
111
- "model_type": "gradient_boosting",
112
- "granularity": "daily"
113
- }
114
- ```
115
- * **Response Payload**:
116
- ```json
117
- {
118
- "status": "success",
119
- "confidence_score": 0.9325,
120
- "message": "Normal conditions.",
121
- "data": {
122
- "prediction_results": [
123
- {
124
- "date": "2026-07-15",
125
- "location": "Menteng",
126
- "total_volume_ton": 120.8,
127
- "organic_waste_ton": 60.64,
128
- "plastic_waste_ton": 27.54,
129
- "paper_waste_ton": 13.89,
130
- "recommended_trucks": 8,
131
- "risk_status": "SAFE"
132
- }
133
- ],
134
- "logistics_plan": {
135
- "trucks_needed": 8,
136
- "manpower": 24,
137
- "estimated_duration_hours": 8.1,
138
- "efficiency_rate": "85% (Optimal)"
139
- }
140
- }
141
- }
142
- ```
143
-
144
- ### 2. Autopilot Live DKI (Today)
145
- * **Method**: `GET`
146
- * **Endpoint**: `/api/v1/autopilot`
147
- * **Description**: Mengembalikan kalkulasi prediksi otonom hari ini untuk seluruh 44 kecamatan DKI secara paralel lengkap dengan data koordinat (latitude, longitude) untuk plotting peta instan.
148
-
149
- ### 3. News Feed API
150
- * **Method**: `GET`
151
- * **Endpoint**: `/api/v1/news`
152
- * **Description**: Mengembalikan 10 berita persampahan DKI Jakarta terbaru yang diperbarui dinamis menggunakan Conduit AI API (dengan generator fallback lokal).
153
 
154
  ---
155
 
156
- ## 🛠️ Panduan Instalasi & Pengembangan Lokal
157
-
158
- ### 1. Prasyarat & Backend Setup (Python ML)
159
- Masuk ke root folder proyek:
160
- ```bash
161
- # Install dependencies
162
- pip install -r requirements.txt
163
-
164
- # Jalankan server FastAPI lokal
165
- python -m uvicorn app:app --port 8001 --host 127.0.0.1
 
 
 
 
166
  ```
167
- * Akses UI di: `http://localhost:8001`
168
- * Akses Swagger di: `http://localhost:8001/docs`
169
 
170
- ### 2. Setup Backend Controller (Laravel)
171
- Jika menggunakan controller Laravel untuk mengamankan route API:
172
- ```bash
173
- # Clone atau masuk ke direktori Laravel Anda
174
- composer install
175
- cp .env.example .env
176
- php artisan key:generate
 
 
 
 
177
  ```
178
- Di dalam berkas `.env` Laravel, arahkan URL microservice AI Anda:
179
- ```env
180
- AETERNA_ML_SERVICE_URL=http://localhost:8001
 
 
 
 
 
 
 
 
 
 
181
  ```
182
 
183
- ### 3. Setup Frontend Dashboard (Next.js)
184
- ```bash
185
- # Masuk ke folder Next.js
186
- npm install
187
- npm run dev
188
- ```
189
- * Pastikan Leaflet di-import dinamis:
190
- ```javascript
191
- import dynamic from 'next/dynamic';
192
- const MapComponent = dynamic(() => import('../components/Map'), { ssr: false });
193
- ```
194
 
195
- ## 👤 Developer & Pencipta Sistem
196
 
197
- * **FARIL PUTRA PRATAMA** (Lead Full-Stack AI Engineer) — *SMK Taruna Bangsa*
198
- * *Portofolio Kontribusi*: Merancang dan melatih model GBR (MAPE 1.59%), mengintegrasikan API Open-Meteo, merancang arsitektur backend, dan membangun antarmuka visual Cyber HUD interaktif.
 
8
  pinned: false
9
  ---
10
 
 
 
11
 
 
 
 
12
 
 
13
 
 
14
 
 
 
 
15
 
 
16
 
17
+ # 🌍 Eco-Twin AI: Waste Volume Prediction System
18
+ **Proyek untuk Hackathon DKI Jakarta 2026 (Case 2)**
19
 
20
+ Eco-Twin AI adalah sistem cerdas berbasis *Machine Learning* yang dirancang untuk memprediksi lonjakan volume timbulan sampah harian di area Jakarta Pusat. Sistem ini menggunakan arsitektur ganda: **Amazon Chronos-T5** (Time-Series Transformer) untuk peramalan (*forecasting*) dan integrasi Algoritma Pendukung untuk ekstraksi fitur lanjutan (Cuaca, Skala Keramaian, dan Jadwal Event).
 
 
 
 
21
 
22
  ---
23
 
24
+ ## 🚀 Fitur Unggulan (Hackathon Killer Features)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
+ 1. **Integrasi Kalender Event Otomatis**: Sistem secara otomatis membaca file `event_jakarta_2025.txt` saat server dinyalakan. Jika ada *request* prediksi yang menyentuh tanggal konser besar (misal: Maroon 5 di JIS), AI akan mendeteksi dan secara akurat menambahkan estimasi volume sampah tanpa input manual tambahan.
27
+ 2. **Asynchronous API Processing**: Menggunakan FastAPI dengan `run_in_threadpool`, memastikan sistem AI tidak memblokir (*blocking*) pengguna lain saat sedang mengolah model Transformer yang berat.
28
+ 3. **Standar Produksi (CORS & Logging)**: Aplikasi aman dipanggil secara langsung oleh Frontend (React/Vue/HTML) dan menggunakan sistem *logging* kelas enterprise.
29
+ 4. **Interactive API Docs (Swagger UI)**: Endpoint dilengkapi parameter Pydantic lengkap beserta contoh JSON terisi otomatis, sangat cocok untuk didemokan langsung ke Juri.
30
+ 5. **Dekomposisi Sampah SIPSN KLHK 2025**: Memprediksi bukan hanya berat total (Ton), tapi juga membedahnya menjadi *Sisa Makanan* dan *Plastik*, serta memberikan rekomendasi jumlah armada truk yang dibutuhkan.
31
 
32
  ---
33
 
34
+ ## 📂 Struktur File
 
 
35
 
36
+ - `app.py` : Berisi *Core Engine* API menggunakan FastAPI dan Amazon Chronos.
37
+ - `train.py` : Script *Advanced Feature Engineering* dan pelatihan model Gradient Boosting (Eco-Twin Pro) untuk simulasi dataset.
38
+ - `event_jakarta_2025.txt` : *Database* kalender event yang otomatis dilacak oleh AI.
39
+ - `dataset_vibe_coder_2025.csv` : Dataset historis yang dipakai oleh model.
40
+ - `.dockerfile` : Konfigurasi untuk men-*deploy* aplikasi ini (misalnya ke Hugging Face Spaces atau server Cloud).
41
+ - `requirements.txt` : Daftar dependensi *library* Python.
42
 
43
  ---
44
 
45
+ ## 🛠Cara Menjalankan Sistem
46
 
47
+ ### 1. Instalasi Kebutuhan (Library)
48
+ Pastikan Python sudah terinstal di laptop Anda. Buka Terminal/Command Prompt di dalam folder proyek ini, lalu jalankan:
49
+ ```bash
50
+ pip install -r requirements.txt
51
+ pip install chronos-forecasting
52
+ ```
53
 
54
+ ### 2. Menjalankan Server API
55
+ Jalankan server Uvicorn dengan mode *auto-reload* agar perubahan kode langsung terbaca:
56
+ ```bash
57
+ uvicorn app:app --reload --port 8001
58
+ ```
59
 
60
+ ### 3. Menguji via Swagger (Demonstrasi Juri)
61
+ Setelah server berjalan, buka browser dan akses:
62
+ 👉 **[http://127.0.0.1:8001/docs](http://127.0.0.1:8001/docs)**
63
 
64
+ Anda bisa menekan tombol **"Try it out"** di *endpoint* `/api/v1/predict` dan langsung tekan **"Execute"**.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
  ---
67
 
68
+ ## 📡 Dokumentasi Endpoint API
69
+
70
+ ### 1. Status Check
71
+ Mengecek apakah server hidup dan berapa banyak jadwal event yang berhasil dimuat oleh AI.
72
+ - **URL**: `/`
73
+ - **Method**: `GET`
74
+ - **Response**:
75
+ ```json
76
+ {
77
+ "status": "Online",
78
+ "model": "Chronos-T5 Tiny",
79
+ "region": "Jakarta Pusat",
80
+ "events_loaded": 15
81
+ }
82
  ```
 
 
83
 
84
+ ### 2. Prediksi Volume Sampah (Forecasting)
85
+ Mendapatkan peramalan volume sampah berdasarkan data historis, cuaca, dan event.
86
+ - **URL**: `/api/v1/predict`
87
+ - **Method**: `POST`
88
+ - **Body Request**:
89
+ ```json
90
+ {
91
+ "hari_ke_depan": 7,
92
+ "prediksi_hujan_bmkg": 25.5,
93
+ "skala_keramaian": 0
94
+ }
95
  ```
96
+ - **Response JSON**:
97
+ ```json
98
+ [
99
+ {
100
+ "tanggal": "2026-02-01",
101
+ "total_volume_ton": 1520.45,
102
+ "sisa_makanan_ton": 758.25,
103
+ "plastik_ton": 348.94,
104
+ "rekomendasi_truk": 153,
105
+ "status_risiko": "CRITICAL ⚠️",
106
+ "info_event": "Konser Maroon 5 di Jakarta International Stadium (JIS)"
107
+ }
108
+ ]
109
  ```
110
 
111
+ ---
112
+
113
+ ## 📝 Catatan Penting
114
+ - Jika Anda mendapatkan error `ModuleNotFoundError: No module named 'chronos'`, pastikan Anda menginstal package dengan perintah `pip install chronos-forecasting` **(BUKAN pip install chronos)**.
115
+ - Untuk deployment dengan `Dockerfile`, pastikan untuk mengubah port Uvicorn menyesuaikan provider (misal: HuggingFace Spaces menggunakan `--port 7860`).
 
 
 
 
 
 
116
 
 
117
 
 
 
__pycache__/app.cpython-311.pyc DELETED
Binary file (40 kB)
 
app.py CHANGED
@@ -1,40 +1,15 @@
1
- import os
2
- os.environ["HF_HUB_DISABLE_XET"] = "1"
3
-
4
- # Load local .env variables if present (zero-dependency env loading)
5
- if os.path.exists(".env"):
6
- try:
7
- with open(".env", "r", encoding="utf-8") as f:
8
- for line in f:
9
- line = line.strip()
10
- if line and not line.startswith("#") and "=" in line:
11
- k, v = line.split("=", 1)
12
- os.environ[k.strip()] = v.strip()
13
- except Exception as err:
14
- pass
15
-
16
  from fastapi import FastAPI, HTTPException, Query
17
  from fastapi.middleware.cors import CORSMiddleware
18
  from fastapi.concurrency import run_in_threadpool
19
- from fastapi.responses import HTMLResponse, StreamingResponse
20
- from fastapi.staticfiles import StaticFiles
21
  from pydantic import BaseModel, Field, field_validator
22
  from typing import Optional, List, Dict, Any
23
  import pandas as pd
24
  import numpy as np
25
  import torch
26
- import joblib
27
- import httpx
28
- import io
29
- import csv
30
- import json
31
  from chronos import ChronosPipeline
32
- from datetime import datetime, timedelta, timezone
33
  import os, logging, re
34
 
35
- def get_jakarta_now() -> datetime:
36
- return datetime.now(timezone(timedelta(hours=7)))
37
-
38
  # ==========================================
39
  # 1. APPLICATION CONFIGURATION
40
  # ==========================================
@@ -42,9 +17,9 @@ logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(levelname)s - %(
42
  logger = logging.getLogger(__name__)
43
 
44
  app = FastAPI(
45
- title="Waste Intelligence API - DKI Jakarta 2026",
46
- version="4.0.0 (Multi-Region & Live News)",
47
- description="AI-powered waste prediction for 44 sub-districts with spatial awareness, live weather, and news monitoring"
48
  )
49
 
50
  app.add_middleware(
@@ -55,91 +30,28 @@ app.add_middleware(
55
  allow_headers=["*"],
56
  )
57
 
58
- # Mount static files to serve the dashboard UI, CSS, and JS
59
- if not os.path.exists("frontend"):
60
- os.makedirs("frontend")
61
- app.mount("/static", StaticFiles(directory="frontend"), name="static")
62
-
63
  # ==========================================
64
- # 2. 44 KECAMATAN DATABASE (DLH Jakarta Calibrated)
65
  # ==========================================
66
- KECAMATAN_DATABASE = {
67
- # 1. JAKARTA PUSAT (8 Kecamatan) - Total: 1150 Ton
68
- "Menteng": {"latitude": -6.1950, "longitude": 106.8322, "normal_avg": 120.0, "warning_threshold": 160.0, "critical_threshold": 180.0, "city": "Jakarta Pusat"},
69
- "Senen": {"latitude": -6.1822, "longitude": 106.8452, "normal_avg": 180.0, "warning_threshold": 220.0, "critical_threshold": 240.0, "city": "Jakarta Pusat"},
70
- "Cempaka Putih": {"latitude": -6.1802, "longitude": 106.8686, "normal_avg": 90.0, "warning_threshold": 120.0, "critical_threshold": 140.0, "city": "Jakarta Pusat"},
71
- "Johar Baru": {"latitude": -6.1866, "longitude": 106.8572, "normal_avg": 70.0, "warning_threshold": 95.0, "critical_threshold": 110.0, "city": "Jakarta Pusat"},
72
- "Kemayoran": {"latitude": -6.1628, "longitude": 106.8438, "normal_avg": 180.0, "warning_threshold": 220.0, "critical_threshold": 240.0, "city": "Jakarta Pusat"},
73
- "Sawah Besar": {"latitude": -6.1554, "longitude": 106.8322, "normal_avg": 110.0, "warning_threshold": 145.0, "critical_threshold": 165.0, "city": "Jakarta Pusat"},
74
- "Tanah Abang": {"latitude": -6.2104, "longitude": 106.8122, "normal_avg": 250.0, "warning_threshold": 320.0, "critical_threshold": 350.0, "city": "Jakarta Pusat"},
75
- "Gambir": {"latitude": -6.1764, "longitude": 106.8190, "normal_avg": 150.0, "warning_threshold": 195.0, "critical_threshold": 215.0, "city": "Jakarta Pusat"},
76
-
77
- # 2. JAKARTA UTARA (6 Kecamatan) - Total: 1350 Ton
78
- "Penjaringan": {"latitude": -6.1264, "longitude": 106.7822, "normal_avg": 280.0, "warning_threshold": 350.0, "critical_threshold": 380.0, "city": "Jakarta Utara"},
79
- "Tanjung Priok": {"latitude": -6.1322, "longitude": 106.8722, "normal_avg": 260.0, "warning_threshold": 320.0, "critical_threshold": 350.0, "city": "Jakarta Utara"},
80
- "Koja": {"latitude": -6.1214, "longitude": 106.9133, "normal_avg": 190.0, "warning_threshold": 240.0, "critical_threshold": 270.0, "city": "Jakarta Utara"},
81
- "Cilincing": {"latitude": -6.1288, "longitude": 106.9452, "normal_avg": 290.0, "warning_threshold": 370.0, "critical_threshold": 400.0, "city": "Jakarta Utara"},
82
- "Pademangan": {"latitude": -6.1328, "longitude": 106.8422, "normal_avg": 140.0, "warning_threshold": 180.0, "critical_threshold": 200.0, "city": "Jakarta Utara"},
83
- "Kelapa Gading": {"latitude": -6.1552, "longitude": 106.9022, "normal_avg": 190.0, "warning_threshold": 240.0, "critical_threshold": 270.0, "city": "Jakarta Utara"},
84
-
85
- # 3. JAKARTA BARAT (8 Kecamatan) - Total: 1550 Ton
86
- "Cengkareng": {"latitude": -6.1528, "longitude": 106.7322, "normal_avg": 340.0, "warning_threshold": 420.0, "critical_threshold": 460.0, "city": "Jakarta Barat"},
87
- "Grogol Petamburan": {"latitude": -6.1622, "longitude": 106.7882, "normal_avg": 220.0, "warning_threshold": 280.0, "critical_threshold": 310.0, "city": "Jakarta Barat"},
88
- "Kalideres": {"latitude": -6.1428, "longitude": 106.7022, "normal_avg": 260.0, "warning_threshold": 330.0, "critical_threshold": 360.0, "city": "Jakarta Barat"},
89
- "Kebon Jeruk": {"latitude": -6.1922, "longitude": 106.7722, "normal_avg": 210.0, "warning_threshold": 260.0, "critical_threshold": 290.0, "city": "Jakarta Barat"},
90
- "Kembangan": {"latitude": -6.1828, "longitude": 106.7382, "normal_avg": 180.0, "warning_threshold": 230.0, "critical_threshold": 250.0, "city": "Jakarta Barat"},
91
- "Palmerah": {"latitude": -6.2028, "longitude": 106.7882, "normal_avg": 160.0, "warning_threshold": 200.0, "critical_threshold": 220.0, "city": "Jakarta Barat"},
92
- "Taman Sari": {"latitude": -6.1454, "longitude": 106.8182, "normal_avg": 100.0, "warning_threshold": 130.0, "critical_threshold": 150.0, "city": "Jakarta Barat"},
93
- "Tambora": {"latitude": -6.1500, "longitude": 106.8000, "normal_avg": 80.0, "warning_threshold": 110.0, "critical_threshold": 125.0, "city": "Jakarta Barat"},
94
 
95
- # 4. JAKARTA SELATAN (10 Kecamatan) - Total: 1850 Ton
96
- "Cilandak": {"latitude": -6.2928, "longitude": 106.7922, "normal_avg": 180.0, "warning_threshold": 230.0, "critical_threshold": 250.0, "city": "Jakarta Selatan"},
97
- "Jagakarsa": {"latitude": -6.3328, "longitude": 106.8222, "normal_avg": 220.0, "warning_threshold": 280.0, "critical_threshold": 310.0, "city": "Jakarta Selatan"},
98
- "Kebayoran Baru": {"latitude": -6.2422, "longitude": 106.7982, "normal_avg": 210.0, "warning_threshold": 260.0, "critical_threshold": 290.0, "city": "Jakarta Selatan"},
99
- "Kebayoran Lama": {"latitude": -6.2488, "longitude": 106.7722, "normal_avg": 230.0, "warning_threshold": 290.0, "critical_threshold": 320.0, "city": "Jakarta Selatan"},
100
- "Mampang Prapatan": {"latitude": -6.2522, "longitude": 106.8182, "normal_avg": 120.0, "warning_threshold": 150.0, "critical_threshold": 170.0, "city": "Jakarta Selatan"},
101
- "Pancoran": {"latitude": -6.2622, "longitude": 106.8382, "normal_avg": 130.0, "warning_threshold": 160.0, "critical_threshold": 180.0, "city": "Jakarta Selatan"},
102
- "Pasar Minggu": {"latitude": -6.2828, "longitude": 106.8438, "normal_avg": 240.0, "warning_threshold": 300.0, "critical_threshold": 330.0, "city": "Jakarta Selatan"},
103
- "Pesanggrahan": {"latitude": -6.2588, "longitude": 106.7588, "normal_avg": 160.0, "warning_threshold": 200.0, "critical_threshold": 220.0, "city": "Jakarta Selatan"},
104
- "Setiabudi": {"latitude": -6.2228, "longitude": 106.8282, "normal_avg": 190.0, "warning_threshold": 240.0, "critical_threshold": 270.0, "city": "Jakarta Selatan"},
105
- "Tebet": {"latitude": -6.2288, "longitude": 106.8482, "normal_avg": 170.0, "warning_threshold": 210.0, "critical_threshold": 230.0, "city": "Jakarta Selatan"},
106
-
107
- # 5. JAKARTA TIMUR (10 Kecamatan) - Total: 2100 Ton
108
- "Cakung": {"latitude": -6.1828, "longitude": 106.9482, "normal_avg": 350.0, "warning_threshold": 430.0, "critical_threshold": 470.0, "city": "Jakarta Timur"},
109
- "Cipayung": {"latitude": -6.3128, "longitude": 106.9022, "normal_avg": 140.0, "warning_threshold": 180.0, "critical_threshold": 200.0, "city": "Jakarta Timur"},
110
- "Ciracas": {"latitude": -6.3228, "longitude": 106.8782, "normal_avg": 190.0, "warning_threshold": 240.0, "critical_threshold": 270.0, "city": "Jakarta Timur"},
111
- "Duren Sawit": {"latitude": -6.2228, "longitude": 106.9282, "normal_avg": 300.0, "warning_threshold": 370.0, "critical_threshold": 410.0, "city": "Jakarta Timur"},
112
- "Jatinegara": {"latitude": -6.2222, "longitude": 106.8682, "normal_avg": 240.0, "warning_threshold": 300.0, "critical_threshold": 330.0, "city": "Jakarta Timur"},
113
- "Kramat Jati": {"latitude": -6.2722, "longitude": 106.8682, "normal_avg": 220.0, "warning_threshold": 270.0, "critical_threshold": 300.0, "city": "Jakarta Timur"},
114
- "Makasar": {"latitude": -6.2622, "longitude": 106.8782, "normal_avg": 160.0, "warning_threshold": 200.0, "critical_threshold": 220.0, "city": "Jakarta Timur"},
115
- "Matraman": {"latitude": -6.2022, "longitude": 106.8582, "normal_avg": 130.0, "warning_threshold": 160.0, "critical_threshold": 180.0, "city": "Jakarta Timur"},
116
- "Pasar Rebo": {"latitude": -6.3122, "longitude": 106.8522, "normal_avg": 150.0, "warning_threshold": 190.0, "critical_threshold": 210.0, "city": "Jakarta Timur"},
117
- "Pulo Gadung": {"latitude": -6.1922, "longitude": 106.8922, "normal_avg": 220.0, "warning_threshold": 270.0, "critical_threshold": 300.0, "city": "Jakarta Timur"},
118
-
119
- # 6. KEPULAUAN SERIBU (2 Kecamatan) - Total: 20 Ton
120
- "Kepulauan Seribu Utara": {"latitude": -5.5722, "longitude": 106.5522, "normal_avg": 11.0, "warning_threshold": 15.0, "critical_threshold": 18.0, "city": "Kepulauan Seribu"},
121
- "Kepulauan Seribu Selatan": {"latitude": -5.7722, "longitude": 106.6522, "normal_avg": 9.0, "warning_threshold": 12.0, "critical_threshold": 15.0, "city": "Kepulauan Seribu"}
122
- }
123
-
124
- ALLOWED_LOCATIONS = list(KECAMATAN_DATABASE.keys())
125
-
126
- # ==========================================
127
- # 3. INPUT VALIDATION & SCHEMAS
128
- # ==========================================
129
  class PredictionRequest(BaseModel):
 
 
 
 
130
  forecast_days: int = Field(7, ge=1, le=30, description="Forecast horizon in days (1-30)")
131
- rainfall_mm: float = Field(0.0, ge=0, description="Precipitation override. 0.0 means Auto (Open-Meteo)")
132
  event_scale: int = Field(0, ge=0, le=5, description="Manual event crowd scale (0=none, 5=massive)")
133
- location: str = Field(..., description="Target sub-district (Kecamatan)")
134
- start_date: Optional[str] = Field(None, description="Start date: YYYY-MM-DD")
135
- granularity: str = Field("daily", pattern="^(daily|hourly)$", description="Granularity")
136
- model_type: str = Field("chronos", pattern="^(chronos|gradient_boosting)$", description="AI model type")
137
 
138
  @field_validator("location")
139
  @classmethod
140
  def validate_location(cls, v: str) -> str:
141
  if v not in ALLOWED_LOCATIONS:
142
- raise ValueError(f"Kecamatan not recognized. Use one of the 44 sub-districts in Jakarta.")
143
  return v
144
 
145
  class PredictionResult(BaseModel):
@@ -148,11 +60,6 @@ class PredictionResult(BaseModel):
148
  total_volume_ton: float
149
  organic_waste_ton: float
150
  plastic_waste_ton: float
151
- paper_waste_ton: float
152
- metal_waste_ton: float
153
- glass_waste_ton: float
154
- textile_waste_ton: float
155
- other_waste_ton: float
156
  recommended_trucks: int
157
  risk_status: str
158
  event_info: Optional[str] = None
@@ -180,22 +87,32 @@ class AlertResponse(BaseModel):
180
  alerts: List[Dict[str, Any]]
181
  last_updated: str
182
 
183
- class NewsItem(BaseModel):
184
- title: str = Field(..., description="Judul berita persampahan DKI Jakarta")
185
- source: str = Field(..., description="Sumber penerbit berita (misal: Kompas.com, Antara News)")
186
- url: str = Field(..., description="Tautan/URL artikel asli berita")
187
- date_fetched: str = Field(..., description="Tanggal pengambilan berita (format: YYYY-MM-DD)")
188
- summary: str = Field(..., description="Ringkasan isi berita persampahan")
189
-
190
  # ==========================================
191
- # 4. GLOBAL STATE & MODELS
192
  # ==========================================
193
  pipeline = None
194
- model_gbr = None
195
  df_history = None
196
  events_data = {}
197
- WEATHER_CACHE = {}
198
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
  HOURLY_PATTERN = {
200
  0:0.02, 1:0.01, 2:0.01, 3:0.01, 4:0.02, 5:0.03,
201
  6:0.05, 7:0.07, 8:0.06, 9:0.05, 10:0.04, 11:0.04,
@@ -204,32 +121,56 @@ HOURLY_PATTERN = {
204
  }
205
 
206
  # ==========================================
207
- # 5. HELPER FUNCTIONS
208
  # ==========================================
209
  def parse_flexible_date(date_input: str, default_year: int = 2026) -> pd.Timestamp:
 
210
  if not date_input: return None
211
  date_input = date_input.strip()
212
- for fmt in ["%Y-%m-%d", "%d-%m-%Y", "%m-%d", "%d %B %Y", "%d %b %Y", "%B %d, %Y"]:
213
  try:
214
  parsed = datetime.strptime(date_input, fmt)
215
  if fmt == "%m-%d": parsed = parsed.replace(year=default_year)
216
  return pd.Timestamp(parsed)
217
  except ValueError: continue
 
 
 
 
 
 
218
  raise ValueError(f"Unrecognized date format: '{date_input}'")
219
 
 
 
 
 
 
 
 
 
220
  def get_risk_status(volume: float, location: str) -> str:
221
- config = KECAMATAN_DATABASE.get(location, KECAMATAN_DATABASE["Menteng"])
 
222
  if volume > config["critical_threshold"]:
223
  return "CRITICAL"
224
  elif volume > config["warning_threshold"]:
225
  return "WARNING"
226
  return "SAFE"
227
 
228
- def distribute_to_hourly(daily_volume: float) -> List[Dict[str, Any]]:
 
229
  pattern = HOURLY_PATTERN.copy()
 
 
 
 
 
 
230
  total_factor = sum(pattern.values())
231
  hourly_results = []
232
 
 
233
  high_thresh = (daily_volume / 24) * 2.0
234
  med_thresh = (daily_volume / 24) * 1.2
235
 
@@ -245,61 +186,21 @@ def distribute_to_hourly(daily_volume: float) -> List[Dict[str, Any]]:
245
  })
246
  return hourly_results
247
 
248
- async def fetch_rainfall_forecast(lat: float, lon: float, days: int) -> dict:
249
- """Fetch daily rainfall forecast from Open-Meteo API (with 30-min in-memory caching and short timeout)"""
250
- cache_key = f"{lat:.2f}_{lon:.2f}_{days}"
251
- now = datetime.now()
252
-
253
- # Expiration Cache Check
254
- if cache_key in WEATHER_CACHE:
255
- cached_data, timestamp = WEATHER_CACHE[cache_key]
256
- if now - timestamp < timedelta(minutes=30):
257
- logger.info(f"⚡ Weather cache hit for {cache_key}")
258
- return cached_data
259
-
260
- url = f"https://api.open-meteo.com/v1/forecast?latitude={lat}&longitude={lon}&daily=precipitation_sum&timezone=Asia/Jakarta&forecast_days={days}&past_days=2"
261
- try:
262
- async with httpx.AsyncClient() as client:
263
- response = await client.get(url, timeout=1.5) # Short timeout
264
- if response.status_code == 200:
265
- data = response.json()
266
- daily = data.get("daily", {})
267
- times = daily.get("time", [])
268
- precip = daily.get("precipitation_sum", [])
269
- result = {times[i]: float(precip[i]) for i in range(len(times)) if i < len(precip)}
270
-
271
- # Save to cache
272
- WEATHER_CACHE[cache_key] = (result, now)
273
- return result
274
- except Exception as e:
275
- logger.error(f"Failed to fetch weather from Open-Meteo: {e}")
276
-
277
- return {}
278
-
279
  # ==========================================
280
- # 6. STARTUP & LOAD MODEL
281
  # ==========================================
282
  @app.on_event("startup")
283
  async def load_assets():
284
- global pipeline, model_gbr, df_history, events_data
285
- logger.info("⏳ Initializing multi-region AI models...")
 
286
  try:
287
  pipeline = ChronosPipeline.from_pretrained("amazon/chronos-t5-tiny", device_map="cpu", torch_dtype=torch.float32)
288
- logger.info("✅ Chronos pipeline loaded")
289
-
290
- if os.path.exists("model_sampah_advanced.pkl"):
291
- model_gbr = joblib.load("model_sampah_advanced.pkl")
292
- logger.info("✅ Upgraded GBR model loaded")
293
-
294
- if os.path.exists("model_sampah_advanced.pkl"):
295
- model_gbr = joblib.load("model_sampah_advanced.pkl")
296
- logger.info("✅ Gradient Boosting model loaded")
297
- else:
298
- logger.warning("⚠️ model_sampah_advanced.pkl not found")
299
 
300
  df_history = pd.read_csv("dataset_vibe_coder_2026.csv")
301
  df_history["TANGGAL"] = pd.to_datetime(df_history["TANGGAL"]).dt.strftime("%Y-%m-%d")
302
- logger.info(f"✅ Baseline dataset loaded: {len(df_history)} records")
303
 
304
  event_file = "event_jakarta_2026.txt"
305
  if os.path.exists(event_file):
@@ -320,367 +221,84 @@ async def load_assets():
320
  raise
321
 
322
  # ==========================================
323
- # 7. ROUTING & CONTROLLERS
324
  # ==========================================
325
- @app.get("/", response_class=HTMLResponse, tags=["UI"])
326
- def serve_dashboard():
327
- """Serve the Floodzy-style interactive dashboard."""
328
- try:
329
- with open("frontend/index.html", "r", encoding="utf-8") as f:
330
- return HTMLResponse(content=f.read(), status_code=200)
331
- except FileNotFoundError:
332
- return HTMLResponse(content="<h1>Dashboard HTML not found. Please check your frontend directory.</h1>", status_code=404)
333
-
334
- @app.get("/status", tags=["System"])
335
  def status_check():
336
- return {
337
- "status": "Online",
338
- "model_chronos": "Chronos-T5 Tiny",
339
- "model_gbr": "Gradient Boosting Regressor (Upgraded)",
340
- "coverage": "44 Kecamatan DKI Jakarta",
341
- "calibrated": True
342
- }
343
-
344
- import random
345
-
346
- def generate_dynamic_news_fallback(today_date: datetime) -> List[Dict[str, Any]]:
347
- kecamatans = ["Tanah Abang", "Gambir", "Menteng", "Kebayoran Lama", "Setiabudi", "Kemayoran", "Cipayung", "Penjaringan", "Sawah Besar", "Tambora"]
348
- wilayahs = ["Jakarta Pusat", "Jakarta Selatan", "Jakarta Timur", "Jakarta Barat", "Jakarta Utara"]
349
-
350
- templates = [
351
- {
352
- "title": "DLH DKI Jakarta Kerahkan {truk} Truk Sampah ke Area {kecamatan} Antisipasi Penumpukan",
353
- "source": "Detik.com",
354
- "url": "https://news.detik.com/berita/d-7434190/dlh-dki-siapkan-armada-antisipasi-timbulan-sampah-acara-kenegaraan",
355
- "summary": "Mengantisipasi lonjakan sampah akibat event akhir pekan di area {kecamatan}, Dinas Lingkungan Hidup DKI Jakarta mengerahkan tambahan {truk} armada truk compactor heavy-duty."
356
- },
357
- {
358
- "title": "Uji Coba Pengolahan Sampah Menjadi RDF di Bantargebang Berjalan Efektif",
359
- "source": "Antara News",
360
- "url": "https://www.antaranews.com/berita/3607233/dki-operasikan-fasilitas-pengolahan-sampah-terbesar-di-bantargebang",
361
- "summary": "Fasilitas Pengolahan Sampah Terbesar di TPST Bantargebang sukses mengolah {angka} ton sampah harian menjadi produk Refuse Derived Fuel (RDF) alternatif batubara."
362
- },
363
- {
364
- "title": "Penerapan Larangan Kantong Plastik Sekali Pakai di {kecamatan} Dievaluasi Ketat",
365
- "source": "Detik.com",
366
- "url": "https://news.detik.com/berita/d-5075191/perda-larangan-kantong-plastik-sekali-pakai-dki-mulai-berlaku",
367
- "summary": "Sudin LH DKI Jakarta mengevaluasi kepatuhan pusat perbelanjaan dan pasar tradisional di kawasan {kecamatan} terhadap regulasi larangan kantong plastik sekali pakai."
368
- },
369
- {
370
- "title": "Layanan Jemput Sampah Elektronik (E-Waste) Gratis di {kecamatan} Kebanjiran Order",
371
- "source": "Antara News",
372
- "url": "https://www.antaranews.com/berita/4028043/dki-sediakan-layanan-jemput-sampah-elektronik-secara-gratis",
373
- "summary": "Program penjemputan e-waste gratis oleh DLH DKI Jakarta mendapat respon positif warga {kecamatan} dengan masuknya puluhan order penjemputan barang elektronik rusak harian."
374
- },
375
- {
376
- "title": "Sudin LH {wilayah} Angkut {angka} Ton Sampah Besar (Bulky Waste) dalam Sepekan",
377
- "source": "Antara News",
378
- "url": "https://www.antaranews.com/berita/4166295/sudin-lh-jakarta-barat-angkut-belasan-ton-sampah-bulky",
379
- "summary": "Suku Dinas Lingkungan Hidup wilayah {wilayah} berhasil mengangkut belasan ton sampah berukuran besar seperti kasur, sofa, dan lemari bekas milik warga di kawasan {kecamatan}."
380
- },
381
- {
382
- "title": "Kondisi TPST Bantargebang Memasuki Zona Siaga Kapasitas, DLH Jakarta Siapkan Mitigasi",
383
- "source": "Antara News",
384
- "url": "https://www.antaranews.com/berita/4202781/dlh-dki-sebut-tpst-bantargebang-sudah-melebihi-kapasitas",
385
- "summary": "Dinas Lingkungan Hidup DKI Jakarta mengakui volume sampah harian Jakarta yang dikirim ke TPST Bantargebang telah melebihi kapasitas operasional ideal."
386
- },
387
- {
388
- "title": "Gerakan Pilah Sampah Mandiri di {kecamatan} Mulai Diwajibkan Dinas LH",
389
- "source": "Detik.com",
390
- "url": "https://news.detik.com/berita/d-7335290/dki-mulai-pilah-sampah-10-mei-begini-cara-pemilahannya",
391
- "summary": "DLH DKI Jakarta mewajibkan warga Kecamatan {kecamatan} melakukan pemilahan sampah organik dan anorganik secara mandiri sejak dari dapur rumah tangga."
392
- },
393
- {
394
- "title": "Perumda Pasar Jaya Terapkan Gerakan Pemilahan Sampah di Wilayah {kecamatan}",
395
- "source": "Detik.com",
396
- "url": "https://news.detik.com/berita/d-7360214/pasar-jaya-terapkan-gerakan-pemilahan-sampah-di-146-pasar-mulai-agustus",
397
- "summary": "Sebanyak {angka} pasar tradisional di bawah naungan Pasar Jaya area {kecamatan} diwajibkan mengelola dan memilah sampah organik secara mandiri mulai bulan ini."
398
- },
399
- {
400
- "title": "Menteri LHK Soroti Peningkatan Volume Timbulan Sampah Nasional Tahun Ini",
401
- "source": "Antara News",
402
- "url": "https://www.antaranews.com/berita/3973800/klhk-sebut-timbulan-sampah-nasional-capai-2774-juta-ton-pada-2023",
403
- "summary": "Kementerian Lingkungan Hidup merilis data timbulan sampah nasional yang mencapai {persen} juta ton, di mana sampah residu mendominasi beban tempat pembuangan akhir."
404
- },
405
- {
406
- "title": "Kampanye Hari Peduli Sampah Nasional Sukses Edukasi Warga {kecamatan}",
407
- "source": "Antara News",
408
- "url": "https://www.antaranews.com/berita/3951759/klhk-fokus-hpsn-2024-atasi-polusi-plastik-secara-produktif",
409
- "summary": "Momentum HPSN dimanfaatkan aktivis lingkungan untuk menggelar lokakarya pengolahan sampah plastik produktif di balai warga kelurahan di {kecamatan}."
410
- },
411
- {
412
- "title": "KLHK Ajak Masyarakat Reduksi Sampah Plastik Secara Kreatif dan Mandiri",
413
- "source": "Antara News",
414
- "url": "https://www.antaranews.com/berita/3952131/menteri-lhk-ajak-masyarakat-atasi-sampah-plastik-secara-produktif",
415
- "summary": "Dalam rilis resminya, Kementerian LHK mendorong kolaborasi komunitas di {kecamatan} untuk membangun industri daur ulang sampah skala rumahan yang bernilai ekonomi."
416
- },
417
- {
418
- "title": "Parade Monster Sampah Plastik di Bundaran HI Ingatkan Warga Jakarta Darurat Sampah",
419
- "source": "Antara News",
420
- "url": "https://www.antaranews.com/berita/4425441/monster-plastik-diarak-di-bundaran-hi-ingatkan-ancaman-darurat-sampah",
421
- "summary": "Koalisi organisasi lingkungan menggelar aksi teatrikal di pusat kota mengusung replika monster dari sampah plastik guna mendesak pembenahan pengelolaan sampah hulu ke hilir."
422
- }
423
- ]
424
-
425
- # Shuffle and select exactly 10 articles
426
- selected_templates = random.sample(templates, 10)
427
- news_items = []
428
-
429
- for i, t in enumerate(selected_templates):
430
- kec = random.choice(kecamatans)
431
- wil = random.choice(wilayahs)
432
- truk = str(random.randint(5, 25))
433
- persen = str(random.randint(12, 38))
434
- angka = str(random.randint(15, 120))
435
-
436
- # Determine randomized date in the past week
437
- days_back = random.randint(0, 6)
438
- article_date = today_date - timedelta(days=days_back)
439
- date_str = article_date.strftime("%Y-%m-%d")
440
-
441
- title = t["title"].format(kecamatan=kec, wilayah=wil, truk=truk, persen=persen, angka=angka)
442
- summary = t["summary"].format(kecamatan=kec, wilayah=wil, truk=truk, persen=persen, angka=angka)
443
-
444
- news_items.append({
445
- "title": title,
446
- "source": t["source"],
447
- "url": t["url"],
448
- "date_fetched": date_str,
449
- "summary": summary
450
- })
451
-
452
- # Sort news items by date descending
453
- news_items.sort(key=lambda x: x["date_fetched"], reverse=True)
454
- return news_items
455
-
456
- @app.get("/api/v1/news", response_model=List[NewsItem], tags=["News"])
457
- async def get_latest_news():
458
- """Returns the latest dynamic news generated via Conduit AI, falling back to local database on error"""
459
- news_file = "latest_waste_news.json"
460
-
461
- # 1. Try fetching dynamically from Conduit LLM
462
- try:
463
- url = "https://conduit.ozdoev.net/v1/chat/completions"
464
- api_key = os.getenv("CONDUIT_API_KEY")
465
- if not api_key:
466
- raise ValueError("CONDUIT_API_KEY is not set in environment variables.")
467
- headers = {
468
- "Authorization": f"Bearer {api_key}",
469
- "Content-Type": "application/json"
470
- }
471
- today_str = str(get_jakarta_now().date())
472
- payload = {
473
- "model": "gpt-5-mini",
474
- "messages": [
475
- {
476
- "role": "system",
477
- "content": (
478
- "You are an AI assistant that generates mock but highly realistic and valid-looking news articles about "
479
- "waste management (Dinas Lingkungan Hidup, TPST Bantargebang, pilah sampah, retribusi, biopori) in DKI Jakarta. "
480
- "Format the response strictly as a raw JSON array of objects, each containing: title, source, url, date_fetched, "
481
- "and summary. The date_fetched must be within the last 7 days relative to the current date. "
482
- "Do not include markdown code block formatting (like ```json), just return raw JSON text."
483
- )
484
- },
485
- {
486
- "role": "user",
487
- "content": f"Generate exactly 10 news articles. Current date is {today_str}."
488
- }
489
- ],
490
- "temperature": 0.7
491
- }
492
-
493
- async with httpx.AsyncClient() as client:
494
- response = await client.post(url, json=payload, headers=headers, timeout=8.0)
495
- if response.status_code == 200:
496
- data = response.json()
497
- content = data["choices"][0]["message"]["content"].strip()
498
- if content.startswith("```"):
499
- content = re.sub(r"^```[a-zA-Z]*\n", "", content)
500
- content = re.sub(r"\n```$", "", content)
501
- news_data = json.loads(content)
502
-
503
- if isinstance(news_data, list) and len(news_data) >= 1:
504
- # Write to local file as backup cache
505
- with open(news_file, "w", encoding="utf-8") as f:
506
- json.dump(news_data, f, indent=2, ensure_ascii=False)
507
- return news_data
508
- else:
509
- logger.warning(f"Conduit API returned status {response.status_code}: {response.text}")
510
- except Exception as e:
511
- logger.error(f"Error calling Conduit API for news: {e}")
512
-
513
- # 2. Dynamic Local News Generator Fallback (Always returns fresh dynamic news)
514
- try:
515
- dynamic_news = generate_dynamic_news_fallback(get_jakarta_now())
516
- # Write to local file as backup cache
517
- with open(news_file, "w", encoding="utf-8") as f:
518
- json.dump(dynamic_news, f, indent=2, ensure_ascii=False)
519
- return dynamic_news
520
- except Exception as e:
521
- logger.error(f"Error generating dynamic fallback news: {e}")
522
-
523
- # 3. Ultimate static fallback if generator fails
524
- return [
525
- {
526
- "title": "DLH DKI Jakarta Wajibkan Pemilahan Sampah Rumah Tangga Mulai 1 Agustus 2026",
527
- "source": "Kompas.com",
528
- "url": "https://megapolitan.kompas.com/read/2026/07/12/dlh-dki-wajibkan-pemilahan-sampah-rumah-tangga",
529
- "date_fetched": str(get_jakarta_now().date()),
530
- "summary": "Dinas Lingkungan Hidup DKI Jakarta resmi mensosialisasikan Instruksi Gubernur No. 5 Tahun 2026 tentang kewajiban pilah sampah dari rumah guna mengurangi pasokan sampah ke TPST Bantargebang per 1 Agustus 2026."
531
- }
532
- ]
533
 
534
  def perform_inference(ctx, steps):
535
- # Lock the seed to make Chronos T5 predictions 100% deterministic on consecutive clicks
536
- torch.manual_seed(42)
537
- if torch.cuda.is_available():
538
- torch.cuda.manual_seed(42)
539
  forecast = pipeline.predict(ctx.unsqueeze(0), steps)
540
  return np.quantile(forecast[0].numpy(), 0.5, axis=0)
541
 
542
  @app.post("/api/v1/predict", response_model=APIResponse, tags=["Prediction"])
543
  async def predict_waste_volume(req: PredictionRequest):
544
  if df_history is None or pipeline is None:
545
- raise HTTPException(503, "Models not ready.")
546
 
547
  try:
548
- start_date = parse_flexible_date(req.start_date) if req.start_date else pd.Timestamp(get_jakarta_now().date())
549
-
550
- # Get location metadata
551
- config = KECAMATAN_DATABASE[req.location]
552
 
553
- # Fetch live weather forecast from Open-Meteo API
554
- weather_forecast = await fetch_rainfall_forecast(config["latitude"], config["longitude"], req.forecast_days)
555
-
556
- # Calibrations Setup
557
  dataset_mean = df_history["Volume_Total_Ton"].mean()
558
- real_baseline = config["normal_avg"]
559
  calibration_factor = real_baseline / dataset_mean
560
 
561
  o_r = (df_history["Vol_Sisa_Makanan_Ton"] / df_history["Volume_Total_Ton"]).mean()
562
  p_r = (df_history["Vol_Plastik_Ton"] / df_history["Volume_Total_Ton"]).mean()
563
 
564
- # Remaining ratios from official DLH Jakarta statistics:
565
- paper_r = 0.115
566
- metal_r = 0.021
567
- glass_r = 0.032
568
- textile_r = 0.042
569
- other_r = max(0.01, 1.0 - (o_r + p_r + paper_r + metal_r + glass_r + textile_r))
570
-
571
  results = []
572
  total_vol = 0.0
573
  max_risk = "SAFE"
574
 
575
- # Chronos Forecasting Pipeline
576
- if req.model_type == "chronos":
577
- ctx = torch.tensor(df_history["Volume_Total_Ton"].values, dtype=torch.float32)
578
- forecast_vals = await run_in_threadpool(perform_inference, ctx, req.forecast_days)
579
 
580
- for i, base in enumerate(forecast_vals):
581
- curr_date = start_date + timedelta(days=i)
582
- d_str = curr_date.strftime("%Y-%m-%d")
583
-
584
- # Retrieve weather rain
585
- rain_val = req.rainfall_mm if (req.rainfall_mm > 0.0 and i == 0) else weather_forecast.get(d_str, 0.0)
586
- rain_m = 1.0
587
- if rain_val > 20:
588
- rain_m = 1.02 + min((rain_val - 20) * 0.001, 0.03)
589
-
590
- # Events multiplier
591
- evt = events_data.get(d_str)
592
- evt_m = 1.0
593
- info = None
594
- if evt and evt["crowd_scale"] > 0 and (req.location.lower() in evt["location"].lower() or evt["location"].lower() == "jakarta"):
595
- evt_m = 1.0 + 0.10 + min(evt["crowd_scale"] * 0.05, 0.25)
596
- info = f"{evt['event_name']} @ {evt['location']}"
597
- elif req.event_scale > 0:
598
- evt_m = 1.0 + req.event_scale * 0.10
599
-
600
- raw_prediction = base * rain_m * evt_m
601
- calibrated_volume = round(float(raw_prediction * calibration_factor), 2)
602
-
603
- total_vol += calibrated_volume
604
- risk = get_risk_status(calibrated_volume, req.location)
605
- if risk == "CRITICAL": max_risk = "CRITICAL"
606
- elif risk == "WARNING" and max_risk != "CRITICAL": max_risk = "WARNING"
607
-
608
- hourly = distribute_to_hourly(calibrated_volume) if req.granularity == "hourly" else None
609
-
610
- results.append(PredictionResult(
611
- date=d_str, location=req.location, total_volume_ton=calibrated_volume,
612
- organic_waste_ton=round(calibrated_volume*o_r, 2), plastic_waste_ton=round(calibrated_volume*p_r, 2),
613
- paper_waste_ton=round(calibrated_volume*paper_r, 2), metal_waste_ton=round(calibrated_volume*metal_r, 2),
614
- glass_waste_ton=round(calibrated_volume*glass_r, 2), textile_waste_ton=round(calibrated_volume*textile_r, 2),
615
- other_waste_ton=round(calibrated_volume*other_r, 2),
616
- recommended_trucks=max(1, int(np.ceil(calibrated_volume/5))),
617
- risk_status=risk, event_info=info, hourly_breakdown=hourly
618
- ))
619
-
620
- # Gradient Boosting Regressor Pipeline
621
- elif req.model_type == "gradient_boosting":
622
- if model_gbr is None:
623
- raise HTTPException(503, "Gradient Boosting model not loaded.")
624
 
625
- for i in range(req.forecast_days):
626
- curr_date = start_date + timedelta(days=i)
627
- d_str = curr_date.strftime("%Y-%m-%d")
628
-
629
- rain_val = req.rainfall_mm if (req.rainfall_mm > 0.0 and i == 0) else weather_forecast.get(d_str, 0.0)
630
- rain_lag1 = req.rainfall_mm if (req.rainfall_mm > 0.0 and i == 1) else weather_forecast.get((curr_date - timedelta(days=1)).strftime("%Y-%m-%d"), 0.0)
631
-
632
- evt = events_data.get(d_str)
633
- has_event = 1 if (evt and (req.location.lower() in evt["location"].lower() or evt["location"].lower() == "jakarta")) else 0
634
- crowd = float(evt["crowd_scale"]) if has_event else (float(req.event_scale) if i == 0 else 0.0)
635
- info = f"{evt['event_name']} @ {evt['location']}" if has_event else None
636
-
637
- # Fitur dataframe construction matching train.py
638
- features = pd.DataFrame([{
639
- 'Penumpang_MRT': 85000,
640
- 'Ada_Event': has_event or (1 if (req.event_scale > 0 and i == 0) else 0),
641
- 'Curah_Hujan_mm': rain_val,
642
- 'Hujan_Kemarin': rain_lag1,
643
- 'Hari_Dalam_Minggu': curr_date.weekday(),
644
- 'Bulan': curr_date.month,
645
- 'Is_Weekend': 1 if curr_date.weekday() >= 5 else 0
646
- }])
647
-
648
- raw_pred = float(model_gbr.predict(features)[0])
649
- calibrated_volume = round(float(raw_pred * calibration_factor), 2)
650
-
651
- total_vol += calibrated_volume
652
- risk = get_risk_status(calibrated_volume, req.location)
653
- if risk == "CRITICAL": max_risk = "CRITICAL"
654
- elif risk == "WARNING" and max_risk != "CRITICAL": max_risk = "WARNING"
655
-
656
- hourly = distribute_to_hourly(calibrated_volume) if req.granularity == "hourly" else None
657
-
658
- results.append(PredictionResult(
659
- date=d_str, location=req.location, total_volume_ton=calibrated_volume,
660
- organic_waste_ton=round(calibrated_volume*o_r, 2), plastic_waste_ton=round(calibrated_volume*p_r, 2),
661
- paper_waste_ton=round(calibrated_volume*paper_r, 2), metal_waste_ton=round(calibrated_volume*metal_r, 2),
662
- glass_waste_ton=round(calibrated_volume*glass_r, 2), textile_waste_ton=round(calibrated_volume*textile_r, 2),
663
- other_waste_ton=round(calibrated_volume*other_r, 2),
664
- recommended_trucks=max(1, int(np.ceil(calibrated_volume/15))),
665
- risk_status=risk, event_info=info, hourly_breakdown=hourly
666
- ))
667
-
668
  trucks = sum([r.recommended_trucks for r in results])
669
  msg = f"CRITICAL at {req.location}!" if max_risk == "CRITICAL" else f"WARNING at {req.location}." if max_risk == "WARNING" else "Normal conditions."
670
 
671
- # Return accuracy score dynamically (Chronos is default 0.92, GBR shows training test score ~0.93)
672
- conf = 0.9325 if req.model_type == "gradient_boosting" else 0.92
673
-
674
  return APIResponse(
675
- status="success", message=msg, confidence_score=conf,
676
  data=PredictionData(
677
  prediction_results=results,
678
- logistics_plan=LogisticsPlan(
679
- trucks_needed=trucks,
680
- manpower=trucks*3,
681
- estimated_duration_hours=round(total_vol/15, 1),
682
- efficiency_rate="85% (Optimal)"
683
- )
684
  )
685
  )
686
  except HTTPException: raise
@@ -688,146 +306,30 @@ async def predict_waste_volume(req: PredictionRequest):
688
  logger.error(f"Prediction failed: {e}", exc_info=True)
689
  raise HTTPException(500, str(e))
690
 
691
- @app.post("/api/v1/predict/csv", tags=["Prediction"])
692
- async def predict_waste_volume_csv(req: PredictionRequest):
693
- res = await predict_waste_volume(req)
694
-
695
- output = io.StringIO()
696
- writer = csv.writer(output)
697
-
698
- # Write CSV Header
699
- writer.writerow([
700
- "Date", "Location", "Total Volume (Tons)",
701
- "Organic Waste (Tons)", "Plastic Waste (Tons)",
702
- "Paper Waste (Tons)", "Metal Waste (Tons)",
703
- "Glass Waste (Tons)", "Textile Waste (Tons)",
704
- "Risk Status", "Event Info", "Recommended Trucks (15T)"
705
- ])
706
-
707
- for r in res.data.prediction_results:
708
- writer.writerow([
709
- r.date, r.location, r.total_volume_ton,
710
- r.organic_waste_ton, r.plastic_waste_ton,
711
- r.paper_waste_ton, r.metal_waste_ton,
712
- r.glass_waste_ton, r.textile_waste_ton,
713
- r.risk_status, r.event_info or "", r.recommended_trucks
714
- ])
715
-
716
- output.seek(0)
717
- filename = f"waste_forecast_{req.location.replace(' ', '_')}_{req.forecast_days}d.csv"
718
- return StreamingResponse(
719
- io.BytesIO(output.getvalue().encode("utf-8")),
720
- media_type="text/csv",
721
- headers={"Content-Disposition": f"attachment; filename={filename}"}
722
- )
723
-
724
  @app.get("/api/v1/alerts", response_model=AlertResponse, tags=["Alerts"])
725
  async def get_alerts(location: str = Query(None)):
726
  """Real-time alerts endpoint."""
727
  if df_history is None: raise HTTPException(503, "Model not ready")
728
 
729
  alerts = []
730
- today = get_jakarta_now().date()
 
731
 
732
  for i in range(3):
733
  d = (today + timedelta(days=i)).strftime("%Y-%m-%d")
734
  evt = events_data.get(d)
735
 
736
- for loc, config in KECAMATAN_DATABASE.items():
737
  if location and loc != location: continue
738
 
 
739
  baseline_vol = config["normal_avg"]
740
- if evt and evt["crowd_scale"] > 0 and (loc.lower() in evt["location"].lower() or evt["location"].lower() == "jakarta"):
741
- baseline_vol = config["normal_avg"] * 1.5
742
 
743
  status = "CRITICAL" if baseline_vol > config["critical_threshold"] else "WARNING" if baseline_vol > config["warning_threshold"] else "SAFE"
744
 
745
  if status != "SAFE":
746
- alerts.append({
747
- "date": d, "location": loc, "status": status,
748
- "estimated_volume_ton": baseline_vol,
749
- "message": f"Alert: {status} volume expected at {loc}"
750
- })
751
 
752
- return AlertResponse(status="success", alert_count=len(alerts), alerts=alerts, last_updated=get_jakarta_now().isoformat())
753
-
754
- @app.get("/api/v1/autopilot", tags=["Autonomous"])
755
- async def get_autopilot_data():
756
- """Autonomous autopilot aggregator that predicts for all 44 kecamatan for today using GBR."""
757
- if df_history is None:
758
- raise HTTPException(503, "Models not ready")
759
-
760
- today = get_jakarta_now()
761
- d_str = today.strftime("%Y-%m-%d")
762
-
763
- total_vol = 0.0
764
- total_trucks = 0
765
- kecamatan_results = []
766
- rainy_count = 0
767
-
768
- # Check if there is an event today
769
- evt = events_data.get(d_str)
770
-
771
- for loc, config in KECAMATAN_DATABASE.items():
772
- # Calibrations Setup
773
- dataset_mean = df_history["Volume_Total_Ton"].mean()
774
- real_baseline = config["normal_avg"]
775
- calibration_factor = real_baseline / dataset_mean
776
-
777
- # Check weather cache
778
- cache_key = f"{config['latitude']:.2f}_{config['longitude']:.2f}_7"
779
- rain_val = 0.0
780
- if cache_key in WEATHER_CACHE:
781
- rain_val = WEATHER_CACHE[cache_key][0].get(d_str, 0.0)
782
- if rain_val > 1.0: rainy_count += 1
783
-
784
- has_event = 1 if (evt and (loc.lower() in evt["location"].lower() or evt["location"].lower() == "jakarta")) else 0
785
-
786
- # Build features for GBR
787
- features = pd.DataFrame([{
788
- 'Penumpang_MRT': 85000,
789
- 'Ada_Event': has_event,
790
- 'Curah_Hujan_mm': rain_val,
791
- 'Hujan_Kemarin': 0.0,
792
- 'Hari_Dalam_Minggu': today.weekday(),
793
- 'Bulan': today.month,
794
- 'Is_Weekend': 1 if today.weekday() >= 5 else 0
795
- }])
796
-
797
- # Predict
798
- if model_gbr is not None:
799
- raw_pred = float(model_gbr.predict(features)[0])
800
- else:
801
- raw_pred = dataset_mean # Fallback
802
-
803
- calibrated_volume = round(float(raw_pred * calibration_factor), 2)
804
- trucks = max(1, int(np.ceil(calibrated_volume / 15)))
805
-
806
- status = "CRITICAL" if calibrated_volume > config["critical_threshold"] else "WARNING" if calibrated_volume > config["warning_threshold"] else "SAFE"
807
-
808
- total_vol += calibrated_volume
809
- total_trucks += trucks
810
-
811
- kecamatan_results.append({
812
- "location": loc,
813
- "volume_ton": calibrated_volume,
814
- "trucks": trucks,
815
- "status": status,
816
- "city": config["city"],
817
- "latitude": config["latitude"],
818
- "longitude": config["longitude"]
819
- })
820
-
821
- # Sort by volume to get Top 5
822
- kecamatan_results.sort(key=lambda x: x["volume_ton"], reverse=True)
823
- top_5 = kecamatan_results[:5]
824
-
825
- return {
826
- "status": "success",
827
- "date": d_str,
828
- "total_volume_ton": round(total_vol, 2),
829
- "total_trucks": total_trucks,
830
- "top_kecamatan": top_5,
831
- "rainy_regions": rainy_count,
832
- "event_today": evt["event_name"] if evt else None
833
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  from fastapi import FastAPI, HTTPException, Query
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from fastapi.concurrency import run_in_threadpool
 
 
4
  from pydantic import BaseModel, Field, field_validator
5
  from typing import Optional, List, Dict, Any
6
  import pandas as pd
7
  import numpy as np
8
  import torch
 
 
 
 
 
9
  from chronos import ChronosPipeline
10
+ from datetime import datetime, timedelta
11
  import os, logging, re
12
 
 
 
 
13
  # ==========================================
14
  # 1. APPLICATION CONFIGURATION
15
  # ==========================================
 
17
  logger = logging.getLogger(__name__)
18
 
19
  app = FastAPI(
20
+ title="Waste Intelligence API - Jakarta Pusat 2026",
21
+ version="3.0.0 (Calibrated)",
22
+ description="AI-powered waste prediction with spatial awareness & real-world calibration"
23
  )
24
 
25
  app.add_middleware(
 
30
  allow_headers=["*"],
31
  )
32
 
 
 
 
 
 
33
  # ==========================================
34
+ # 2. INPUT VALIDATION & SCHEMAS (English Standard)
35
  # ==========================================
36
+ ALLOWED_LOCATIONS = ["JIS", "GBK", "Pasar Senen", "Gang Sempit Tambora"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  class PredictionRequest(BaseModel):
39
+ """
40
+ Request schema for waste volume prediction.
41
+ Field names use English for international clarity.
42
+ """
43
  forecast_days: int = Field(7, ge=1, le=30, description="Forecast horizon in days (1-30)")
44
+ rainfall_mm: float = Field(0.0, ge=0, description="Estimated rainfall in mm (BMKG forecast)")
45
  event_scale: int = Field(0, ge=0, le=5, description="Manual event crowd scale (0=none, 5=massive)")
46
+ location: str = Field(..., description="Target location name")
47
+ start_date: Optional[str] = Field(None, description="Start date: YYYY-MM-DD, MM-DD, or '1 Juni 2026'")
48
+ granularity: str = Field("daily", pattern="^(daily|hourly)$", description="Prediction granularity")
 
49
 
50
  @field_validator("location")
51
  @classmethod
52
  def validate_location(cls, v: str) -> str:
53
  if v not in ALLOWED_LOCATIONS:
54
+ raise ValueError(f"Location not recognized. Use one of: {', '.join(ALLOWED_LOCATIONS)}")
55
  return v
56
 
57
  class PredictionResult(BaseModel):
 
60
  total_volume_ton: float
61
  organic_waste_ton: float
62
  plastic_waste_ton: float
 
 
 
 
 
63
  recommended_trucks: int
64
  risk_status: str
65
  event_info: Optional[str] = None
 
87
  alerts: List[Dict[str, Any]]
88
  last_updated: str
89
 
 
 
 
 
 
 
 
90
  # ==========================================
91
+ # 3. GLOBAL STATE & OPERATIONAL LOGIC
92
  # ==========================================
93
  pipeline = None
 
94
  df_history = None
95
  events_data = {}
 
96
 
97
+ # Spatial radius mapping: events at location X impact nearby zones
98
+ EVENT_RADIUS_MAP = {
99
+ "jiexpo": ["jis", "kemayoran", "pademangan", "jakarta"],
100
+ "monas": ["pasar senen", "gang sempit tambora", "merdeka", "jakarta"],
101
+ "gbk": ["senayan", "tanah abang", "kuningan", "jakarta"],
102
+ "ancol": ["pademangan", "kelapa gading", "jakarta"],
103
+ "jakarta": ["*"]
104
+ }
105
+
106
+ # Real-world operational baselines (calibrated to reality)
107
+ # Source: DLH Reports & Municipal Data (e.g., GBK ~7.5-31 tons)
108
+ LOCATION_BASELINES = {
109
+ "GBK": {"normal_avg": 8.5, "event_peak": 31.0, "warning_threshold": 15.0, "critical_threshold": 30.0},
110
+ "JIS": {"normal_avg": 120.0, "event_peak": 200.0, "warning_threshold": 160.0, "critical_threshold": 220.0},
111
+ "Pasar Senen": {"normal_avg": 90.0, "event_peak": 150.0, "warning_threshold": 120.0, "critical_threshold": 160.0},
112
+ "Gang Sempit Tambora": {"normal_avg": 40.0, "event_peak": 70.0, "warning_threshold": 55.0, "critical_threshold": 75.0}
113
+ }
114
+
115
+ # Hourly distribution pattern (sum = 1.0)
116
  HOURLY_PATTERN = {
117
  0:0.02, 1:0.01, 2:0.01, 3:0.01, 4:0.02, 5:0.03,
118
  6:0.05, 7:0.07, 8:0.06, 9:0.05, 10:0.04, 11:0.04,
 
121
  }
122
 
123
  # ==========================================
124
+ # 4. HELPER FUNCTIONS
125
  # ==========================================
126
  def parse_flexible_date(date_input: str, default_year: int = 2026) -> pd.Timestamp:
127
+ """Parse date strings in multiple formats for user convenience."""
128
  if not date_input: return None
129
  date_input = date_input.strip()
130
+ for fmt in ["%Y-%m-%d", "%d-%m-%Y", "%m-%d", "%d %B %Y", "%d %b %Y", "%B %d, %Y", "%b %d, %Y"]:
131
  try:
132
  parsed = datetime.strptime(date_input, fmt)
133
  if fmt == "%m-%d": parsed = parsed.replace(year=default_year)
134
  return pd.Timestamp(parsed)
135
  except ValueError: continue
136
+ match = re.match(r"^(\d{1,2})[-/](\d{1,2})$", date_input)
137
+ if match:
138
+ a, b = int(match.group(1)), int(match.group(2))
139
+ if a > 12: return pd.Timestamp(year=default_year, month=b, day=a)
140
+ if b > 12: return pd.Timestamp(year=default_year, month=a, day=b)
141
+ return pd.Timestamp(year=default_year, month=a, day=b)
142
  raise ValueError(f"Unrecognized date format: '{date_input}'")
143
 
144
+ def check_location_match(requested: str, event_location: str) -> bool:
145
+ """Determine if an event impacts the requested zone using spatial mapping."""
146
+ r, e = requested.lower().strip(), event_location.lower().strip()
147
+ if r == e or r in e or e in r or e == "jakarta": return True
148
+ for k, v in EVENT_RADIUS_MAP.items():
149
+ if k in e and ("*" in v or r in v or any(r in x for x in v)): return True
150
+ return False
151
+
152
  def get_risk_status(volume: float, location: str) -> str:
153
+ """Calculate risk status based on location-specific calibrated thresholds."""
154
+ config = LOCATION_BASELINES.get(location, LOCATION_BASELINES["JIS"])
155
  if volume > config["critical_threshold"]:
156
  return "CRITICAL"
157
  elif volume > config["warning_threshold"]:
158
  return "WARNING"
159
  return "SAFE"
160
 
161
+ def distribute_to_hourly(daily_volume: float, location: str) -> List[Dict[str, Any]]:
162
+ """Distribute daily prediction to hourly estimates with dynamic risk indicators."""
163
  pattern = HOURLY_PATTERN.copy()
164
+ # Adjust patterns for specific location behaviors
165
+ if location == "GBK": # Peak evening for events
166
+ pattern[19] += 0.03; pattern[20] += 0.03; pattern[21] += 0.02
167
+ elif location == "Pasar Senen": # Peak morning for market
168
+ pattern[6] += 0.04; pattern[7] += 0.04; pattern[8] += 0.03
169
+
170
  total_factor = sum(pattern.values())
171
  hourly_results = []
172
 
173
+ # Dynamic thresholds relative to the daily volume
174
  high_thresh = (daily_volume / 24) * 2.0
175
  med_thresh = (daily_volume / 24) * 1.2
176
 
 
186
  })
187
  return hourly_results
188
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
189
  # ==========================================
190
+ # 5. STARTUP & MODEL LOADING
191
  # ==========================================
192
  @app.on_event("startup")
193
  async def load_assets():
194
+ """Initialize AI model, historical dataset, and event calendar."""
195
+ global pipeline, df_history, events_data
196
+ logger.info("⏳ Initializing AI assets...")
197
  try:
198
  pipeline = ChronosPipeline.from_pretrained("amazon/chronos-t5-tiny", device_map="cpu", torch_dtype=torch.float32)
199
+ logger.info("✅ Chronos model loaded")
 
 
 
 
 
 
 
 
 
 
200
 
201
  df_history = pd.read_csv("dataset_vibe_coder_2026.csv")
202
  df_history["TANGGAL"] = pd.to_datetime(df_history["TANGGAL"]).dt.strftime("%Y-%m-%d")
203
+ logger.info(f"✅ Historical dataset loaded: {len(df_history)} records")
204
 
205
  event_file = "event_jakarta_2026.txt"
206
  if os.path.exists(event_file):
 
221
  raise
222
 
223
  # ==========================================
224
+ # 6. API ENDPOINTS
225
  # ==========================================
226
+ @app.get("/", tags=["System"])
 
 
 
 
 
 
 
 
 
227
  def status_check():
228
+ return {"status": "Online", "model": "Chronos-T5 Tiny", "calibrated": True}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
 
230
  def perform_inference(ctx, steps):
 
 
 
 
231
  forecast = pipeline.predict(ctx.unsqueeze(0), steps)
232
  return np.quantile(forecast[0].numpy(), 0.5, axis=0)
233
 
234
  @app.post("/api/v1/predict", response_model=APIResponse, tags=["Prediction"])
235
  async def predict_waste_volume(req: PredictionRequest):
236
  if df_history is None or pipeline is None:
237
+ raise HTTPException(503, "Model not ready.")
238
 
239
  try:
240
+ start_date = parse_flexible_date(req.start_date) if req.start_date else pd.to_datetime(df_history["TANGGAL"].iloc[-1])
241
+ ctx = torch.tensor(df_history["Volume_Total_Ton"].values, dtype=torch.float32)
242
+ forecast_vals = await run_in_threadpool(perform_inference, ctx, req.forecast_days)
 
243
 
244
+ # Calculate calibration factor: (Real World Baseline / Model Dataset Mean)
245
+ # This bridges the gap between AI model scale and operational reality
 
 
246
  dataset_mean = df_history["Volume_Total_Ton"].mean()
247
+ real_baseline = LOCATION_BASELINES[req.location]["normal_avg"]
248
  calibration_factor = real_baseline / dataset_mean
249
 
250
  o_r = (df_history["Vol_Sisa_Makanan_Ton"] / df_history["Volume_Total_Ton"]).mean()
251
  p_r = (df_history["Vol_Plastik_Ton"] / df_history["Volume_Total_Ton"]).mean()
252
 
 
 
 
 
 
 
 
253
  results = []
254
  total_vol = 0.0
255
  max_risk = "SAFE"
256
 
257
+ for i, base in enumerate(forecast_vals):
258
+ curr_date = start_date + timedelta(days=i)
259
+ d_str = curr_date.strftime("%Y-%m-%d")
 
260
 
261
+ # 1. Rainfall Multiplier
262
+ rain_m = 1.0
263
+ if req.rainfall_mm > 20: rain_m = 1.02 + min((req.rainfall_mm - 20) * 0.001, 0.03)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
 
265
+ # 2. Event Multiplier
266
+ evt = events_data.get(d_str)
267
+ evt_m = 1.0
268
+ info = None
269
+ if evt and evt["crowd_scale"] > 0 and check_location_match(req.location, evt["location"]):
270
+ evt_m = 1.0 + 0.10 + min(evt["crowd_scale"] * 0.05, 0.25) # Up to +35%
271
+ info = f"{evt['event_name']} @ {evt['location']}"
272
+ elif req.event_scale > 0:
273
+ evt_m = 1.0 + req.event_scale * 0.10
274
+
275
+ # 3. Final Calculation with Calibration
276
+ raw_prediction = base * rain_m * evt_m
277
+ calibrated_volume = round(float(raw_prediction * calibration_factor), 2)
278
+
279
+ total_vol += calibrated_volume
280
+ risk = get_risk_status(calibrated_volume, req.location)
281
+ if risk == "CRITICAL": max_risk = "CRITICAL"
282
+ elif risk == "WARNING" and max_risk != "CRITICAL": max_risk = "WARNING"
283
+
284
+ hourly = distribute_to_hourly(calibrated_volume, req.location) if req.granularity == "hourly" else None
285
+
286
+ results.append(PredictionResult(
287
+ date=d_str, location=req.location, total_volume_ton=calibrated_volume,
288
+ organic_waste_ton=round(calibrated_volume*o_r, 2), plastic_waste_ton=round(calibrated_volume*p_r, 2),
289
+ recommended_trucks=max(1, int(np.ceil(calibrated_volume/5))), # 5-ton trucks for better granularity
290
+ risk_status=risk, event_info=info, hourly_breakdown=hourly
291
+ ))
292
+
293
+ # Logistics
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  trucks = sum([r.recommended_trucks for r in results])
295
  msg = f"CRITICAL at {req.location}!" if max_risk == "CRITICAL" else f"WARNING at {req.location}." if max_risk == "WARNING" else "Normal conditions."
296
 
 
 
 
297
  return APIResponse(
298
+ status="success", message=msg, confidence_score=0.92, # Fixed high confidence for calibrated model
299
  data=PredictionData(
300
  prediction_results=results,
301
+ logistics_plan=LogisticsPlan(trucks_needed=trucks, manpower=trucks*3, estimated_duration_hours=round(total_vol/5, 1), efficiency_rate="85% (Optimal)")
 
 
 
 
 
302
  )
303
  )
304
  except HTTPException: raise
 
306
  logger.error(f"Prediction failed: {e}", exc_info=True)
307
  raise HTTPException(500, str(e))
308
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  @app.get("/api/v1/alerts", response_model=AlertResponse, tags=["Alerts"])
310
  async def get_alerts(location: str = Query(None)):
311
  """Real-time alerts endpoint."""
312
  if df_history is None: raise HTTPException(503, "Model not ready")
313
 
314
  alerts = []
315
+ today = datetime.now().date()
316
+ dataset_mean = df_history["Volume_Total_Ton"].mean()
317
 
318
  for i in range(3):
319
  d = (today + timedelta(days=i)).strftime("%Y-%m-%d")
320
  evt = events_data.get(d)
321
 
322
+ for loc, config in LOCATION_BASELINES.items():
323
  if location and loc != location: continue
324
 
325
+ # Simple projection for alerts
326
  baseline_vol = config["normal_avg"]
327
+ if evt and evt["crowd_scale"] > 0 and check_location_match(loc, evt["location"]):
328
+ baseline_vol = config["event_peak"]
329
 
330
  status = "CRITICAL" if baseline_vol > config["critical_threshold"] else "WARNING" if baseline_vol > config["warning_threshold"] else "SAFE"
331
 
332
  if status != "SAFE":
333
+ alerts.append({"date": d, "location": loc, "status": status, "estimated_volume_ton": baseline_vol, "message": f"Alert: {status} volume expected at {loc}"})
 
 
 
 
334
 
335
+ return AlertResponse(status="success", alert_count=len(alerts), alerts=alerts, last_updated=datetime.now().isoformat())
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_advanced_eco_twin.csv DELETED
@@ -1,732 +0,0 @@
1
- Tanggal,Ada_Event,Penumpang_MRT,Curah_Hujan_mm,Hari_Dalam_Minggu,Bulan,Is_Weekend,Hujan_Kemarin,Volume_Sampah_Ton
2
- 2023-01-01,1.0,101462,6.552432396204131,6,1,1,0.0,10219.56
3
- 2023-01-02,0.0,74752,8.221208931545307,0,1,0,6.552432396204131,8231.66
4
- 2023-01-03,0.0,76701,0.0,1,1,0,8.221208931545307,8033.93
5
- 2023-01-04,0.0,71710,0.0,2,1,0,0.0,7985.06
6
- 2023-01-05,0.0,80008,4.8408082404220805,3,1,0,0.0,8028.58
7
- 2023-01-06,0.0,73624,18.241179328611423,4,1,0,4.8408082404220805,8074.98
8
- 2023-01-07,0.0,90969,0.0,5,1,1,18.241179328611423,8791.29
9
- 2023-01-08,0.0,87177,12.828050876871595,6,1,1,0.0,8652.96
10
- 2023-01-09,0.0,97374,3.0744221347400336,0,1,0,12.828050876871595,7988.85
11
- 2023-01-10,0.0,101080,13.409416368242386,1,1,0,3.0744221347400336,8191.25
12
- 2023-01-11,0.0,77118,5.991440391668232,2,1,0,13.409416368242386,7990.61
13
- 2023-01-12,0.0,80043,21.95779239956758,3,1,0,5.991440391668232,8341.42
14
- 2023-01-13,0.0,91471,0.0,4,1,0,21.95779239956758,8367.02
15
- 2023-01-14,0.0,89453,5.27734249049437,5,1,1,0.0,8745.8
16
- 2023-01-15,0.0,91488,3.301896930516799,6,1,1,5.27734249049437,8660.51
17
- 2023-01-16,0.0,112155,4.123884066270234,0,1,0,3.301896930516799,7958.8
18
- 2023-01-17,0.0,90075,5.374918745709645,1,1,0,4.123884066270234,8115.21
19
- 2023-01-18,0.0,96547,5.181516894053085,2,1,0,5.374918745709645,8248.08
20
- 2023-01-19,0.0,57146,17.895461828810447,3,1,0,5.181516894053085,8040.67
21
- 2023-01-20,0.0,85918,3.1538825233216854,4,1,0,17.895461828810447,7799.92
22
- 2023-01-21,0.0,98052,2.7983245967656005,5,1,1,3.1538825233216854,8839.17
23
- 2023-01-22,0.0,69480,10.742544442054077,6,1,1,2.7983245967656005,8727.51
24
- 2023-01-23,0.0,84846,10.183602625818612,0,1,0,10.742544442054077,8290.79
25
- 2023-01-24,0.0,86988,34.14004137990503,1,1,0,10.183602625818612,8252.33
26
- 2023-01-25,0.0,84123,25.34362175653476,2,1,0,34.14004137990503,8319.81
27
- 2023-01-26,0.0,89269,0.0,3,1,0,25.34362175653476,8500.1
28
- 2023-01-27,0.0,92078,13.9787327194916,4,1,0,0.0,7912.92
29
- 2023-01-28,0.0,75787,29.22444723286304,5,1,1,13.9787327194916,9080.92
30
- 2023-01-29,0.0,89124,0.0,6,1,1,29.22444723286304,8716.45
31
- 2023-01-30,0.0,89569,12.397438200922087,0,1,0,0.0,8109.43
32
- 2023-01-31,0.0,84675,0.0,1,1,0,12.397438200922087,8044.67
33
- 2023-02-01,0.0,100949,6.740581582972016,2,2,0,0.0,7923.99
34
- 2023-02-02,0.0,104830,11.786975998125158,3,2,0,6.740581582972016,8280.86
35
- 2023-02-03,0.0,78207,17.03035155606304,4,2,0,11.786975998125158,8127.42
36
- 2023-02-04,0.0,75840,0.0,5,2,1,17.03035155606304,8858.31
37
- 2023-02-05,0.0,83460,11.46879556319734,6,2,1,0.0,8665.59
38
- 2023-02-06,0.0,84105,9.508395107355517,0,2,0,11.46879556319734,7957.22
39
- 2023-02-07,0.0,70842,8.718218547674383,1,2,0,9.508395107355517,8191.68
40
- 2023-02-08,0.0,80783,5.485269744370035,2,2,0,8.718218547674383,8217.74
41
- 2023-02-09,0.0,64950,14.686644830108957,3,2,0,5.485269744370035,8007.12
42
- 2023-02-10,0.0,88599,5.424155678069144,4,2,0,14.686644830108957,8145.23
43
- 2023-02-11,0.0,83523,2.520235312944895,5,2,1,5.424155678069144,8858.68
44
- 2023-02-12,0.0,76525,22.69045131239448,6,2,1,2.520235312944895,8576.38
45
- 2023-02-13,0.0,73057,20.128426994459893,0,2,0,22.69045131239448,8238.41
46
- 2023-02-14,0.0,83839,24.432130937132687,1,2,0,20.128426994459893,8126.49
47
- 2023-02-15,0.0,68392,20.34926182429747,2,2,0,24.432130937132687,8495.59
48
- 2023-02-16,0.0,80698,26.56379515333368,3,2,0,20.34926182429747,8357.56
49
- 2023-02-17,0.0,80866,18.01526124778903,4,2,0,26.56379515333368,8208.88
50
- 2023-02-18,0.0,89670,12.872431514787879,5,2,1,18.01526124778903,9093.93
51
- 2023-02-19,0.0,92301,14.778025323950779,6,2,1,12.872431514787879,8655.88
52
- 2023-02-20,0.0,109800,37.89832914285638,0,2,0,14.778025323950779,8291.82
53
- 2023-02-21,0.0,62732,8.40228904332411,1,2,0,37.89832914285638,8035.63
54
- 2023-02-22,0.0,93340,13.74876829795252,2,2,0,8.40228904332411,8290.41
55
- 2023-02-23,0.0,78146,24.180975953112597,3,2,0,13.74876829795252,8095.94
56
- 2023-02-24,0.0,78534,8.872833068672785,4,2,0,24.180975953112597,8489.08
57
- 2023-02-25,0.0,82583,40.950388664735414,5,2,1,8.872833068672785,9080.79
58
- 2023-02-26,0.0,86604,6.664409109781083,6,2,1,40.950388664735414,9256.48
59
- 2023-02-27,0.0,83375,5.436170093235997,0,2,0,6.664409109781083,7983.09
60
- 2023-02-28,0.0,90865,5.718194150386269,1,2,0,5.436170093235997,8292.03
61
- 2023-03-01,0.0,87192,3.470603391040836,2,3,0,5.718194150386269,7922.29
62
- 2023-03-02,0.0,84781,4.856914112168211,3,3,0,3.470603391040836,7933.91
63
- 2023-03-03,0.0,86399,20.67261145968987,4,3,0,4.856914112168211,8435.53
64
- 2023-03-04,0.0,90950,16.165028019175722,5,3,1,20.67261145968987,8785.5
65
- 2023-03-05,0.0,93369,2.6803440731800916,6,3,1,16.165028019175722,8940.84
66
- 2023-03-06,0.0,97329,0.0,0,3,0,2.6803440731800916,8045.35
67
- 2023-03-07,0.0,72315,14.399452857242506,1,3,0,0.0,7789.86
68
- 2023-03-08,0.0,73864,22.898842435637032,2,3,0,14.399452857242506,8157.87
69
- 2023-03-09,0.0,101094,3.325275937769748,3,3,0,22.898842435637032,8124.67
70
- 2023-03-10,0.0,88833,9.12258658229677,4,3,0,3.325275937769748,8233.25
71
- 2023-03-11,1.0,109962,5.3192791904799686,5,3,1,9.12258658229677,10732.38
72
- 2023-03-12,1.0,85946,8.648678677558076,6,3,1,5.3192791904799686,10940.9
73
- 2023-03-13,0.0,67666,0.0,0,3,0,8.648678677558076,8053.93
74
- 2023-03-14,0.0,76450,5.2714944164861235,1,3,0,0.0,8123.45
75
- 2023-03-15,0.0,102563,0.0,2,3,0,5.2714944164861235,8238.93
76
- 2023-03-16,0.0,74203,32.96438395453287,3,3,0,0.0,8087.63
77
- 2023-03-17,0.0,84355,2.572088808589311,4,3,0,32.96438395453287,8392.2
78
- 2023-03-18,0.0,88304,15.080997935631121,5,3,1,2.572088808589311,8539.44
79
- 2023-03-19,0.0,95897,44.08464285985082,6,3,1,15.080997935631121,8848.53
80
- 2023-03-20,0.0,119625,0.0,0,3,0,44.08464285985082,8718.38
81
- 2023-03-21,0.0,62134,18.68257665609396,1,3,0,0.0,8174.59
82
- 2023-03-22,0.0,71369,7.851361480678692,2,3,0,18.68257665609396,8218.21
83
- 2023-03-23,0.0,97753,2.811575625893111,3,3,0,7.851361480678692,8003.05
84
- 2023-03-24,0.0,72855,0.0,4,3,0,2.811575625893111,8086.47
85
- 2023-03-25,0.0,93437,25.67885199027259,5,3,1,0.0,8881.98
86
- 2023-03-26,0.0,67823,5.148692296792443,6,3,1,25.67885199027259,8601.68
87
- 2023-03-27,0.0,80525,8.505295789315374,0,3,0,5.148692296792443,8482.34
88
- 2023-03-28,0.0,89007,4.904637523754698,1,3,0,8.505295789315374,8294.49
89
- 2023-03-29,0.0,91122,0.0,2,3,0,4.904637523754698,7769.67
90
- 2023-03-30,0.0,97312,5.264034142813379,3,3,0,0.0,8090.98
91
- 2023-03-31,0.0,92748,15.394210152643103,4,3,0,5.264034142813379,8133.11
92
- 2023-04-01,0.0,105745,40.78551832144203,5,4,1,15.394210152643103,8895.94
93
- 2023-04-02,0.0,71719,3.825455918058327,6,4,1,40.78551832144203,8947.46
94
- 2023-04-03,0.0,80486,0.0,0,4,0,3.825455918058327,7965.77
95
- 2023-04-04,0.0,80880,10.499499430160759,1,4,0,0.0,7937.36
96
- 2023-04-05,0.0,111820,3.4411574101894122,2,4,0,10.499499430160759,8589.87
97
- 2023-04-06,0.0,64800,2.2713162329327767,3,4,0,3.4411574101894122,8039.49
98
- 2023-04-07,0.0,96418,0.0,4,4,0,2.2713162329327767,7891.14
99
- 2023-04-08,0.0,88017,24.642636571951492,5,4,1,0.0,8950.08
100
- 2023-04-09,0.0,79628,2.636888759692383,6,4,1,24.642636571951492,8601.86
101
- 2023-04-10,0.0,79932,5.715413599763704,0,4,0,2.636888759692383,7913.08
102
- 2023-04-11,0.0,92629,7.331003256775722,1,4,0,5.715413599763704,7893.76
103
- 2023-04-12,0.0,88507,13.610588035827849,2,4,0,7.331003256775722,8077.84
104
- 2023-04-13,0.0,105313,0.0,3,4,0,13.610588035827849,8258.54
105
- 2023-04-14,0.0,80780,8.545800444240951,4,4,0,0.0,8034.68
106
- 2023-04-15,0.0,117574,5.702707643026848,5,4,1,8.545800444240951,8534.62
107
- 2023-04-16,0.0,91591,8.290300832348962,6,4,1,5.702707643026848,8581.47
108
- 2023-04-17,0.0,79501,11.320933539793325,0,4,0,8.290300832348962,8128.08
109
- 2023-04-18,0.0,87260,0.0,1,4,0,11.320933539793325,7755.4
110
- 2023-04-19,0.0,82163,3.257695052876822,2,4,0,0.0,7973.25
111
- 2023-04-20,0.0,85970,8.613505858688063,3,4,0,3.257695052876822,8036.46
112
- 2023-04-21,0.0,78580,11.65394920984974,4,4,0,8.613505858688063,7922.29
113
- 2023-04-22,0.0,86504,2.532639850218512,5,4,1,11.65394920984974,8804.76
114
- 2023-04-23,0.0,86495,28.25349446404637,6,4,1,2.532639850218512,8722.9
115
- 2023-04-24,0.0,96255,4.825865013997386,0,4,0,28.25349446404637,8179.68
116
- 2023-04-25,0.0,113474,3.7353662988276106,1,4,0,4.825865013997386,8132.54
117
- 2023-04-26,0.0,103554,3.1826145462449613,2,4,0,3.7353662988276106,8217.05
118
- 2023-04-27,0.0,96555,12.119540964699352,3,4,0,3.1826145462449613,8037.25
119
- 2023-04-28,0.0,89216,0.0,4,4,0,12.119540964699352,8089.05
120
- 2023-04-29,0.0,99801,4.777505078783475,5,4,1,0.0,8709.5
121
- 2023-04-30,0.0,85942,0.0,6,4,1,4.777505078783475,8720.26
122
- 2023-05-01,0.0,81853,0.0,0,5,0,0.0,7970.64
123
- 2023-05-02,0.0,93171,0.0,1,5,0,0.0,8166.82
124
- 2023-05-03,0.0,58950,5.803496929718803,2,5,0,0.0,8166.4
125
- 2023-05-04,0.0,82623,8.63244862605118,3,5,0,5.803496929718803,8322.51
126
- 2023-05-05,0.0,96250,23.565136514238073,4,5,0,8.63244862605118,8078.06
127
- 2023-05-06,0.0,76378,2.782417328758407,5,5,1,23.565136514238073,8833.66
128
- 2023-05-07,0.0,95142,15.024769996467239,6,5,1,2.782417328758407,8907.61
129
- 2023-05-08,0.0,108024,19.938382265673216,0,5,0,15.024769996467239,8323.33
130
- 2023-05-09,0.0,71781,5.936377301386987,1,5,0,19.938382265673216,8225.38
131
- 2023-05-10,0.0,82987,7.415153050135347,2,5,0,5.936377301386987,8036.89
132
- 2023-05-11,0.0,81825,0.0,3,5,0,7.415153050135347,8219.3
133
- 2023-05-12,0.0,68946,8.604270337269439,4,5,0,0.0,7776.99
134
- 2023-05-13,0.0,72850,22.6872913572225,5,5,1,8.604270337269439,8787.73
135
- 2023-05-14,0.0,91664,18.331530938189406,6,5,1,22.6872913572225,9090.82
136
- 2023-05-15,0.0,71363,10.31036821366946,0,5,0,18.331530938189406,7988.04
137
- 2023-05-16,0.0,89363,0.0,1,5,0,10.31036821366946,7862.39
138
- 2023-05-17,0.0,96923,3.3388011331717715,2,5,0,0.0,8096.23
139
- 2023-05-18,0.0,89856,14.73366944492267,3,5,0,3.3388011331717715,8109.15
140
- 2023-05-19,0.0,89766,21.968283595265206,4,5,0,14.73366944492267,8645.86
141
- 2023-05-20,0.0,73902,8.248095917930915,5,5,1,21.968283595265206,8528.41
142
- 2023-05-21,0.0,86588,3.9649849269427455,6,5,1,8.248095917930915,8767.04
143
- 2023-05-22,0.0,83790,10.823083334929382,0,5,0,3.9649849269427455,8022.44
144
- 2023-05-23,0.0,85771,18.56031328148984,1,5,0,10.823083334929382,8514.81
145
- 2023-05-24,0.0,71623,0.0,2,5,0,18.56031328148984,8127.48
146
- 2023-05-25,0.0,94975,7.78619627263114,3,5,0,0.0,7977.8
147
- 2023-05-26,1.0,87256,4.466900255750018,4,5,0,7.78619627263114,9829.42
148
- 2023-05-27,0.0,80943,4.438422531880206,5,5,1,4.466900255750018,8811.27
149
- 2023-05-28,0.0,88675,4.175662734680722,6,5,1,4.438422531880206,8697.66
150
- 2023-05-29,0.0,91650,6.6277919484796834,0,5,0,4.175662734680722,8004.48
151
- 2023-05-30,0.0,84502,4.011312224864536,1,5,0,6.6277919484796834,8040.18
152
- 2023-05-31,0.0,84630,0.0,2,5,0,4.011312224864536,8230.05
153
- 2023-06-01,0.0,88860,0.0,3,6,0,0.0,7953.84
154
- 2023-06-02,0.0,72842,0.0,4,6,0,0.0,8172.81
155
- 2023-06-03,0.0,95733,18.224824266666978,5,6,1,0.0,8745.35
156
- 2023-06-04,0.0,69947,0.0,6,6,1,18.224824266666978,8880.63
157
- 2023-06-05,0.0,83876,39.95621135785558,0,6,0,0.0,8050.15
158
- 2023-06-06,0.0,94527,5.077476912112775,1,6,0,39.95621135785558,8353.81
159
- 2023-06-07,0.0,73526,0.0,2,6,0,5.077476912112775,7787.0
160
- 2023-06-08,0.0,75417,2.237107018465161,3,6,0,0.0,7863.24
161
- 2023-06-09,0.0,60862,24.77816089238924,4,6,0,2.237107018465161,8138.6
162
- 2023-06-10,0.0,98887,7.493609858882511,5,6,1,24.77816089238924,8791.32
163
- 2023-06-11,0.0,99311,0.0,6,6,1,7.493609858882511,8538.51
164
- 2023-06-12,0.0,72652,0.0,0,6,0,0.0,8018.36
165
- 2023-06-13,0.0,90198,0.0,1,6,0,0.0,7845.32
166
- 2023-06-14,0.0,85706,26.194955852204036,2,6,0,0.0,7920.57
167
- 2023-06-15,0.0,70807,21.088359175954224,3,6,0,26.194955852204036,7981.14
168
- 2023-06-16,0.0,84579,10.95293098695488,4,6,0,21.088359175954224,8194.66
169
- 2023-06-17,0.0,84570,0.0,5,6,1,10.95293098695488,9049.93
170
- 2023-06-18,0.0,103396,5.394175106693218,6,6,1,0.0,8806.2
171
- 2023-06-19,1.0,81817,39.484598681458515,0,6,0,5.394175106693218,9733.94
172
- 2023-06-20,0.0,93303,2.1217072883247354,1,6,0,39.484598681458515,8201.86
173
- 2023-06-21,0.0,97160,0.0,2,6,0,2.1217072883247354,7727.22
174
- 2023-06-22,0.0,98110,9.410977769548829,3,6,0,0.0,8114.28
175
- 2023-06-23,0.0,81743,5.588399465030645,4,6,0,9.410977769548829,8053.19
176
- 2023-06-24,0.0,82013,5.622786298910077,5,6,1,5.588399465030645,8693.3
177
- 2023-06-25,0.0,75641,3.2269867709669446,6,6,1,5.622786298910077,8636.55
178
- 2023-06-26,0.0,93746,41.53958681686695,0,6,0,3.2269867709669446,8184.13
179
- 2023-06-27,0.0,63264,5.836260298904778,1,6,0,41.53958681686695,8156.56
180
- 2023-06-28,0.0,85797,10.406324638422895,2,6,0,5.836260298904778,8134.43
181
- 2023-06-29,0.0,95159,11.716518969197073,3,6,0,10.406324638422895,8186.41
182
- 2023-06-30,0.0,83649,12.267325271005973,4,6,0,11.716518969197073,8289.54
183
- 2023-07-01,0.0,106029,6.938386813634073,5,7,1,12.267325271005973,8686.07
184
- 2023-07-02,0.0,109293,21.62373070844088,6,7,1,6.938386813634073,8892.64
185
- 2023-07-03,0.0,78433,9.365535266191605,0,7,0,21.62373070844088,8028.11
186
- 2023-07-04,0.0,82704,7.680411011924919,1,7,0,9.365535266191605,8083.28
187
- 2023-07-05,0.0,89790,37.149922008388515,2,7,0,7.680411011924919,8419.2
188
- 2023-07-06,0.0,78744,19.750366337785767,3,7,0,37.149922008388515,8621.03
189
- 2023-07-07,0.0,86734,23.691245099381526,4,7,0,19.750366337785767,8454.66
190
- 2023-07-08,0.0,84672,2.9359240873104695,5,7,1,23.691245099381526,8776.82
191
- 2023-07-09,0.0,82994,21.412140346737424,6,7,1,2.9359240873104695,8885.22
192
- 2023-07-10,0.0,85102,6.409264393890491,0,7,0,21.412140346737424,8073.3
193
- 2023-07-11,0.0,78351,0.0,1,7,0,6.409264393890491,7914.19
194
- 2023-07-12,0.0,59936,14.656849723089595,2,7,0,0.0,8306.93
195
- 2023-07-13,0.0,79118,6.677497386206202,3,7,0,14.656849723089595,8295.24
196
- 2023-07-14,0.0,88852,4.449540055577098,4,7,0,6.677497386206202,8082.8
197
- 2023-07-15,0.0,93628,21.977510435358464,5,7,1,4.449540055577098,8900.54
198
- 2023-07-16,0.0,79771,7.55195784235017,6,7,1,21.977510435358464,9241.81
199
- 2023-07-17,0.0,117975,13.642126539204245,0,7,0,7.55195784235017,8027.67
200
- 2023-07-18,0.0,98209,6.499891561562308,1,7,0,13.642126539204245,8389.77
201
- 2023-07-19,0.0,76900,16.303633258967988,2,7,0,6.499891561562308,8029.99
202
- 2023-07-20,0.0,61699,5.359100896134452,3,7,0,16.303633258967988,7978.97
203
- 2023-07-21,0.0,101166,3.0155464251187145,4,7,0,5.359100896134452,7845.32
204
- 2023-07-22,0.0,82139,6.313652718151684,5,7,1,3.0155464251187145,8502.56
205
- 2023-07-23,0.0,74810,6.479897853194345,6,7,1,6.313652718151684,8897.03
206
- 2023-07-24,0.0,102559,19.949411272727733,0,7,0,6.479897853194345,8213.08
207
- 2023-07-25,0.0,72419,0.0,1,7,0,19.949411272727733,8114.91
208
- 2023-07-26,0.0,84599,0.0,2,7,0,0.0,7700.32
209
- 2023-07-27,0.0,78075,0.0,3,7,0,0.0,7879.75
210
- 2023-07-28,0.0,79758,4.579130498710679,4,7,0,0.0,8101.99
211
- 2023-07-29,0.0,88507,14.43403362346162,5,7,1,4.579130498710679,8772.53
212
- 2023-07-30,0.0,80612,2.1320684089572053,6,7,1,14.43403362346162,8462.81
213
- 2023-07-31,0.0,84838,10.593517711921939,0,7,0,2.1320684089572053,7834.34
214
- 2023-08-01,0.0,98725,0.0,1,8,0,10.593517711921939,8419.11
215
- 2023-08-02,0.0,99407,12.581285762770637,2,8,0,0.0,8277.65
216
- 2023-08-03,0.0,87952,0.0,3,8,0,12.581285762770637,8138.48
217
- 2023-08-04,0.0,76272,36.74209324441998,4,8,0,0.0,8308.46
218
- 2023-08-05,0.0,89564,3.6890546316386272,5,8,1,36.74209324441998,8789.71
219
- 2023-08-06,0.0,69416,12.44801782927593,6,8,1,3.6890546316386272,8777.19
220
- 2023-08-07,0.0,77300,27.176972744964853,0,8,0,12.44801782927593,8359.57
221
- 2023-08-08,0.0,95284,2.7361069354862426,1,8,0,27.176972744964853,8444.78
222
- 2023-08-09,0.0,72448,11.76669246498078,2,8,0,2.7361069354862426,8014.97
223
- 2023-08-10,0.0,71297,2.438012300101609,3,8,0,11.76669246498078,8203.15
224
- 2023-08-11,0.0,89584,8.78635946640228,4,8,0,2.438012300101609,8410.52
225
- 2023-08-12,0.0,98168,45.92446543348175,5,8,1,8.78635946640228,9023.69
226
- 2023-08-13,0.0,80163,8.391771819822369,6,8,1,45.92446543348175,9130.99
227
- 2023-08-14,0.0,100332,0.0,0,8,0,8.391771819822369,8058.58
228
- 2023-08-15,0.0,83098,16.480149782867752,1,8,0,0.0,8153.1
229
- 2023-08-16,0.0,88057,0.0,2,8,0,16.480149782867752,8313.9
230
- 2023-08-17,0.0,83957,5.558604432847663,3,8,0,0.0,8389.92
231
- 2023-08-18,0.0,71885,4.26278087923841,4,8,0,5.558604432847663,7991.53
232
- 2023-08-19,0.0,100705,7.95126388615063,5,8,1,4.26278087923841,8773.92
233
- 2023-08-20,0.0,86068,14.72643729228127,6,8,1,7.95126388615063,8636.84
234
- 2023-08-21,0.0,75969,13.658816872914866,0,8,0,14.72643729228127,8187.72
235
- 2023-08-22,0.0,99052,4.5778177761619485,1,8,0,13.658816872914866,8408.66
236
- 2023-08-23,0.0,82368,0.0,2,8,0,4.5778177761619485,8141.4
237
- 2023-08-24,0.0,81659,5.290253987039527,3,8,0,0.0,7758.25
238
- 2023-08-25,0.0,93600,14.172586093425755,4,8,0,5.290253987039527,8134.52
239
- 2023-08-26,0.0,71691,23.729359535454538,5,8,1,14.172586093425755,8703.3
240
- 2023-08-27,0.0,83640,22.881027853887094,6,8,1,23.729359535454538,8851.45
241
- 2023-08-28,0.0,75675,4.925569750270419,0,8,0,22.881027853887094,8054.46
242
- 2023-08-29,0.0,99182,16.621599138477194,1,8,0,4.925569750270419,7864.79
243
- 2023-08-30,0.0,72905,2.8984262526631537,2,8,0,16.621599138477194,8352.58
244
- 2023-08-31,0.0,90107,2.82051824544678,3,8,0,2.8984262526631537,8069.66
245
- 2023-09-01,0.0,92876,12.129626142077422,4,9,0,2.82051824544678,8340.84
246
- 2023-09-02,0.0,73559,6.671060714773424,5,9,1,12.129626142077422,8661.63
247
- 2023-09-03,0.0,86307,9.816674259419898,6,9,1,6.671060714773424,8597.19
248
- 2023-09-04,0.0,74385,5.490934421115769,0,9,0,9.816674259419898,8143.6
249
- 2023-09-05,0.0,99298,2.5321459192327143,1,9,0,5.490934421115769,8425.72
250
- 2023-09-06,0.0,114074,9.260260528518605,2,9,0,2.5321459192327143,8025.95
251
- 2023-09-07,0.0,78679,7.771885088778093,3,9,0,9.260260528518605,8010.59
252
- 2023-09-08,0.0,62682,0.0,4,9,0,7.771885088778093,8075.22
253
- 2023-09-09,0.0,91136,5.662094366461552,5,9,1,0.0,8642.05
254
- 2023-09-10,0.0,97137,12.991473601698287,6,9,1,5.662094366461552,8538.0
255
- 2023-09-11,0.0,98580,5.9581994315407645,0,9,0,12.991473601698287,8033.04
256
- 2023-09-12,0.0,81175,33.27957660536933,1,9,0,5.9581994315407645,8406.34
257
- 2023-09-13,0.0,84533,18.18563624082251,2,9,0,33.27957660536933,8608.93
258
- 2023-09-14,0.0,66122,22.23215174859978,3,9,0,18.18563624082251,7967.62
259
- 2023-09-15,0.0,76776,0.0,4,9,0,22.23215174859978,8145.2
260
- 2023-09-16,0.0,98471,13.8146563527071,5,9,1,0.0,8568.18
261
- 2023-09-17,0.0,89824,27.975303847636,6,9,1,13.8146563527071,8852.08
262
- 2023-09-18,0.0,83234,12.360822986599345,0,9,0,27.975303847636,8306.53
263
- 2023-09-19,0.0,90503,11.043579138385073,1,9,0,12.360822986599345,8255.28
264
- 2023-09-20,0.0,80417,3.7820836369660964,2,9,0,11.043579138385073,8091.44
265
- 2023-09-21,0.0,106818,0.0,3,9,0,3.7820836369660964,7925.42
266
- 2023-09-22,0.0,72834,8.738318227645983,4,9,0,0.0,7812.78
267
- 2023-09-23,0.0,91455,50.51121629723177,5,9,1,8.738318227645983,8979.41
268
- 2023-09-24,0.0,104140,4.132507811514801,6,9,1,50.51121629723177,9107.63
269
- 2023-09-25,0.0,66328,0.0,0,9,0,4.132507811514801,7907.26
270
- 2023-09-26,0.0,95017,5.722070056709855,1,9,0,0.0,8372.36
271
- 2023-09-27,0.0,103309,0.0,2,9,0,5.722070056709855,7988.37
272
- 2023-09-28,0.0,99007,11.703897293621345,3,9,0,0.0,8564.52
273
- 2023-09-29,0.0,62283,0.0,4,9,0,11.703897293621345,7963.91
274
- 2023-09-30,0.0,83312,5.392498495157185,5,9,1,0.0,8838.1
275
- 2023-10-01,0.0,57327,17.788442115678823,6,10,1,5.392498495157185,8878.5
276
- 2023-10-02,0.0,93309,6.480322905176026,0,10,0,17.788442115678823,8173.43
277
- 2023-10-03,0.0,76687,10.73212861799869,1,10,0,6.480322905176026,8194.71
278
- 2023-10-04,0.0,88114,13.380234244883432,2,10,0,10.73212861799869,8152.03
279
- 2023-10-05,0.0,86044,23.668464661659815,3,10,0,13.380234244883432,8240.02
280
- 2023-10-06,0.0,98492,18.80938385442794,4,10,0,23.668464661659815,8160.13
281
- 2023-10-07,0.0,89756,2.9357150234434597,5,10,1,18.80938385442794,8799.97
282
- 2023-10-08,0.0,79150,14.971807859380192,6,10,1,2.9357150234434597,8786.4
283
- 2023-10-09,0.0,92628,9.958143673619006,0,10,0,14.971807859380192,8369.42
284
- 2023-10-10,0.0,92525,9.450606425863375,1,10,0,9.958143673619006,8052.31
285
- 2023-10-11,0.0,92029,5.932932858667006,2,10,0,9.450606425863375,8053.14
286
- 2023-10-12,0.0,96250,5.163379168393163,3,10,0,5.932932858667006,8256.95
287
- 2023-10-13,0.0,73179,10.709941955601181,4,10,0,5.163379168393163,8076.45
288
- 2023-10-14,0.0,104652,0.0,5,10,1,10.709941955601181,8563.53
289
- 2023-10-15,0.0,76744,3.7580841072943114,6,10,1,0.0,8705.64
290
- 2023-10-16,0.0,71973,6.284829741823821,0,10,0,3.7580841072943114,8248.9
291
- 2023-10-17,0.0,77209,12.32700908892928,1,10,0,6.284829741823821,8067.88
292
- 2023-10-18,0.0,83271,3.769605057960352,2,10,0,12.32700908892928,7946.83
293
- 2023-10-19,0.0,88876,7.113339179934051,3,10,0,3.769605057960352,8192.79
294
- 2023-10-20,0.0,92878,24.105672892157166,4,10,0,7.113339179934051,8288.66
295
- 2023-10-21,0.0,91561,18.206078214602485,5,10,1,24.105672892157166,9069.76
296
- 2023-10-22,0.0,100803,4.306581402823539,6,10,1,18.206078214602485,8724.66
297
- 2023-10-23,0.0,70095,27.443570775720527,0,10,0,4.306581402823539,8063.37
298
- 2023-10-24,0.0,81783,0.0,1,10,0,27.443570775720527,8244.25
299
- 2023-10-25,0.0,82740,0.0,2,10,0,0.0,7959.75
300
- 2023-10-26,0.0,77598,0.0,3,10,0,0.0,7931.65
301
- 2023-10-27,0.0,86706,0.0,4,10,0,0.0,8162.93
302
- 2023-10-28,0.0,83805,9.939509201001897,5,10,1,0.0,8639.08
303
- 2023-10-29,0.0,94391,5.248606418107347,6,10,1,9.939509201001897,8940.79
304
- 2023-10-30,0.0,81024,3.264192262154314,0,10,0,5.248606418107347,7746.87
305
- 2023-10-31,0.0,79750,3.0799133076050813,1,10,0,3.264192262154314,7974.54
306
- 2023-11-01,0.0,86180,15.699147516977868,2,11,0,3.0799133076050813,8383.74
307
- 2023-11-02,0.0,81245,14.962413039157054,3,11,0,15.699147516977868,8408.6
308
- 2023-11-03,0.0,79029,3.666324196436888,4,11,0,14.962413039157054,8411.21
309
- 2023-11-04,0.0,93289,5.4137583129094455,5,11,1,3.666324196436888,8674.37
310
- 2023-11-05,0.0,85792,3.228885907615994,6,11,1,5.4137583129094455,8573.91
311
- 2023-11-06,0.0,79247,9.607293083230426,0,11,0,3.228885907615994,7862.58
312
- 2023-11-07,0.0,72502,2.5518624706872135,1,11,0,9.607293083230426,8361.7
313
- 2023-11-08,0.0,89449,16.62446168783846,2,11,0,2.5518624706872135,8122.47
314
- 2023-11-09,0.0,79089,0.0,3,11,0,16.62446168783846,8253.98
315
- 2023-11-10,0.0,95904,44.89955517064594,4,11,0,0.0,8087.18
316
- 2023-11-11,0.0,56693,4.957662225818435,5,11,1,44.89955517064594,9146.12
317
- 2023-11-12,0.0,67690,24.257006283011066,6,11,1,4.957662225818435,8739.61
318
- 2023-11-13,0.0,91779,0.0,0,11,0,24.257006283011066,8150.19
319
- 2023-11-14,0.0,102812,5.630068150005951,1,11,0,0.0,7910.12
320
- 2023-11-15,1.0,80318,15.233884502976895,2,11,0,5.630068150005951,9597.34
321
- 2023-11-16,0.0,90429,17.66478523077304,3,11,0,15.233884502976895,8312.04
322
- 2023-11-17,0.0,68339,17.268435408309447,4,11,0,17.66478523077304,8008.0
323
- 2023-11-18,0.0,95801,8.64406735732473,5,11,1,17.268435408309447,8965.97
324
- 2023-11-19,0.0,107428,6.336740103841151,6,11,1,8.64406735732473,8975.02
325
- 2023-11-20,0.0,58180,0.0,0,11,0,6.336740103841151,8067.02
326
- 2023-11-21,0.0,81445,12.699256807794832,1,11,0,0.0,7896.14
327
- 2023-11-22,0.0,101415,12.54498166162447,2,11,0,12.699256807794832,8337.86
328
- 2023-11-23,0.0,82658,0.0,3,11,0,12.54498166162447,8027.99
329
- 2023-11-24,0.0,98485,2.4230125728181457,4,11,0,0.0,8129.94
330
- 2023-11-25,0.0,80689,11.683196214583685,5,11,1,2.4230125728181457,8905.44
331
- 2023-11-26,0.0,74419,0.0,6,11,1,11.683196214583685,9007.54
332
- 2023-11-27,0.0,65886,5.281639964184022,0,11,0,0.0,8084.64
333
- 2023-11-28,0.0,76946,4.532035997268923,1,11,0,5.281639964184022,8391.3
334
- 2023-11-29,0.0,59230,8.989895265270794,2,11,0,4.532035997268923,7898.56
335
- 2023-11-30,0.0,97884,14.548260903059939,3,11,0,8.989895265270794,8034.94
336
- 2023-12-01,0.0,73646,4.974619955555831,4,12,0,14.548260903059939,8145.64
337
- 2023-12-02,0.0,95550,20.20089926763238,5,12,1,4.974619955555831,9091.35
338
- 2023-12-03,0.0,92248,5.938290188427355,6,12,1,20.20089926763238,8948.04
339
- 2023-12-04,0.0,94372,9.541071727359613,0,12,0,5.938290188427355,8355.72
340
- 2023-12-05,0.0,90422,0.0,1,12,0,9.541071727359613,8050.28
341
- 2023-12-06,0.0,104205,5.193337626276638,2,12,0,0.0,8222.51
342
- 2023-12-07,0.0,99861,0.0,3,12,0,5.193337626276638,7744.15
343
- 2023-12-08,0.0,66101,5.190544005553267,4,12,0,0.0,7726.35
344
- 2023-12-09,0.0,101901,5.452323903181107,5,12,1,5.190544005553267,8819.33
345
- 2023-12-10,0.0,75065,3.255632726468906,6,12,1,5.452323903181107,8543.8
346
- 2023-12-11,0.0,90861,6.5435896077106595,0,12,0,3.255632726468906,8143.8
347
- 2023-12-12,0.0,75071,18.054187654578584,1,12,0,6.5435896077106595,8197.58
348
- 2023-12-13,0.0,68444,3.223027087544426,2,12,0,18.054187654578584,8095.71
349
- 2023-12-14,0.0,88009,3.203996887090796,3,12,0,3.223027087544426,8191.85
350
- 2023-12-15,0.0,86516,9.45560253076511,4,12,0,3.203996887090796,7727.22
351
- 2023-12-16,0.0,81450,8.167353270891715,5,12,1,9.45560253076511,8694.18
352
- 2023-12-17,0.0,91141,6.074948489106097,6,12,1,8.167353270891715,9007.51
353
- 2023-12-18,0.0,81596,0.0,0,12,0,6.074948489106097,8198.63
354
- 2023-12-19,0.0,114773,20.23632369715439,1,12,0,0.0,7653.58
355
- 2023-12-20,0.0,84927,0.0,2,12,0,20.23632369715439,8235.03
356
- 2023-12-21,0.0,84734,6.962204861666183,3,12,0,0.0,8219.89
357
- 2023-12-22,0.0,80866,0.0,4,12,0,6.962204861666183,7638.06
358
- 2023-12-23,0.0,77856,13.767061375582403,5,12,1,0.0,8885.73
359
- 2023-12-24,0.0,79188,15.84036622096056,6,12,1,13.767061375582403,9023.44
360
- 2023-12-25,0.0,87354,5.313596064443194,0,12,0,15.84036622096056,8131.18
361
- 2023-12-26,0.0,67046,15.143162338021014,1,12,0,5.313596064443194,8274.77
362
- 2023-12-27,0.0,112100,0.0,2,12,0,15.143162338021014,8425.53
363
- 2023-12-28,0.0,91194,5.181999145731044,3,12,0,0.0,8101.38
364
- 2023-12-29,0.0,102257,6.985985943054927,4,12,0,5.181999145731044,8045.35
365
- 2023-12-30,0.0,72141,28.8493469902929,5,12,1,6.985985943054927,8622.11
366
- 2023-12-31,1.0,83358,38.61396253647354,6,12,1,28.8493469902929,10884.34
367
- 2024-01-01,1.0,88874,18.63195321367494,0,1,0,38.61396253647354,10649.36
368
- 2024-01-02,0.0,89822,4.58121688445558,1,1,0,18.63195321367494,8057.04
369
- 2024-01-03,0.0,72986,8.542113421410203,2,1,0,4.58121688445558,8233.74
370
- 2024-01-04,0.0,98100,14.743952202803872,3,1,0,8.542113421410203,8316.12
371
- 2024-01-05,0.0,98344,18.187271600747152,4,1,0,14.743952202803872,8176.49
372
- 2024-01-06,0.0,77311,4.403319945462586,5,1,1,18.187271600747152,8808.15
373
- 2024-01-07,0.0,86172,0.0,6,1,1,4.403319945462586,8560.85
374
- 2024-01-08,0.0,86645,6.38051492476595,0,1,0,0.0,7987.09
375
- 2024-01-09,0.0,84467,0.0,1,1,0,6.38051492476595,8031.6
376
- 2024-01-10,0.0,66633,22.75888093896218,2,1,0,0.0,8034.83
377
- 2024-01-11,0.0,74615,39.45213748861995,3,1,0,22.75888093896218,8591.21
378
- 2024-01-12,0.0,65074,0.0,4,1,0,39.45213748861995,8244.35
379
- 2024-01-13,0.0,81936,3.8467962563173868,5,1,1,0.0,8653.49
380
- 2024-01-14,0.0,93903,22.370098442366636,6,1,1,3.8467962563173868,8802.06
381
- 2024-01-15,0.0,81221,0.0,0,1,0,22.370098442366636,7960.2
382
- 2024-01-16,0.0,78962,11.533120664417018,1,1,0,0.0,8065.86
383
- 2024-01-17,0.0,104909,0.0,2,1,0,11.533120664417018,8273.08
384
- 2024-01-18,0.0,95876,0.0,3,1,0,0.0,7821.67
385
- 2024-01-19,0.0,83899,0.0,4,1,0,0.0,7983.78
386
- 2024-01-20,0.0,107294,0.0,5,1,1,0.0,8862.24
387
- 2024-01-21,0.0,87154,4.322199578942474,6,1,1,0.0,8527.38
388
- 2024-01-22,0.0,99224,6.339749725405515,0,1,0,4.322199578942474,8109.57
389
- 2024-01-23,0.0,96267,0.0,1,1,0,6.339749725405515,7976.7
390
- 2024-01-24,0.0,115825,39.34419579252545,2,1,0,0.0,8140.84
391
- 2024-01-25,0.0,102768,9.538123211395035,3,1,0,39.34419579252545,8277.01
392
- 2024-01-26,0.0,108913,20.743796502734664,4,1,0,9.538123211395035,8313.33
393
- 2024-01-27,0.0,87035,10.282333782751383,5,1,1,20.743796502734664,8833.01
394
- 2024-01-28,0.0,68077,9.161510024908118,6,1,1,10.282333782751383,8578.82
395
- 2024-01-29,0.0,89553,9.619890117390836,0,1,0,9.161510024908118,7972.49
396
- 2024-01-30,0.0,80760,0.0,1,1,0,9.619890117390836,8000.26
397
- 2024-01-31,0.0,87757,2.6611852081963487,2,1,0,0.0,8035.44
398
- 2024-02-01,0.0,104811,9.825173566980835,3,2,0,2.6611852081963487,7940.06
399
- 2024-02-02,0.0,88436,2.4746622398526763,4,2,0,9.825173566980835,8042.96
400
- 2024-02-03,0.0,92818,13.484639700117828,5,2,1,2.4746622398526763,8743.66
401
- 2024-02-04,0.0,77487,0.0,6,2,1,13.484639700117828,8473.38
402
- 2024-02-05,0.0,86688,29.193446855232192,0,2,0,0.0,8485.14
403
- 2024-02-06,0.0,86621,0.0,1,2,0,29.193446855232192,8130.14
404
- 2024-02-07,0.0,113680,25.74356471290732,2,2,0,0.0,8053.02
405
- 2024-02-08,0.0,87486,8.039383396975417,3,2,0,25.74356471290732,8217.0
406
- 2024-02-09,0.0,72192,0.0,4,2,0,8.039383396975417,8030.25
407
- 2024-02-10,0.0,85276,5.993642973564352,5,2,1,0.0,8835.09
408
- 2024-02-11,0.0,89098,41.011110863101386,6,2,1,5.993642973564352,8869.01
409
- 2024-02-12,0.0,89244,0.0,0,2,0,41.011110863101386,8284.53
410
- 2024-02-13,0.0,96081,7.00065306868165,1,2,0,0.0,8190.66
411
- 2024-02-14,0.0,97977,32.3945615465457,2,2,0,7.00065306868165,8242.78
412
- 2024-02-15,0.0,101499,0.0,3,2,0,32.3945615465457,8125.87
413
- 2024-02-16,0.0,91603,4.385121021420589,4,2,0,0.0,8084.76
414
- 2024-02-17,0.0,98985,12.4570211536201,5,2,1,4.385121021420589,8739.53
415
- 2024-02-18,0.0,105023,5.753429644415138,6,2,1,12.4570211536201,8857.81
416
- 2024-02-19,0.0,72496,0.0,0,2,0,5.753429644415138,7875.22
417
- 2024-02-20,0.0,82971,2.6925435017656763,1,2,0,0.0,7884.58
418
- 2024-02-21,0.0,82341,4.436926574344718,2,2,0,2.6925435017656763,7970.74
419
- 2024-02-22,0.0,78868,41.665009348910885,3,2,0,4.436926574344718,8231.91
420
- 2024-02-23,0.0,67074,3.699371410129653,4,2,0,41.665009348910885,8168.54
421
- 2024-02-24,0.0,82969,10.901263797406484,5,2,1,3.699371410129653,8661.44
422
- 2024-02-25,0.0,96017,3.47600407193455,6,2,1,10.901263797406484,8892.37
423
- 2024-02-26,0.0,73467,8.087666646168177,0,2,0,3.47600407193455,8041.2
424
- 2024-02-27,0.0,63870,21.12226068924312,1,2,0,8.087666646168177,7968.95
425
- 2024-02-28,0.0,72791,32.766339941750985,2,2,0,21.12226068924312,8342.77
426
- 2024-02-29,0.0,96903,5.833706422314381,3,2,0,32.766339941750985,8396.05
427
- 2024-03-01,0.0,72727,23.794859820558745,4,3,0,5.833706422314381,8144.24
428
- 2024-03-02,1.0,72583,8.184894221913703,5,3,1,23.794859820558745,11060.29
429
- 2024-03-03,0.0,78097,19.678500952216183,6,3,1,8.184894221913703,8691.96
430
- 2024-03-04,0.0,81545,4.269042480054575,0,3,0,19.678500952216183,8173.02
431
- 2024-03-05,0.0,76506,3.0361186282122357,1,3,0,4.269042480054575,8137.86
432
- 2024-03-06,0.0,79752,30.340556444378144,2,3,0,3.0361186282122357,8386.71
433
- 2024-03-07,0.0,55849,11.927561256395924,3,3,0,30.340556444378144,8505.04
434
- 2024-03-08,0.0,84224,12.947661389517984,4,3,0,11.927561256395924,8312.8
435
- 2024-03-09,0.0,95770,24.19116102477814,5,3,1,12.947661389517984,8973.59
436
- 2024-03-10,0.0,77597,44.61217966463767,6,3,1,24.19116102477814,8893.12
437
- 2024-03-11,0.0,78210,2.610049562370081,0,3,0,44.61217966463767,8417.49
438
- 2024-03-12,0.0,112293,11.500634613494215,1,3,0,2.610049562370081,8106.78
439
- 2024-03-13,0.0,96511,3.60994695576254,2,3,0,11.500634613494215,8194.11
440
- 2024-03-14,0.0,102398,3.1216965232636817,3,3,0,3.60994695576254,8227.21
441
- 2024-03-15,0.0,72130,0.0,4,3,0,3.1216965232636817,8043.74
442
- 2024-03-16,0.0,82415,6.212624003767944,5,3,1,0.0,8712.26
443
- 2024-03-17,0.0,114328,0.0,6,3,1,6.212624003767944,8740.17
444
- 2024-03-18,0.0,85803,3.7566241160942546,0,3,0,0.0,8079.53
445
- 2024-03-19,0.0,74953,7.7721042124488635,1,3,0,3.7566241160942546,8144.62
446
- 2024-03-20,0.0,95339,3.2261286872497794,2,3,0,7.7721042124488635,8183.44
447
- 2024-03-21,0.0,82603,3.7135730777863327,3,3,0,3.2261286872497794,8145.06
448
- 2024-03-22,0.0,84797,13.26059200835583,4,3,0,3.7135730777863327,7778.01
449
- 2024-03-23,0.0,100535,0.0,5,3,1,13.26059200835583,8890.47
450
- 2024-03-24,0.0,87658,40.31195227522915,6,3,1,0.0,9019.09
451
- 2024-03-25,0.0,70428,12.391479190635339,0,3,0,40.31195227522915,8554.92
452
- 2024-03-26,0.0,106357,0.0,1,3,0,12.391479190635339,8408.4
453
- 2024-03-27,0.0,84770,17.343829383554425,2,3,0,0.0,8151.4
454
- 2024-03-28,0.0,84108,19.942725583837774,3,3,0,17.343829383554425,8142.12
455
- 2024-03-29,0.0,117149,12.546824637973858,4,3,0,19.942725583837774,8327.77
456
- 2024-03-30,0.0,73666,8.276226255945371,5,3,1,12.546824637973858,8595.97
457
- 2024-03-31,0.0,103962,10.968403644195735,6,3,1,8.276226255945371,9251.41
458
- 2024-04-01,0.0,93687,14.406707911524217,0,4,0,10.968403644195735,8143.8
459
- 2024-04-02,0.0,94585,5.085933101927382,1,4,0,14.406707911524217,7946.74
460
- 2024-04-03,0.0,82316,2.3202131726668336,2,4,0,5.085933101927382,8106.66
461
- 2024-04-04,0.0,76709,3.356791363906127,3,4,0,2.3202131726668336,8172.7
462
- 2024-04-05,0.0,77891,10.110261146522225,4,4,0,3.356791363906127,7836.91
463
- 2024-04-06,0.0,102722,15.977151932829342,5,4,1,10.110261146522225,8822.52
464
- 2024-04-07,0.0,96140,8.766403835959947,6,4,1,15.977151932829342,8942.57
465
- 2024-04-08,0.0,88635,25.483052714332715,0,4,0,8.766403835959947,8329.24
466
- 2024-04-09,0.0,78819,0.0,1,4,0,25.483052714332715,8353.46
467
- 2024-04-10,0.0,84699,2.4441254157573025,2,4,0,0.0,8226.86
468
- 2024-04-11,0.0,49135,4.126742796519937,3,4,0,2.4441254157573025,8175.45
469
- 2024-04-12,0.0,77475,40.18910152715897,4,4,0,4.126742796519937,8461.28
470
- 2024-04-13,0.0,73218,8.796358460442743,5,4,1,40.18910152715897,9052.01
471
- 2024-04-14,0.0,90068,8.071947970123858,6,4,1,8.796358460442743,8828.55
472
- 2024-04-15,0.0,63802,3.0188297425856954,0,4,0,8.071947970123858,7865.25
473
- 2024-04-16,0.0,87580,18.135321433403686,1,4,0,3.0188297425856954,8211.88
474
- 2024-04-17,0.0,64634,2.5644936585534364,2,4,0,18.135321433403686,8362.64
475
- 2024-04-18,0.0,94396,6.5463990358328585,3,4,0,2.5644936585534364,8301.27
476
- 2024-04-19,0.0,77426,0.0,4,4,0,6.5463990358328585,7868.34
477
- 2024-04-20,0.0,77701,2.533667843852807,5,4,1,0.0,8820.05
478
- 2024-04-21,0.0,81648,8.496043480545943,6,4,1,2.533667843852807,8525.89
479
- 2024-04-22,0.0,85757,6.677173249821788,0,4,0,8.496043480545943,8286.47
480
- 2024-04-23,0.0,94384,13.92022208103094,1,4,0,6.677173249821788,8400.12
481
- 2024-04-24,0.0,58645,4.12959548329981,2,4,0,13.92022208103094,7995.48
482
- 2024-04-25,0.0,106288,14.257269260380202,3,4,0,4.12959548329981,8038.44
483
- 2024-04-26,0.0,96814,0.0,4,4,0,14.257269260380202,8046.92
484
- 2024-04-27,0.0,76037,4.953339117004949,5,4,1,0.0,8795.44
485
- 2024-04-28,0.0,70689,3.733416466166833,6,4,1,4.953339117004949,8848.75
486
- 2024-04-29,0.0,83885,0.0,0,4,0,3.733416466166833,8088.7
487
- 2024-04-30,0.0,77898,9.45396635583088,1,4,0,0.0,7711.25
488
- 2024-05-01,0.0,84003,0.0,2,5,0,9.45396635583088,7943.8
489
- 2024-05-02,0.0,80615,14.451290607301406,3,5,0,0.0,7974.12
490
- 2024-05-03,0.0,81972,0.0,4,5,0,14.451290607301406,8093.65
491
- 2024-05-04,0.0,88973,3.076329406933689,5,5,1,0.0,8735.47
492
- 2024-05-05,0.0,81906,7.63602641724913,6,5,1,3.076329406933689,8936.79
493
- 2024-05-06,0.0,88905,28.777486423845012,0,5,0,7.63602641724913,7987.23
494
- 2024-05-07,0.0,99413,23.995645116344484,1,5,0,28.777486423845012,8391.84
495
- 2024-05-08,0.0,85375,15.737063830459492,2,5,0,23.995645116344484,8316.43
496
- 2024-05-09,0.0,75008,11.128429708098636,3,5,0,15.737063830459492,8173.78
497
- 2024-05-10,0.0,89504,0.0,4,5,0,11.128429708098636,7982.85
498
- 2024-05-11,0.0,58524,3.1432064875425856,5,5,1,0.0,8529.76
499
- 2024-05-12,0.0,68855,0.0,6,5,1,3.1432064875425856,8400.39
500
- 2024-05-13,0.0,108891,2.674428000363697,0,5,0,0.0,8122.07
501
- 2024-05-14,0.0,77778,30.940850136462092,1,5,0,2.674428000363697,8113.19
502
- 2024-05-15,0.0,104242,18.687832940469512,2,5,0,30.940850136462092,8323.64
503
- 2024-05-16,0.0,92276,24.330254539193977,3,5,0,18.687832940469512,8140.16
504
- 2024-05-17,0.0,122725,0.0,4,5,0,24.330254539193977,8117.93
505
- 2024-05-18,0.0,102978,9.997253926169844,5,5,1,0.0,8972.53
506
- 2024-05-19,0.0,95231,8.947617351933607,6,5,1,9.997253926169844,9125.59
507
- 2024-05-20,0.0,83324,0.0,0,5,0,8.947617351933607,8074.94
508
- 2024-05-21,0.0,75710,13.223298003946761,1,5,0,0.0,8007.11
509
- 2024-05-22,0.0,60476,23.276407865699646,2,5,0,13.223298003946761,8210.51
510
- 2024-05-23,0.0,83433,17.599381128752718,3,5,0,23.276407865699646,8090.29
511
- 2024-05-24,1.0,80445,12.196638288815567,4,5,0,17.599381128752718,10559.43
512
- 2024-05-25,0.0,88450,15.079538765052831,5,5,1,12.196638288815567,8707.78
513
- 2024-05-26,0.0,94089,6.5841317242785715,6,5,1,15.079538765052831,8716.6
514
- 2024-05-27,0.0,88355,14.500269984600767,0,5,0,6.5841317242785715,8373.47
515
- 2024-05-28,0.0,89227,4.193623250608749,1,5,0,14.500269984600767,8311.53
516
- 2024-05-29,0.0,68429,0.0,2,5,0,4.193623250608749,7767.64
517
- 2024-05-30,0.0,79493,2.1154645654844053,3,5,0,0.0,7854.08
518
- 2024-05-31,0.0,87535,9.187846489513543,4,5,0,2.1154645654844053,8097.95
519
- 2024-06-01,0.0,71834,0.0,5,6,1,9.187846489513543,8592.88
520
- 2024-06-02,0.0,81685,5.421392949957385,6,6,1,0.0,8753.71
521
- 2024-06-03,0.0,77900,3.0647870238592585,0,6,0,5.421392949957385,8154.04
522
- 2024-06-04,0.0,73508,0.0,1,6,0,3.0647870238592585,7966.54
523
- 2024-06-05,0.0,85024,4.762801998727278,2,6,0,0.0,7818.69
524
- 2024-06-06,0.0,74075,8.68560864978741,3,6,0,4.762801998727278,8336.29
525
- 2024-06-07,0.0,88929,14.29367379743395,4,6,0,8.68560864978741,8456.33
526
- 2024-06-08,0.0,65659,7.569279973376547,5,6,1,14.29367379743395,8860.85
527
- 2024-06-09,0.0,75325,6.316702157710997,6,6,1,7.569279973376547,8737.56
528
- 2024-06-10,0.0,81442,19.76881999233395,0,6,0,6.316702157710997,8342.66
529
- 2024-06-11,0.0,92632,0.0,1,6,0,19.76881999233395,8219.8
530
- 2024-06-12,0.0,79350,19.49673067844614,2,6,0,0.0,7898.37
531
- 2024-06-13,0.0,91605,17.25991855295053,3,6,0,19.49673067844614,8190.73
532
- 2024-06-14,0.0,78140,2.7158759301800113,4,6,0,17.25991855295053,8237.24
533
- 2024-06-15,0.0,93878,4.235532385164087,5,6,1,2.7158759301800113,8783.25
534
- 2024-06-16,0.0,78936,20.802128540537893,6,6,1,4.235532385164087,8823.88
535
- 2024-06-17,0.0,62917,22.762207671861884,0,6,0,20.802128540537893,8186.6
536
- 2024-06-18,0.0,74736,3.4666054701800935,1,6,0,22.762207671861884,8050.12
537
- 2024-06-19,0.0,85713,18.825168918672972,2,6,0,3.4666054701800935,8102.53
538
- 2024-06-20,0.0,109281,11.572213277167346,3,6,0,18.825168918672972,8293.82
539
- 2024-06-21,0.0,88714,2.2325789378714354,4,6,0,11.572213277167346,8028.82
540
- 2024-06-22,0.0,67020,48.33335218255266,5,6,1,2.2325789378714354,8864.36
541
- 2024-06-23,0.0,75042,16.263784694956485,6,6,1,48.33335218255266,9013.07
542
- 2024-06-24,0.0,80419,2.9824471224687956,0,6,0,16.263784694956485,8252.63
543
- 2024-06-25,0.0,108991,20.414892642888592,1,6,0,2.9824471224687956,8233.51
544
- 2024-06-26,0.0,73507,18.72125874375673,2,6,0,20.414892642888592,7908.19
545
- 2024-06-27,0.0,73981,20.35665380001051,3,6,0,18.72125874375673,8109.47
546
- 2024-06-28,0.0,71235,18.581197585028768,4,6,0,20.35665380001051,8374.04
547
- 2024-06-29,0.0,70363,18.027871824167413,5,6,1,18.581197585028768,8564.28
548
- 2024-06-30,0.0,88344,14.666067019577035,6,6,1,18.027871824167413,8810.44
549
- 2024-07-01,0.0,82390,8.799253103044135,0,7,0,14.666067019577035,7893.47
550
- 2024-07-02,0.0,96240,8.393339131927553,1,7,0,8.799253103044135,7976.51
551
- 2024-07-03,0.0,69560,7.2528300533475445,2,7,0,8.393339131927553,8146.17
552
- 2024-07-04,0.0,86181,9.963938635584546,3,7,0,7.2528300533475445,8150.24
553
- 2024-07-05,0.0,88423,15.171449723885193,4,7,0,9.963938635584546,8210.0
554
- 2024-07-06,0.0,91887,17.312454897904853,5,7,1,15.171449723885193,8890.96
555
- 2024-07-07,0.0,97614,0.0,6,7,1,17.312454897904853,8881.12
556
- 2024-07-08,0.0,87011,4.4021614673433005,0,7,0,0.0,7985.7
557
- 2024-07-09,0.0,81225,0.0,1,7,0,4.4021614673433005,7668.81
558
- 2024-07-10,0.0,77310,6.924707411338461,2,7,0,0.0,8238.93
559
- 2024-07-11,0.0,90751,17.927496322522924,3,7,0,6.924707411338461,8399.19
560
- 2024-07-12,0.0,88518,14.556146020802426,4,7,0,17.927496322522924,8476.68
561
- 2024-07-13,0.0,95232,3.0334236318912797,5,7,1,14.556146020802426,8682.14
562
- 2024-07-14,0.0,78352,29.27426549900733,6,7,1,3.0334236318912797,8857.8
563
- 2024-07-15,0.0,102286,3.6974038634510586,0,7,0,29.27426549900733,8305.21
564
- 2024-07-16,0.0,97510,0.0,1,7,0,3.6974038634510586,7843.76
565
- 2024-07-17,0.0,71616,6.036427233232811,2,7,0,0.0,7963.88
566
- 2024-07-18,0.0,86495,0.0,3,7,0,6.036427233232811,8105.94
567
- 2024-07-19,0.0,73342,6.515473340262554,4,7,0,0.0,7962.57
568
- 2024-07-20,0.0,90688,18.27509533429969,5,7,1,6.515473340262554,8840.15
569
- 2024-07-21,0.0,94297,24.231582335367204,6,7,1,18.27509533429969,8743.91
570
- 2024-07-22,0.0,93030,25.64831908045403,0,7,0,24.231582335367204,8416.22
571
- 2024-07-23,0.0,78312,17.945826156762053,1,7,0,25.64831908045403,8349.15
572
- 2024-07-24,0.0,77510,0.0,2,7,0,17.945826156762053,8187.47
573
- 2024-07-25,0.0,100119,0.0,3,7,0,0.0,8006.78
574
- 2024-07-26,0.0,80541,10.392627201333845,4,7,0,0.0,8128.11
575
- 2024-07-27,0.0,79003,37.81858277487707,5,7,1,10.392627201333845,9140.88
576
- 2024-07-28,0.0,83476,3.3737798881691505,6,7,1,37.81858277487707,8851.76
577
- 2024-07-29,0.0,93999,8.632286166018181,0,7,0,3.3737798881691505,8192.63
578
- 2024-07-30,0.0,87705,12.711015552610796,1,7,0,8.632286166018181,7938.76
579
- 2024-07-31,0.0,92826,37.86260249056478,2,7,0,12.711015552610796,8118.65
580
- 2024-08-01,0.0,60338,4.4454550760319345,3,8,0,37.86260249056478,8294.26
581
- 2024-08-02,0.0,92749,29.965169668389255,4,8,0,4.4454550760319345,8145.83
582
- 2024-08-03,0.0,88980,8.124131261523422,5,8,1,29.965169668389255,8770.16
583
- 2024-08-04,0.0,68980,25.314575340493764,6,8,1,8.124131261523422,8782.12
584
- 2024-08-05,0.0,94199,10.199803848702842,0,8,0,25.314575340493764,8287.85
585
- 2024-08-06,0.0,94635,10.67938039419807,1,8,0,10.199803848702842,8279.26
586
- 2024-08-07,0.0,92732,9.89646985385349,2,8,0,10.67938039419807,8214.27
587
- 2024-08-08,0.0,65242,9.194404298970992,3,8,0,9.89646985385349,7970.32
588
- 2024-08-09,0.0,109883,7.155382014739883,4,8,0,9.194404298970992,8166.26
589
- 2024-08-10,0.0,87983,6.825382416968728,5,8,1,7.155382014739883,9052.63
590
- 2024-08-11,0.0,83372,5.318334614307613,6,8,1,6.825382416968728,8855.78
591
- 2024-08-12,0.0,77075,0.0,0,8,0,5.318334614307613,8051.59
592
- 2024-08-13,0.0,90788,10.994801265748587,1,8,0,0.0,7780.46
593
- 2024-08-14,0.0,97293,0.0,2,8,0,10.994801265748587,8268.16
594
- 2024-08-15,0.0,77902,14.075466471157881,3,8,0,0.0,7998.91
595
- 2024-08-16,0.0,92501,9.887627596633559,4,8,0,14.075466471157881,8128.19
596
- 2024-08-17,0.0,99253,2.6924574749594656,5,8,1,9.887627596633559,8928.03
597
- 2024-08-18,0.0,52550,2.100464687807888,6,8,1,2.6924574749594656,8555.2
598
- 2024-08-19,0.0,96356,2.868722944215606,0,8,0,2.100464687807888,8054.32
599
- 2024-08-20,0.0,87268,14.15692009553398,1,8,0,2.868722944215606,8114.95
600
- 2024-08-21,0.0,99666,5.34345021798303,2,8,0,14.15692009553398,8015.54
601
- 2024-08-22,0.0,90652,0.0,3,8,0,5.34345021798303,8086.0
602
- 2024-08-23,0.0,88454,3.124188635781868,4,8,0,0.0,7981.88
603
- 2024-08-24,0.0,72156,21.334125371737716,5,8,1,3.124188635781868,8877.72
604
- 2024-08-25,0.0,75852,11.13893183734324,6,8,1,21.334125371737716,9179.9
605
- 2024-08-26,0.0,78893,0.0,0,8,0,11.13893183734324,8047.53
606
- 2024-08-27,0.0,99967,12.495854078574645,1,8,0,0.0,8141.27
607
- 2024-08-28,0.0,94492,12.57118505401428,2,8,0,12.495854078574645,8054.19
608
- 2024-08-29,0.0,77727,10.296021668450187,3,8,0,12.57118505401428,7836.13
609
- 2024-08-30,0.0,92897,35.55012460736154,4,8,0,10.296021668450187,8154.12
610
- 2024-08-31,0.0,118368,3.3236829752556716,5,8,1,35.55012460736154,9236.2
611
- 2024-09-01,0.0,91749,6.85739961771495,6,9,1,3.3236829752556716,8621.86
612
- 2024-09-02,0.0,75736,0.0,0,9,0,6.85739961771495,8380.47
613
- 2024-09-03,0.0,102009,3.246701251993146,1,9,0,0.0,8166.99
614
- 2024-09-04,0.0,72293,63.48424928346464,2,9,0,3.246701251993146,8294.37
615
- 2024-09-05,0.0,98697,31.662460972023016,3,9,0,63.48424928346464,8508.97
616
- 2024-09-06,0.0,101957,11.279764885796178,4,9,0,31.662460972023016,8281.09
617
- 2024-09-07,0.0,97319,0.0,5,9,1,11.279764885796178,8893.84
618
- 2024-09-08,0.0,98908,18.83577859213708,6,9,1,0.0,8803.04
619
- 2024-09-09,0.0,101704,8.407093741418333,0,9,0,18.83577859213708,8078.96
620
- 2024-09-10,0.0,77922,9.635573005956408,1,9,0,8.407093741418333,7929.26
621
- 2024-09-11,0.0,66878,8.178797395334142,2,9,0,9.635573005956408,8032.54
622
- 2024-09-12,0.0,73886,15.029138595340038,3,9,0,8.178797395334142,8168.7
623
- 2024-09-13,0.0,84263,3.3352209022524963,4,9,0,15.029138595340038,8151.8
624
- 2024-09-14,0.0,83612,3.6464037667627722,5,9,1,3.3352209022524963,8561.26
625
- 2024-09-15,0.0,93344,0.0,6,9,1,3.6464037667627722,8574.31
626
- 2024-09-16,0.0,87989,8.942200294760674,0,9,0,0.0,7723.89
627
- 2024-09-17,0.0,72137,37.89706325835103,1,9,0,8.942200294760674,8216.93
628
- 2024-09-18,0.0,70282,35.52308577327061,2,9,0,37.89706325835103,8413.06
629
- 2024-09-19,0.0,86538,20.53173351225565,3,9,0,35.52308577327061,8618.62
630
- 2024-09-20,0.0,105363,24.689408940771525,4,9,0,20.53173351225565,8408.01
631
- 2024-09-21,0.0,75079,9.130659671426294,5,9,1,24.689408940771525,9046.71
632
- 2024-09-22,0.0,84702,13.57978113381576,6,9,1,9.130659671426294,8678.6
633
- 2024-09-23,0.0,89437,0.0,0,9,0,13.57978113381576,8020.24
634
- 2024-09-24,0.0,101413,7.906618213952339,1,9,0,0.0,8145.11
635
- 2024-09-25,0.0,93370,6.790133749331084,2,9,0,7.906618213952339,8154.74
636
- 2024-09-26,0.0,73147,23.030261320109062,3,9,0,6.790133749331084,8020.89
637
- 2024-09-27,0.0,86633,0.0,4,9,0,23.030261320109062,8192.63
638
- 2024-09-28,0.0,71240,6.295461488412594,5,9,1,0.0,8703.75
639
- 2024-09-29,0.0,94891,11.95221460539624,6,9,1,6.295461488412594,8851.9
640
- 2024-09-30,0.0,78336,3.287121346591476,0,9,0,11.95221460539624,8280.36
641
- 2024-10-01,0.0,92101,4.230786171947465,1,10,0,3.287121346591476,7950.05
642
- 2024-10-02,0.0,76810,5.6238427328938245,2,10,0,4.230786171947465,7925.25
643
- 2024-10-03,0.0,92741,5.873191019665516,3,10,0,5.6238427328938245,7983.96
644
- 2024-10-04,0.0,81978,0.0,4,10,0,5.873191019665516,8252.91
645
- 2024-10-05,0.0,78540,0.0,5,10,1,0.0,8722.47
646
- 2024-10-06,0.0,104356,6.257210257396969,6,10,1,0.0,8827.21
647
- 2024-10-07,0.0,82680,3.6068025577431393,0,10,0,6.257210257396969,7912.2
648
- 2024-10-08,0.0,82456,33.56112908369557,1,10,0,3.6068025577431393,7935.23
649
- 2024-10-09,0.0,81253,25.048949366031255,2,10,0,33.56112908369557,8177.98
650
- 2024-10-10,0.0,71987,4.672386458990138,3,10,0,25.048949366031255,7938.24
651
- 2024-10-11,0.0,88071,0.0,4,10,0,4.672386458990138,8002.8
652
- 2024-10-12,0.0,68290,7.678838896587955,5,10,1,0.0,8552.35
653
- 2024-10-13,0.0,80964,7.094832725868623,6,10,1,7.678838896587955,8730.21
654
- 2024-10-14,0.0,101600,2.302255914171252,0,10,0,7.094832725868623,7997.97
655
- 2024-10-15,0.0,64129,11.937422060744652,1,10,0,2.302255914171252,8190.76
656
- 2024-10-16,0.0,70276,10.615446026604301,2,10,0,11.937422060744652,8085.44
657
- 2024-10-17,0.0,79248,4.647519638088047,3,10,0,10.615446026604301,7968.14
658
- 2024-10-18,0.0,87224,19.745761145080746,4,10,0,4.647519638088047,8304.12
659
- 2024-10-19,0.0,73636,3.5801696826575853,5,10,1,19.745761145080746,8884.62
660
- 2024-10-20,0.0,84192,24.609652819960075,6,10,1,3.5801696826575853,9210.52
661
- 2024-10-21,0.0,88617,40.0317291017341,0,10,0,24.609652819960075,8444.46
662
- 2024-10-22,0.0,93193,17.82928781426809,1,10,0,40.0317291017341,8449.32
663
- 2024-10-23,0.0,90988,6.712810375590504,2,10,0,17.82928781426809,8517.31
664
- 2024-10-24,0.0,72928,17.014363048328764,3,10,0,6.712810375590504,8038.78
665
- 2024-10-25,0.0,91956,7.443472222200083,4,10,0,17.014363048328764,8194.53
666
- 2024-10-26,0.0,75344,9.780265107775215,5,10,1,7.443472222200083,8875.2
667
- 2024-10-27,0.0,98573,0.0,6,10,1,9.780265107775215,8807.92
668
- 2024-10-28,0.0,81331,12.253515193239588,0,10,0,0.0,8179.86
669
- 2024-10-29,0.0,67024,15.643596087433371,1,10,0,12.253515193239588,8003.34
670
- 2024-10-30,0.0,73342,0.0,2,10,0,15.643596087433371,8233.92
671
- 2024-10-31,0.0,94009,10.611130392570795,3,10,0,0.0,8013.88
672
- 2024-11-01,0.0,99683,4.418568518446587,4,11,0,10.611130392570795,8085.14
673
- 2024-11-02,0.0,107396,2.4064269338066144,5,11,1,4.418568518446587,8708.6
674
- 2024-11-03,0.0,89733,0.0,6,11,1,2.4064269338066144,8785.94
675
- 2024-11-04,0.0,99959,0.0,0,11,0,0.0,8335.42
676
- 2024-11-05,0.0,66739,7.6262913740463985,1,11,0,0.0,7740.04
677
- 2024-11-06,0.0,91224,10.111821903749158,2,11,0,7.6262913740463985,8310.57
678
- 2024-11-07,0.0,80557,4.81069548607441,3,11,0,10.111821903749158,8253.53
679
- 2024-11-08,0.0,73674,5.307715071381904,4,11,0,4.81069548607441,7768.67
680
- 2024-11-09,0.0,78410,5.237600497084974,5,11,1,5.307715071381904,8893.42
681
- 2024-11-10,0.0,85535,14.323772638131286,6,11,1,5.237600497084974,8913.2
682
- 2024-11-11,0.0,109678,2.2665854618685715,0,11,0,14.323772638131286,8202.81
683
- 2024-11-12,0.0,78266,13.168332565954442,1,11,0,2.2665854618685715,8466.31
684
- 2024-11-13,0.0,93263,4.453071426463363,2,11,0,13.168332565954442,8167.93
685
- 2024-11-14,0.0,89366,21.9199263674904,3,11,0,4.453071426463363,8092.01
686
- 2024-11-15,0.0,83155,13.575391240584931,4,11,0,21.9199263674904,8383.78
687
- 2024-11-16,0.0,82677,32.04973745922142,5,11,1,13.575391240584931,9012.35
688
- 2024-11-17,0.0,72434,8.283340105250653,6,11,1,32.04973745922142,8937.26
689
- 2024-11-18,0.0,94201,11.581358793191857,0,11,0,8.283340105250653,8457.32
690
- 2024-11-19,0.0,81122,10.060513211630262,1,11,0,11.581358793191857,8416.28
691
- 2024-11-20,0.0,84190,11.943720786228276,2,11,0,10.060513211630262,7970.69
692
- 2024-11-21,0.0,75280,12.556291713396332,3,11,0,11.943720786228276,7957.42
693
- 2024-11-22,0.0,105016,3.4880779695878212,4,11,0,12.556291713396332,8120.67
694
- 2024-11-23,0.0,97344,19.865016338023956,5,11,1,3.4880779695878212,8758.39
695
- 2024-11-24,0.0,91286,7.109681916534695,6,11,1,19.865016338023956,8700.11
696
- 2024-11-25,0.0,101487,39.89290075552165,0,11,0,7.109681916534695,8213.11
697
- 2024-11-26,0.0,62643,5.681615982740471,1,11,0,39.89290075552165,8290.31
698
- 2024-11-27,0.0,83581,7.039212989532436,2,11,0,5.681615982740471,8172.22
699
- 2024-11-28,0.0,89677,27.257983770929883,3,11,0,7.039212989532436,8254.18
700
- 2024-11-29,0.0,80216,25.406941256561463,4,11,0,27.257983770929883,8324.89
701
- 2024-11-30,0.0,81493,25.138597094165455,5,11,1,25.406941256561463,8997.43
702
- 2024-12-01,0.0,89650,6.023378396452478,6,12,1,25.138597094165455,8985.75
703
- 2024-12-02,0.0,68889,9.298271848622468,0,12,0,6.023378396452478,8230.53
704
- 2024-12-03,0.0,104448,6.424938093512952,1,12,0,9.298271848622468,8080.44
705
- 2024-12-04,0.0,87599,0.0,2,12,0,6.424938093512952,8276.45
706
- 2024-12-05,0.0,91311,14.437742704426517,3,12,0,0.0,7961.34
707
- 2024-12-06,0.0,66915,15.275154370965266,4,12,0,14.437742704426517,7986.86
708
- 2024-12-07,0.0,67249,19.462272835336233,5,12,1,15.275154370965266,8807.38
709
- 2024-12-08,0.0,70759,19.137329318675746,6,12,1,19.462272835336233,8988.19
710
- 2024-12-09,0.0,64178,6.5475256321918245,0,12,0,19.137329318675746,8549.83
711
- 2024-12-10,0.0,83627,6.3103022337285255,1,12,0,6.5475256321918245,7983.73
712
- 2024-12-11,0.0,90618,13.481191013321409,2,12,0,6.3103022337285255,8026.3
713
- 2024-12-12,0.0,88754,21.071469270634815,3,12,0,13.481191013321409,8280.92
714
- 2024-12-13,0.0,75160,0.0,4,12,0,21.071469270634815,8242.67
715
- 2024-12-14,0.0,75113,2.257373410292571,5,12,1,0.0,8971.47
716
- 2024-12-15,0.0,87556,0.0,6,12,1,2.257373410292571,8769.21
717
- 2024-12-16,0.0,90088,10.380439593198599,0,12,0,0.0,7805.49
718
- 2024-12-17,0.0,84624,2.1310981841276093,1,12,0,10.380439593198599,8250.02
719
- 2024-12-18,0.0,77127,3.6757495563052696,2,12,0,2.1310981841276093,7719.42
720
- 2024-12-19,0.0,90364,7.515539061836008,3,12,0,3.6757495563052696,7870.66
721
- 2024-12-20,0.0,66992,12.320061638821798,4,12,0,7.515539061836008,8114.95
722
- 2024-12-21,0.0,82965,3.0324631313781274,5,12,1,12.320061638821798,8700.86
723
- 2024-12-22,0.0,65158,4.939182999612523,6,12,1,3.0324631313781274,9017.21
724
- 2024-12-23,0.0,78682,14.906120402597189,0,12,0,4.939182999612523,8054.36
725
- 2024-12-24,0.0,105207,15.122770217437683,1,12,0,14.906120402597189,8418.62
726
- 2024-12-25,0.0,100789,0.0,2,12,0,15.122770217437683,8171.15
727
- 2024-12-26,0.0,67326,0.0,3,12,0,0.0,8234.98
728
- 2024-12-27,0.0,73515,0.0,4,12,0,0.0,8155.29
729
- 2024-12-28,0.0,89014,5.279013670809432,5,12,1,0.0,8498.2
730
- 2024-12-29,0.0,83772,0.0,6,12,1,5.279013670809432,8507.74
731
- 2024-12-30,0.0,66179,19.319001278953124,0,12,0,0.0,8063.69
732
- 2024-12-31,1.0,77724,27.018406897684734,1,12,0,19.319001278953124,10083.04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_local_2026.csv DELETED
The diff for this file is too large to render. See raw diff
 
dataset_vibe_coder_2026.csv CHANGED
@@ -1,366 +1,366 @@
1
  TANGGAL,RR,Nama_Event,Ada_Event,Crowd_Scale,Volume_Total_Ton,Vol_Sisa_Makanan_Ton,Vol_Plastik_Ton,Hari_Ke,Is_Weekend,ZONA
2
- 2026-01-01,12.8,New Year Countdown,1,4.0,10798.08,5385.03,2478.19,1,0,Tourism
3
- 2026-01-02,18.3,New Year Countdown,1,2.8,10696.91,5334.55,2454.95,2,0,Tourism
4
- 2026-01-03,17.6,,0,0.0,7260.81,3620.98,1666.39,3,1,Residential
5
- 2026-01-04,4.7,,0,0.0,7567.43,3773.85,1736.74,4,1,Residential
6
- 2026-01-05,0.0,,0,0.0,6680.76,3331.69,1533.26,5,0,Residential
7
- 2026-01-06,0.0,,0,0.0,6990.81,3486.33,1604.37,6,0,Residential
8
- 2026-01-07,11.0,,0,0.0,7363.06,3671.98,1689.81,7,0,Residential
9
- 2026-01-08,6.2,,0,0.0,7088.03,3534.78,1626.72,8,0,Residential
10
- 2026-01-09,0.0,,0,0.0,6868.7,3425.4,1576.36,9,0,Residential
11
- 2026-01-10,0.0,,0,0.0,7260.24,3620.67,1666.19,10,1,Residential
12
- 2026-01-11,0.2,,0,0.0,8126.22,4052.57,1864.96,11,1,Residential
13
- 2026-01-12,0.0,,0,0.0,7035.44,3508.55,1614.62,12,0,Residential
14
- 2026-01-13,0.0,,0,0.0,6613.21,3298.01,1517.73,13,0,Residential
15
- 2026-01-14,6.3,,0,0.0,6639.57,3311.12,1523.77,14,0,Residential
16
- 2026-01-15,6.6,,0,0.0,6639.5,3311.12,1523.77,15,0,Residential
17
- 2026-01-16,0.0,,0,0.0,7014.17,3497.98,1609.72,16,0,Residential
18
- 2026-01-17,0.0,,0,0.0,7209.31,3595.26,1654.54,17,1,Residential
19
- 2026-01-18,4.1,Car Free Day,1,1.5,9289.08,4632.44,2131.84,18,1,Tourism
20
- 2026-01-19,0.0,,0,0.0,7206.06,3593.67,1653.78,19,0,Residential
21
- 2026-01-20,0.0,,0,0.0,7474.48,3727.5,1715.41,20,0,Residential
22
- 2026-01-21,0.0,,0,0.0,7430.04,3705.34,1705.22,21,0,Residential
23
- 2026-01-22,0.0,,0,0.0,7029.84,3505.75,1613.35,22,0,Residential
24
- 2026-01-23,0.0,,0,0.0,7588.5,3784.41,1741.57,23,0,Residential
25
- 2026-01-24,0.0,,0,0.0,8424.62,4201.36,1933.46,24,1,Residential
26
- 2026-01-25,19.1,,0,0.0,9039.06,4507.78,2074.48,25,1,Residential
27
- 2026-01-26,0.0,,0,0.0,7901.74,3940.59,1813.45,26,0,Residential
28
- 2026-01-27,2.0,,0,0.0,7160.16,3570.75,1643.27,27,0,Residential
29
- 2026-01-28,0.0,,0,0.0,7137.81,3559.61,1638.12,28,0,Residential
30
- 2026-01-29,2.4,,0,0.0,6283.1,3133.37,1441.96,29,0,Residential
31
- 2026-01-30,0.0,,0,0.0,6369.05,3176.22,1461.7,30,0,Residential
32
- 2026-01-31,0.0,,0,0.0,6658.6,3320.67,1528.17,31,1,Residential
33
- 2026-02-01,6.6,,0,0.0,7218.99,3600.1,1656.77,32,1,Residential
34
- 2026-02-02,0.0,,0,0.0,6291.44,3137.57,1443.87,33,0,Residential
35
- 2026-02-03,7.7,,0,0.0,6606.71,3294.76,1516.26,34,0,Residential
36
- 2026-02-04,0.3,,0,0.0,6752.19,3367.34,1549.62,35,0,Residential
37
- 2026-02-05,0.0,,0,0.0,7146.73,3564.07,1640.15,36,0,Residential
38
- 2026-02-06,1.8,,0,0.0,7556.22,3768.31,1734.13,37,0,Residential
39
- 2026-02-07,0.0,,0,0.0,7978.39,3978.85,1831.02,38,1,Residential
40
- 2026-02-08,0.0,,0,0.0,8111.71,4045.32,1861.65,39,1,Residential
41
- 2026-02-09,12.6,,0,0.0,7456.97,3718.78,1711.4,40,0,Residential
42
- 2026-02-10,7.5,,0,0.0,7687.37,3833.69,1764.24,41,0,Residential
43
- 2026-02-11,0.0,,0,0.0,7093.12,3537.33,1627.87,42,0,Residential
44
- 2026-02-12,0.0,,0,0.0,7426.03,3703.37,1704.27,43,0,Residential
45
- 2026-02-13,0.0,,0,0.0,7718.7,3849.29,1771.43,44,0,Residential
46
- 2026-02-14,7.5,,0,0.0,7981.45,3980.38,1831.72,45,1,Residential
47
- 2026-02-15,1.5,Imlek & Glodok Festival,1,1.1,9452.38,4713.87,2169.34,46,1,Tourism
48
- 2026-02-16,10.6,Imlek & Glodok Festival,1,2.1,9111.38,4543.82,2091.04,47,0,Tourism
49
- 2026-02-17,0.0,Imlek & Glodok Festival,1,2.5,9732.7,4853.68,2233.65,48,0,Tourism
50
- 2026-02-18,2.0,Imlek & Glodok Festival,1,2.1,9232.41,4604.17,2118.86,49,0,Tourism
51
- 2026-02-19,0.0,Imlek & Glodok Festival,1,1.1,8524.64,4251.21,1956.38,50,0,Tourism
52
- 2026-02-20,5.6,,0,0.0,7263.55,3622.32,1666.96,51,0,Residential
53
- 2026-02-21,0.0,,0,0.0,7444.17,3712.41,1708.47,52,1,Residential
54
- 2026-02-22,0.0,,0,0.0,7587.61,3783.97,1741.38,53,1,Residential
55
- 2026-02-23,0.0,,0,0.0,7355.29,3668.1,1688.03,54,0,Residential
56
- 2026-02-24,0.0,,0,0.0,7397.25,3688.98,1697.65,55,0,Residential
57
- 2026-02-25,0.0,,0,0.0,7244.64,3612.9,1662.63,56,0,Residential
58
- 2026-02-26,14.6,,0,0.0,7789.3,3884.5,1787.67,57,0,Residential
59
- 2026-02-27,1.0,,0,0.0,8017.61,3998.39,1840.07,58,0,Residential
60
- 2026-02-28,0.0,,0,0.0,8127.5,4053.21,1865.28,59,1,Residential
61
- 2026-03-01,0.0,,0,0.0,8481.6,4229.76,1946.51,60,1,Residential
62
- 2026-03-02,3.1,,0,0.0,7544.19,3762.26,1731.39,61,0,Residential
63
- 2026-03-03,0.0,,0,0.0,7880.54,3930.02,1808.61,62,0,Residential
64
- 2026-03-04,1.2,,0,0.0,8164.99,4071.87,1873.87,63,0,Residential
65
- 2026-03-05,0.0,,0,0.0,7823.17,3901.43,1795.44,64,0,Residential
66
- 2026-03-06,5.4,,0,0.0,8168.94,4073.84,1874.76,65,0,Residential
67
- 2026-03-07,14.1,,0,0.0,8973.36,4475.0,2059.39,66,1,Residential
68
- 2026-03-08,0.0,,0,0.0,8771.98,4374.6,2013.17,67,1,Residential
69
- 2026-03-09,0.0,,0,0.0,7453.47,3717.06,1710.57,68,0,Residential
70
- 2026-03-10,8.3,,0,0.0,7488.29,3734.44,1718.59,69,0,Residential
71
- 2026-03-11,0.0,,0,0.0,7230.57,3605.9,1659.45,70,0,Residential
72
- 2026-03-12,0.0,,0,0.0,7085.67,3533.64,1626.15,71,0,Residential
73
- 2026-03-13,0.0,,0,0.0,7235.86,3608.51,1660.66,72,0,Residential
74
- 2026-03-14,6.0,,0,0.0,8141.95,4060.41,1868.59,73,1,Residential
75
- 2026-03-15,0.0,,0,0.0,8508.98,4243.44,1952.82,74,1,Residential
76
- 2026-03-16,14.5,,0,0.0,7512.04,3746.28,1724.0,75,0,Residential
77
- 2026-03-17,16.9,,0,0.0,7513.19,3746.85,1724.26,76,0,Residential
78
- 2026-03-18,9.8,H-3 Lebaran,1,2.7,8397.63,4187.93,1927.29,77,0,Residential
79
- 2026-03-19,14.3,H-3 Lebaran,1,4.0,9163.91,4570.05,2103.13,78,0,Residential
80
- 2026-03-20,9.3,Idul Fitri,1,2.3,11435.56,5702.92,2624.49,79,0,Residential
81
- 2026-03-21,0.0,Idul Fitri,1,4.1,11952.02,5960.44,2742.97,80,1,Residential
82
- 2026-03-22,1.5,Idul Fitri,1,5.0,13542.07,6753.4,3107.9,81,1,Residential
83
- 2026-03-23,18.4,Idul Fitri,1,4.1,10067.32,5020.55,2310.43,82,0,Residential
84
- 2026-03-24,0.0,Idul Fitri,1,2.3,8520.95,4249.43,1955.55,83,0,Residential
85
- 2026-03-25,16.8,,0,0.0,8013.53,3996.36,1839.11,84,0,Residential
86
- 2026-03-26,17.6,,0,0.0,7981.13,3980.19,1831.66,85,0,Residential
87
- 2026-03-27,17.9,,0,0.0,8209.94,4094.28,1884.19,86,0,Residential
88
- 2026-03-28,0.0,,0,0.0,8329.38,4153.87,1911.56,87,1,Residential
89
- 2026-03-29,13.7,,0,0.0,8434.17,4206.14,1935.63,88,1,Residential
90
- 2026-03-30,11.7,,0,0.0,7416.8,3698.78,1702.17,89,0,Residential
91
- 2026-03-31,0.0,,0,0.0,6925.68,3453.86,1589.41,90,0,Residential
92
- 2026-04-01,0.0,,0,0.0,7418.77,3699.74,1702.61,91,0,Residential
93
- 2026-04-02,27.3,,0,0.0,7297.42,3639.19,1674.79,92,0,Residential
94
- 2026-04-03,0.0,,0,0.0,7534.07,3757.23,1729.1,93,0,Residential
95
- 2026-04-04,9.7,,0,0.0,8216.63,4097.65,1885.71,94,1,Residential
96
- 2026-04-05,0.0,,0,0.0,8131.06,4054.93,1866.1,95,1,Residential
97
- 2026-04-06,0.0,,0,0.0,7687.88,3833.95,1764.37,96,0,Residential
98
- 2026-04-07,24.4,,0,0.0,7778.23,3879.02,1785.12,97,0,Residential
99
- 2026-04-08,12.3,,0,0.0,7871.05,3925.31,1806.39,98,0,Residential
100
- 2026-04-09,0.0,Jakarta Art Festival,1,1.4,9156.97,4566.61,2101.54,99,0,Tourism
101
- 2026-04-10,14.8,Jakarta Art Festival,1,2.0,10019.38,4996.67,2299.48,100,0,Tourism
102
- 2026-04-11,9.0,Jakarta Art Festival,1,1.4,9610.08,4792.56,2205.51,101,1,Tourism
103
- 2026-04-12,0.0,,0,0.0,8165.19,4071.99,1873.94,102,1,Residential
104
- 2026-04-13,11.8,,0,0.0,7750.09,3864.95,1778.63,103,0,Residential
105
- 2026-04-14,27.3,,0,0.0,7604.99,3792.63,1745.33,104,0,Residential
106
- 2026-04-15,0.0,,0,0.0,7592.26,3786.26,1742.4,105,0,Residential
107
- 2026-04-16,0.0,,0,0.0,7832.79,3906.21,1797.6,106,0,Residential
108
- 2026-04-17,13.1,,0,0.0,7876.46,3927.98,1807.66,107,0,Residential
109
- 2026-04-18,12.4,,0,0.0,8590.54,4284.13,1971.53,108,1,Residential
110
- 2026-04-19,0.0,,0,0.0,9138.19,4557.19,2097.21,109,1,Residential
111
- 2026-04-20,0.0,,0,0.0,8558.26,4268.02,1964.15,110,0,Residential
112
- 2026-04-21,7.2,,0,0.0,8501.72,4239.82,1951.16,111,0,Residential
113
- 2026-04-22,24.3,,0,0.0,8328.36,4153.36,1911.37,112,0,Residential
114
- 2026-04-23,0.0,,0,0.0,8674.83,4326.15,1990.89,113,0,Residential
115
- 2026-04-24,0.0,,0,0.0,8388.97,4183.6,1925.25,114,0,Residential
116
- 2026-04-25,23.4,,0,0.0,8953.56,4465.13,2054.87,115,1,Residential
117
- 2026-04-26,0.0,,0,0.0,8393.43,4185.83,1926.27,116,1,Residential
118
- 2026-04-27,0.0,,0,0.0,7483.14,3731.83,1717.38,117,0,Residential
119
- 2026-04-28,37.7,,0,0.0,7999.59,3989.42,1835.93,118,0,Residential
120
- 2026-04-29,14.3,,0,0.0,7500.07,3740.29,1721.26,119,0,Residential
121
- 2026-04-30,0.0,May Day Rally,1,1.4,9399.66,4687.64,2157.25,120,0,Tourism
122
- 2026-05-01,14.5,May Day Rally,1,3.0,10756.51,5364.28,2468.64,121,0,Tourism
123
- 2026-05-02,13.4,May Day Rally,1,1.4,9989.46,4981.77,2292.6,122,1,Tourism
124
- 2026-05-03,10.0,,0,0.0,8153.22,4066.01,1871.13,123,1,Residential
125
- 2026-05-04,0.0,,0,0.0,7432.01,3706.36,1705.67,124,0,Residential
126
- 2026-05-05,26.7,,0,0.0,7717.62,3848.78,1771.18,125,0,Residential
127
- 2026-05-06,0.0,,0,0.0,7578.32,3779.32,1739.22,126,0,Residential
128
- 2026-05-07,0.0,,0,0.0,7633.58,3806.89,1751.89,127,0,Residential
129
- 2026-05-08,30.7,,0,0.0,8339.88,4159.09,1913.98,128,0,Residential
130
- 2026-05-09,30.6,,0,0.0,8813.11,4395.1,2022.59,129,1,Residential
131
- 2026-05-10,35.5,,0,0.0,8578.25,4277.95,1968.73,130,1,Residential
132
- 2026-05-11,30.4,,0,0.0,7581.37,3780.85,1739.92,131,0,Residential
133
- 2026-05-12,18.5,,0,0.0,8186.39,4082.56,1878.77,132,0,Residential
134
- 2026-05-13,27.4,,0,0.0,7572.46,3776.39,1737.88,133,0,Residential
135
- 2026-05-14,23.7,,0,0.0,7563.54,3771.94,1735.84,134,0,Residential
136
- 2026-05-15,0.0,,0,0.0,7966.36,3972.8,1828.29,135,0,Residential
137
- 2026-05-16,0.0,,0,0.0,7577.74,3779.0,1739.09,136,1,Residential
138
- 2026-05-17,0.0,,0,0.0,8524.32,4251.08,1956.32,137,1,Residential
139
- 2026-05-18,23.7,,0,0.0,8206.0,4092.3,1883.29,138,0,Residential
140
- 2026-05-19,0.0,,0,0.0,7848.96,3914.29,1801.36,139,0,Residential
141
- 2026-05-20,34.7,,0,0.0,8099.55,4039.27,1858.85,140,0,Residential
142
- 2026-05-21,21.7,,0,0.0,7783.13,3881.44,1786.2,141,0,Residential
143
- 2026-05-22,0.0,,0,0.0,7896.77,3938.1,1812.31,142,0,Residential
144
- 2026-05-23,32.7,,0,0.0,8439.97,4209.0,1936.96,143,1,Residential
145
- 2026-05-24,0.0,,0,0.0,8052.82,4015.97,1848.15,144,1,Residential
146
- 2026-05-25,9.7,,0,0.0,7765.87,3872.85,1782.26,145,0,Residential
147
- 2026-05-26,30.3,,0,0.0,7740.09,3859.99,1776.34,146,0,Residential
148
- 2026-05-27,25.1,,0,0.0,7961.39,3970.32,1827.14,147,0,Residential
149
- 2026-05-28,19.0,,0,0.0,8084.33,4031.63,1855.34,148,0,Residential
150
- 2026-05-29,36.3,PRJ Opening,1,2.3,11391.63,5681.01,2614.37,149,0,Tourism
151
- 2026-05-30,11.0,PRJ Opening,1,3.1,12697.35,6332.19,2914.04,150,1,Tourism
152
- 2026-05-31,0.0,PRJ Opening,1,3.8,13655.46,6810.0,3133.94,151,1,Tourism
153
- 2026-06-01,19.9,PRJ Opening,1,4.0,13501.26,6733.09,3098.54,152,0,Tourism
154
- 2026-06-02,0.0,PRJ Opening,1,3.8,11811.45,5890.35,2710.76,153,0,Tourism
155
- 2026-06-03,24.2,PRJ Opening,1,3.1,10222.61,5098.03,2346.08,154,0,Tourism
156
- 2026-06-04,0.0,PRJ Opening,1,2.3,9903.64,4938.93,2272.86,155,0,Tourism
157
- 2026-06-05,15.3,,0,0.0,8585.95,4281.83,1970.45,156,0,Residential
158
- 2026-06-06,0.0,,0,0.0,8986.15,4481.43,2062.32,157,1,Residential
159
- 2026-06-07,15.3,,0,0.0,9490.77,4733.03,2178.13,158,1,Residential
160
- 2026-06-08,25.0,,0,0.0,8704.43,4340.92,1997.64,159,0,Residential
161
- 2026-06-09,0.0,,0,0.0,8657.45,4317.49,1986.88,160,0,Residential
162
- 2026-06-10,17.8,,0,0.0,8432.26,4205.18,1935.18,161,0,Residential
163
- 2026-06-11,32.6,,0,0.0,8389.48,4183.85,1925.38,162,0,Residential
164
- 2026-06-12,25.4,,0,0.0,8452.13,4215.05,1939.77,163,0,Residential
165
- 2026-06-13,39.8,,0,0.0,8446.72,4212.38,1938.49,164,1,Residential
166
- 2026-06-14,0.0,Music Festival GBK,1,1.6,10840.61,5406.23,2487.93,165,1,Tourism
167
- 2026-06-15,29.6,Music Festival GBK,1,3.5,11550.99,5760.47,2650.97,166,0,Tourism
168
- 2026-06-16,33.7,Music Festival GBK,1,1.6,10760.71,5366.38,2469.59,167,0,Tourism
169
- 2026-06-17,0.0,,0,0.0,7506.63,3743.54,1722.79,168,0,Residential
170
- 2026-06-18,35.9,,0,0.0,8177.22,4077.98,1876.67,169,0,Residential
171
- 2026-06-19,22.7,,0,0.0,8766.0,4371.6,2011.77,170,0,Residential
172
- 2026-06-20,33.8,,0,0.0,9476.76,4726.03,2174.95,171,1,Residential
173
- 2026-06-21,34.9,,0,0.0,9540.36,4757.8,2189.53,172,1,Residential
174
- 2026-06-22,0.0,,0,0.0,7977.69,3978.47,1830.9,173,0,Residential
175
- 2026-06-23,27.4,,0,0.0,8166.46,4072.63,1874.19,174,0,Residential
176
- 2026-06-24,0.0,,0,0.0,8627.21,4302.4,1979.94,175,0,Residential
177
- 2026-06-25,0.0,,0,0.0,9066.69,4521.54,2080.78,176,0,Residential
178
- 2026-06-26,36.1,,0,0.0,8895.24,4436.03,2041.44,177,0,Residential
179
- 2026-06-27,0.0,,0,0.0,8390.69,4184.43,1925.63,178,1,Residential
180
- 2026-06-28,26.9,,0,0.0,8999.14,4487.86,2065.31,179,1,Residential
181
- 2026-06-29,34.7,,0,0.0,8766.7,4371.92,2011.96,180,0,Residential
182
- 2026-06-30,0.0,,0,0.0,8151.56,4065.18,1870.75,181,0,Residential
183
- 2026-07-01,26.6,,0,0.0,8212.36,4095.49,1884.76,182,0,Residential
184
- 2026-07-02,0.0,,0,0.0,7916.06,3947.72,1816.76,183,0,Residential
185
- 2026-07-03,8.4,,0,0.0,8135.14,4056.97,1867.0,184,0,Residential
186
- 2026-07-04,0.0,,0,0.0,8597.09,4287.37,1973.06,185,1,Residential
187
- 2026-07-05,12.2,,0,0.0,8921.66,4449.21,2047.55,186,1,Residential
188
- 2026-07-06,0.0,,0,0.0,7477.85,3729.22,1716.17,187,0,Residential
189
- 2026-07-07,0.0,,0,0.0,8116.29,4047.61,1862.67,188,0,Residential
190
- 2026-07-08,31.3,,0,0.0,8471.1,4224.54,1944.09,189,0,Residential
191
- 2026-07-09,0.0,,0,0.0,7607.98,3794.09,1746.03,190,0,Residential
192
- 2026-07-10,38.5,,0,0.0,7636.31,3808.23,1752.52,191,0,Residential
193
- 2026-07-11,22.5,,0,0.0,8258.07,4118.28,1895.2,192,1,Residential
194
- 2026-07-12,28.0,,0,0.0,9244.25,4610.09,2121.53,193,1,Residential
195
- 2026-07-13,31.1,,0,0.0,8592.25,4284.95,1971.92,194,0,Residential
196
- 2026-07-14,23.2,,0,0.0,7897.47,3938.49,1812.5,195,0,Residential
197
- 2026-07-15,45.0,,0,0.0,8390.05,4184.11,1925.5,196,0,Residential
198
- 2026-07-16,27.6,,0,0.0,7422.84,3701.78,1703.57,197,0,Residential
199
- 2026-07-17,30.6,,0,0.0,7504.72,3742.59,1722.35,198,0,Residential
200
- 2026-07-18,40.0,,0,0.0,8137.75,4058.3,1867.63,199,1,Residential
201
- 2026-07-19,35.9,PRJ Peak Weekend,1,3.5,13004.03,6485.11,2984.46,200,1,Tourism
202
- 2026-07-20,0.0,PRJ Peak Weekend,1,5.0,12972.01,6469.13,2977.07,201,0,Tourism
203
- 2026-07-21,21.0,PRJ Peak Weekend,1,3.5,12044.08,6006.41,2764.11,202,0,Tourism
204
- 2026-07-22,0.0,,0,0.0,8054.98,4017.05,1848.6,203,0,Residential
205
- 2026-07-23,32.4,,0,0.0,7708.58,3844.26,1769.14,204,0,Residential
206
- 2026-07-24,22.5,,0,0.0,7856.34,3917.99,1803.01,205,0,Residential
207
- 2026-07-25,0.0,,0,0.0,8448.75,4213.39,1939.0,206,1,Residential
208
- 2026-07-26,28.6,,0,0.0,8958.65,4467.67,2056.02,207,1,Residential
209
- 2026-07-27,25.7,,0,0.0,7889.9,3934.67,1810.72,208,0,Residential
210
- 2026-07-28,0.0,,0,0.0,7507.2,3743.86,1722.92,209,0,Residential
211
- 2026-07-29,18.4,,0,0.0,7928.22,3953.83,1819.5,210,0,Residential
212
- 2026-07-30,19.8,,0,0.0,7951.84,3965.61,1824.98,211,0,Residential
213
- 2026-07-31,30.9,,0,0.0,8010.92,3995.02,1838.54,212,0,Residential
214
- 2026-08-01,0.0,,0,0.0,7775.49,3877.62,1784.48,213,1,Residential
215
- 2026-08-02,0.0,,0,0.0,8192.31,4085.49,1880.11,214,1,Residential
216
- 2026-08-03,17.8,,0,0.0,7753.78,3866.8,1779.52,215,0,Residential
217
- 2026-08-04,0.0,,0,0.0,8056.13,4017.62,1848.85,216,0,Residential
218
- 2026-08-05,0.0,,0,0.0,8223.44,4101.02,1887.31,217,0,Residential
219
- 2026-08-06,19.7,,0,0.0,7867.74,3923.65,1805.62,218,0,Residential
220
- 2026-08-07,23.8,,0,0.0,7822.54,3901.11,1795.24,219,0,Residential
221
- 2026-08-08,0.0,,0,0.0,8441.62,4209.83,1937.35,220,1,Residential
222
- 2026-08-09,18.4,,0,0.0,8874.36,4425.66,2036.66,221,1,Residential
223
- 2026-08-10,27.2,,0,0.0,7455.82,3718.2,1711.14,222,0,Residential
224
- 2026-08-11,0.0,,0,0.0,7371.02,3675.93,1691.66,223,0,Residential
225
- 2026-08-12,26.1,,0,0.0,7094.97,3538.28,1628.31,224,0,Residential
226
- 2026-08-13,43.9,,0,0.0,7664.07,3822.1,1758.89,225,0,Residential
227
- 2026-08-14,25.7,,0,0.0,7594.68,3787.47,1742.97,226,0,Residential
228
- 2026-08-15,26.2,HUT RI ke-81,1,1.8,10750.01,5361.03,2467.11,227,1,Tourism
229
- 2026-08-16,0.0,HUT RI ke-81,1,3.3,11802.28,5885.83,2708.59,228,1,Tourism
230
- 2026-08-17,15.6,HUT RI ke-81,1,4.0,11523.1,5746.59,2644.54,229,0,Tourism
231
- 2026-08-18,0.0,HUT RI ke-81,1,3.3,11089.09,5530.13,2544.97,230,0,Tourism
232
- 2026-08-19,30.2,HUT RI ke-81,1,1.8,9856.4,4915.37,2262.04,231,0,Tourism
233
- 2026-08-20,0.0,,0,0.0,6569.91,3276.43,1507.79,232,0,Residential
234
- 2026-08-21,25.9,,0,0.0,7090.57,3536.05,1627.29,233,0,Residential
235
- 2026-08-22,0.0,,0,0.0,7713.03,3846.49,1770.16,234,1,Residential
236
- 2026-08-23,24.6,,0,0.0,8301.11,4139.73,1905.13,235,1,Residential
237
- 2026-08-24,0.0,,0,0.0,7185.12,3583.23,1649.0,236,0,Residential
238
- 2026-08-25,19.5,,0,0.0,7365.42,3673.13,1690.39,237,0,Residential
239
- 2026-08-26,17.1,,0,0.0,7628.74,3804.47,1750.81,238,0,Residential
240
- 2026-08-27,0.0,,0,0.0,7610.02,3795.11,1746.48,239,0,Residential
241
- 2026-08-28,21.4,,0,0.0,7527.64,3754.05,1727.57,240,0,Residential
242
- 2026-08-29,9.5,,0,0.0,7719.46,3849.67,1771.62,241,1,Residential
243
- 2026-08-30,9.3,,0,0.0,8029.51,4004.32,1842.8,242,1,Residential
244
- 2026-08-31,0.0,,0,0.0,7398.46,3689.62,1697.96,243,0,Residential
245
- 2026-09-01,0.0,,0,0.0,7371.53,3676.18,1691.79,244,0,Residential
246
- 2026-09-02,9.1,,0,0.0,6879.27,3430.69,1578.78,245,0,Residential
247
- 2026-09-03,0.0,,0,0.0,6966.87,3474.36,1598.9,246,0,Residential
248
- 2026-09-04,16.4,,0,0.0,6957.07,3469.46,1596.67,247,0,Residential
249
- 2026-09-05,10.4,,0,0.0,6286.48,3135.09,1442.73,248,1,Residential
250
- 2026-09-06,11.4,,0,0.0,6971.71,3476.78,1599.98,249,1,Residential
251
- 2026-09-07,31.2,,0,0.0,7328.3,3654.6,1681.86,250,0,Residential
252
- 2026-09-08,18.6,,0,0.0,7352.11,3666.51,1687.33,251,0,Residential
253
- 2026-09-09,17.1,,0,0.0,6943.57,3462.78,1593.55,252,0,Residential
254
- 2026-09-10,16.4,,0,0.0,7374.97,3677.9,1692.55,253,0,Residential
255
- 2026-09-11,19.9,,0,0.0,7336.19,3658.55,1683.64,254,0,Residential
256
- 2026-09-12,0.0,,0,0.0,7906.32,3942.88,1814.47,255,1,Residential
257
- 2026-09-13,0.0,,0,0.0,8701.51,4339.45,1997.0,256,1,Residential
258
- 2026-09-14,23.7,Food & Culture Expo,1,1.8,10098.71,5036.21,2317.68,257,0,Tourism
259
- 2026-09-15,10.9,Food & Culture Expo,1,2.5,9707.17,4840.95,2227.79,258,0,Tourism
260
- 2026-09-16,19.9,Food & Culture Expo,1,1.8,10204.4,5088.92,2341.88,259,0,Tourism
261
- 2026-09-17,9.2,,0,0.0,7121.0,3551.27,1634.3,260,0,Residential
262
- 2026-09-18,0.0,,0,0.0,7224.59,3602.9,1658.04,261,0,Residential
263
- 2026-09-19,2.9,,0,0.0,7329.38,3655.17,1682.11,262,1,Residential
264
- 2026-09-20,0.0,,0,0.0,8056.7,4017.88,1849.04,263,1,Residential
265
- 2026-09-21,14.8,,0,0.0,7839.47,3909.52,1799.13,264,0,Residential
266
- 2026-09-22,19.1,,0,0.0,7823.75,3901.69,1795.56,265,0,Residential
267
- 2026-09-23,12.5,,0,0.0,7417.37,3699.04,1702.29,266,0,Residential
268
- 2026-09-24,11.3,,0,0.0,7197.98,3589.66,1651.93,267,0,Residential
269
- 2026-09-25,5.2,,0,0.0,7461.81,3721.19,1712.48,268,0,Residential
270
- 2026-09-26,10.0,,0,0.0,7819.29,3899.46,1794.54,269,1,Residential
271
- 2026-09-27,0.0,,0,0.0,7821.2,3900.41,1794.99,270,1,Residential
272
- 2026-09-28,0.0,,0,0.0,6852.91,3417.57,1572.73,271,0,Residential
273
- 2026-09-29,0.0,,0,0.0,6928.1,3455.07,1589.99,272,0,Residential
274
- 2026-09-30,13.5,,0,0.0,6827.25,3404.78,1566.88,273,0,Residential
275
- 2026-10-01,0.0,,0,0.0,7381.65,3681.21,1694.08,274,0,Residential
276
- 2026-10-02,8.7,,0,0.0,6760.28,3371.35,1551.47,275,0,Residential
277
- 2026-10-03,0.0,,0,0.0,6897.92,3439.98,1583.05,276,1,Residential
278
- 2026-10-04,0.0,,0,0.0,6596.02,3289.41,1513.78,277,1,Residential
279
- 2026-10-05,1.6,,0,0.0,6116.62,3050.35,1403.76,278,0,Residential
280
- 2026-10-06,0.0,,0,0.0,6180.85,3082.37,1418.53,279,0,Residential
281
- 2026-10-07,0.0,,0,0.0,6559.03,3271.01,1505.31,280,0,Residential
282
- 2026-10-08,7.8,,0,0.0,6692.85,3337.74,1536.0,281,0,Residential
283
- 2026-10-09,12.6,Jakarta Marathon,1,1.4,8070.9,4024.94,1852.29,282,0,Tourism
284
- 2026-10-10,0.0,Jakarta Marathon,1,3.0,10133.92,5053.78,2325.71,283,1,Tourism
285
- 2026-10-11,0.0,Jakarta Marathon,1,1.4,9422.58,4699.04,2162.47,284,1,Tourism
286
- 2026-10-12,0.0,,0,0.0,7349.37,3665.11,1686.69,285,0,Residential
287
- 2026-10-13,23.0,,0,0.0,7244.83,3613.03,1662.69,286,0,Residential
288
- 2026-10-14,0.0,,0,0.0,7684.89,3832.48,1763.67,287,0,Residential
289
- 2026-10-15,13.0,,0,0.0,7634.91,3807.53,1752.21,288,0,Residential
290
- 2026-10-16,4.8,,0,0.0,7475.3,3727.94,1715.6,289,0,Residential
291
- 2026-10-17,0.0,,0,0.0,7705.46,3842.73,1768.38,290,1,Residential
292
- 2026-10-18,0.0,,0,0.0,7695.27,3837.64,1766.09,291,1,Residential
293
- 2026-10-19,0.0,,0,0.0,6580.04,3281.46,1510.15,292,0,Residential
294
- 2026-10-20,0.0,,0,0.0,6397.19,3190.29,1468.13,293,0,Residential
295
- 2026-10-21,9.6,,0,0.0,6957.96,3469.91,1596.86,294,0,Residential
296
- 2026-10-22,16.8,,0,0.0,7291.88,3636.46,1673.52,295,0,Residential
297
- 2026-10-23,0.0,,0,0.0,6776.96,3379.69,1555.29,296,0,Residential
298
- 2026-10-24,0.0,,0,0.0,6992.78,3487.29,1604.82,297,1,Residential
299
- 2026-10-25,16.6,,0,0.0,7481.29,3730.94,1716.94,298,1,Residential
300
- 2026-10-26,0.0,,0,0.0,6848.32,3415.28,1571.71,299,0,Residential
301
- 2026-10-27,0.0,,0,0.0,6923.51,3452.78,1588.97,300,0,Residential
302
- 2026-10-28,0.0,,0,0.0,7173.15,3577.25,1646.27,301,0,Residential
303
- 2026-10-29,0.0,,0,0.0,6833.05,3407.64,1568.21,302,0,Residential
304
- 2026-10-30,0.0,,0,0.0,6827.89,3405.09,1567.0,303,0,Residential
305
- 2026-10-31,0.0,,0,0.0,6946.05,3463.99,1594.12,304,1,Residential
306
- 2026-11-01,0.0,,0,0.0,7255.08,3618.12,1665.05,305,1,Residential
307
- 2026-11-02,0.0,,0,0.0,7022.26,3501.99,1611.63,306,0,Residential
308
- 2026-11-03,0.7,,0,0.0,6768.49,3375.43,1553.38,307,0,Residential
309
- 2026-11-04,0.0,,0,0.0,6235.67,3109.75,1431.08,308,0,Residential
310
- 2026-11-05,0.0,,0,0.0,6639.57,3311.12,1523.77,309,0,Residential
311
- 2026-11-06,0.0,,0,0.0,6936.25,3459.08,1591.9,310,0,Residential
312
- 2026-11-07,0.0,,0,0.0,7039.26,3510.46,1615.52,311,1,Residential
313
- 2026-11-08,7.0,,0,0.0,7520.12,3750.29,1725.85,312,1,Residential
314
- 2026-11-09,0.0,,0,0.0,7251.65,3616.4,1664.28,313,0,Residential
315
- 2026-11-10,2.8,,0,0.0,7445.19,3712.92,1708.66,314,0,Residential
316
- 2026-11-11,0.0,,0,0.0,7289.4,3635.25,1672.94,315,0,Residential
317
- 2026-11-12,5.1,,0,0.0,6958.34,3470.1,1596.93,316,0,Residential
318
- 2026-11-13,0.0,,0,0.0,6896.58,3439.35,1582.79,317,0,Residential
319
- 2026-11-14,0.0,,0,0.0,7198.61,3589.98,1652.06,318,1,Residential
320
- 2026-11-15,0.0,,0,0.0,7051.16,3516.45,1618.25,319,1,Residential
321
- 2026-11-16,0.0,,0,0.0,5837.63,2911.24,1339.72,320,0,Residential
322
- 2026-11-17,0.0,,0,0.0,6079.69,3031.95,1395.3,321,0,Residential
323
- 2026-11-18,0.0,,0,0.0,6157.11,3070.53,1413.06,322,0,Residential
324
- 2026-11-19,1.2,,0,0.0,6557.95,3270.44,1505.06,323,0,Residential
325
- 2026-11-20,0.0,,0,0.0,6717.3,3349.9,1541.6,324,0,Residential
326
- 2026-11-21,0.0,,0,0.0,7202.82,3592.02,1653.02,325,1,Residential
327
- 2026-11-22,1.3,,0,0.0,7308.75,3644.86,1677.34,326,1,Residential
328
- 2026-11-23,0.0,,0,0.0,6689.99,3336.27,1535.36,327,0,Residential
329
- 2026-11-24,0.0,Ancol Music Fest,1,1.4,8450.6,4214.29,1939.38,328,0,Tourism
330
- 2026-11-25,9.1,Ancol Music Fest,1,3.0,9757.02,4865.84,2239.25,329,0,Tourism
331
- 2026-11-26,0.7,Ancol Music Fest,1,1.4,8884.61,4430.75,2039.02,330,0,Tourism
332
- 2026-11-27,0.0,,0,0.0,6791.98,3387.14,1558.79,331,0,Residential
333
- 2026-11-28,5.7,,0,0.0,6811.53,3396.88,1563.25,332,1,Residential
334
- 2026-11-29,0.0,,0,0.0,7268.26,3624.68,1668.04,333,1,Residential
335
- 2026-11-30,0.0,,0,0.0,6687.25,3334.93,1534.72,334,0,Residential
336
- 2026-12-01,0.0,,0,0.0,6761.23,3371.8,1551.72,335,0,Residential
337
- 2026-12-02,0.0,,0,0.0,6670.25,3326.47,1530.84,336,0,Residential
338
- 2026-12-03,0.0,,0,0.0,6817.77,3400.0,1564.65,337,0,Residential
339
- 2026-12-04,6.5,,0,0.0,6994.95,3488.37,1605.33,338,0,Residential
340
- 2026-12-05,0.0,,0,0.0,7380.06,3680.45,1693.7,339,1,Residential
341
- 2026-12-06,1.0,,0,0.0,7445.57,3713.11,1708.79,340,1,Residential
342
- 2026-12-07,0.0,,0,0.0,6471.04,3227.09,1485.13,341,0,Residential
343
- 2026-12-08,11.3,,0,0.0,6396.74,3190.03,1468.07,342,0,Residential
344
- 2026-12-09,0.0,,0,0.0,6704.82,3343.72,1538.74,343,0,Residential
345
- 2026-12-10,0.0,,0,0.0,7055.81,3518.74,1619.34,344,0,Residential
346
- 2026-12-11,0.0,,0,0.0,6528.72,3255.86,1498.37,345,0,Residential
347
- 2026-12-12,11.7,,0,0.0,6873.09,3427.63,1577.38,346,1,Residential
348
- 2026-12-13,0.0,,0,0.0,7460.72,3720.69,1712.22,347,1,Residential
349
- 2026-12-14,0.0,,0,0.0,7066.32,3523.96,1621.69,348,0,Residential
350
- 2026-12-15,0.0,,0,0.0,7146.85,3564.13,1640.22,349,0,Residential
351
- 2026-12-16,0.0,,0,0.0,7439.65,3710.18,1707.39,350,0,Residential
352
- 2026-12-17,0.0,,0,0.0,7663.37,3821.72,1758.76,351,0,Residential
353
- 2026-12-18,3.4,Christmas Market,1,2.1,9204.27,4590.17,2112.36,352,0,Tourism
354
- 2026-12-19,0.0,Christmas Market,1,3.1,9926.37,4950.26,2278.08,353,1,Tourism
355
- 2026-12-20,0.0,Christmas Market,1,3.5,10875.94,5423.81,2496.01,354,1,Tourism
356
- 2026-12-21,7.5,Christmas Market,1,3.1,9277.42,4626.65,2129.17,355,0,Tourism
357
- 2026-12-22,5.1,Christmas Market,1,2.1,8982.27,4479.45,2061.43,356,0,Tourism
358
- 2026-12-23,7.3,,0,0.0,7457.73,3719.16,1711.52,357,0,Residential
359
- 2026-12-24,0.0,,0,0.0,7214.85,3598.07,1655.82,358,0,Residential
360
- 2026-12-25,2.9,,0,0.0,7154.49,3567.95,1641.94,359,0,Residential
361
- 2026-12-26,0.0,,0,0.0,7624.6,3802.37,1749.85,360,1,Residential
362
- 2026-12-27,0.0,,0,0.0,7631.54,3805.87,1751.44,361,1,Residential
363
- 2026-12-28,0.0,,0,0.0,6686.42,3334.49,1534.53,362,0,Residential
364
- 2026-12-29,0.0,,0,0.0,7274.12,3627.61,1669.44,363,0,Residential
365
- 2026-12-30,0.0,Countdown Jakarta 2027,1,3.2,10452.95,5212.88,2398.92,364,0,Tourism
366
- 2026-12-31,10.7,Countdown Jakarta 2027,1,4.5,11181.92,5576.41,2566.24,365,0,Tourism
 
1
  TANGGAL,RR,Nama_Event,Ada_Event,Crowd_Scale,Volume_Total_Ton,Vol_Sisa_Makanan_Ton,Vol_Plastik_Ton,Hari_Ke,Is_Weekend,ZONA
2
+ 2026-01-01,12.8,New Year Countdown,1,4.0,1696.06,845.83,389.25,1,0,Tourism
3
+ 2026-01-02,18.3,New Year Countdown,1,2.8,1680.17,837.9,385.6,2,0,Tourism
4
+ 2026-01-03,17.6,,0,0.0,1140.46,568.75,261.74,3,1,Residential
5
+ 2026-01-04,4.7,,0,0.0,1188.62,592.76,272.79,4,1,Residential
6
+ 2026-01-05,0.0,,0,0.0,1049.35,523.31,240.83,5,0,Residential
7
+ 2026-01-06,0.0,,0,0.0,1098.05,547.6,252.0,6,0,Residential
8
+ 2026-01-07,11.0,,0,0.0,1156.52,576.76,265.42,7,0,Residential
9
+ 2026-01-08,6.2,,0,0.0,1113.32,555.21,255.51,8,0,Residential
10
+ 2026-01-09,0.0,,0,0.0,1078.87,538.03,247.6,9,0,Residential
11
+ 2026-01-10,0.0,,0,0.0,1140.37,568.7,261.71,10,1,Residential
12
+ 2026-01-11,0.2,,0,0.0,1276.39,636.54,292.93,11,1,Residential
13
+ 2026-01-12,0.0,,0,0.0,1105.06,551.09,253.61,12,0,Residential
14
+ 2026-01-13,0.0,,0,0.0,1038.74,518.02,238.39,13,0,Residential
15
+ 2026-01-14,6.3,,0,0.0,1042.88,520.08,239.34,14,0,Residential
16
+ 2026-01-15,6.6,,0,0.0,1042.87,520.08,239.34,15,0,Residential
17
+ 2026-01-16,0.0,,0,0.0,1101.72,549.43,252.84,16,0,Residential
18
+ 2026-01-17,0.0,,0,0.0,1132.37,564.71,259.88,17,1,Residential
19
+ 2026-01-18,4.1,Car Free Day,1,1.5,1459.04,727.62,334.85,18,1,Tourism
20
+ 2026-01-19,0.0,,0,0.0,1131.86,564.46,259.76,19,0,Residential
21
+ 2026-01-20,0.0,,0,0.0,1174.02,585.48,269.44,20,0,Residential
22
+ 2026-01-21,0.0,,0,0.0,1167.04,582.0,267.84,21,0,Residential
23
+ 2026-01-22,0.0,,0,0.0,1104.18,550.65,253.41,22,0,Residential
24
+ 2026-01-23,0.0,,0,0.0,1191.93,594.42,273.55,23,0,Residential
25
+ 2026-01-24,0.0,,0,0.0,1323.26,659.91,303.69,24,1,Residential
26
+ 2026-01-25,19.1,,0,0.0,1419.77,708.04,325.84,25,1,Residential
27
+ 2026-01-26,0.0,,0,0.0,1241.13,618.95,284.84,26,0,Residential
28
+ 2026-01-27,2.0,,0,0.0,1124.65,560.86,258.11,27,0,Residential
29
+ 2026-01-28,0.0,,0,0.0,1121.14,559.11,257.3,28,0,Residential
30
+ 2026-01-29,2.4,,0,0.0,986.89,492.16,226.49,29,0,Residential
31
+ 2026-01-30,0.0,,0,0.0,1000.39,498.89,229.59,30,0,Residential
32
+ 2026-01-31,0.0,,0,0.0,1045.87,521.58,240.03,31,1,Residential
33
+ 2026-02-01,6.6,,0,0.0,1133.89,565.47,260.23,32,1,Residential
34
+ 2026-02-02,0.0,,0,0.0,988.2,492.82,226.79,33,0,Residential
35
+ 2026-02-03,7.7,,0,0.0,1037.72,517.51,238.16,34,0,Residential
36
+ 2026-02-04,0.3,,0,0.0,1060.57,528.91,243.4,35,0,Residential
37
+ 2026-02-05,0.0,,0,0.0,1122.54,559.81,257.62,36,0,Residential
38
+ 2026-02-06,1.8,,0,0.0,1186.86,591.89,272.38,37,0,Residential
39
+ 2026-02-07,0.0,,0,0.0,1253.17,624.96,287.6,38,1,Residential
40
+ 2026-02-08,0.0,,0,0.0,1274.11,635.4,292.41,39,1,Residential
41
+ 2026-02-09,12.6,,0,0.0,1171.27,584.11,268.81,40,0,Residential
42
+ 2026-02-10,7.5,,0,0.0,1207.46,602.16,277.11,41,0,Residential
43
+ 2026-02-11,0.0,,0,0.0,1114.12,555.61,255.69,42,0,Residential
44
+ 2026-02-12,0.0,,0,0.0,1166.41,581.69,267.69,43,0,Residential
45
+ 2026-02-13,0.0,,0,0.0,1212.38,604.61,278.24,44,0,Residential
46
+ 2026-02-14,7.5,,0,0.0,1253.65,625.2,287.71,45,1,Residential
47
+ 2026-02-15,1.5,Imlek & Glodok Festival,1,1.1,1484.69,740.41,340.74,46,1,Tourism
48
+ 2026-02-16,10.6,Imlek & Glodok Festival,1,2.1,1431.13,713.7,328.44,47,0,Tourism
49
+ 2026-02-17,0.0,Imlek & Glodok Festival,1,2.5,1528.72,762.37,350.84,48,0,Tourism
50
+ 2026-02-18,2.0,Imlek & Glodok Festival,1,2.1,1450.14,723.18,332.81,49,0,Tourism
51
+ 2026-02-19,0.0,Imlek & Glodok Festival,1,1.1,1338.97,667.74,307.29,50,0,Tourism
52
+ 2026-02-20,5.6,,0,0.0,1140.89,568.96,261.83,51,0,Residential
53
+ 2026-02-21,0.0,,0,0.0,1169.26,583.11,268.35,52,1,Residential
54
+ 2026-02-22,0.0,,0,0.0,1191.79,594.35,273.52,53,1,Residential
55
+ 2026-02-23,0.0,,0,0.0,1155.3,576.15,265.14,54,0,Residential
56
+ 2026-02-24,0.0,,0,0.0,1161.89,579.43,266.65,55,0,Residential
57
+ 2026-02-25,0.0,,0,0.0,1137.92,567.48,261.15,56,0,Residential
58
+ 2026-02-26,14.6,,0,0.0,1223.47,610.14,280.79,57,0,Residential
59
+ 2026-02-27,1.0,,0,0.0,1259.33,628.03,289.02,58,0,Residential
60
+ 2026-02-28,0.0,,0,0.0,1276.59,636.64,292.98,59,1,Residential
61
+ 2026-03-01,0.0,,0,0.0,1332.21,664.37,305.74,60,1,Residential
62
+ 2026-03-02,3.1,,0,0.0,1184.97,590.94,271.95,61,0,Residential
63
+ 2026-03-03,0.0,,0,0.0,1237.8,617.29,284.08,62,0,Residential
64
+ 2026-03-04,1.2,,0,0.0,1282.48,639.57,294.33,63,0,Residential
65
+ 2026-03-05,0.0,,0,0.0,1228.79,612.8,282.01,64,0,Residential
66
+ 2026-03-06,5.4,,0,0.0,1283.1,639.88,294.47,65,0,Residential
67
+ 2026-03-07,14.1,,0,0.0,1409.45,702.89,323.47,66,1,Residential
68
+ 2026-03-08,0.0,,0,0.0,1377.82,687.12,316.21,67,1,Residential
69
+ 2026-03-09,0.0,,0,0.0,1170.72,583.84,268.68,68,0,Residential
70
+ 2026-03-10,8.3,,0,0.0,1176.19,586.57,269.94,69,0,Residential
71
+ 2026-03-11,0.0,,0,0.0,1135.71,566.38,260.65,70,0,Residential
72
+ 2026-03-12,0.0,,0,0.0,1112.95,555.03,255.42,71,0,Residential
73
+ 2026-03-13,0.0,,0,0.0,1136.54,566.79,260.84,72,0,Residential
74
+ 2026-03-14,6.0,,0,0.0,1278.86,637.77,293.5,73,1,Residential
75
+ 2026-03-15,0.0,,0,0.0,1336.51,666.52,306.73,74,1,Residential
76
+ 2026-03-16,14.5,,0,0.0,1179.92,588.43,270.79,75,0,Residential
77
+ 2026-03-17,16.9,,0,0.0,1180.1,588.52,270.83,76,0,Residential
78
+ 2026-03-18,9.8,H-3 Lebaran,1,2.7,1319.02,657.8,302.72,77,0,Residential
79
+ 2026-03-19,14.3,H-3 Lebaran,1,4.0,1439.38,717.82,330.34,78,0,Residential
80
+ 2026-03-20,9.3,Idul Fitri,1,2.3,1796.19,895.76,412.23,79,0,Residential
81
+ 2026-03-21,0.0,Idul Fitri,1,4.1,1877.31,936.21,430.84,80,1,Residential
82
+ 2026-03-22,1.5,Idul Fitri,1,5.0,2127.06,1060.76,488.16,81,1,Residential
83
+ 2026-03-23,18.4,Idul Fitri,1,4.1,1581.28,788.58,362.9,82,0,Residential
84
+ 2026-03-24,0.0,Idul Fitri,1,2.3,1338.39,667.46,307.16,83,0,Residential
85
+ 2026-03-25,16.8,,0,0.0,1258.69,627.71,288.87,84,0,Residential
86
+ 2026-03-26,17.6,,0,0.0,1253.6,625.17,287.7,85,0,Residential
87
+ 2026-03-27,17.9,,0,0.0,1289.54,643.09,295.95,86,0,Residential
88
+ 2026-03-28,0.0,,0,0.0,1308.3,652.45,300.25,87,1,Residential
89
+ 2026-03-29,13.7,,0,0.0,1324.76,660.66,304.03,88,1,Residential
90
+ 2026-03-30,11.7,,0,0.0,1164.96,580.97,267.36,89,0,Residential
91
+ 2026-03-31,0.0,,0,0.0,1087.82,542.5,249.65,90,0,Residential
92
+ 2026-04-01,0.0,,0,0.0,1165.27,581.12,267.43,91,0,Residential
93
+ 2026-04-02,27.3,,0,0.0,1146.21,571.61,263.06,92,0,Residential
94
+ 2026-04-03,0.0,,0,0.0,1183.38,590.15,271.59,93,0,Residential
95
+ 2026-04-04,9.7,,0,0.0,1290.59,643.62,296.19,94,1,Residential
96
+ 2026-04-05,0.0,,0,0.0,1277.15,636.91,293.11,95,1,Residential
97
+ 2026-04-06,0.0,,0,0.0,1207.54,602.2,277.13,96,0,Residential
98
+ 2026-04-07,24.4,,0,0.0,1221.73,609.28,280.39,97,0,Residential
99
+ 2026-04-08,12.3,,0,0.0,1236.31,616.55,283.73,98,0,Residential
100
+ 2026-04-09,0.0,Jakarta Art Festival,1,1.4,1438.29,717.28,330.09,99,0,Tourism
101
+ 2026-04-10,14.8,Jakarta Art Festival,1,2.0,1573.75,784.83,361.18,100,0,Tourism
102
+ 2026-04-11,9.0,Jakarta Art Festival,1,1.4,1509.46,752.77,346.42,101,1,Tourism
103
+ 2026-04-12,0.0,,0,0.0,1282.51,639.59,294.34,102,1,Residential
104
+ 2026-04-13,11.8,,0,0.0,1217.31,607.07,279.37,103,0,Residential
105
+ 2026-04-14,27.3,,0,0.0,1194.52,595.71,274.14,104,0,Residential
106
+ 2026-04-15,0.0,,0,0.0,1192.52,594.71,273.68,105,0,Residential
107
+ 2026-04-16,0.0,,0,0.0,1230.3,613.55,282.35,106,0,Residential
108
+ 2026-04-17,13.1,,0,0.0,1237.16,616.97,283.93,107,0,Residential
109
+ 2026-04-18,12.4,,0,0.0,1349.32,672.91,309.67,108,1,Residential
110
+ 2026-04-19,0.0,,0,0.0,1435.34,715.8,329.41,109,1,Residential
111
+ 2026-04-20,0.0,,0,0.0,1344.25,670.38,308.51,110,0,Residential
112
+ 2026-04-21,7.2,,0,0.0,1335.37,665.95,306.47,111,0,Residential
113
+ 2026-04-22,24.3,,0,0.0,1308.14,652.37,300.22,112,0,Residential
114
+ 2026-04-23,0.0,,0,0.0,1362.56,679.51,312.71,113,0,Residential
115
+ 2026-04-24,0.0,,0,0.0,1317.66,657.12,302.4,114,0,Residential
116
+ 2026-04-25,23.4,,0,0.0,1406.34,701.34,322.76,115,1,Residential
117
+ 2026-04-26,0.0,,0,0.0,1318.36,657.47,302.56,116,1,Residential
118
+ 2026-04-27,0.0,,0,0.0,1175.38,586.16,269.75,117,0,Residential
119
+ 2026-04-28,37.7,,0,0.0,1256.5,626.62,288.37,118,0,Residential
120
+ 2026-04-29,14.3,,0,0.0,1178.04,587.49,270.36,119,0,Residential
121
+ 2026-04-30,0.0,May Day Rally,1,1.4,1476.41,736.29,338.84,120,0,Tourism
122
+ 2026-05-01,14.5,May Day Rally,1,3.0,1689.53,842.57,387.75,121,0,Tourism
123
+ 2026-05-02,13.4,May Day Rally,1,1.4,1569.05,782.49,360.1,122,1,Tourism
124
+ 2026-05-03,10.0,,0,0.0,1280.63,638.65,293.9,123,1,Residential
125
+ 2026-05-04,0.0,,0,0.0,1167.35,582.16,267.91,124,0,Residential
126
+ 2026-05-05,26.7,,0,0.0,1212.21,604.53,278.2,125,0,Residential
127
+ 2026-05-06,0.0,,0,0.0,1190.33,593.62,273.18,126,0,Residential
128
+ 2026-05-07,0.0,,0,0.0,1199.01,597.95,275.17,127,0,Residential
129
+ 2026-05-08,30.7,,0,0.0,1309.95,653.27,300.63,128,0,Residential
130
+ 2026-05-09,30.6,,0,0.0,1384.28,690.34,317.69,129,1,Residential
131
+ 2026-05-10,35.5,,0,0.0,1347.39,671.94,309.23,130,1,Residential
132
+ 2026-05-11,30.4,,0,0.0,1190.81,593.86,273.29,131,0,Residential
133
+ 2026-05-12,18.5,,0,0.0,1285.84,641.25,295.1,132,0,Residential
134
+ 2026-05-13,27.4,,0,0.0,1189.41,593.16,272.97,133,0,Residential
135
+ 2026-05-14,23.7,,0,0.0,1188.01,592.46,272.65,134,0,Residential
136
+ 2026-05-15,0.0,,0,0.0,1251.28,624.01,287.17,135,0,Residential
137
+ 2026-05-16,0.0,,0,0.0,1190.24,593.57,273.16,136,1,Residential
138
+ 2026-05-17,0.0,,0,0.0,1338.92,667.72,307.28,137,1,Residential
139
+ 2026-05-18,23.7,,0,0.0,1288.92,642.78,295.81,138,0,Residential
140
+ 2026-05-19,0.0,,0,0.0,1232.84,614.82,282.94,139,0,Residential
141
+ 2026-05-20,34.7,,0,0.0,1272.2,634.45,291.97,140,0,Residential
142
+ 2026-05-21,21.7,,0,0.0,1222.5,609.66,280.56,141,0,Residential
143
+ 2026-05-22,0.0,,0,0.0,1240.35,618.56,284.66,142,0,Residential
144
+ 2026-05-23,32.7,,0,0.0,1325.67,661.11,304.24,143,1,Residential
145
+ 2026-05-24,0.0,,0,0.0,1264.86,630.79,290.29,144,1,Residential
146
+ 2026-05-25,9.7,,0,0.0,1219.79,608.31,279.94,145,0,Residential
147
+ 2026-05-26,30.3,,0,0.0,1215.74,606.29,279.01,146,0,Residential
148
+ 2026-05-27,25.1,,0,0.0,1250.5,623.62,286.99,147,0,Residential
149
+ 2026-05-28,19.0,,0,0.0,1269.81,633.25,291.42,148,0,Residential
150
+ 2026-05-29,36.3,PRJ Opening,1,2.3,1789.29,892.32,410.64,149,0,Tourism
151
+ 2026-05-30,11.0,PRJ Opening,1,3.1,1994.38,994.6,457.71,150,1,Tourism
152
+ 2026-05-31,0.0,PRJ Opening,1,3.8,2144.87,1069.65,492.25,151,1,Tourism
153
+ 2026-06-01,19.9,PRJ Opening,1,4.0,2120.65,1057.57,486.69,152,0,Tourism
154
+ 2026-06-02,0.0,PRJ Opening,1,3.8,1855.23,925.2,425.78,153,0,Tourism
155
+ 2026-06-03,24.2,PRJ Opening,1,3.1,1605.67,800.75,368.5,154,0,Tourism
156
+ 2026-06-04,0.0,PRJ Opening,1,2.3,1555.57,775.76,357.0,155,0,Tourism
157
+ 2026-06-05,15.3,,0,0.0,1348.6,672.55,309.5,156,0,Residential
158
+ 2026-06-06,0.0,,0,0.0,1411.46,703.9,323.93,157,1,Residential
159
+ 2026-06-07,15.3,,0,0.0,1490.72,743.42,342.12,158,1,Residential
160
+ 2026-06-08,25.0,,0,0.0,1367.21,681.83,313.77,159,0,Residential
161
+ 2026-06-09,0.0,,0,0.0,1359.83,678.15,312.08,160,0,Residential
162
+ 2026-06-10,17.8,,0,0.0,1324.46,660.51,303.96,161,0,Residential
163
+ 2026-06-11,32.6,,0,0.0,1317.74,657.16,302.42,162,0,Residential
164
+ 2026-06-12,25.4,,0,0.0,1327.58,662.06,304.68,163,0,Residential
165
+ 2026-06-13,39.8,,0,0.0,1326.73,661.64,304.48,164,1,Residential
166
+ 2026-06-14,0.0,Music Festival GBK,1,1.6,1702.74,849.16,390.78,165,1,Tourism
167
+ 2026-06-15,29.6,Music Festival GBK,1,3.5,1814.32,904.8,416.39,166,0,Tourism
168
+ 2026-06-16,33.7,Music Festival GBK,1,1.6,1690.19,842.9,387.9,167,0,Tourism
169
+ 2026-06-17,0.0,,0,0.0,1179.07,588.0,270.6,168,0,Residential
170
+ 2026-06-18,35.9,,0,0.0,1284.4,640.53,294.77,169,0,Residential
171
+ 2026-06-19,22.7,,0,0.0,1376.88,686.65,315.99,170,0,Residential
172
+ 2026-06-20,33.8,,0,0.0,1488.52,742.32,341.62,171,1,Residential
173
+ 2026-06-21,34.9,,0,0.0,1498.51,747.31,343.91,172,1,Residential
174
+ 2026-06-22,0.0,,0,0.0,1253.06,624.9,287.58,173,0,Residential
175
+ 2026-06-23,27.4,,0,0.0,1282.71,639.69,294.38,174,0,Residential
176
+ 2026-06-24,0.0,,0,0.0,1355.08,675.78,310.99,175,0,Residential
177
+ 2026-06-25,0.0,,0,0.0,1424.11,710.2,326.83,176,0,Residential
178
+ 2026-06-26,36.1,,0,0.0,1397.18,696.77,320.65,177,0,Residential
179
+ 2026-06-27,0.0,,0,0.0,1317.93,657.25,302.46,178,1,Residential
180
+ 2026-06-28,26.9,,0,0.0,1413.5,704.91,324.4,179,1,Residential
181
+ 2026-06-29,34.7,,0,0.0,1376.99,686.7,316.02,180,0,Residential
182
+ 2026-06-30,0.0,,0,0.0,1280.37,638.52,293.84,181,0,Residential
183
+ 2026-07-01,26.6,,0,0.0,1289.92,643.28,296.04,182,0,Residential
184
+ 2026-07-02,0.0,,0,0.0,1243.38,620.07,285.36,183,0,Residential
185
+ 2026-07-03,8.4,,0,0.0,1277.79,637.23,293.25,184,0,Residential
186
+ 2026-07-04,0.0,,0,0.0,1350.35,673.42,309.91,185,1,Residential
187
+ 2026-07-05,12.2,,0,0.0,1401.33,698.84,321.61,186,1,Residential
188
+ 2026-07-06,0.0,,0,0.0,1174.55,585.75,269.56,187,0,Residential
189
+ 2026-07-07,0.0,,0,0.0,1274.83,635.76,292.57,188,0,Residential
190
+ 2026-07-08,31.3,,0,0.0,1330.56,663.55,305.36,189,0,Residential
191
+ 2026-07-09,0.0,,0,0.0,1194.99,595.94,274.25,190,0,Residential
192
+ 2026-07-10,38.5,,0,0.0,1199.44,598.16,275.27,191,0,Residential
193
+ 2026-07-11,22.5,,0,0.0,1297.1,646.86,297.68,192,1,Residential
194
+ 2026-07-12,28.0,,0,0.0,1452.0,724.11,333.23,193,1,Residential
195
+ 2026-07-13,31.1,,0,0.0,1349.59,673.04,309.73,194,0,Residential
196
+ 2026-07-14,23.2,,0,0.0,1240.46,618.62,284.69,195,0,Residential
197
+ 2026-07-15,45.0,,0,0.0,1317.83,657.2,302.44,196,0,Residential
198
+ 2026-07-16,27.6,,0,0.0,1165.91,581.44,267.58,197,0,Residential
199
+ 2026-07-17,30.6,,0,0.0,1178.77,587.85,270.53,198,0,Residential
200
+ 2026-07-18,40.0,,0,0.0,1278.2,637.44,293.35,199,1,Residential
201
+ 2026-07-19,35.9,PRJ Peak Weekend,1,3.5,2042.55,1018.62,468.77,200,1,Tourism
202
+ 2026-07-20,0.0,PRJ Peak Weekend,1,5.0,2037.52,1016.11,467.61,201,0,Tourism
203
+ 2026-07-21,21.0,PRJ Peak Weekend,1,3.5,1891.77,943.43,434.16,202,0,Tourism
204
+ 2026-07-22,0.0,,0,0.0,1265.2,630.96,290.36,203,0,Residential
205
+ 2026-07-23,32.4,,0,0.0,1210.79,603.82,277.88,204,0,Residential
206
+ 2026-07-24,22.5,,0,0.0,1234.0,615.4,283.2,205,0,Residential
207
+ 2026-07-25,0.0,,0,0.0,1327.05,661.8,304.56,206,1,Residential
208
+ 2026-07-26,28.6,,0,0.0,1407.14,701.74,322.94,207,1,Residential
209
+ 2026-07-27,25.7,,0,0.0,1239.27,618.02,284.41,208,0,Residential
210
+ 2026-07-28,0.0,,0,0.0,1179.16,588.05,270.62,209,0,Residential
211
+ 2026-07-29,18.4,,0,0.0,1245.29,621.03,285.79,210,0,Residential
212
+ 2026-07-30,19.8,,0,0.0,1249.0,622.88,286.65,211,0,Residential
213
+ 2026-07-31,30.9,,0,0.0,1258.28,627.5,288.78,212,0,Residential
214
+ 2026-08-01,0.0,,0,0.0,1221.3,609.06,280.29,213,1,Residential
215
+ 2026-08-02,0.0,,0,0.0,1286.77,641.71,295.31,214,1,Residential
216
+ 2026-08-03,17.8,,0,0.0,1217.89,607.36,279.51,215,0,Residential
217
+ 2026-08-04,0.0,,0,0.0,1265.38,631.05,290.4,216,0,Residential
218
+ 2026-08-05,0.0,,0,0.0,1291.66,644.15,296.44,217,0,Residential
219
+ 2026-08-06,19.7,,0,0.0,1235.79,616.29,283.61,218,0,Residential
220
+ 2026-08-07,23.8,,0,0.0,1228.69,612.75,281.98,219,0,Residential
221
+ 2026-08-08,0.0,,0,0.0,1325.93,661.24,304.3,220,1,Residential
222
+ 2026-08-09,18.4,,0,0.0,1393.9,695.14,319.9,221,1,Residential
223
+ 2026-08-10,27.2,,0,0.0,1171.09,584.02,268.77,222,0,Residential
224
+ 2026-08-11,0.0,,0,0.0,1157.77,577.38,265.71,223,0,Residential
225
+ 2026-08-12,26.1,,0,0.0,1114.41,555.76,255.76,224,0,Residential
226
+ 2026-08-13,43.9,,0,0.0,1203.8,600.34,276.27,225,0,Residential
227
+ 2026-08-14,25.7,,0,0.0,1192.9,594.9,273.77,226,0,Residential
228
+ 2026-08-15,26.2,HUT RI ke-81,1,1.8,1688.51,842.06,387.51,227,1,Tourism
229
+ 2026-08-16,0.0,HUT RI ke-81,1,3.3,1853.79,924.49,425.44,228,1,Tourism
230
+ 2026-08-17,15.6,HUT RI ke-81,1,4.0,1809.94,902.62,415.38,229,0,Tourism
231
+ 2026-08-18,0.0,HUT RI ke-81,1,3.3,1741.77,868.62,399.74,230,0,Tourism
232
+ 2026-08-19,30.2,HUT RI ke-81,1,1.8,1548.15,772.06,355.3,231,0,Tourism
233
+ 2026-08-20,0.0,,0,0.0,1031.94,514.63,236.83,232,0,Residential
234
+ 2026-08-21,25.9,,0,0.0,1113.72,555.41,255.6,233,0,Residential
235
+ 2026-08-22,0.0,,0,0.0,1211.49,604.17,278.04,234,1,Residential
236
+ 2026-08-23,24.6,,0,0.0,1303.86,650.23,299.24,235,1,Residential
237
+ 2026-08-24,0.0,,0,0.0,1128.57,562.82,259.01,236,0,Residential
238
+ 2026-08-25,19.5,,0,0.0,1156.89,576.94,265.51,237,0,Residential
239
+ 2026-08-26,17.1,,0,0.0,1198.25,597.57,275.0,238,0,Residential
240
+ 2026-08-27,0.0,,0,0.0,1195.31,596.1,274.32,239,0,Residential
241
+ 2026-08-28,21.4,,0,0.0,1182.37,589.65,271.35,240,0,Residential
242
+ 2026-08-29,9.5,,0,0.0,1212.5,604.67,278.27,241,1,Residential
243
+ 2026-08-30,9.3,,0,0.0,1261.2,628.96,289.45,242,1,Residential
244
+ 2026-08-31,0.0,,0,0.0,1162.08,579.53,266.7,243,0,Residential
245
+ 2026-09-01,0.0,,0,0.0,1157.85,577.42,265.73,244,0,Residential
246
+ 2026-09-02,9.1,,0,0.0,1080.53,538.86,247.98,245,0,Residential
247
+ 2026-09-03,0.0,,0,0.0,1094.29,545.72,251.14,246,0,Residential
248
+ 2026-09-04,16.4,,0,0.0,1092.75,544.95,250.79,247,0,Residential
249
+ 2026-09-05,10.4,,0,0.0,987.42,492.43,226.61,248,1,Residential
250
+ 2026-09-06,11.4,,0,0.0,1095.05,546.1,251.31,249,1,Residential
251
+ 2026-09-07,31.2,,0,0.0,1151.06,574.03,264.17,250,0,Residential
252
+ 2026-09-08,18.6,,0,0.0,1154.8,575.9,265.03,251,0,Residential
253
+ 2026-09-09,17.1,,0,0.0,1090.63,543.9,250.3,252,0,Residential
254
+ 2026-09-10,16.4,,0,0.0,1158.39,577.69,265.85,253,0,Residential
255
+ 2026-09-11,19.9,,0,0.0,1152.3,574.65,264.45,254,0,Residential
256
+ 2026-09-12,0.0,,0,0.0,1241.85,619.31,285.0,255,1,Residential
257
+ 2026-09-13,0.0,,0,0.0,1366.75,681.6,313.67,256,1,Residential
258
+ 2026-09-14,23.7,Food & Culture Expo,1,1.8,1586.21,791.04,364.04,257,0,Tourism
259
+ 2026-09-15,10.9,Food & Culture Expo,1,2.5,1524.71,760.37,349.92,258,0,Tourism
260
+ 2026-09-16,19.9,Food & Culture Expo,1,1.8,1602.81,799.32,367.84,259,0,Tourism
261
+ 2026-09-17,9.2,,0,0.0,1118.5,557.8,256.7,260,0,Residential
262
+ 2026-09-18,0.0,,0,0.0,1134.77,565.91,260.43,261,0,Residential
263
+ 2026-09-19,2.9,,0,0.0,1151.23,574.12,264.21,262,1,Residential
264
+ 2026-09-20,0.0,,0,0.0,1265.47,631.09,290.43,263,1,Residential
265
+ 2026-09-21,14.8,,0,0.0,1231.35,614.07,282.59,264,0,Residential
266
+ 2026-09-22,19.1,,0,0.0,1228.88,612.84,282.03,265,0,Residential
267
+ 2026-09-23,12.5,,0,0.0,1165.05,581.01,267.38,266,0,Residential
268
+ 2026-09-24,11.3,,0,0.0,1130.59,563.83,259.47,267,0,Residential
269
+ 2026-09-25,5.2,,0,0.0,1172.03,584.49,268.98,268,0,Residential
270
+ 2026-09-26,10.0,,0,0.0,1228.18,612.49,281.87,269,1,Residential
271
+ 2026-09-27,0.0,,0,0.0,1228.48,612.64,281.94,270,1,Residential
272
+ 2026-09-28,0.0,,0,0.0,1076.39,536.8,247.03,271,0,Residential
273
+ 2026-09-29,0.0,,0,0.0,1088.2,542.69,249.74,272,0,Residential
274
+ 2026-09-30,13.5,,0,0.0,1072.36,534.79,246.11,273,0,Residential
275
+ 2026-10-01,0.0,,0,0.0,1159.44,578.21,266.09,274,0,Residential
276
+ 2026-10-02,8.7,,0,0.0,1061.84,529.54,243.69,275,0,Residential
277
+ 2026-10-03,0.0,,0,0.0,1083.46,540.32,248.65,276,1,Residential
278
+ 2026-10-04,0.0,,0,0.0,1036.04,516.67,237.77,277,1,Residential
279
+ 2026-10-05,1.6,,0,0.0,960.74,479.12,220.49,278,0,Residential
280
+ 2026-10-06,0.0,,0,0.0,970.83,484.15,222.81,279,0,Residential
281
+ 2026-10-07,0.0,,0,0.0,1030.23,513.78,236.44,280,0,Residential
282
+ 2026-10-08,7.8,,0,0.0,1051.25,524.26,241.26,281,0,Residential
283
+ 2026-10-09,12.6,Jakarta Marathon,1,1.4,1267.7,632.2,290.94,282,0,Tourism
284
+ 2026-10-10,0.0,Jakarta Marathon,1,3.0,1591.74,793.8,365.3,283,1,Tourism
285
+ 2026-10-11,0.0,Jakarta Marathon,1,1.4,1480.01,738.08,339.66,284,1,Tourism
286
+ 2026-10-12,0.0,,0,0.0,1154.37,575.68,264.93,285,0,Residential
287
+ 2026-10-13,23.0,,0,0.0,1137.95,567.5,261.16,286,0,Residential
288
+ 2026-10-14,0.0,,0,0.0,1207.07,601.97,277.02,287,0,Residential
289
+ 2026-10-15,13.0,,0,0.0,1199.22,598.05,275.22,288,0,Residential
290
+ 2026-10-16,4.8,,0,0.0,1174.15,585.55,269.47,289,0,Residential
291
+ 2026-10-17,0.0,,0,0.0,1210.3,603.58,277.76,290,1,Residential
292
+ 2026-10-18,0.0,,0,0.0,1208.7,602.78,277.4,291,1,Residential
293
+ 2026-10-19,0.0,,0,0.0,1033.53,515.42,237.2,292,0,Residential
294
+ 2026-10-20,0.0,,0,0.0,1004.81,501.1,230.6,293,0,Residential
295
+ 2026-10-21,9.6,,0,0.0,1092.89,545.02,250.82,294,0,Residential
296
+ 2026-10-22,16.8,,0,0.0,1145.34,571.18,262.86,295,0,Residential
297
+ 2026-10-23,0.0,,0,0.0,1064.46,530.85,244.29,296,0,Residential
298
+ 2026-10-24,0.0,,0,0.0,1098.36,547.75,252.07,297,1,Residential
299
+ 2026-10-25,16.6,,0,0.0,1175.09,586.02,269.68,298,1,Residential
300
+ 2026-10-26,0.0,,0,0.0,1075.67,536.44,246.87,299,0,Residential
301
+ 2026-10-27,0.0,,0,0.0,1087.48,542.33,249.58,300,0,Residential
302
+ 2026-10-28,0.0,,0,0.0,1126.69,561.88,258.58,301,0,Residential
303
+ 2026-10-29,0.0,,0,0.0,1073.27,535.24,246.32,302,0,Residential
304
+ 2026-10-30,0.0,,0,0.0,1072.46,534.84,246.13,303,0,Residential
305
+ 2026-10-31,0.0,,0,0.0,1091.02,544.09,250.39,304,1,Residential
306
+ 2026-11-01,0.0,,0,0.0,1139.56,568.3,261.53,305,1,Residential
307
+ 2026-11-02,0.0,,0,0.0,1102.99,550.06,253.14,306,0,Residential
308
+ 2026-11-03,0.7,,0,0.0,1063.13,530.18,243.99,307,0,Residential
309
+ 2026-11-04,0.0,,0,0.0,979.44,488.45,224.78,308,0,Residential
310
+ 2026-11-05,0.0,,0,0.0,1042.88,520.08,239.34,309,0,Residential
311
+ 2026-11-06,0.0,,0,0.0,1089.48,543.32,250.04,310,0,Residential
312
+ 2026-11-07,0.0,,0,0.0,1105.66,551.39,253.75,311,1,Residential
313
+ 2026-11-08,7.0,,0,0.0,1181.19,589.06,271.08,312,1,Residential
314
+ 2026-11-09,0.0,,0,0.0,1139.02,568.03,261.41,313,0,Residential
315
+ 2026-11-10,2.8,,0,0.0,1169.42,583.19,268.38,314,0,Residential
316
+ 2026-11-11,0.0,,0,0.0,1144.95,570.99,262.77,315,0,Residential
317
+ 2026-11-12,5.1,,0,0.0,1092.95,545.05,250.83,316,0,Residential
318
+ 2026-11-13,0.0,,0,0.0,1083.25,540.22,248.61,317,0,Residential
319
+ 2026-11-14,0.0,,0,0.0,1130.69,563.88,259.49,318,1,Residential
320
+ 2026-11-15,0.0,,0,0.0,1107.53,552.33,254.18,319,1,Residential
321
+ 2026-11-16,0.0,,0,0.0,916.92,457.27,210.43,320,0,Residential
322
+ 2026-11-17,0.0,,0,0.0,954.94,476.23,219.16,321,0,Residential
323
+ 2026-11-18,0.0,,0,0.0,967.1,482.29,221.95,322,0,Residential
324
+ 2026-11-19,1.2,,0,0.0,1030.06,513.69,236.4,323,0,Residential
325
+ 2026-11-20,0.0,,0,0.0,1055.09,526.17,242.14,324,0,Residential
326
+ 2026-11-21,0.0,,0,0.0,1131.35,564.2,259.64,325,1,Residential
327
+ 2026-11-22,1.3,,0,0.0,1147.99,572.5,263.46,326,1,Residential
328
+ 2026-11-23,0.0,,0,0.0,1050.8,524.03,241.16,327,0,Residential
329
+ 2026-11-24,0.0,Ancol Music Fest,1,1.4,1327.34,661.94,304.62,328,0,Tourism
330
+ 2026-11-25,9.1,Ancol Music Fest,1,3.0,1532.54,764.28,351.72,329,0,Tourism
331
+ 2026-11-26,0.7,Ancol Music Fest,1,1.4,1395.51,695.94,320.27,330,0,Tourism
332
+ 2026-11-27,0.0,,0,0.0,1066.82,532.02,244.84,331,0,Residential
333
+ 2026-11-28,5.7,,0,0.0,1069.89,533.55,245.54,332,1,Residential
334
+ 2026-11-29,0.0,,0,0.0,1141.63,569.33,262.0,333,1,Residential
335
+ 2026-11-30,0.0,,0,0.0,1050.37,523.82,241.06,334,0,Residential
336
+ 2026-12-01,0.0,,0,0.0,1061.99,529.61,243.73,335,0,Residential
337
+ 2026-12-02,0.0,,0,0.0,1047.7,522.49,240.45,336,0,Residential
338
+ 2026-12-03,0.0,,0,0.0,1070.87,534.04,245.76,337,0,Residential
339
+ 2026-12-04,6.5,,0,0.0,1098.7,547.92,252.15,338,0,Residential
340
+ 2026-12-05,0.0,,0,0.0,1159.19,578.09,266.03,339,1,Residential
341
+ 2026-12-06,1.0,,0,0.0,1169.48,583.22,268.4,340,1,Residential
342
+ 2026-12-07,0.0,,0,0.0,1016.41,506.88,233.27,341,0,Residential
343
+ 2026-12-08,11.3,,0,0.0,1004.74,501.06,230.59,342,0,Residential
344
+ 2026-12-09,0.0,,0,0.0,1053.13,525.2,241.69,343,0,Residential
345
+ 2026-12-10,0.0,,0,0.0,1108.26,552.69,254.35,344,0,Residential
346
+ 2026-12-11,0.0,,0,0.0,1025.47,511.4,235.35,345,0,Residential
347
+ 2026-12-12,11.7,,0,0.0,1079.56,538.38,247.76,346,1,Residential
348
+ 2026-12-13,0.0,,0,0.0,1171.86,584.41,268.94,347,1,Residential
349
+ 2026-12-14,0.0,,0,0.0,1109.91,553.51,254.72,348,0,Residential
350
+ 2026-12-15,0.0,,0,0.0,1122.56,559.82,257.63,349,0,Residential
351
+ 2026-12-16,0.0,,0,0.0,1168.55,582.76,268.18,350,0,Residential
352
+ 2026-12-17,0.0,,0,0.0,1203.69,600.28,276.25,351,0,Residential
353
+ 2026-12-18,3.4,Christmas Market,1,2.1,1445.72,720.98,331.79,352,0,Tourism
354
+ 2026-12-19,0.0,Christmas Market,1,3.1,1559.14,777.54,357.82,353,1,Tourism
355
+ 2026-12-20,0.0,Christmas Market,1,3.5,1708.29,851.92,392.05,354,1,Tourism
356
+ 2026-12-21,7.5,Christmas Market,1,3.1,1457.21,726.71,334.43,355,0,Tourism
357
+ 2026-12-22,5.1,Christmas Market,1,2.1,1410.85,703.59,323.79,356,0,Tourism
358
+ 2026-12-23,7.3,,0,0.0,1171.39,584.17,268.83,357,0,Residential
359
+ 2026-12-24,0.0,,0,0.0,1133.24,565.15,260.08,358,0,Residential
360
+ 2026-12-25,2.9,,0,0.0,1123.76,560.42,257.9,359,0,Residential
361
+ 2026-12-26,0.0,,0,0.0,1197.6,597.24,274.85,360,1,Residential
362
+ 2026-12-27,0.0,,0,0.0,1198.69,597.79,275.1,361,1,Residential
363
+ 2026-12-28,0.0,,0,0.0,1050.24,523.75,241.03,362,0,Residential
364
+ 2026-12-29,0.0,,0,0.0,1142.55,569.79,262.22,363,0,Residential
365
+ 2026-12-30,0.0,Countdown Jakarta 2027,1,3.2,1641.85,818.79,376.8,364,0,Tourism
366
+ 2026-12-31,10.7,Countdown Jakarta 2027,1,4.5,1756.35,875.89,403.08,365,0,Tourism
event_jakarta_2026.txt CHANGED
@@ -10,23 +10,9 @@ tanggal,nama_event,lokasi,skala_keramaian
10
  2026-06-14,PRJ Weekend,JIExpo,4
11
  2026-06-21,PRJ Peak Weekend,JIExpo,5
12
  2026-06-28,PRJ Mid-Event Weekend,JIExpo,4
13
- 2026-07-01,DWP 2026 Jakarta,Kemayoran,5
14
- 2026-07-02,INAGRITECH 2026,Kemayoran,4
15
- 2026-07-02,"INAMARINE, INAWELDING & RAILWAYTECH INDONESIA 2026",Kemayoran,4
16
- 2026-07-08,BritCham Indonesia's Golf Tournament,Kebayoran Lama,2
17
- 2026-07-08,Canada Cup 2026,Kebayoran Lama,2
18
- 2026-07-11,Uji Coba Sistem AI (Demo Event),Gambir,4
19
- 2026-07-12,Konser Musik Spektakuler,Menteng,3
20
- 2026-07-13,Japan Edu Expo 2026,Setiabudi,4
21
- 2026-07-13,Anime Festival Asia Indonesia 2026,Tanah Abang,5
22
- 2026-07-13,𝐑𝐎𝐒𝐄𝐓𝐎𝐏𝐈𝐀 𝐀𝐒𝐈𝐀 𝐓𝐎𝐔𝐑 𝟐𝟎𝟐𝟔,Tanah Abang,5
23
- 2026-07-14,Bangor Run Jakarta 2026,Tanah Abang,3
24
- 2026-07-14,Run For Animals 2026,Cipayung,3
25
- 2026-07-14,Solar Run 2026,Gambir,3
26
- 2026-07-14,Tangy’s Story Adventures | WCIJ Trial Class Experience,Kebayoran Lama,2
27
  2026-07-20,PRJ Final Weekend,JIExpo,5
28
  2026-08-17,HUT RI ke-81,Monas,4
29
  2026-09-15,Food & Culture Expo,Ancol,2
30
  2026-11-25,Ancol Music Fest,Ancol,3
31
  2026-12-20,Christmas Market,Bundaran HI,3
32
- 2026-12-31,Countdown Jakarta 2027,Monas,4
 
10
  2026-06-14,PRJ Weekend,JIExpo,4
11
  2026-06-21,PRJ Peak Weekend,JIExpo,5
12
  2026-06-28,PRJ Mid-Event Weekend,JIExpo,4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  2026-07-20,PRJ Final Weekend,JIExpo,5
14
  2026-08-17,HUT RI ke-81,Monas,4
15
  2026-09-15,Food & Culture Expo,Ancol,2
16
  2026-11-25,Ancol Music Fest,Ancol,3
17
  2026-12-20,Christmas Market,Bundaran HI,3
18
+ 2026-12-31,Countdown Jakarta 2027,Monas,4
frontend/app.js DELETED
@@ -1,952 +0,0 @@
1
- // Coordinates and Map Data for all 44 Kecamatan of DKI Jakarta
2
- const KECAMATAN_DATABASE = {
3
- // 1. JAKARTA PUSAT (8 Kecamatan)
4
- "Menteng": {coords: [-6.1950, 106.8322], city: "Jakarta Pusat", radius: "1.2 km"},
5
- "Senen": {coords: [-6.1822, 106.8452], city: "Jakarta Pusat", radius: "1.0 km"},
6
- "Cempaka Putih": {coords: [-6.1802, 106.8686], city: "Jakarta Pusat", radius: "1.1 km"},
7
- "Johar Baru": {coords: [-6.1866, 106.8572], city: "Jakarta Pusat", radius: "0.8 km"},
8
- "Kemayoran": {coords: [-6.1628, 106.8438], city: "Jakarta Pusat", radius: "1.5 km"},
9
- "Sawah Besar": {coords: [-6.1554, 106.8322], city: "Jakarta Pusat", radius: "1.2 km"},
10
- "Tanah Abang": {coords: [-6.2104, 106.8122], city: "Jakarta Pusat", radius: "2.0 km"},
11
- "Gambir": {coords: [-6.1764, 106.8190], city: "Jakarta Pusat", radius: "1.8 km"},
12
-
13
- // 2. JAKARTA UTARA (6 Kecamatan)
14
- "Penjaringan": {coords: [-6.1264, 106.7822], city: "Jakarta Utara", radius: "2.5 km"},
15
- "Tanjung Priok": {coords: [-6.1322, 106.8722], city: "Jakarta Utara", radius: "2.2 km"},
16
- "Koja": {coords: [-6.1214, 106.9133], city: "Jakarta Utara", radius: "1.8 km"},
17
- "Cilincing": {coords: [-6.1288, 106.9452], city: "Jakarta Utara", radius: "3.0 km"},
18
- "Pademangan": {coords: [-6.1328, 106.8422], city: "Jakarta Utara", radius: "1.5 km"},
19
- "Kelapa Gading": {coords: [-6.1552, 106.9022], city: "Jakarta Utara", radius: "2.0 km"},
20
-
21
- // 3. JAKARTA BARAT (8 Kecamatan)
22
- "Cengkareng": {coords: [-6.1528, 106.7322], city: "Jakarta Barat", radius: "3.0 km"},
23
- "Grogol Petamburan": {coords: [-6.1622, 106.7882], city: "Jakarta Barat", radius: "2.0 km"},
24
- "Kalideres": {coords: [-6.1428, 106.7022], city: "Jakarta Barat", radius: "3.2 km"},
25
- "Kebon Jeruk": {coords: [-6.1922, 106.7722], city: "Jakarta Barat", radius: "2.2 km"},
26
- "Kembangan": {coords: [-6.1828, 106.7382], city: "Jakarta Barat", radius: "2.5 km"},
27
- "Palmerah": {coords: [-6.2028, 106.7882], city: "Jakarta Barat", radius: "1.8 km"},
28
- "Taman Sari": {coords: [-6.1454, 106.8182], city: "Jakarta Barat", radius: "1.2 km"},
29
- "Tambora": {coords: [-6.1500, 106.8000], city: "Jakarta Barat", radius: "1.0 km"},
30
-
31
- // 4. JAKARTA SELATAN (10 Kecamatan)
32
- "Cilandak": {coords: [-6.2928, 106.7922], city: "Jakarta Selatan", radius: "2.2 km"},
33
- "Jagakarsa": {coords: [-6.3328, 106.8222], city: "Jakarta Selatan", radius: "2.5 km"},
34
- "Kebayoran Baru": {coords: [-6.2422, 106.7982], city: "Jakarta Selatan", radius: "2.0 km"},
35
- "Kebayoran Lama": {coords: [-6.2488, 106.7722], city: "Jakarta Selatan", radius: "2.4 km"},
36
- "Mampang Prapatan": {coords: [-6.2522, 106.8182], city: "Jakarta Selatan", radius: "1.5 km"},
37
- "Pancoran": {coords: [-6.2622, 106.8382], city: "Jakarta Selatan", radius: "1.6 km"},
38
- "Pasar Minggu": {coords: [-6.2828, 106.8438], city: "Jakarta Selatan", radius: "2.5 km"},
39
- "Pesanggrahan": {coords: [-6.2588, 106.7588], city: "Jakarta Selatan", radius: "2.0 km"},
40
- "Setiabudi": {coords: [-6.2228, 106.8282], city: "Jakarta Selatan", radius: "1.8 km"},
41
- "Tebet": {coords: [-6.2288, 106.8482], city: "Jakarta Selatan", radius: "2.0 km"},
42
-
43
- // 5. JAKARTA TIMUR (10 Kecamatan)
44
- "Cakung": {coords: [-6.1828, 106.9482], city: "Jakarta Timur", radius: "3.5 km"},
45
- "Cipayung": {coords: [-6.3128, 106.9022], city: "Jakarta Timur", radius: "2.8 km"},
46
- "Ciracas": {coords: [-6.3228, 106.8782], city: "Jakarta Timur", radius: "2.2 km"},
47
- "Duren Sawit": {coords: [-6.2228, 106.9282], city: "Jakarta Timur", radius: "3.0 km"},
48
- "Jatinegara": {coords: [-6.2222, 106.8682], city: "Jakarta Timur", radius: "2.5 km"},
49
- "Kramat Jati": {coords: [-6.2722, 106.8682], city: "Jakarta Timur", radius: "2.4 km"},
50
- "Makasar": {coords: [-6.2622, 106.8782], city: "Jakarta Timur", radius: "2.0 km"},
51
- "Matraman": {coords: [-6.2022, 106.8582], city: "Jakarta Timur", radius: "1.5 km"},
52
- "Pasar Rebo": {coords: [-6.3122, 106.8522], city: "Jakarta Timur", radius: "2.0 km"},
53
- "Pulo Gadung": {coords: [-6.1922, 106.8922], city: "Jakarta Timur", radius: "2.6 km"},
54
-
55
- // 6. KEPULAUAN SERIBU (2 Kecamatan)
56
- "Kepulauan Seribu Utara": {coords: [-5.5722, 106.5522], city: "Kepulauan Seribu", radius: "8.0 km"},
57
- "Kepulauan Seribu Selatan": {coords: [-5.7722, 106.6522], city: "Kepulauan Seribu", radius: "7.0 km"}
58
- };
59
-
60
- const BANTARGEBANG_COORDS = [-6.3477, 106.9939];
61
-
62
- // Dynamic backend routing (highly compatible with Vercel deployment)
63
- const API_BASE_URL = window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1"
64
- ? "" // Relative path on local environment
65
- : "https://alamdieng-waste-prediction-api.hf.space"; // Direct backend url on remote hosting
66
-
67
- // UI Elements
68
- const locationSelect = document.getElementById("location-select");
69
- const modelSelect = document.getElementById("model-select");
70
- const forecastSlider = document.getElementById("forecast-slider");
71
- const forecastVal = document.getElementById("forecast-val");
72
- const rainOverride = document.getElementById("rain-override");
73
- const rainOverrideVal = document.getElementById("rain-override-val");
74
- const eventOverride = document.getElementById("event-override");
75
- const predictBtn = document.getElementById("predict-btn");
76
- const exportBtn = document.getElementById("export-btn");
77
-
78
- // Weather elements
79
- const weatherForecastText = document.getElementById("weather-forecast-text");
80
- const weatherLocationText = document.getElementById("weather-location-text");
81
- const weatherPrecip = document.getElementById("weather-precip");
82
- const weatherAlert = document.getElementById("weather-alert");
83
- const eventDescText = document.getElementById("event-desc-text");
84
-
85
- // Stats elements
86
- const statTotalVolume = document.getElementById("stat-total-volume");
87
- const statRiskStatus = document.getElementById("stat-risk-status");
88
- const statTrucks = document.getElementById("stat-trucks");
89
-
90
- // Metadata elements
91
- const statPeriodMeta = document.getElementById("stat-period-meta");
92
- const statLocationMeta = document.getElementById("stat-location-meta");
93
-
94
- // Composition elements
95
- const valOrganic = document.getElementById("val-organic");
96
- const valPlastic = document.getElementById("val-plastic");
97
- const valPaper = document.getElementById("val-paper");
98
- const valGlass = document.getElementById("val-glass");
99
- const valTextile = document.getElementById("val-textile");
100
- const valMetal = document.getElementById("val-metal");
101
- const barOrganic = document.getElementById("bar-organic");
102
- const barPlastic = document.getElementById("bar-plastic");
103
- const barPaper = document.getElementById("bar-paper");
104
- const barGlass = document.getElementById("bar-glass");
105
- const barTextile = document.getElementById("bar-textile");
106
- const barMetal = document.getElementById("bar-metal");
107
-
108
- // Logistics elements
109
- const logManpower = document.getElementById("log-manpower");
110
- const logDuration = document.getElementById("log-duration");
111
- const logEfficiency = document.getElementById("log-efficiency");
112
- const logConfidence = document.getElementById("log-confidence");
113
-
114
- // Timeline & Hourly
115
- const timelineList = document.getElementById("timeline-list");
116
- const hourlySection = document.getElementById("hourly-section");
117
- const hourlyGrid = document.getElementById("hourly-grid");
118
-
119
- // State
120
- let selectedLocation = "Menteng";
121
- let rainValue = 0; // 0 means Auto (Open-Meteo)
122
- let map;
123
- let mapMarkers = {};
124
- let routeLine = null;
125
-
126
- // ==========================================
127
- // SPA MULTIPAGE ROUTING
128
- // ==========================================
129
- function switchPage(pageId) {
130
- document.querySelectorAll(".page-container").forEach(el => {
131
- el.classList.remove("active");
132
- });
133
- document.querySelectorAll(".nav-btn").forEach(el => {
134
- el.classList.remove("active");
135
- });
136
-
137
- const targetPage = document.getElementById(pageId);
138
- if (targetPage) {
139
- targetPage.classList.add("active");
140
- }
141
-
142
- const targetBtn = document.querySelector(`.nav-btn[data-target="${pageId}"]`);
143
- if (targetBtn) {
144
- targetBtn.classList.add("active");
145
- }
146
-
147
- if (pageId === "page-news") {
148
- loadNewsFeed();
149
- } else if (pageId === "page-alerts") {
150
- loadAlertsFeed();
151
- } else if (pageId === "page-autopilot") {
152
- loadAutopilotFeed();
153
- } else if (pageId === "page-predictor" && map) {
154
- setTimeout(() => { map.invalidateSize(); }, 200);
155
- }
156
- }
157
-
158
- window.switchPage = switchPage;
159
-
160
- // Dynamically Populate Dropdown on Startup
161
- function populateLocationDropdown() {
162
- if (!locationSelect) return;
163
- locationSelect.innerHTML = "";
164
- Object.keys(KECAMATAN_DATABASE).forEach(loc => {
165
- const opt = document.createElement("option");
166
- opt.value = loc;
167
- opt.textContent = `${loc} (${KECAMATAN_DATABASE[loc].city})`;
168
- locationSelect.appendChild(opt);
169
- });
170
- locationSelect.value = selectedLocation;
171
- }
172
-
173
- // Calculate Haversine Distance between two coordinate arrays [lat, lon]
174
- function getHaversineDistance(coords1, coords2) {
175
- const R = 6371; // Earth radius in km
176
- const dLat = (coords2[0] - coords1[0]) * Math.PI / 180;
177
- const dLon = (coords2[1] - coords1[1]) * Math.PI / 180;
178
- const a = Math.sin(dLat/2) * Math.sin(dLat/2) +
179
- Math.cos(coords1[0] * Math.PI / 180) * Math.cos(coords2[0] * Math.PI / 180) *
180
- Math.sin(dLon/2) * Math.sin(dLon/2);
181
- const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a));
182
- return R * c;
183
- }
184
-
185
- // Event Listeners for controls
186
- if (forecastSlider) {
187
- forecastSlider.addEventListener("input", (e) => {
188
- forecastVal.textContent = e.target.value;
189
- });
190
- }
191
-
192
- if (rainOverride) {
193
- rainOverride.addEventListener("input", (e) => {
194
- const val = parseInt(e.target.value);
195
- rainValue = val;
196
- if (val === 0) {
197
- rainOverrideVal.textContent = "Auto (Open-Meteo)";
198
- } else {
199
- rainOverrideVal.textContent = `${val} mm`;
200
- }
201
- updateRainAnimationIntensity(val);
202
- });
203
- }
204
-
205
- if (locationSelect) {
206
- locationSelect.addEventListener("change", (e) => {
207
- selectedLocation = e.target.value;
208
- updateActiveMapMarker(selectedLocation);
209
- panToLocation(selectedLocation);
210
- fetchLiveWeather(selectedLocation);
211
- runPrediction();
212
- });
213
- }
214
-
215
- // Initialize Leaflet Map
216
- function initMap() {
217
- const mapEl = document.getElementById("map");
218
- if (!mapEl) return;
219
-
220
- map = L.map('map', {
221
- zoomControl: true,
222
- attributionControl: false,
223
- maxZoom: 15,
224
- minZoom: 9
225
- }).setView([-6.175, 106.825], 11.5);
226
-
227
- L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', {
228
- maxZoom: 20
229
- }).addTo(map);
230
-
231
- // Add Bantargebang disposal site marker
232
- const bantarIcon = L.divIcon({
233
- className: 'leaflet-custom-marker bantar-marker',
234
- html: `<div class="marker-pulse" style="background:#FF9900;opacity:0.25;"></div><div class="marker-core" style="background:#FF9900;border:2px solid #FFF;"></div><div class="marker-label" style="color:#FF9900;border-color:#FF9900;">Bantargebang</div>`,
235
- iconSize: [24, 24],
236
- iconAnchor: [12, 12]
237
- });
238
- L.marker(BANTARGEBANG_COORDS, { icon: bantarIcon }).addTo(map).bindPopup(`
239
- <div class="route-popup" style="border-left: 3px solid #FF9900;">
240
- <h3 style="color:#FF9900;">TPST BANTARGEBANG</h3>
241
- <div>Disposal Facility (Bekasi)</div>
242
- <div>Status: <b>Active & Calibrated</b></div>
243
- </div>
244
- `);
245
-
246
- // Add Custom Location Markers for 44 Kecamatan
247
- Object.keys(KECAMATAN_DATABASE).forEach(loc => {
248
- const data = KECAMATAN_DATABASE[loc];
249
- const customIcon = L.divIcon({
250
- className: 'leaflet-custom-marker',
251
- html: `<div class="marker-pulse"></div><div class="marker-core"></div><div class="marker-label">${loc}</div>`,
252
- iconSize: [24, 24],
253
- iconAnchor: [12, 12]
254
- });
255
-
256
- const marker = L.marker(data.coords, { icon: customIcon }).addTo(map);
257
-
258
- marker.on('click', () => {
259
- selectedLocation = loc;
260
- if (locationSelect) locationSelect.value = loc;
261
- updateActiveMapMarker(loc);
262
- panToLocation(loc);
263
- fetchLiveWeather(loc);
264
- runPrediction();
265
- });
266
-
267
- mapMarkers[loc] = marker;
268
- });
269
-
270
- setTimeout(() => {
271
- updateActiveMapMarker(selectedLocation);
272
- }, 1000);
273
- }
274
-
275
- function updateActiveMapMarker(locName) {
276
- Object.keys(mapMarkers).forEach(loc => {
277
- const marker = mapMarkers[loc];
278
- const el = marker.getElement();
279
- if (el) {
280
- if (loc === locName) {
281
- el.classList.add("active");
282
- } else {
283
- el.classList.remove("active");
284
- }
285
- }
286
- });
287
- }
288
-
289
- function panToLocation(locName) {
290
- const coords = KECAMATAN_DATABASE[locName]?.coords;
291
- if (coords && map) {
292
- map.panTo(coords);
293
- }
294
- }
295
-
296
- function updateMarkerRisk(locName, riskStatus) {
297
- const marker = mapMarkers[locName];
298
- if (marker) {
299
- const el = marker.getElement();
300
- if (el) {
301
- el.classList.remove("safe", "warning", "critical");
302
- el.classList.add(riskStatus.toLowerCase());
303
- }
304
- }
305
- }
306
-
307
- // Draw transit route to TPST Bantargebang
308
- function drawTransitRoute(locName) {
309
- const startCoords = KECAMATAN_DATABASE[locName]?.coords;
310
- if (!startCoords || !map) return;
311
-
312
- if (routeLine) {
313
- map.removeLayer(routeLine);
314
- }
315
-
316
- routeLine = L.polyline([startCoords, BANTARGEBANG_COORDS], {
317
- color: '#00F0FF',
318
- weight: 3.5,
319
- opacity: 0.75,
320
- dashArray: '8, 8',
321
- className: 'glowing-route'
322
- }).addTo(map);
323
-
324
- const directDist = getHaversineDistance(startCoords, BANTARGEBANG_COORDS);
325
- const roadDist = directDist * 1.35;
326
- const travelTimeHours = roadDist / 28.0;
327
-
328
- routeLine.bindPopup(`
329
- <div class="route-popup">
330
- <h3>LOGISTICS DISPATCH ROUTE</h3>
331
- <div>Kecamatan: <b>${locName}</b></div>
332
- <div>Destination: <b>TPST Bantargebang</b></div>
333
- <div>Transit Distance: <b class="highlight">${roadDist.toFixed(1)} km</b></div>
334
- <div>Est. Travel Time: <b class="highlight">${travelTimeHours.toFixed(1)} Hours</b></div>
335
- </div>
336
- `).openPopup();
337
-
338
- map.fitBounds([startCoords, BANTARGEBANG_COORDS], {
339
- padding: [60, 60]
340
- });
341
- }
342
-
343
- // Fetch Live Weather from Open-Meteo with Timeout
344
- async function fetchLiveWeather(loc) {
345
- const coord = KECAMATAN_DATABASE[loc];
346
- if (!coord) return;
347
-
348
- if (weatherForecastText) weatherForecastText.textContent = "Fetching...";
349
- if (weatherPrecip) weatherPrecip.textContent = "0.0 mm";
350
- if (weatherAlert) weatherAlert.textContent = "Checking...";
351
-
352
- const url = `https://api.open-meteo.com/v1/forecast?latitude=${coord.coords[0]}&longitude=${coord.coords[1]}&current_weather=true&daily=precipitation_sum&timezone=Asia/Jakarta&past_days=2`;
353
-
354
- // Set 1.5s timeout promise
355
- const timeoutPromise = new Promise((_, reject) =>
356
- setTimeout(() => reject(new Error("Timeout")), 1500)
357
- );
358
-
359
- try {
360
- const fetchPromise = fetch(url).then(res => {
361
- if (!res.ok) throw new Error("HTTP Error");
362
- return res.json();
363
- });
364
-
365
- // Race weather request with 1.5s timeout
366
- const data = await Promise.race([fetchPromise, timeoutPromise]);
367
-
368
- const temp = data.current_weather.temperature;
369
- const code = data.current_weather.weathercode;
370
-
371
- const dailyData = data.daily || {};
372
- const precipList = dailyData.precipitation_sum || [];
373
- const precipToday = precipList[2] || 0;
374
-
375
- let cond = "Cloudy";
376
- if (code === 0) cond = "Clear Sky";
377
- else if (code > 0 && code < 4) cond = "Partly Cloudy";
378
- else if (code >= 51 && code <= 67) cond = "Rainy";
379
- else if (code >= 80 && code <= 82) cond = "Showers";
380
-
381
- if (weatherForecastText) weatherForecastText.textContent = `${temp}°C - ${cond}`;
382
- if (weatherLocationText) weatherLocationText.textContent = `${loc} (${coord.city})`;
383
- if (weatherPrecip) weatherPrecip.textContent = `${precipToday.toFixed(1)} mm`;
384
-
385
- if (weatherAlert) {
386
- if (precipToday > 30) {
387
- weatherAlert.textContent = "HEAVY RAIN 🟡";
388
- weatherAlert.className = "highlight text-warning";
389
- } else if (precipToday > 50) {
390
- weatherAlert.textContent = "FLOOD DANGER 🔴";
391
- weatherAlert.className = "highlight text-red";
392
- } else {
393
- weatherAlert.textContent = "Normal conditions";
394
- weatherAlert.className = "highlight";
395
- }
396
- }
397
- } catch (err) {
398
- console.warn("Weather fetch timed out/failed. Using fallback forecast.", err);
399
- // Instant Fallback Weather Data
400
- const fallbackTemp = 28.5 + Math.random() * 3.0;
401
- const fallbackPrecip = 0.0;
402
- if (weatherForecastText) weatherForecastText.textContent = `${fallbackTemp.toFixed(1)}°C - Partly Cloudy`;
403
- if (weatherLocationText) weatherLocationText.textContent = `${loc} (${coord.city})`;
404
- if (weatherPrecip) weatherPrecip.textContent = `${fallbackPrecip.toFixed(1)} mm`;
405
- if (weatherAlert) {
406
- weatherAlert.textContent = "Normal conditions";
407
- weatherAlert.className = "highlight";
408
- }
409
- }
410
- }
411
-
412
- // Run prediction calling FastAPI backend
413
- async function runPrediction() {
414
- if (!predictBtn) return;
415
- predictBtn.disabled = true;
416
- predictBtn.querySelector(".btn-text").textContent = "PROCESSING FORECAST...";
417
-
418
- const payload = {
419
- forecast_days: parseInt(forecastSlider.value),
420
- rainfall_mm: parseFloat(rainValue),
421
- event_scale: parseInt(eventOverride.value),
422
- location: selectedLocation,
423
- model_type: modelSelect.value,
424
- granularity: forecastSlider.value <= 7 ? "hourly" : "daily"
425
- };
426
-
427
- try {
428
- const response = await fetch(`${API_BASE_URL}/api/v1/predict`, {
429
- method: "POST",
430
- headers: {
431
- "Content-Type": "application/json"
432
- },
433
- body: JSON.stringify(payload)
434
- });
435
-
436
- if (response.ok) {
437
- const resData = await response.json();
438
- updateDashboardData(resData.data, resData.confidence_score, resData.message);
439
- } else {
440
- console.error("API Error");
441
- }
442
- } catch (err) {
443
- console.error(err);
444
- } finally {
445
- predictBtn.disabled = false;
446
- predictBtn.querySelector(".btn-text").textContent = "RUN PREDICTION";
447
- }
448
- }
449
-
450
- function updateDashboardData(data, confScore, message) {
451
- const results = data.prediction_results;
452
- if (results.length === 0) return;
453
-
454
- const totalVolume = results.reduce((acc, curr) => acc + curr.total_volume_ton, 0);
455
- if (statTotalVolume) statTotalVolume.innerHTML = `${totalVolume.toFixed(2)} <span class="unit">Tons</span>`;
456
-
457
- let maxRisk = "SAFE";
458
- results.forEach(r => {
459
- if (r.risk_status === "CRITICAL") maxRisk = "CRITICAL";
460
- else if (r.risk_status === "WARNING" && maxRisk !== "CRITICAL") maxRisk = "WARNING";
461
- });
462
-
463
- if (statRiskStatus) {
464
- statRiskStatus.textContent = maxRisk;
465
- statRiskStatus.className = `card-value status-badge ${maxRisk.toLowerCase()}`;
466
- }
467
-
468
- updateMarkerRisk(selectedLocation, maxRisk);
469
- drawTransitRoute(selectedLocation);
470
-
471
- if (statTrucks) statTrucks.innerHTML = `${data.logistics_plan.trucks_needed} <span class="unit">Trucks (15T)</span>`;
472
-
473
- const startDateStr = results[0].date;
474
- const endDateStr = results[results.length - 1].date;
475
-
476
- if (statPeriodMeta) statPeriodMeta.textContent = `Period: ${startDateStr} to ${endDateStr}`;
477
- if (statLocationMeta) statLocationMeta.textContent = `${selectedLocation} (Radius ${KECAMATAN_DATABASE[selectedLocation].radius})`;
478
-
479
- const totalOrganic = results.reduce((acc, curr) => acc + curr.organic_waste_ton, 0);
480
- const totalPlastic = results.reduce((acc, curr) => acc + curr.plastic_waste_ton, 0);
481
- const totalPaper = results.reduce((acc, curr) => acc + curr.paper_waste_ton, 0);
482
- const totalGlass = results.reduce((acc, curr) => acc + curr.glass_waste_ton, 0);
483
- const totalTextile = results.reduce((acc, curr) => acc + curr.textile_waste_ton, 0);
484
- const totalMetal = results.reduce((acc, curr) => acc + (curr.metal_waste_ton + curr.other_waste_ton), 0);
485
-
486
- if (valOrganic) valOrganic.textContent = `${totalOrganic.toFixed(2)} Ton`;
487
- if (valPlastic) valPlastic.textContent = `${totalPlastic.toFixed(2)} Ton`;
488
- if (valPaper) valPaper.textContent = `${totalPaper.toFixed(2)} Ton`;
489
- if (valGlass) valGlass.textContent = `${totalGlass.toFixed(2)} Ton`;
490
- if (valTextile) valTextile.textContent = `${totalTextile.toFixed(2)} Ton`;
491
- if (valMetal) valMetal.textContent = `${totalMetal.toFixed(2)} Ton`;
492
-
493
- const getPct = (val) => totalVolume > 0 ? (val / totalVolume) * 100 : 0;
494
-
495
- if (barOrganic) barOrganic.style.width = `${getPct(totalOrganic)}%`;
496
- if (barPlastic) barPlastic.style.width = `${getPct(totalPlastic)}%`;
497
- if (barPaper) barPaper.style.width = `${getPct(totalPaper)}%`;
498
- if (barGlass) barGlass.style.width = `${getPct(totalGlass)}%`;
499
- if (barTextile) barTextile.style.width = `${getPct(totalTextile)}%`;
500
- if (barMetal) barMetal.style.width = `${getPct(totalMetal)}%`;
501
-
502
- if (logManpower) logManpower.textContent = `${data.logistics_plan.manpower} Crew`;
503
- if (logDuration) logDuration.textContent = `${data.logistics_plan.estimated_duration_hours.toFixed(1)} Hours`;
504
- if (logEfficiency) logEfficiency.textContent = data.logistics_plan.efficiency_rate;
505
- if (logConfidence) logConfidence.textContent = `${(confScore * 100).toFixed(1)}%`;
506
-
507
- const eventDay = results.find(r => r.event_info !== null);
508
- if (eventDay) {
509
- if (eventDescText) eventDescText.innerHTML = `⚠️ <strong>${eventDay.event_info}</strong> on ${eventDay.date}. Heavy crowd expected near site.`;
510
- const eBox = document.getElementById("event-box");
511
- if (eBox) eBox.style.borderColor = "var(--red)";
512
- } else {
513
- if (eventDescText) eventDescText.textContent = "No major public events scheduled for this location in the forecast window.";
514
- const eBox = document.getElementById("event-box");
515
- if (eBox) eBox.style.borderColor = "var(--yellow)";
516
- }
517
-
518
- if (timelineList) {
519
- timelineList.innerHTML = "";
520
- results.forEach(day => {
521
- const card = document.createElement("div");
522
- card.className = "timeline-card";
523
-
524
- const dateObj = new Date(day.date);
525
- const dayName = dateObj.toLocaleDateString('en-US', { weekday: 'short' });
526
- const displayDate = `${dayName}, ${dateObj.getDate()} ${dateObj.toLocaleString('en-US', { month: 'short' })}`;
527
-
528
- card.innerHTML = `
529
- <span class="timeline-date">${displayDate}</span>
530
- <span class="timeline-vol">${day.total_volume_ton.toFixed(1)} T</span>
531
- <span class="timeline-status ${day.risk_status.toLowerCase()}">${day.risk_status}</span>
532
- `;
533
- timelineList.appendChild(card);
534
- });
535
- }
536
-
537
- const hourlyDay = results[0];
538
- if (hourlyDay && hourlyDay.hourly_breakdown) {
539
- if (hourlySection) hourlySection.style.display = "block";
540
- if (hourlyGrid) {
541
- hourlyGrid.innerHTML = "";
542
- hourlyDay.hourly_breakdown.forEach(hour => {
543
- const cell = document.createElement("div");
544
- cell.className = "hourly-cell";
545
-
546
- let intensityClass = "low";
547
- if (hour.risk_indicator === "MEDIUM") intensityClass = "medium";
548
- else if (hour.risk_indicator === "HIGH") intensityClass = "high";
549
-
550
- cell.innerHTML = `
551
- <div class="cell-block ${intensityClass}" title="Vol: ${hour.estimated_volume_ton} Ton - Risk: ${hour.risk_indicator}"></div>
552
- <span class="cell-time">${hour.hour}</span>
553
- `;
554
- hourlyGrid.appendChild(cell);
555
- });
556
- }
557
- } else {
558
- if (hourlySection) hourlySection.style.display = "none";
559
- }
560
- }
561
-
562
- // Request CSV from Backend API and download it
563
- async function runExport() {
564
- if (!exportBtn) return;
565
- exportBtn.disabled = true;
566
- exportBtn.querySelector(".btn-text").textContent = "EXPORTING...";
567
-
568
- const payload = {
569
- forecast_days: parseInt(forecastSlider.value),
570
- rainfall_mm: parseFloat(rainValue),
571
- event_scale: parseInt(eventOverride.value),
572
- location: selectedLocation,
573
- model_type: modelSelect.value,
574
- granularity: forecastSlider.value <= 7 ? "hourly" : "daily"
575
- };
576
-
577
- try {
578
- const response = await fetch("/api/v1/predict/csv", {
579
- method: "POST",
580
- headers: {
581
- "Content-Type": "application/json"
582
- },
583
- body: JSON.stringify(payload)
584
- });
585
-
586
- if (response.ok) {
587
- const blob = await response.blob();
588
- const url = window.URL.createObjectURL(blob);
589
- const a = document.createElement("a");
590
- a.href = url;
591
- a.download = `waste_forecast_${selectedLocation.replace(/\s+/g, "_")}_${forecastSlider.value}d.csv`;
592
- document.body.appendChild(a);
593
- a.click();
594
- a.remove();
595
- window.URL.revokeObjectURL(url);
596
- }
597
- } catch (err) {
598
- console.error(err);
599
- } finally {
600
- exportBtn.disabled = false;
601
- exportBtn.querySelector(".btn-text").textContent = "EXPORT CSV";
602
- }
603
- }
604
-
605
- // ==========================================
606
- // SPA ASYNC LOADERS (News, Alerts, Autopilot)
607
- // ==========================================
608
- async function loadNewsFeed() {
609
- const newsGrid = document.getElementById("news-grid-list");
610
- if (!newsGrid) return;
611
- newsGrid.innerHTML = '<div class="loading-news">Loading latest waste intelligence...</div>';
612
-
613
- try {
614
- const res = await fetch(`${API_BASE_URL}/api/v1/news`);
615
- if (res.ok) {
616
- const news = await res.json();
617
- newsGrid.innerHTML = "";
618
- if (news.length === 0) {
619
- newsGrid.innerHTML = '<div class="loading-news">No news articles found.</div>';
620
- return;
621
- }
622
- news.forEach(item => {
623
- const card = document.createElement("div");
624
- card.className = "news-card";
625
- card.innerHTML = `
626
- <div class="news-card-header">
627
- <span class="news-source">${item.source}</span>
628
- <span class="news-date">${item.date_fetched || "2026-07-10"}</span>
629
- </div>
630
- <h3 class="news-title">${item.title}</h3>
631
- <p class="news-summary">${item.summary}</p>
632
- <a href="${item.url}" target="_blank" class="news-link">READ SOURCE <span>&rarr;</span></a>
633
- `;
634
- newsGrid.appendChild(card);
635
- });
636
- } else {
637
- newsGrid.innerHTML = '<div class="loading-news">Failed to fetch news from server.</div>';
638
- }
639
- } catch (err) {
640
- newsGrid.innerHTML = '<div class="loading-news">Error loading news feed.</div>';
641
- }
642
- }
643
-
644
- async function loadAlertsFeed() {
645
- const alertsList = document.getElementById("alerts-grid-list");
646
- if (!alertsList) return;
647
- alertsList.innerHTML = '<div class="loading-alerts">Evaluating regional alert parameters...</div>';
648
-
649
- try {
650
- const res = await fetch(`${API_BASE_URL}/api/v1/alerts`);
651
- if (res.ok) {
652
- const alertData = await res.json();
653
- alertsList.innerHTML = "";
654
- if (alertData.alerts.length === 0) {
655
- alertsList.innerHTML = '<div class="loading-alerts">No active warnings. All systems green.</div>';
656
- return;
657
- }
658
- alertData.alerts.forEach(item => {
659
- const row = document.createElement("div");
660
- row.className = "alert-row";
661
- row.innerHTML = `
662
- <span class="alert-date">${item.date}</span>
663
- <span class="alert-location">${item.location}</span>
664
- <span class="alert-badge ${item.status.toLowerCase()}">${item.status}</span>
665
- <span class="alert-desc">${item.message} - Timbulan: <strong>${item.estimated_volume_ton.toFixed(1)} Ton</strong></span>
666
- `;
667
- row.addEventListener("click", () => {
668
- selectedLocation = item.location;
669
- if (locationSelect) locationSelect.value = item.location;
670
- updateActiveMapMarker(item.location);
671
- panToLocation(item.location);
672
- fetchLiveWeather(item.location);
673
- switchPage("page-predictor");
674
- setTimeout(() => {
675
- runPrediction();
676
- }, 500);
677
- });
678
- alertsList.appendChild(row);
679
- });
680
- } else {
681
- alertsList.innerHTML = '<div class="loading-alerts">Failed to load alerts.</div>';
682
- }
683
- } catch (err) {
684
- alertsList.innerHTML = '<div class="loading-alerts">Error loading alerts feed.</div>';
685
- }
686
- }
687
-
688
- async function loadAutopilotFeed() {
689
- const logContainer = document.getElementById("autopilot-log");
690
- const autoVol = document.getElementById("auto-total-volume");
691
- const autoTrucks = document.getElementById("auto-total-trucks");
692
- const autoRiskList = document.getElementById("auto-risk-list");
693
-
694
- if (!logContainer || !autoRiskList) return;
695
-
696
- autoVol.textContent = "Calculating...";
697
- autoTrucks.textContent = "Calculating...";
698
- autoRiskList.innerHTML = '<div class="loading-news" style="padding:1rem;">Running neural models...</div>';
699
- logContainer.innerHTML = "";
700
-
701
- const addLog = (msg) => {
702
- const time = new Date().toLocaleTimeString('en-US', { hour12: false });
703
- const p = document.createElement("div");
704
- p.textContent = `[${time}] ${msg}`;
705
- logContainer.appendChild(p);
706
- logContainer.scrollTop = logContainer.scrollHeight;
707
- };
708
-
709
- addLog("Aeterna Neural Core Initialized.");
710
- await new Promise(r => setTimeout(r, 600));
711
- addLog("Connecting to Open-Meteo Geolocation nodes...");
712
- await new Promise(r => setTimeout(r, 600));
713
- addLog("Weather models ready. Scanning 44 sub-districts...");
714
- await new Promise(r => setTimeout(r, 800));
715
-
716
- try {
717
- const res = await fetch(`${API_BASE_URL}/api/v1/autopilot`);
718
- if (res.ok) {
719
- const data = await res.json();
720
-
721
- addLog("Executing GBR forward inference pass on 44 regions...");
722
- await new Promise(r => setTimeout(r, 800));
723
- addLog(`Forecasting complete. Total active events today: ${data.event_today ? data.event_today : "0"}`);
724
- await new Promise(r => setTimeout(r, 500));
725
-
726
- autoVol.innerHTML = `${data.total_volume_ton.toLocaleString('en-US')} <span class="unit">Tons</span>`;
727
- autoTrucks.innerHTML = `${data.total_trucks.toLocaleString('en-US')} <span class="unit">Trucks (15T)</span>`;
728
-
729
- autoRiskList.innerHTML = "";
730
- data.top_kecamatan.forEach((item, index) => {
731
- const card = document.createElement("div");
732
- card.className = "alert-row autopilot-row";
733
- card.innerHTML = `
734
- <span class="alert-date" style="font-weight:bold; color:var(--cyan);">#0${index+1}</span>
735
- <span class="alert-location">${item.location}</span>
736
- <span class="alert-badge ${item.status.toLowerCase()}">${item.status}</span>
737
- <span class="alert-desc" style="font-size:0.8rem;">Coords: <strong>[${item.latitude.toFixed(4)}, ${item.longitude.toFixed(4)}]</strong> | Predicted: <strong>${item.volume_ton.toFixed(1)} Tons</strong> (${item.trucks} Trucks)</span>
738
- `;
739
- card.addEventListener("click", () => {
740
- selectedLocation = item.location;
741
- if (locationSelect) locationSelect.value = item.location;
742
- updateActiveMapMarker(item.location);
743
- panToLocation(item.location);
744
- fetchLiveWeather(item.location);
745
- switchPage("page-predictor");
746
- setTimeout(() => {
747
- runPrediction();
748
- }, 500);
749
- });
750
- autoRiskList.appendChild(card);
751
- });
752
-
753
- addLog(`DKI Jakarta daily forecast compiled: ${data.total_volume_ton} Tons.`);
754
- addLog(`Logistics dispatch size set to ${data.total_trucks} crew trucks.`);
755
- addLog("Autonomous fleet routing to TPST Bantargebang optimized via Haversine.");
756
- } else {
757
- addLog("CRITICAL ERROR: Failed to communicate with prediction nodes.");
758
- }
759
- } catch (err) {
760
- addLog("CRITICAL ERROR: Connection timed out.");
761
- }
762
- }
763
-
764
- // Attach Event Listeners on DOM load
765
- window.addEventListener("DOMContentLoaded", () => {
766
- populateLocationDropdown();
767
- initMap();
768
- fetchLiveWeather(selectedLocation);
769
-
770
- // Wire SPA Navigation
771
- document.querySelectorAll(".nav-btn").forEach(btn => {
772
- btn.addEventListener("click", () => {
773
- const target = btn.getAttribute("data-target");
774
- switchPage(target);
775
- });
776
- });
777
-
778
- if (predictBtn) predictBtn.addEventListener("click", runPrediction);
779
- if (exportBtn) exportBtn.addEventListener("click", runExport);
780
-
781
- setTimeout(runPrediction, 1000);
782
- });
783
-
784
- // ==========================================
785
- // BACKGROUND CANVAS: INTERACTIVE RAIN EFFECT
786
- // ==========================================
787
- const canvas = document.getElementById("rain-canvas");
788
- const ctx = canvas.getContext("2d");
789
-
790
- let width = canvas.width = window.innerWidth;
791
- let height = canvas.height = window.innerHeight;
792
-
793
- window.addEventListener("resize", () => {
794
- width = canvas.width = window.innerWidth;
795
- height = canvas.height = window.innerHeight;
796
- });
797
-
798
- let drops = [];
799
- let particles = [];
800
- let maxPrecip = 0;
801
-
802
- function updateRainAnimationIntensity(precipVal) {
803
- maxPrecip = precipVal;
804
- }
805
-
806
- class DataParticle {
807
- constructor() {
808
- this.reset();
809
- }
810
- reset() {
811
- this.x = Math.random() * width;
812
- this.y = Math.random() * height;
813
- this.size = Math.random() * 2 + 1;
814
- this.speedX = Math.random() * 0.4 - 0.2;
815
- this.speedY = Math.random() * -0.5 - 0.2;
816
- this.alpha = Math.random() * 0.5 + 0.1;
817
- }
818
- update() {
819
- this.x += this.speedX;
820
- this.y += this.speedY;
821
- if (this.y < 0 || this.x < 0 || this.x > width) {
822
- this.reset();
823
- this.y = height;
824
- }
825
- }
826
- draw() {
827
- ctx.fillStyle = `rgba(0, 240, 255, ${this.alpha})`;
828
- ctx.beginPath();
829
- ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
830
- ctx.fill();
831
- }
832
- }
833
-
834
- class RainDrop {
835
- constructor() {
836
- this.reset();
837
- }
838
- reset() {
839
- this.x = Math.random() * width;
840
- this.y = Math.random() * -100 - 10;
841
- this.length = Math.random() * 15 + 10;
842
- this.speed = Math.random() * 12 + 15;
843
- this.weight = Math.random() * 1 + 0.5;
844
- this.alpha = Math.random() * 0.3 + 0.1;
845
- }
846
- update() {
847
- this.y += this.speed;
848
- if (this.y > height) {
849
- this.reset();
850
- }
851
- }
852
- draw() {
853
- ctx.strokeStyle = `rgba(0, 240, 255, ${this.alpha})`;
854
- ctx.lineWidth = this.weight;
855
- ctx.beginPath();
856
- ctx.moveTo(this.x, this.y);
857
- ctx.lineTo(this.x + (maxPrecip * 0.05), this.y + this.length);
858
- ctx.stroke();
859
- }
860
- }
861
-
862
- for (let i = 0; i < 60; i++) {
863
- particles.push(new DataParticle());
864
- }
865
- for (let i = 0; i < 150; i++) {
866
- drops.push(new RainDrop());
867
- }
868
-
869
- function animate() {
870
- ctx.clearRect(0, 0, width, height);
871
-
872
- if (maxPrecip === 0) {
873
- particles.forEach(p => {
874
- p.update();
875
- p.draw();
876
- });
877
- } else {
878
- const activeCount = Math.min(Math.floor(maxPrecip * 1.5), 150);
879
- for (let i = 0; i < activeCount; i++) {
880
- drops[i].update();
881
- drops[i].draw();
882
- }
883
- }
884
-
885
- requestAnimationFrame(animate);
886
- }
887
-
888
- animate();
889
-
890
- // ==========================================
891
- // CUSTOM CYBER HUD CURSOR
892
- // ==========================================
893
- const cursorDot = document.getElementById("cursor-dot");
894
- const cursorRing = document.getElementById("cursor-ring");
895
-
896
- let mouseX = -100;
897
- let mouseY = -100;
898
- let ringX = -100;
899
- let ringY = -100;
900
-
901
- document.addEventListener("mousemove", (e) => {
902
- mouseX = e.clientX;
903
- mouseY = e.clientY;
904
-
905
- if (cursorDot && cursorDot.style.display !== "block") {
906
- cursorDot.style.display = "block";
907
- cursorRing.style.display = "block";
908
- }
909
- });
910
-
911
- function animateCursor() {
912
- const lerpFactor = 0.15;
913
- ringX += (mouseX - ringX) * lerpFactor;
914
- ringY += (mouseY - ringY) * lerpFactor;
915
-
916
- if (cursorDot) {
917
- cursorDot.style.transform = `translate3d(${mouseX}px, ${mouseY}px, 0) translate3d(-50%, -50%, 0)`;
918
- }
919
- if (cursorRing) {
920
- cursorRing.style.transform = `translate3d(${ringX}px, ${ringY}px, 0) translate3d(-50%, -50%, 0)`;
921
- }
922
- requestAnimationFrame(animateCursor);
923
- }
924
- animateCursor();
925
-
926
- // Mouse hover scaling state
927
- document.addEventListener("mouseover", (e) => {
928
- if (cursorRing && (
929
- e.target.tagName === "BUTTON" ||
930
- e.target.tagName === "A" ||
931
- e.target.tagName === "SELECT" ||
932
- e.target.tagName === "INPUT" ||
933
- e.target.classList.contains("leaflet-interactive") ||
934
- e.target.closest("button") ||
935
- e.target.closest("a")
936
- )) {
937
- cursorRing.classList.add("hover-state");
938
- }
939
- });
940
- document.addEventListener("mouseout", (e) => {
941
- if (cursorRing && (
942
- e.target.tagName === "BUTTON" ||
943
- e.target.tagName === "A" ||
944
- e.target.tagName === "SELECT" ||
945
- e.target.tagName === "INPUT" ||
946
- e.target.classList.contains("leaflet-interactive") ||
947
- e.target.closest("button") ||
948
- e.target.closest("a")
949
- )) {
950
- cursorRing.classList.remove("hover-state");
951
- }
952
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
frontend/index.html DELETED
@@ -1,436 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Aeterna AI - Waste Intelligence Platform</title>
7
- <!-- Google Fonts -->
8
- <link rel="preconnect" href="https://fonts.googleapis.com">
9
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
- <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;700&display=swap" rel="stylesheet">
11
-
12
- <!-- Leaflet.js Map Library -->
13
- <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
14
- <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
15
-
16
- <link rel="stylesheet" href="/static/style.css">
17
- </head>
18
- <body>
19
- <!-- Background Canvas for Interactive Particle Rain -->
20
- <canvas id="rain-canvas"></canvas>
21
-
22
- <!-- Navigation Header -->
23
- <header>
24
- <div class="logo-container">
25
- <span class="logo-text">AETERNA<span class="highlight">AI</span></span>
26
- <span class="version-tag">v4.0.0 (Eco-Twin)</span>
27
- </div>
28
- <nav class="nav-links">
29
- <button class="nav-btn active" data-target="page-home">HOME</button>
30
- <button class="nav-btn" data-target="page-autopilot">AI AUTOPILOT</button>
31
- <button class="nav-btn" data-target="page-predictor">SIMULATION TOOL</button>
32
- <button class="nav-btn" data-target="page-news">NEWS FEED</button>
33
- <button class="nav-btn" data-target="page-alerts">REGIONAL ALERTS</button>
34
- </nav>
35
- <div class="system-status">
36
- <span class="status-indicator online"></span>
37
- <span class="status-label">System Online</span>
38
- </div>
39
- </header>
40
-
41
- <!-- HOME PAGE -->
42
- <div id="page-home" class="page-container active">
43
- <section class="hero-section">
44
- <div class="hero-content">
45
- <h1 class="hero-title">NEXT-GEN WASTE FORECASTING</h1>
46
- <p class="hero-subtitle">Meningkatkan efisiensi tata kelola sampah DKI Jakarta hingga 98.28% dengan pemodelan spasial temporal real-time.</p>
47
- <div class="hero-actions">
48
- <button class="action-btn" onclick="switchPage('page-autopilot')">
49
- <span class="btn-text">OPEN AUTOPILOT</span>
50
- <span class="btn-glow"></span>
51
- </button>
52
- <button class="action-btn secondary-btn" onclick="switchPage('page-news')">
53
- <span class="btn-text">EXPLORE NEWS</span>
54
- <span class="btn-glow"></span>
55
- </button>
56
- </div>
57
- </div>
58
- <div class="hero-stats-panel panel">
59
- <h3 class="panel-subtitle">Jakarta Waste Baseline</h3>
60
- <div class="hero-stat-grid">
61
- <div class="hero-stat-card">
62
- <span class="h-stat-label">Daily Waste Total</span>
63
- <span class="h-stat-value text-glow">8,020 <span class="unit">Tons</span></span>
64
- </div>
65
- <div class="hero-stat-card">
66
- <span class="h-stat-label">Kecamatan Monitored</span>
67
- <span class="h-stat-value">44 <span class="unit">Regions</span></span>
68
- </div>
69
- </div>
70
- </div>
71
- </section>
72
-
73
- <!-- Keunggulan Aeterna AI -->
74
- <section class="container features-section">
75
- <h2 class="section-title">KEUNGGULAN AETERNA AI</h2>
76
- <div class="features-grid">
77
- <div class="panel feature-card">
78
- <div class="feature-icon font-display">01</div>
79
- <h3 class="feature-name">Akurasi Validitas Tinggi (98.28%)</h3>
80
- <p class="feature-desc">Menggunakan arsitektur model Gradient Boosting Regressor (GBR) yang dioptimasi via GridSearchCV dengan metrik komparasi MAE, RMSE, dan MAPE secara berdampingan.</p>
81
- </div>
82
- <div class="panel feature-card">
83
- <div class="feature-icon font-display">02</div>
84
- <h3 class="feature-name">Integrasi Live Cuaca Open-Meteo</h3>
85
- <p class="feature-desc">API dinamis asinkron yang menarik data curah hujan live tingkat kecamatan secara real-time untuk memprediksi tonase sampah basah akibat rembesan air hujan.</p>
86
- </div>
87
- <div class="panel feature-card">
88
- <div class="feature-icon font-display">03</div>
89
- <h3 class="feature-name">Pemantauan Berita Sampah 1 Jam</h3>
90
- <p class="feature-desc">AI Scheduler internal merayap internet secara berkala tiap 1 jam untuk menangkap isu operasional, pembatasan Bantargebang, dan regulasi persampahan DKI Jakarta.</p>
91
- </div>
92
- <div class="panel feature-card">
93
- <div class="feature-icon font-display">04</div>
94
- <h3 class="feature-name">Kalibrasi Spasial 44 Kecamatan</h3>
95
- <p class="feature-desc">Model peramalan dikalibrasi hulu-hilir menggunakan data primer Dinas Lingkungan Hidup DKI Jakarta, mencakup tonase baseline spesifik tiap kecamatan secara akuntabel.</p>
96
- </div>
97
- </div>
98
- </section>
99
-
100
- <!-- Sumber Data & Akuntabilitas -->
101
- <section class="container data-sources-section">
102
- <h2 class="section-title">TRANSPARANSI SUMBER DATA</h2>
103
- <div class="panel sources-panel">
104
- <div class="sources-grid" style="display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap:1.5rem;">
105
- <div class="source-item">
106
- <h4 style="color:var(--cyan); margin-bottom:0.5rem; font-family:var(--font-display);">1. Timbulan Sampah</h4>
107
- <p style="font-size:0.85rem; color:var(--text-muted); line-height:1.5;">Data baseline disesuaikan dengan volume total ~8.020 Ton/hari dari <strong>Dinas Lingkungan Hidup (DLH) DKI Jakarta</strong> dan SIPSN Kementerian LHK.</p>
108
- </div>
109
- <div class="source-item">
110
- <h4 style="color:var(--cyan); margin-bottom:0.5rem; font-family:var(--font-display);">2. Prediksi Cuaca</h4>
111
- <p style="font-size:0.85rem; color:var(--text-muted); line-height:1.5;">Data curah hujan ditarik live menggunakan <strong>Open-Meteo API</strong> berdasarkan koordinat geografis presisi masing-masing kecamatan.</p>
112
- </div>
113
- <div class="source-item">
114
- <h4 style="color:var(--cyan); margin-bottom:0.5rem; font-family:var(--font-display);">3. Kalender Event & Transit</h4>
115
- <p style="font-size:0.85rem; color:var(--text-muted); line-height:1.5;">Pola mobilitas disimulasikan dari ridership harian <strong>MRT Jakarta</strong> (~85.000) dan kalender acara Jakarta untuk mengukur lonjakan kerumunan.</p>
116
- </div>
117
- <div class="source-item">
118
- <h4 style="color:var(--cyan); margin-bottom:0.5rem; font-family:var(--font-display);">4. Jarak Pengangkutan</h4>
119
- <p style="font-size:0.85rem; color:var(--text-muted); line-height:1.5;">Jarak tempuh dihitung menggunakan <strong>Haversine Formula</strong> dari koordinat kecamatan ke TPST Bantargebang dengan faktor jalan winding 1.35x.</p>
120
- </div>
121
- </div>
122
- </div>
123
- </section>
124
-
125
- <!-- Development Author Section -->
126
- <section class="container developers-section">
127
- <h2 class="section-title">AETERNA AI LEAD DEVELOPER</h2>
128
- <div class="developers-grid" style="display: flex; justify-content: center;">
129
- <div class="panel developer-card" style="max-width: 600px; width: 100%;">
130
- <div class="dev-role">Lead Full-Stack AI Engineer</div>
131
- <h3 class="dev-name">FARIL PUTRA PRATAMA</h3>
132
- <p class="dev-desc">Merancang dan membangun seluruh arsitektur Aeterna AI dari ujung ke ujung. Meliputi riset data, pelatihan model cerdas GBR & GridSearchCV, pembuatan arsitektur micro-service asinkron, hingga visualisasi antarmuka HUD Glassmorphism interaktif Next.js.</p>
133
- </div>
134
- </div>
135
- </section>
136
- </div>
137
-
138
- <!-- AI AUTOPILOT PAGE -->
139
- <div id="page-autopilot" class="page-container">
140
- <section class="container page-header-section">
141
- <h2 class="section-title">AETERNA AI AUTOPILOT FORECASTER</h2>
142
- <p class="section-subtitle">Sistem peramalan otonom DKI Jakarta. AI berjalan mandiri memprediksi volume harian dan mengoordinasikan logistik tanpa campur tangan pengguna.</p>
143
- </section>
144
-
145
- <!-- Live Metrics Summary -->
146
- <section class="container autopilot-grid" style="display:grid; grid-template-columns: 1.2fr 0.8fr; gap:1.5rem; margin-top:1.5rem;">
147
- <!-- Panel Ringkasan Otonom -->
148
- <div class="panel autopilot-summary-panel">
149
- <h3 class="panel-title">LIVE CITY-WIDE FORECAST (TODAY)</h3>
150
- <div class="stats-row" style="display:grid; grid-template-columns: 1fr 1fr; gap:1rem; margin-bottom:1.5rem; width:100%;">
151
- <div class="panel stat-card text-glow" style="background:rgba(0,0,0,0.3); display:flex; flex-direction:column; padding:1.2rem; border-radius:8px;">
152
- <span class="card-label">TOTAL DKI JAKARTA VOLUME</span>
153
- <span id="auto-total-volume" class="card-value" style="font-size:1.8rem; font-weight:800; color:var(--cyan);">Calculating...</span>
154
- <span class="card-meta">Autonomous prediction summation</span>
155
- </div>
156
- <div class="panel stat-card" style="background:rgba(0,0,0,0.3); display:flex; flex-direction:column; padding:1.2rem; border-radius:8px;">
157
- <span class="card-label">TOTAL DISPATCHED TRUCKS</span>
158
- <span id="auto-total-trucks" class="card-value" style="font-size:1.8rem; font-weight:800; color:#FFF;">Calculating...</span>
159
- <span class="card-meta">Fleet size for all 44 kecamatan</span>
160
- </div>
161
- </div>
162
-
163
- <h4 style="color:var(--cyan); margin-bottom:0.8rem; font-family:var(--font-display); font-size:0.95rem; border-left:3px solid var(--cyan); padding-left:8px; text-transform:uppercase;">Top 5 High-Risk Kecamatan Today:</h4>
164
- <div id="auto-risk-list" class="auto-risk-list" style="display:flex; flex-direction:column; gap:0.8rem;">
165
- <!-- Dynamically populated Top 5 -->
166
- </div>
167
- </div>
168
-
169
- <!-- Konsol Berpikir AI -->
170
- <div class="panel autopilot-console-panel" style="display:flex; flex-direction:column; height:100%;">
171
- <h3 class="panel-title">AI THINKING CONSOLE</h3>
172
- <div id="autopilot-log" style="flex:1; background:rgba(0,0,0,0.6); border:1px solid var(--border-color); border-radius:8px; padding:1.2rem; font-family:var(--font-mono); font-size:0.8rem; color:var(--green); overflow-y:auto; min-height:260px; line-height:1.6; box-shadow:inset 0 0 20px rgba(0,0,0,0.8);">
173
- <!-- Dynamic logs -->
174
- </div>
175
- </div>
176
- </section>
177
- </div>
178
-
179
- <!-- PREDICTOR PAGE -->
180
- <div id="page-predictor" class="page-container">
181
- <main class="dashboard-grid">
182
- <!-- Panel Kontrol (Sidebar) -->
183
- <section class="panel control-panel">
184
- <h2 class="panel-title">PREDICTION CONFIG</h2>
185
- <div class="control-group">
186
- <label for="location-select">Target Location</label>
187
- <select id="location-select" class="form-control">
188
- <!-- Populated dynamically -->
189
- </select>
190
- </div>
191
-
192
- <div class="control-group">
193
- <label for="model-select">AI Forecasting Model</label>
194
- <select id="model-select" class="form-control">
195
- <option value="gradient_boosting" selected>Gradient Boosting (Real Data - 98.28% Acc)</option>
196
- <option value="chronos">Amazon Chronos-T5 (Tiny)</option>
197
- </select>
198
- </div>
199
-
200
- <div class="control-group">
201
- <label for="forecast-slider">Forecast Horizon: <span id="forecast-val" class="value-display">7</span> Days</label>
202
- <input type="range" id="forecast-slider" min="1" max="30" value="7" class="slider">
203
- </div>
204
-
205
- <div class="divider"></div>
206
- <h3 class="panel-subtitle">Simulation Overrides</h3>
207
-
208
- <div class="control-group">
209
- <label for="rain-override">Manual Rain Override (mm)</label>
210
- <div class="range-override-container">
211
- <input type="range" id="rain-override" min="0" max="100" value="0" class="slider">
212
- <span id="rain-override-val" class="override-display">Auto (Open-Meteo)</span>
213
- </div>
214
- </div>
215
-
216
- <div class="control-group">
217
- <label for="event-override">Crowd Event Scale (0 - 5)</label>
218
- <input type="range" id="event-override" min="0" max="5" value="0" class="slider">
219
- </div>
220
-
221
- <div class="button-row">
222
- <button id="predict-btn" class="action-btn">
223
- <span class="btn-text">RUN PREDICTION</span>
224
- <span class="btn-glow"></span>
225
- </button>
226
- <button id="export-btn" class="action-btn secondary-btn">
227
- <span class="btn-text">EXPORT CSV</span>
228
- <span class="btn-glow"></span>
229
- </button>
230
- </div>
231
- </section>
232
-
233
- <!-- Peta Interaktif & Main Stats -->
234
- <section class="map-and-stats">
235
- <!-- Peta Leaflet.js -->
236
- <div class="panel map-panel">
237
- <h2 class="panel-title">JAKARTA SPATIAL REALTIME MAP</h2>
238
- <div class="map-container">
239
- <div id="map"></div>
240
- </div>
241
- </div>
242
-
243
- <!-- Stats Real-Time -->
244
- <div class="stats-row">
245
- <div class="panel stat-card text-glow">
246
- <span class="card-label">TOTAL FORECAST VOLUME</span>
247
- <span id="stat-total-volume" class="card-value">0.00 <span class="unit">Tons</span></span>
248
- <span class="card-meta" id="stat-period-meta">Period: N/A</span>
249
- </div>
250
- <div class="panel stat-card">
251
- <span class="card-label">RISK STATUS</span>
252
- <span id="stat-risk-status" class="card-value status-badge safe">SAFE</span>
253
- <span class="card-meta" id="stat-location-meta">Menteng</span>
254
- </div>
255
- <div class="panel stat-card">
256
- <span class="card-label">RECOMMENDED FLEET</span>
257
- <span id="stat-trucks" class="card-value">0 <span class="unit">Trucks (15T)</span></span>
258
- <span class="card-meta">Logistics Fleet Suggestion</span>
259
- </div>
260
- </div>
261
- </section>
262
-
263
- <!-- Rincian Logistik & Analisis -->
264
- <section class="analysis-panel">
265
- <div class="panel category-panel">
266
- <h2 class="panel-title">WASTE COMPOSITION BREAKDOWN</h2>
267
- <div class="progress-container" style="display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem;">
268
- <div class="progress-item" style="margin-bottom: 0;">
269
- <div class="progress-header">
270
- <span>Organic / Sisa Makanan (~50.2%)</span>
271
- <span id="val-organic">0.00 Ton</span>
272
- </div>
273
- <div class="progress-bar-bg">
274
- <div id="bar-organic" class="progress-bar-fill organic" style="width: 0%;"></div>
275
- </div>
276
- </div>
277
- <div class="progress-item" style="margin-bottom: 0;">
278
- <div class="progress-header">
279
- <span>Plastic / Plastik (~22.8%)</span>
280
- <span id="val-plastic">0.00 Ton</span>
281
- </div>
282
- <div class="progress-bar-bg">
283
- <div id="bar-plastic" class="progress-bar-fill plastic" style="width: 0%;"></div>
284
- </div>
285
- </div>
286
- <div class="progress-item" style="margin-bottom: 0;">
287
- <div class="progress-header">
288
- <span>Paper & Cardboard / Kertas (~11.5%)</span>
289
- <span id="val-paper">0.00 Ton</span>
290
- </div>
291
- <div class="progress-bar-bg">
292
- <div id="bar-paper" class="progress-bar-fill paper" style="width: 0%;"></div>
293
- </div>
294
- </div>
295
- <div class="progress-item" style="margin-bottom: 0;">
296
- <div class="progress-header">
297
- <span>Glass & Ceramics / Kaca (~3.2%)</span>
298
- <span id="val-glass">0.00 Ton</span>
299
- </div>
300
- <div class="progress-bar-bg">
301
- <div id="bar-glass" class="progress-bar-fill glass" style="width: 0%;"></div>
302
- </div>
303
- </div>
304
- <div class="progress-item" style="margin-bottom: 0;">
305
- <div class="progress-header">
306
- <span>Textile & Leather / Tekstil (~4.2%)</span>
307
- <span id="val-textile">0.00 Ton</span>
308
- </div>
309
- <div class="progress-bar-bg">
310
- <div id="bar-textile" class="progress-bar-fill textile" style="width: 0%;"></div>
311
- </div>
312
- </div>
313
- <div class="progress-item" style="margin-bottom: 0;">
314
- <div class="progress-header">
315
- <span>Metals & Others / Logam (~8.1%)</span>
316
- <span id="val-metal">0.00 Ton</span>
317
- </div>
318
- <div class="progress-bar-bg">
319
- <div id="bar-metal" class="progress-bar-fill metal" style="width: 0%;"></div>
320
- </div>
321
- </div>
322
- </div>
323
- </div>
324
-
325
- <!-- Widget Cuaca Live & Info Event -->
326
- <div class="panel weather-event-panel">
327
- <h2 class="panel-title">WEATHER & EVENT FORECAST</h2>
328
- <div class="weather-grid">
329
- <div class="weather-info">
330
- <span class="weather-temp" id="weather-forecast-text">Fetching Live...</span>
331
- <span class="weather-label" id="weather-location-text">Jakarta, Indonesia</span>
332
- </div>
333
- <div class="weather-details">
334
- <div>Precipitation (Rain): <span id="weather-precip" class="highlight">0.0 mm</span></div>
335
- <div>BMKG Alert: <span id="weather-alert" class="highlight">None</span></div>
336
- </div>
337
- </div>
338
- <div class="event-box" id="event-box">
339
- <span class="event-title">Upcoming Event Calendar</span>
340
- <p class="event-desc" id="event-desc-text">No major events registered for today.</p>
341
- </div>
342
- </div>
343
-
344
- <!-- Logistics Plan -->
345
- <div class="panel logistics-panel">
346
- <h2 class="panel-title">OPERATIONAL LOGISTICS PLAN</h2>
347
- <div class="logistics-grid">
348
- <div class="log-item">
349
- <span class="log-label">Manpower Required</span>
350
- <span id="log-manpower" class="log-value">0 Crew</span>
351
- </div>
352
- <div class="log-item">
353
- <span class="log-label">Estimated Collection Time</span>
354
- <span id="log-duration" class="log-value">0.0 Hours</span>
355
- </div>
356
- <div class="log-item">
357
- <span class="log-label">Operational Efficiency</span>
358
- <span id="log-efficiency" class="log-value">85% (Optimal)</span>
359
- </div>
360
- <div class="log-item">
361
- <span class="log-label">Confidence Score</span>
362
- <span id="log-confidence" class="log-value highlight">92.0%</span>
363
- </div>
364
- </div>
365
- </div>
366
- </section>
367
- </main>
368
-
369
- <!-- Timeline Harian -->
370
- <section class="container timeline-container">
371
- <div class="panel timeline-panel">
372
- <h2 class="panel-title">DAILY TIMELINE BREAKDOWN</h2>
373
- <div id="timeline-list" class="timeline-list">
374
- <!-- Will be dynamically populated -->
375
- <div class="empty-timeline">Run a prediction to generate the forecast timeline.</div>
376
- </div>
377
- </div>
378
- </section>
379
-
380
- <!-- Hourly Breakdown -->
381
- <section id="hourly-section" class="container hourly-container" style="display: none;">
382
- <div class="panel hourly-panel">
383
- <h2 class="panel-title">HOURLY DISPATCH RISK HEATMAP</h2>
384
- <div class="hourly-grid" id="hourly-grid">
385
- <!-- Dynamically populated -->
386
- </div>
387
- </div>
388
- </section>
389
- </div>
390
-
391
- <!-- NEWS FEED PAGE -->
392
- <div id="page-news" class="page-container">
393
- <section class="container page-header-section">
394
- <h2 class="section-title">MONITORING BERITA PERSAMPAHAN JAKARTA</h2>
395
- <p class="section-subtitle">AI merayap berita terbaru seputar isu darurat sampah, operasional TPA Bantargebang, dan kebijakan DLH Jakarta secara otomatis setiap 1 jam.</p>
396
- </section>
397
-
398
- <section class="container news-feed-container">
399
- <div class="news-grid" id="news-grid-list">
400
- <!-- Dynamically populated with news cards -->
401
- <div class="loading-news">Fetching latest waste intelligence updates from crawler...</div>
402
- </div>
403
- </section>
404
- </div>
405
-
406
- <!-- REGIONAL ALERTS PAGE -->
407
- <div id="page-alerts" class="page-container">
408
- <section class="container page-header-section">
409
- <h2 class="section-title">REGIONAL HAZARD & ALERTS MAP</h2>
410
- <p class="section-subtitle">Daftar wilayah kecamatan dengan prakiraan volume timbulan sampah melebihi ambang batas operasional harian.</p>
411
- </section>
412
-
413
- <section class="container alerts-feed-container">
414
- <div class="alerts-summary panel">
415
- <h3 class="panel-title">ACTIVE OPERATIONAL ALERTS</h3>
416
- <div class="alerts-list-group" id="alerts-grid-list">
417
- <!-- Dynamically populated with alert rows -->
418
- <div class="loading-alerts">Evaluating active regional threshold warnings...</div>
419
- </div>
420
- </div>
421
- </section>
422
- </div>
423
-
424
- <footer>
425
- <p>&copy; 2026 Aeterna AI - DKI Jakarta Waste Management Intelligence. Calibrated with DLH & Open-Meteo.</p>
426
- <p style="margin-top: 0.6rem; font-size: 0.72rem; opacity: 0.75; letter-spacing: 0.5px; font-family: var(--font-mono); line-height: 1.5;">Developed by: <span style="color:var(--cyan); font-weight:bold;">Faril Putra Pratama</span> (AI Engineer) | <span style="color:var(--cyan); font-weight:bold;">Arga Kurniawan</span> (Front End Developer) | <span style="color:var(--cyan); font-weight:bold;">Bagas Tresna Mustida Sakli</span> (System Architecture)</p>
427
- </footer>
428
-
429
- <!-- Custom Cyber HUD Cursor -->
430
- <div id="cursor-dot"></div>
431
- <div id="cursor-ring"></div>
432
-
433
- <!-- Scripts -->
434
- <script src="/static/app.js"></script>
435
- </body>
436
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
frontend/style.css DELETED
@@ -1,1528 +0,0 @@
1
- /* CSS Variables for Theming */
2
- :root {
3
- --bg-void: #02040a;
4
- --bg-panel: rgba(6, 10, 22, 0.75);
5
- --border-color: rgba(0, 240, 255, 0.12);
6
- --border-hover: rgba(0, 240, 255, 0.3);
7
-
8
- --text-main: #E1E3E8;
9
- --text-muted: #8c93a3;
10
-
11
- /* Neon Colors */
12
- --cyan: #00F0FF;
13
- --cyan-glow: rgba(0, 240, 255, 0.45);
14
- --green: #39FF14;
15
- --green-glow: rgba(57, 255, 20, 0.35);
16
- --yellow: #FFE600;
17
- --yellow-glow: rgba(255, 230, 0, 0.35);
18
- --red: #FF0055;
19
- --red-glow: rgba(255, 0, 85, 0.45);
20
-
21
- /* Fonts */
22
- --font-display: 'Outfit', 'Space Grotesk', system-ui, sans-serif;
23
- --font-body: 'Space Grotesk', system-ui, sans-serif;
24
- --font-mono: 'JetBrains Mono', monospace;
25
- }
26
-
27
- /* Base resets */
28
- * {
29
- box-sizing: border-box;
30
- margin: 0;
31
- padding: 0;
32
- }
33
-
34
- body {
35
- background-color: var(--bg-void);
36
- color: var(--text-main);
37
- font-family: var(--font-body);
38
- overflow-x: hidden;
39
- min-height: 100vh;
40
- display: flex;
41
- flex-direction: column;
42
- }
43
-
44
- /* Background Rain Canvas */
45
- #rain-canvas {
46
- position: fixed;
47
- top: 0;
48
- left: 0;
49
- width: 100%;
50
- height: 100%;
51
- z-index: 0;
52
- pointer-events: none;
53
- opacity: 0.45;
54
- }
55
-
56
- /* Header */
57
- header {
58
- width: 100%;
59
- padding: 1.5rem 2.5rem;
60
- background: linear-gradient(to bottom, rgba(2, 4, 10, 0.95) 60%, transparent);
61
- display: flex;
62
- justify-content: space-between;
63
- align-items: center;
64
- border-bottom: 1px solid rgba(255, 255, 255, 0.03);
65
- z-index: 10;
66
- position: relative;
67
- }
68
-
69
- .logo-container {
70
- display: flex;
71
- align-items: baseline;
72
- gap: 10px;
73
- }
74
-
75
- .logo-text {
76
- font-family: var(--font-display);
77
- font-size: 1.8rem;
78
- font-weight: 800;
79
- letter-spacing: 2px;
80
- background: linear-gradient(135deg, #FFF 40%, var(--cyan) 100%);
81
- -webkit-background-clip: text;
82
- -webkit-text-fill-color: transparent;
83
- text-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
84
- }
85
-
86
- .logo-text .highlight {
87
- font-weight: 300;
88
- letter-spacing: 0px;
89
- color: var(--cyan);
90
- margin-left: 4px;
91
- }
92
-
93
- .version-tag {
94
- font-family: var(--font-mono);
95
- font-size: 0.75rem;
96
- color: var(--text-muted);
97
- background: rgba(255, 255, 255, 0.05);
98
- padding: 2px 8px;
99
- border-radius: 4px;
100
- border: 1px solid rgba(255, 255, 255, 0.08);
101
- }
102
-
103
- .system-status {
104
- display: flex;
105
- align-items: center;
106
- gap: 8px;
107
- }
108
-
109
- .status-indicator {
110
- width: 8px;
111
- height: 8px;
112
- border-radius: 50%;
113
- }
114
-
115
- .status-indicator.online {
116
- background-color: var(--green);
117
- box-shadow: 0 0 10px var(--green-glow), 0 0 20px var(--green-glow);
118
- animation: pulse-green 2s infinite;
119
- }
120
-
121
- .status-label {
122
- font-family: var(--font-mono);
123
- font-size: 0.8rem;
124
- color: var(--text-muted);
125
- }
126
-
127
- /* Grid Layout */
128
- .dashboard-grid {
129
- display: grid;
130
- grid-template-columns: 320px 1fr 340px;
131
- gap: 1.5rem;
132
- padding: 1.5rem 2.5rem;
133
- flex: 1;
134
- z-index: 5;
135
- position: relative;
136
- }
137
-
138
- @media (max-width: 1200px) {
139
- .dashboard-grid {
140
- grid-template-columns: 1fr;
141
- }
142
- }
143
-
144
- /* Panels */
145
- .panel {
146
- background: var(--bg-panel);
147
- border: 1px solid var(--border-color);
148
- border-radius: 12px;
149
- padding: 1.5rem;
150
- backdrop-filter: blur(16px);
151
- box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
152
- transition: border-color 0.3s, box-shadow 0.3s;
153
- }
154
-
155
- .panel:hover {
156
- border-color: var(--border-hover);
157
- box-shadow: 0 8px 32px 0 rgba(0, 240, 255, 0.05);
158
- }
159
-
160
- .panel-title {
161
- font-family: var(--font-display);
162
- font-size: 0.95rem;
163
- font-weight: 600;
164
- letter-spacing: 1.5px;
165
- color: var(--text-main);
166
- margin-bottom: 1.2rem;
167
- border-left: 3px solid var(--cyan);
168
- padding-left: 8px;
169
- text-transform: uppercase;
170
- }
171
-
172
- .panel-subtitle {
173
- font-family: var(--font-display);
174
- font-size: 0.85rem;
175
- font-weight: 600;
176
- color: var(--cyan);
177
- margin-bottom: 1rem;
178
- text-transform: uppercase;
179
- }
180
-
181
- /* Controls */
182
- .control-group {
183
- margin-bottom: 1.2rem;
184
- }
185
-
186
- .control-group label {
187
- display: block;
188
- font-size: 0.8rem;
189
- color: var(--text-muted);
190
- margin-bottom: 6px;
191
- text-transform: uppercase;
192
- font-family: var(--font-mono);
193
- }
194
-
195
- .form-control {
196
- width: 100%;
197
- background: rgba(0, 0, 0, 0.4);
198
- border: 1px solid var(--border-color);
199
- color: var(--text-main);
200
- padding: 10px 14px;
201
- border-radius: 8px;
202
- outline: none;
203
- font-family: var(--font-body);
204
- font-size: 0.9rem;
205
- transition: border-color 0.3s;
206
- }
207
-
208
- .form-control:focus {
209
- border-color: var(--cyan);
210
- }
211
-
212
- .slider {
213
- width: 100%;
214
- -webkit-appearance: none;
215
- height: 6px;
216
- border-radius: 3px;
217
- background: rgba(255, 255, 255, 0.1);
218
- outline: none;
219
- }
220
-
221
- .slider::-webkit-slider-thumb {
222
- -webkit-appearance: none;
223
- width: 16px;
224
- height: 16px;
225
- border-radius: 50%;
226
- background: var(--cyan);
227
- box-shadow: 0 0 10px var(--cyan-glow);
228
- cursor: pointer;
229
- transition: transform 0.1s;
230
- }
231
-
232
- .slider::-webkit-slider-thumb:hover {
233
- transform: scale(1.25);
234
- }
235
-
236
- .value-display, .override-display {
237
- font-family: var(--font-mono);
238
- color: var(--cyan);
239
- font-weight: bold;
240
- float: right;
241
- }
242
-
243
- .range-override-container {
244
- display: flex;
245
- flex-direction: column;
246
- gap: 5px;
247
- }
248
-
249
- .divider {
250
- height: 1px;
251
- background: rgba(255, 255, 255, 0.05);
252
- margin: 1.5rem 0;
253
- }
254
-
255
- /* Buttons */
256
- .action-btn {
257
- width: 100%;
258
- padding: 12px;
259
- background: rgba(0, 240, 255, 0.06);
260
- border: 1px solid var(--cyan);
261
- color: var(--cyan);
262
- font-family: var(--font-mono);
263
- font-size: 0.90rem;
264
- font-weight: bold;
265
- border-radius: 8px;
266
- cursor: pointer;
267
- position: relative;
268
- overflow: hidden;
269
- transition: background 0.3s, box-shadow 0.3s;
270
- }
271
-
272
- .action-btn:hover {
273
- background: rgba(0, 240, 255, 0.15);
274
- box-shadow: 0 0 20px var(--cyan-glow);
275
- }
276
-
277
- /* Map Panel with Leaflet Map */
278
- .map-panel {
279
- display: flex;
280
- flex-direction: column;
281
- height: 380px;
282
- margin-bottom: 1.5rem;
283
- }
284
-
285
- .map-container {
286
- flex: 1;
287
- position: relative;
288
- background: rgba(0, 0, 0, 0.3);
289
- border-radius: 8px;
290
- overflow: hidden;
291
- border: 1px solid var(--border-color);
292
- }
293
-
294
- #map {
295
- width: 100%;
296
- height: 100%;
297
- background: var(--bg-void) !important;
298
- }
299
-
300
- /* Custom Marker Styling for Leaflet */
301
- .leaflet-custom-marker {
302
- position: absolute;
303
- width: 24px !important;
304
- height: 24px !important;
305
- /* Allow Leaflet's dynamic engine to set margins from iconAnchor without CSS overrides */
306
- transform-origin: center center;
307
- backface-visibility: hidden;
308
- -webkit-backface-visibility: hidden;
309
- cursor: pointer;
310
- }
311
-
312
- .leaflet-custom-marker .marker-pulse {
313
- position: absolute;
314
- top: 50%;
315
- left: 50%;
316
- width: 28px;
317
- height: 28px;
318
- margin-left: -14px;
319
- margin-top: -14px;
320
- background: var(--cyan);
321
- border-radius: 50%;
322
- opacity: 0.15;
323
- transform: scale(1);
324
- animation: pulse-node 2s infinite;
325
- pointer-events: none;
326
- }
327
-
328
- .leaflet-custom-marker .marker-core {
329
- position: absolute;
330
- top: 50%;
331
- left: 50%;
332
- width: 12px;
333
- height: 12px;
334
- margin-left: -6px;
335
- margin-top: -6px;
336
- background: var(--cyan);
337
- border: 2px solid #FFF;
338
- border-radius: 50%;
339
- box-shadow: 0 0 10px var(--cyan-glow);
340
- transition: transform 0.2s, background 0.3s;
341
- }
342
-
343
- .leaflet-custom-marker .marker-label {
344
- position: absolute;
345
- top: -24px;
346
- left: 50%;
347
- transform: translateX(-50%);
348
- font-family: var(--font-mono);
349
- font-size: 10px;
350
- font-weight: bold;
351
- color: var(--text-muted);
352
- background: rgba(0, 0, 0, 0.85);
353
- padding: 2px 6px;
354
- border-radius: 4px;
355
- border: 1px solid rgba(255, 255, 255, 0.15);
356
- white-space: nowrap;
357
- pointer-events: none;
358
- transition: color 0.3s, border-color 0.3s;
359
- }
360
-
361
- /* Hover and Active State */
362
- .leaflet-custom-marker:hover .marker-core {
363
- transform: scale(1.2);
364
- }
365
-
366
- .leaflet-custom-marker.active .marker-core {
367
- transform: scale(1.3);
368
- background: var(--cyan);
369
- box-shadow: 0 0 15px var(--cyan), 0 0 25px var(--cyan-glow);
370
- }
371
-
372
- .leaflet-custom-marker.active .marker-label {
373
- color: var(--cyan);
374
- border-color: var(--cyan);
375
- box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
376
- }
377
-
378
- /* Risk indicator classes for Leaflet Markers */
379
- .leaflet-custom-marker.safe .marker-core {
380
- background: var(--green);
381
- box-shadow: 0 0 10px var(--green-glow);
382
- }
383
- .leaflet-custom-marker.safe .marker-pulse {
384
- background: var(--green);
385
- }
386
-
387
- .leaflet-custom-marker.warning .marker-core {
388
- background: var(--yellow);
389
- box-shadow: 0 0 10px var(--yellow-glow);
390
- }
391
- .leaflet-custom-marker.warning .marker-pulse {
392
- background: var(--yellow);
393
- }
394
-
395
- .leaflet-custom-marker.critical .marker-core {
396
- background: var(--red);
397
- box-shadow: 0 0 10px var(--red-glow);
398
- }
399
- .leaflet-custom-marker.critical .marker-pulse {
400
- background: var(--red);
401
- }
402
-
403
- /* Leaflet Layout UI Overrides */
404
- .leaflet-bar {
405
- border: 1px solid var(--border-color) !important;
406
- border-radius: 8px !important;
407
- overflow: hidden;
408
- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
409
- }
410
-
411
- .leaflet-bar a {
412
- background-color: rgba(6, 10, 22, 0.85) !important;
413
- color: var(--text-main) !important;
414
- border-bottom: 1px solid var(--border-color) !important;
415
- transition: background-color 0.2s, color 0.2s;
416
- }
417
-
418
- .leaflet-bar a:hover {
419
- background-color: rgba(0, 240, 255, 0.15) !important;
420
- color: var(--cyan) !important;
421
- }
422
-
423
- .leaflet-container {
424
- background: var(--bg-void) !important;
425
- }
426
-
427
- /* Stats Cards */
428
- .stats-row {
429
- display: grid;
430
- grid-template-columns: repeat(3, 1fr);
431
- gap: 1.5rem;
432
- }
433
-
434
- .stat-card {
435
- display: flex;
436
- flex-direction: column;
437
- justify-content: center;
438
- padding: 1.2rem;
439
- height: 100px;
440
- }
441
-
442
- .card-label {
443
- font-family: var(--font-mono);
444
- font-size: 0.7rem;
445
- color: var(--text-muted);
446
- margin-bottom: 6px;
447
- text-transform: uppercase;
448
- }
449
-
450
- .card-value {
451
- font-family: var(--font-display);
452
- font-size: 1.5rem;
453
- font-weight: 800;
454
- color: #FFF;
455
- }
456
-
457
- .card-value .unit {
458
- font-size: 0.85rem;
459
- font-weight: 400;
460
- color: var(--text-muted);
461
- }
462
-
463
- .status-badge {
464
- display: inline-block;
465
- padding: 4px 12px;
466
- border-radius: 6px;
467
- font-size: 0.95rem;
468
- font-weight: bold;
469
- text-align: center;
470
- width: fit-content;
471
- }
472
-
473
- .status-badge.safe {
474
- background: rgba(57, 255, 20, 0.08);
475
- border: 1px solid var(--green);
476
- color: var(--green);
477
- text-shadow: 0 0 10px var(--green-glow);
478
- }
479
-
480
- .status-badge.warning {
481
- background: rgba(255, 230, 0, 0.08);
482
- border: 1px solid var(--yellow);
483
- color: var(--yellow);
484
- text-shadow: 0 0 10px var(--yellow-glow);
485
- }
486
-
487
- .status-badge.critical {
488
- background: rgba(255, 0, 85, 0.08);
489
- border: 1px solid var(--red);
490
- color: var(--red);
491
- text-shadow: 0 0 10px var(--red-glow);
492
- }
493
-
494
- /* Composition / Progress bars */
495
- .progress-item {
496
- margin-bottom: 1.2rem;
497
- }
498
-
499
- .progress-header {
500
- display: flex;
501
- justify-content: space-between;
502
- font-size: 0.8rem;
503
- color: var(--text-muted);
504
- margin-bottom: 6px;
505
- font-family: var(--font-mono);
506
- }
507
-
508
- .progress-bar-bg {
509
- width: 100%;
510
- height: 8px;
511
- background: rgba(255, 255, 255, 0.05);
512
- border-radius: 4px;
513
- overflow: hidden;
514
- }
515
-
516
- .progress-bar-fill {
517
- height: 100%;
518
- border-radius: 4px;
519
- width: 0%;
520
- transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
521
- }
522
-
523
- .progress-bar-fill.organic {
524
- background: linear-gradient(to right, #4CAF50, #8BC34A);
525
- box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
526
- }
527
-
528
- .progress-bar-fill.plastic {
529
- background: linear-gradient(to right, var(--cyan), #00BCD4);
530
- box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
531
- }
532
-
533
- .progress-bar-fill.paper {
534
- background: linear-gradient(to right, var(--yellow), #FF9900);
535
- box-shadow: 0 0 10px rgba(255, 230, 0, 0.3);
536
- }
537
-
538
- .progress-bar-fill.glass {
539
- background: linear-gradient(to right, var(--red), #E040FB);
540
- box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
541
- }
542
-
543
- .progress-bar-fill.textile {
544
- background: linear-gradient(to right, #CC66FF, #2196F3);
545
- box-shadow: 0 0 10px rgba(204, 102, 255, 0.3);
546
- }
547
-
548
- .progress-bar-fill.metal {
549
- background: linear-gradient(to right, #E1E3E8, var(--cyan));
550
- box-shadow: 0 0 10px rgba(225, 227, 232, 0.3);
551
- }
552
-
553
- /* Weather & Event Panel */
554
- .weather-grid {
555
- display: flex;
556
- justify-content: space-between;
557
- align-items: center;
558
- background: rgba(0, 0, 0, 0.25);
559
- padding: 12px;
560
- border-radius: 8px;
561
- border: 1px solid rgba(255, 255, 255, 0.03);
562
- margin-bottom: 1rem;
563
- }
564
-
565
- .weather-temp {
566
- font-family: var(--font-display);
567
- font-size: 1.2rem;
568
- font-weight: 700;
569
- color: #FFF;
570
- }
571
-
572
- .weather-label {
573
- display: block;
574
- font-size: 0.75rem;
575
- color: var(--text-muted);
576
- }
577
-
578
- .weather-details {
579
- font-family: var(--font-mono);
580
- font-size: 0.75rem;
581
- text-align: right;
582
- line-height: 1.4;
583
- }
584
-
585
- .weather-details .highlight {
586
- color: var(--cyan);
587
- }
588
-
589
- .event-box {
590
- padding: 10px;
591
- background: rgba(255, 230, 0, 0.03);
592
- border-left: 3px solid var(--yellow);
593
- border-radius: 0 6px 6px 0;
594
- }
595
-
596
- .event-title {
597
- display: block;
598
- font-size: 0.75rem;
599
- font-weight: bold;
600
- color: var(--yellow);
601
- font-family: var(--font-mono);
602
- margin-bottom: 4px;
603
- }
604
-
605
- .event-desc {
606
- font-size: 0.8rem;
607
- color: var(--text-main);
608
- }
609
-
610
- /* Logistics Grid */
611
- .logistics-grid {
612
- display: grid;
613
- grid-template-columns: 1fr 1fr;
614
- gap: 12px;
615
- }
616
-
617
- .log-item {
618
- background: rgba(0, 0, 0, 0.2);
619
- border: 1px solid rgba(255, 255, 255, 0.03);
620
- border-radius: 8px;
621
- padding: 10px;
622
- display: flex;
623
- flex-direction: column;
624
- }
625
-
626
- .log-label {
627
- font-family: var(--font-mono);
628
- font-size: 0.65rem;
629
- color: var(--text-muted);
630
- text-transform: uppercase;
631
- margin-bottom: 4px;
632
- }
633
-
634
- .log-value {
635
- font-size: 0.95rem;
636
- font-weight: bold;
637
- color: #FFF;
638
- }
639
-
640
- .log-value.highlight {
641
- color: var(--cyan);
642
- text-shadow: 0 0 10px var(--cyan-glow);
643
- }
644
-
645
- /* Timeline Container */
646
- .timeline-container {
647
- margin-top: 1.5rem;
648
- padding: 0 2.5rem;
649
- z-index: 5;
650
- position: relative;
651
- }
652
-
653
- .timeline-list {
654
- display: flex;
655
- gap: 12px;
656
- overflow-x: auto;
657
- padding-bottom: 10px;
658
- }
659
-
660
- .timeline-card {
661
- min-width: 140px;
662
- background: rgba(0, 0, 0, 0.4);
663
- border: 1px solid var(--border-color);
664
- border-radius: 8px;
665
- padding: 12px;
666
- display: flex;
667
- flex-direction: column;
668
- align-items: center;
669
- text-align: center;
670
- transition: transform 0.2s, border-color 0.2s;
671
- }
672
-
673
- .timeline-card:hover {
674
- transform: translateY(-4px);
675
- border-color: var(--cyan);
676
- }
677
-
678
- .timeline-date {
679
- font-family: var(--font-mono);
680
- font-size: 0.7rem;
681
- color: var(--text-muted);
682
- margin-bottom: 6px;
683
- }
684
-
685
- .timeline-vol {
686
- font-family: var(--font-display);
687
- font-size: 1.1rem;
688
- font-weight: bold;
689
- color: #FFF;
690
- margin-bottom: 6px;
691
- }
692
-
693
- .timeline-status {
694
- font-size: 0.7rem;
695
- padding: 2px 8px;
696
- border-radius: 4px;
697
- font-weight: bold;
698
- }
699
-
700
- .timeline-status.safe { background: rgba(57, 255, 20, 0.1); color: var(--green); }
701
- .timeline-status.warning { background: rgba(255, 230, 0, 0.1); color: var(--yellow); }
702
- .timeline-status.critical { background: rgba(255, 0, 85, 0.1); color: var(--red); }
703
-
704
- .empty-timeline {
705
- width: 100%;
706
- text-align: center;
707
- padding: 2rem;
708
- color: var(--text-muted);
709
- font-style: italic;
710
- font-size: 0.9rem;
711
- }
712
-
713
- /* Hourly Breakdown Container */
714
- .hourly-container {
715
- margin-top: 1.5rem;
716
- padding: 0 2.5rem;
717
- z-index: 5;
718
- position: relative;
719
- margin-bottom: 2rem;
720
- }
721
-
722
- .hourly-grid {
723
- display: grid;
724
- grid-template-columns: repeat(24, 1fr);
725
- gap: 4px;
726
- background: rgba(0, 0, 0, 0.3);
727
- padding: 10px;
728
- border-radius: 8px;
729
- overflow-x: auto;
730
- }
731
-
732
- .hourly-cell {
733
- display: flex;
734
- flex-direction: column;
735
- align-items: center;
736
- gap: 4px;
737
- }
738
-
739
- .cell-block {
740
- width: 100%;
741
- height: 40px;
742
- border-radius: 4px;
743
- transition: opacity 0.3s;
744
- }
745
-
746
- .cell-block.low { background-color: rgba(57, 255, 20, 0.35); border: 1px solid var(--green); }
747
- .cell-block.medium { background-color: rgba(255, 230, 0, 0.35); border: 1px solid var(--yellow); }
748
- .cell-block.high { background-color: rgba(255, 0, 85, 0.35); border: 1px solid var(--red); }
749
-
750
- .cell-time {
751
- font-family: var(--font-mono);
752
- font-size: 8px;
753
- color: var(--text-muted);
754
- }
755
-
756
- /* Footer */
757
- footer {
758
- width: 100%;
759
- padding: 1.5rem;
760
- text-align: center;
761
- border-top: 1px solid rgba(255, 255, 255, 0.03);
762
- color: var(--text-muted);
763
- font-size: 0.75rem;
764
- font-family: var(--font-mono);
765
- margin-top: auto;
766
- }
767
-
768
- /* Animations */
769
- @keyframes pulse-green {
770
- 0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.4); }
771
- 70% { box-shadow: 0 0 0 8px rgba(57, 255, 20, 0); }
772
- 100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
773
- }
774
-
775
- @keyframes pulse-node {
776
- 0% { transform: scale(0.9); opacity: 0.35; }
777
- 70% { transform: scale(1.6); opacity: 0; }
778
- 100% { transform: scale(0.9); opacity: 0; }
779
- }
780
-
781
- .card-meta {
782
- font-family: var(--font-mono);
783
- font-size: 0.65rem;
784
- color: var(--text-muted);
785
- margin-top: 6px;
786
- display: block;
787
- text-transform: uppercase;
788
- }
789
-
790
- .button-row {
791
- display: grid;
792
- grid-template-columns: 1fr 1fr;
793
- gap: 10px;
794
- }
795
-
796
- .secondary-btn {
797
- background: rgba(57, 255, 20, 0.04) !important;
798
- border: 1px solid var(--green) !important;
799
- color: var(--green) !important;
800
- }
801
-
802
- .secondary-btn:hover {
803
- background: rgba(57, 255, 20, 0.12) !important;
804
- box-shadow: 0 0 20px var(--green-glow) !important;
805
- }
806
-
807
-
808
- /* SPA Multi-Page Styling */
809
- .page-container {
810
- display: none;
811
- opacity: 0;
812
- transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
813
- animation: fade-in 0.4s forwards;
814
- padding: 1.5rem 2.5rem;
815
- flex: 1;
816
- z-index: 5;
817
- position: relative;
818
- }
819
-
820
- .page-container.active {
821
- display: block;
822
- opacity: 1;
823
- }
824
-
825
- @keyframes fade-in {
826
- from { opacity: 0; transform: translateY(8px); }
827
- to { opacity: 1; transform: translateY(0); }
828
- }
829
-
830
- /* Nav Links in Header */
831
- .nav-links {
832
- display: flex;
833
- gap: 1.25rem;
834
- background: rgba(255, 255, 255, 0.03);
835
- border: 1px solid rgba(255, 255, 255, 0.06);
836
- padding: 4px;
837
- border-radius: 8px;
838
- }
839
-
840
- .nav-btn {
841
- background: transparent;
842
- border: none;
843
- color: var(--text-muted);
844
- font-family: var(--font-display);
845
- font-size: 0.85rem;
846
- font-weight: 600;
847
- letter-spacing: 1px;
848
- padding: 8px 16px;
849
- cursor: pointer;
850
- border-radius: 6px;
851
- transition: color 0.3s, background 0.3s, box-shadow 0.3s;
852
- }
853
-
854
- .nav-btn:hover {
855
- color: var(--cyan);
856
- background: rgba(255, 255, 255, 0.02);
857
- }
858
-
859
- .nav-btn.active {
860
- color: var(--bg-void);
861
- background: var(--cyan);
862
- box-shadow: 0 0 15px var(--cyan-glow);
863
- }
864
-
865
- /* Hero Section */
866
- .hero-section {
867
- display: grid;
868
- grid-template-columns: 1.2fr 0.8fr;
869
- gap: 2rem;
870
- align-items: center;
871
- padding: 3rem 0;
872
- }
873
-
874
- @media (max-width: 900px) {
875
- .hero-section {
876
- grid-template-columns: 1fr;
877
- }
878
- }
879
-
880
- .hero-content {
881
- display: flex;
882
- flex-direction: column;
883
- gap: 1.5rem;
884
- }
885
-
886
- .hero-title {
887
- font-family: var(--font-display);
888
- font-size: 3rem;
889
- font-weight: 800;
890
- letter-spacing: 2px;
891
- line-height: 1.1;
892
- background: linear-gradient(135deg, #FFF 40%, var(--cyan) 100%);
893
- -webkit-background-clip: text;
894
- -webkit-text-fill-color: transparent;
895
- text-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
896
- }
897
-
898
- .hero-subtitle {
899
- font-size: 1.1rem;
900
- color: var(--text-muted);
901
- line-height: 1.6;
902
- }
903
-
904
- .hero-actions {
905
- display: flex;
906
- gap: 1rem;
907
- max-width: 400px;
908
- }
909
-
910
- .hero-stats-panel {
911
- display: flex;
912
- flex-direction: column;
913
- gap: 1rem;
914
- background: rgba(6, 10, 22, 0.6) !important;
915
- }
916
-
917
- .hero-stat-grid {
918
- display: grid;
919
- grid-template-columns: 1fr 1fr;
920
- gap: 1rem;
921
- }
922
-
923
- .hero-stat-card {
924
- background: rgba(0, 0, 0, 0.25);
925
- border: 1px solid rgba(255, 255, 255, 0.05);
926
- padding: 1.2rem;
927
- border-radius: 8px;
928
- display: flex;
929
- flex-direction: column;
930
- gap: 4px;
931
- }
932
-
933
- .h-stat-label {
934
- font-size: 0.75rem;
935
- font-family: var(--font-mono);
936
- color: var(--text-muted);
937
- text-transform: uppercase;
938
- }
939
-
940
- .h-stat-value {
941
- font-size: 1.8rem;
942
- font-family: var(--font-display);
943
- font-weight: 800;
944
- color: #FFF;
945
- }
946
-
947
- /* Features Grid */
948
- .features-section {
949
- padding: 2rem 0;
950
- }
951
-
952
- .section-title {
953
- font-family: var(--font-display);
954
- font-size: 1.4rem;
955
- font-weight: 700;
956
- letter-spacing: 1.5px;
957
- margin-bottom: 2rem;
958
- color: #FFF;
959
- border-left: 3px solid var(--cyan);
960
- padding-left: 10px;
961
- }
962
-
963
- .features-grid {
964
- display: grid;
965
- grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
966
- gap: 1.5rem;
967
- }
968
-
969
- .feature-card {
970
- display: flex;
971
- flex-direction: column;
972
- gap: 1rem;
973
- transition: transform 0.3s;
974
- }
975
-
976
- .feature-card:hover {
977
- transform: translateY(-4px);
978
- }
979
-
980
- .feature-icon {
981
- font-size: 2rem;
982
- font-weight: 800;
983
- color: rgba(0, 240, 255, 0.25);
984
- text-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
985
- }
986
-
987
- .feature-name {
988
- font-family: var(--font-display);
989
- font-size: 1.05rem;
990
- font-weight: 600;
991
- color: var(--cyan);
992
- }
993
-
994
- .feature-desc {
995
- font-size: 0.85rem;
996
- color: var(--text-muted);
997
- line-height: 1.6;
998
- }
999
-
1000
- /* Page Headers */
1001
- .page-header-section {
1002
- padding: 2rem 0 1rem 0;
1003
- }
1004
-
1005
- .section-subtitle {
1006
- font-size: 0.95rem;
1007
- color: var(--text-muted);
1008
- margin-top: 6px;
1009
- }
1010
-
1011
- /* News Page Styling */
1012
- .news-grid {
1013
- display: grid;
1014
- grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
1015
- gap: 1.5rem;
1016
- padding: 1.5rem 0;
1017
- }
1018
-
1019
- .news-card {
1020
- background: var(--bg-panel);
1021
- border: 1px solid var(--border-color);
1022
- border-radius: 12px;
1023
- padding: 1.5rem;
1024
- backdrop-filter: blur(16px);
1025
- display: flex;
1026
- flex-direction: column;
1027
- gap: 1rem;
1028
- transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
1029
- }
1030
-
1031
- .news-card:hover {
1032
- transform: translateY(-3px);
1033
- border-color: var(--border-hover);
1034
- box-shadow: 0 8px 32px 0 rgba(0, 240, 255, 0.05);
1035
- }
1036
-
1037
- .news-card-header {
1038
- display: flex;
1039
- justify-content: space-between;
1040
- align-items: center;
1041
- }
1042
-
1043
- .news-source {
1044
- font-family: var(--font-mono);
1045
- font-size: 0.75rem;
1046
- background: rgba(0, 240, 255, 0.08);
1047
- color: var(--cyan);
1048
- padding: 2px 8px;
1049
- border-radius: 4px;
1050
- border: 1px solid rgba(0, 240, 255, 0.2);
1051
- }
1052
-
1053
- .news-date {
1054
- font-family: var(--font-mono);
1055
- font-size: 0.75rem;
1056
- color: var(--text-muted);
1057
- }
1058
-
1059
- .news-title {
1060
- font-family: var(--font-display);
1061
- font-size: 1.1rem;
1062
- font-weight: 600;
1063
- color: #FFF;
1064
- line-height: 1.4;
1065
- }
1066
-
1067
- .news-summary {
1068
- font-size: 0.85rem;
1069
- color: var(--text-muted);
1070
- line-height: 1.6;
1071
- }
1072
-
1073
- .news-link {
1074
- margin-top: auto;
1075
- display: inline-flex;
1076
- align-items: center;
1077
- color: var(--cyan);
1078
- text-decoration: none;
1079
- font-family: var(--font-mono);
1080
- font-size: 0.8rem;
1081
- font-weight: bold;
1082
- gap: 6px;
1083
- transition: gap 0.2s;
1084
- }
1085
-
1086
- .news-link:hover {
1087
- gap: 10px;
1088
- }
1089
-
1090
- .loading-news, .loading-alerts {
1091
- grid-column: 1 / -1;
1092
- text-align: center;
1093
- padding: 3rem;
1094
- color: var(--text-muted);
1095
- font-family: var(--font-mono);
1096
- font-size: 0.9rem;
1097
- }
1098
-
1099
- /* Alerts Page Styling */
1100
- .alerts-summary {
1101
- margin-top: 1.5rem;
1102
- }
1103
-
1104
- .alerts-list-group {
1105
- display: flex;
1106
- flex-direction: column;
1107
- gap: 1rem;
1108
- }
1109
-
1110
- .alert-row {
1111
- display: grid;
1112
- grid-template-columns: 120px 180px 100px 1fr;
1113
- gap: 1rem;
1114
- align-items: center;
1115
- background: rgba(0, 0, 0, 0.2);
1116
- border: 1px solid rgba(255, 255, 255, 0.04);
1117
- padding: 1rem 1.5rem;
1118
- border-radius: 8px;
1119
- transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
1120
- cursor: pointer;
1121
- }
1122
-
1123
- .autopilot-row {
1124
- grid-template-columns: 60px 180px 100px 1fr !important;
1125
- }
1126
-
1127
- .alert-row:hover {
1128
- background: rgba(0, 240, 255, 0.04) !important;
1129
- border-color: var(--cyan) !important;
1130
- box-shadow: 0 0 15px rgba(0, 240, 255, 0.1) !important;
1131
- transform: translateX(6px);
1132
- }
1133
-
1134
- .alert-date {
1135
- font-family: var(--font-mono);
1136
- font-size: 0.85rem;
1137
- color: var(--text-muted);
1138
- }
1139
-
1140
- .alert-location {
1141
- font-family: var(--font-display);
1142
- font-weight: 600;
1143
- color: #FFF;
1144
- }
1145
-
1146
- .alert-badge {
1147
- font-family: var(--font-mono);
1148
- font-size: 0.75rem;
1149
- font-weight: bold;
1150
- padding: 3px 8px;
1151
- border-radius: 4px;
1152
- text-align: center;
1153
- }
1154
-
1155
- .alert-badge.critical {
1156
- background: rgba(255, 0, 85, 0.12);
1157
- color: var(--red);
1158
- border: 1px solid var(--red);
1159
- box-shadow: 0 0 10px rgba(255, 0, 85, 0.1);
1160
- }
1161
-
1162
- .alert-badge.warning {
1163
- background: rgba(255, 230, 0, 0.12);
1164
- color: var(--yellow);
1165
- border: 1px solid var(--yellow);
1166
- box-shadow: 0 0 10px rgba(255, 230, 0, 0.1);
1167
- }
1168
-
1169
- .alert-desc {
1170
- font-size: 0.85rem;
1171
- color: var(--text-muted);
1172
- }
1173
-
1174
- /* ==========================================
1175
- CUSTOM CYBER HUD CURSOR & INTERACTIVITY
1176
- ========================================== */
1177
- #cursor-dot,
1178
- #cursor-ring {
1179
- position: fixed;
1180
- top: 0;
1181
- left: 0;
1182
- pointer-events: none;
1183
- z-index: 10000;
1184
- border-radius: 50%;
1185
- display: none;
1186
- backface-visibility: hidden;
1187
- }
1188
-
1189
- #cursor-dot {
1190
- width: 6px;
1191
- height: 6px;
1192
- background: var(--cyan);
1193
- box-shadow: 0 0 10px var(--cyan);
1194
- }
1195
-
1196
- #cursor-ring {
1197
- width: 40px;
1198
- height: 40px;
1199
- border: 1px solid var(--border-hover);
1200
- transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1),
1201
- height 0.25s cubic-bezier(0.25, 1, 0.5, 1),
1202
- border-color 0.25s ease,
1203
- background 0.25s ease;
1204
- }
1205
-
1206
- /* Hover state on buttons/interactive elements */
1207
- #cursor-ring.hover-state {
1208
- width: 55px;
1209
- height: 55px;
1210
- border-color: var(--cyan);
1211
- background: rgba(0, 240, 255, 0.04);
1212
- box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
1213
- }
1214
-
1215
- @media (pointer: coarse) {
1216
- #cursor-dot,
1217
- #cursor-ring {
1218
- display: none !important;
1219
- }
1220
- * {
1221
- cursor: auto !important;
1222
- }
1223
- }
1224
-
1225
- /* Hide default cursor on desktops for the custom cursor feel */
1226
- @media (pointer: fine) {
1227
- body, a, button, select, input, [role="button"], .leaflet-interactive {
1228
- cursor: none !important;
1229
- }
1230
- }
1231
-
1232
- /* ==========================================
1233
- RADAR SWEEP EFFECT (ON MAP OVERLAY)
1234
- ========================================== */
1235
- .map-container {
1236
- position: relative;
1237
- }
1238
-
1239
- .map-container::after {
1240
- content: '';
1241
- position: absolute;
1242
- inset: 0;
1243
- pointer-events: none;
1244
- z-index: 1000;
1245
- background: conic-gradient(from 0deg at 50% 50%, rgba(0, 240, 255, 0.08) 0deg, transparent 90deg, transparent 360deg);
1246
- animation: radar-sweep 8s linear infinite;
1247
- opacity: 0.7;
1248
- border-radius: 8px;
1249
- mix-blend-mode: screen;
1250
- }
1251
-
1252
- @keyframes radar-sweep {
1253
- from {
1254
- transform: rotate(0deg);
1255
- }
1256
- to {
1257
- transform: rotate(360deg);
1258
- }
1259
- }
1260
-
1261
- /* ==========================================
1262
- AMBIENT GLOWS & GLASSMORPHISM UPGRADES
1263
- ========================================== */
1264
- body::before {
1265
- content: '';
1266
- position: fixed;
1267
- top: -10%;
1268
- left: -10%;
1269
- width: 50%;
1270
- height: 50%;
1271
- background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
1272
- z-index: 0;
1273
- pointer-events: none;
1274
- }
1275
-
1276
- body::after {
1277
- content: '';
1278
- position: fixed;
1279
- bottom: -10%;
1280
- right: -10%;
1281
- width: 60%;
1282
- height: 60%;
1283
- background: radial-gradient(circle, rgba(0, 102, 255, 0.04) 0%, transparent 70%);
1284
- z-index: 0;
1285
- pointer-events: none;
1286
- }
1287
-
1288
- /* Neon glow for progress bars */
1289
- .progress-bar-fill.organic {
1290
- box-shadow: 0 0 8px var(--green-glow);
1291
- }
1292
- .progress-bar-fill.plastic {
1293
- box-shadow: 0 0 8px var(--cyan-glow);
1294
- }
1295
- .progress-bar-fill.paper {
1296
- box-shadow: 0 0 8px var(--yellow-glow);
1297
- }
1298
- .progress-bar-fill.glass {
1299
- box-shadow: 0 0 8px rgba(0, 240, 255, 0.25);
1300
- }
1301
- .progress-bar-fill.textile {
1302
- box-shadow: 0 0 8px rgba(255, 0, 85, 0.25);
1303
- }
1304
- .progress-bar-fill.metal {
1305
- box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
1306
- }
1307
-
1308
- /* Logo Reflective Polish */
1309
- .logo-text {
1310
- position: relative;
1311
- -webkit-box-reflect: below -4px linear-gradient(transparent, rgba(255, 255, 255, 0.08));
1312
- }
1313
-
1314
- /* ==========================================
1315
- DEVELOPMENT TEAM STYLING
1316
- ========================================== */
1317
- .developers-section {
1318
- padding: 2.5rem 0;
1319
- margin-top: 3.5rem;
1320
- border-top: 1px solid rgba(255, 255, 255, 0.05);
1321
- }
1322
-
1323
- .developers-grid {
1324
- display: grid;
1325
- grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
1326
- gap: 1.5rem;
1327
- margin-top: 1.5rem;
1328
- }
1329
-
1330
- .developer-card {
1331
- position: relative;
1332
- background: rgba(6, 10, 22, 0.5) !important;
1333
- border: 1px solid var(--border-color) !important;
1334
- border-radius: 12px;
1335
- padding: 2.2rem;
1336
- text-align: center;
1337
- transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
1338
- overflow: hidden;
1339
- backdrop-filter: blur(16px);
1340
- }
1341
-
1342
- .developer-card::before {
1343
- content: '';
1344
- position: absolute;
1345
- top: 0;
1346
- left: 0;
1347
- right: 0;
1348
- height: 3px;
1349
- background: linear-gradient(90deg, transparent, var(--cyan), transparent);
1350
- opacity: 0.7;
1351
- }
1352
-
1353
- .developer-card:hover {
1354
- transform: translateY(-6px);
1355
- border-color: var(--cyan) !important;
1356
- box-shadow: 0 10px 25px rgba(0, 240, 255, 0.15) !important;
1357
- }
1358
-
1359
- .dev-role {
1360
- font-size: 0.75rem;
1361
- text-transform: uppercase;
1362
- letter-spacing: 2px;
1363
- color: var(--cyan);
1364
- font-weight: 700;
1365
- margin-bottom: 0.6rem;
1366
- font-family: var(--font-mono);
1367
- }
1368
-
1369
- .dev-name {
1370
- font-size: 1.25rem;
1371
- color: #FFF;
1372
- font-weight: 800;
1373
- margin-bottom: 0.8rem;
1374
- font-family: var(--font-display);
1375
- text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
1376
- }
1377
-
1378
- .dev-desc {
1379
- font-size: 0.82rem;
1380
- color: var(--text-muted);
1381
- line-height: 1.6;
1382
- }
1383
-
1384
- /* ==========================================
1385
- COMPREHENSIVE LAYOUT RESPONSIVENESS
1386
- ========================================== */
1387
- @media (max-width: 1200px) {
1388
- .dashboard-grid {
1389
- display: flex !important;
1390
- flex-direction: column !important;
1391
- height: auto !important;
1392
- overflow: visible !important;
1393
- gap: 1.5rem !important;
1394
- }
1395
- /* Smart re-ordering for mobile: Show Map & Stats first, then Config Panel, then Charts */
1396
- .map-and-stats {
1397
- order: -1 !important;
1398
- }
1399
- .control-panel {
1400
- order: 0 !important;
1401
- }
1402
- .analysis-panel {
1403
- order: 1 !important;
1404
- }
1405
- .page-container {
1406
- height: auto !important;
1407
- overflow: visible !important;
1408
- }
1409
- }
1410
-
1411
- @media (max-width: 992px) {
1412
- .autopilot-grid {
1413
- grid-template-columns: 1fr !important;
1414
- gap: 1.5rem !important;
1415
- }
1416
- .hero-section {
1417
- grid-template-columns: 1fr !important;
1418
- text-align: center;
1419
- }
1420
- .hero-actions {
1421
- justify-content: center;
1422
- margin: 0 auto;
1423
- }
1424
- }
1425
-
1426
- @media (max-width: 768px) {
1427
- header {
1428
- flex-direction: column !important;
1429
- gap: 1.2rem !important;
1430
- padding: 1.2rem 1.5rem !important;
1431
- text-align: center;
1432
- }
1433
- .logo-container {
1434
- justify-content: center;
1435
- flex-wrap: wrap;
1436
- }
1437
- /* Sleek Equal-width Segmented Tab-bar on Mobile */
1438
- .nav-links {
1439
- display: grid !important;
1440
- grid-template-columns: repeat(3, 1fr) !important;
1441
- gap: 0.5rem !important;
1442
- width: 100% !important;
1443
- background: rgba(0, 0, 0, 0.4);
1444
- padding: 4px;
1445
- border-radius: 8px;
1446
- border: 1px solid rgba(255, 255, 255, 0.05);
1447
- }
1448
- .nav-btn {
1449
- width: 100% !important;
1450
- padding: 8px 4px !important;
1451
- font-size: 0.72rem !important;
1452
- text-align: center !important;
1453
- justify-content: center !important;
1454
- margin: 0 !important;
1455
- }
1456
- .system-status {
1457
- justify-content: center;
1458
- width: 100%;
1459
- margin-top: 0.2rem;
1460
- }
1461
- .page-container {
1462
- padding: 1rem 1.2rem !important;
1463
- }
1464
- .stats-row {
1465
- grid-template-columns: 1fr !important;
1466
- gap: 1rem !important;
1467
- }
1468
- .hero-stat-grid {
1469
- grid-template-columns: 1fr !important;
1470
- }
1471
- .hero-title {
1472
- font-size: 2.2rem !important;
1473
- }
1474
- .hero-subtitle {
1475
- font-size: 0.95rem !important;
1476
- }
1477
- .map-panel {
1478
- height: 350px !important;
1479
- }
1480
- .logistics-grid {
1481
- grid-template-columns: 1fr !important;
1482
- }
1483
- /* Stack progress bars in 1 column to prevent text clipping */
1484
- .progress-container {
1485
- grid-template-columns: 1fr !important;
1486
- gap: 1rem !important;
1487
- }
1488
- /* Flex stack alerts to fit narrow viewports beautifully */
1489
- .alert-row, .autopilot-row {
1490
- display: flex !important;
1491
- flex-direction: column !important;
1492
- align-items: flex-start !important;
1493
- gap: 0.5rem !important;
1494
- padding: 1rem 1.2rem !important;
1495
- }
1496
- .alert-row > *, .autopilot-row > * {
1497
- width: auto !important;
1498
- margin: 0 !important;
1499
- text-align: left !important;
1500
- }
1501
- .alert-desc, .alert-location {
1502
- font-size: 0.8rem !important;
1503
- word-break: break-word !important;
1504
- line-height: 1.4 !important;
1505
- }
1506
- .alert-badge {
1507
- align-self: flex-start !important;
1508
- }
1509
- }
1510
-
1511
- @media (max-width: 480px) {
1512
- .logo-text {
1513
- font-size: 1.5rem !important;
1514
- }
1515
- .nav-btn {
1516
- font-size: 0.68rem !important;
1517
- padding: 6px 2px !important;
1518
- }
1519
- .section-title {
1520
- font-size: 1.2rem !important;
1521
- }
1522
- .developer-card {
1523
- padding: 1.5rem !important;
1524
- }
1525
- }
1526
-
1527
-
1528
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
frontend/vercel.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "cleanUrls": true,
3
- "rewrites": [
4
- { "source": "/api/(.*)", "destination": "https://alamdieng-waste-prediction-api.hf.space/api/$1" }
5
- ]
6
- }
 
 
 
 
 
 
 
generate_localized_dataset.py DELETED
@@ -1,138 +0,0 @@
1
- import pandas as pd
2
- import numpy as np
3
-
4
- def generate_local_data():
5
- print("Starting localized dataset generation...")
6
-
7
- # Load original dataset
8
- try:
9
- df_global = pd.read_csv("dataset_vibe_coder_2026.csv")
10
- except Exception as e:
11
- print(f"Error loading dataset: {e}")
12
- return
13
-
14
- # Ensure chronological order
15
- df_global['TANGGAL'] = pd.to_datetime(df_global['TANGGAL'])
16
- df_global = df_global.sort_values('TANGGAL').reset_index(drop=True)
17
-
18
- # Add lag features on global level (weather is shared across Jakarta)
19
- df_global['Rain_Lag_1'] = df_global['RR'].shift(1).fillna(0.0)
20
- df_global['Rain_Lag_2'] = df_global['RR'].shift(2).fillna(0.0)
21
-
22
- # Holiday checker for major Indonesian holidays in 2026
23
- def get_holiday_flag(date_obj):
24
- m, d = date_obj.month, date_obj.day
25
- # Specific holiday dates in 2026
26
- holidays = {
27
- (1, 1), # New Year
28
- (2, 17), # Imlek
29
- (3, 18), # Nyepi
30
- (3, 19), # Eid al-Fitr Day 1
31
- (3, 20), # Eid al-Fitr Day 2
32
- (4, 3), # Good Friday
33
- (5, 1), # Labor Day
34
- (5, 14), # Ascension Day
35
- (5, 27), # Eid al-Adha Day 1
36
- (5, 28), # Eid al-Adha Day 2
37
- (5, 31), # Waisak
38
- (6, 16), # Islamic New Year
39
- (8, 17), # Independence Day
40
- (8, 25), # Prophet Birthday
41
- (12, 25) # Christmas
42
- }
43
- # Eid al-Fitr mudik window: March 15 to March 26
44
- if m == 3 and (15 <= d <= 26):
45
- return 1
46
- if (m, d) in holidays:
47
- return 1
48
- return 0
49
-
50
- df_global['Is_Holiday'] = df_global['TANGGAL'].apply(get_holiday_flag)
51
- df_global['Hari_Dalam_Minggu'] = df_global['TANGGAL'].dt.dayofweek
52
- df_global['Bulan'] = df_global['TANGGAL'].dt.month
53
-
54
- local_rows = []
55
- for idx, row in df_global.iterrows():
56
- date_str = row['TANGGAL'].strftime("%Y-%m-%d")
57
- global_vol = row['Volume_Total_Ton']
58
- rr = row['RR']
59
- rain_lag1 = row['Rain_Lag_1']
60
- rain_lag2 = row['Rain_Lag_2']
61
- is_holiday = row['Is_Holiday']
62
- ada_event = row['Ada_Event']
63
- crowd_scale = row['Crowd_Scale']
64
- hari_ke = row['Hari_Ke']
65
- is_weekend = row['Is_Weekend']
66
- hari_dalam_minggu = row['Hari_Dalam_Minggu']
67
- bulan = row['Bulan']
68
-
69
- # Apply Lebaran mudik population drop factor
70
- # If inside March Lebaran window, drop global base volume by 35%
71
- vol_scale = global_vol
72
- if is_holiday == 1 and row['TANGGAL'].month == 3:
73
- vol_scale = global_vol * 0.65
74
-
75
- # JIS (North Jakarta)
76
- # Base volume: ~120 tons average
77
- jis_vol = vol_scale * (120.0 / 7700.0)
78
- # Event spikes at Stadium
79
- if ada_event == 1:
80
- jis_vol += crowd_scale * 15.0
81
- # Weekend recreation factor
82
- if is_weekend == 1:
83
- jis_vol *= 1.05
84
- local_rows.append({
85
- 'Tanggal': date_str, 'Location': 'JIS', 'Volume_Ton': jis_vol,
86
- 'RR': rr, 'Rain_Lag_1': rain_lag1, 'Rain_Lag_2': rain_lag2,
87
- 'Is_Holiday': is_holiday, 'Ada_Event': ada_event, 'Crowd_Scale': crowd_scale,
88
- 'Hari_Ke': hari_ke, 'Is_Weekend': is_weekend, 'Hari_Dalam_Minggu': hari_dalam_minggu, 'Bulan': bulan
89
- })
90
-
91
- # GBK (Central/South)
92
- # Base volume: ~85 tons average
93
- gbk_vol = vol_scale * (85.0 / 7700.0)
94
- # Event spikes at Stadium
95
- if ada_event == 1:
96
- gbk_vol += crowd_scale * 12.0
97
- # Weekend public sports factor
98
- if is_weekend == 1:
99
- gbk_vol *= 1.15
100
- local_rows.append({
101
- 'Tanggal': date_str, 'Location': 'GBK', 'Volume_Ton': gbk_vol,
102
- 'RR': rr, 'Rain_Lag_1': rain_lag1, 'Rain_Lag_2': rain_lag2,
103
- 'Is_Holiday': is_holiday, 'Ada_Event': ada_event, 'Crowd_Scale': crowd_scale,
104
- 'Hari_Ke': hari_ke, 'Is_Weekend': is_weekend, 'Hari_Dalam_Minggu': hari_dalam_minggu, 'Bulan': bulan
105
- })
106
-
107
- # Pasar Senen (Central)
108
- # Base volume: ~45 tons average
109
- senen_vol = vol_scale * (45.0 / 7700.0)
110
- # Weekday market commerce factor
111
- if is_weekend == 0:
112
- senen_vol *= 1.10
113
- local_rows.append({
114
- 'Tanggal': date_str, 'Location': 'Pasar Senen', 'Volume_Ton': senen_vol,
115
- 'RR': rr, 'Rain_Lag_1': rain_lag1, 'Rain_Lag_2': rain_lag2,
116
- 'Is_Holiday': is_holiday, 'Ada_Event': 0, 'Crowd_Scale': 0,
117
- 'Hari_Ke': hari_ke, 'Is_Weekend': is_weekend, 'Hari_Dalam_Minggu': hari_dalam_minggu, 'Bulan': bulan
118
- })
119
-
120
- # Gang Sempit Tambora (West)
121
- # Base volume: ~8.5 tons average
122
- tambora_vol = vol_scale * (8.5 / 7700.0)
123
- # Hujan block factor (heavy rain delays alley collection)
124
- if rr > 20:
125
- tambora_vol *= 0.75
126
- local_rows.append({
127
- 'Tanggal': date_str, 'Location': 'Gang Sempit Tambora', 'Volume_Ton': tambora_vol,
128
- 'RR': rr, 'Rain_Lag_1': rain_lag1, 'Rain_Lag_2': rain_lag2,
129
- 'Is_Holiday': is_holiday, 'Ada_Event': 0, 'Crowd_Scale': 0,
130
- 'Hari_Ke': hari_ke, 'Is_Weekend': is_weekend, 'Hari_Dalam_Minggu': hari_dalam_minggu, 'Bulan': bulan
131
- })
132
-
133
- df_local = pd.DataFrame(local_rows)
134
- df_local.to_csv("dataset_local_2026.csv", index=False)
135
- print("dataset_local_2026.csv generated successfully with 1460 rows!")
136
-
137
- if __name__ == "__main__":
138
- generate_local_data()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
latest_waste_news.json DELETED
@@ -1,72 +0,0 @@
1
- [
2
- {
3
- "title": "DLH DKI Jakarta Wajibkan Pemilahan Sampah Rumah Tangga Mulai 1 Agustus 2026",
4
- "source": "Kompas.com",
5
- "url": "https://megapolitan.kompas.com/read/2026/07/12/dlh-dki-wajibkan-pemilahan-sampah-rumah-tangga",
6
- "date_fetched": "2026-07-12",
7
- "summary": "Dinas Lingkungan Hidup DKI Jakarta resmi mensosialisasikan Instruksi Gubernur No. 5 Tahun 2026 tentang kewajiban pilah sampah dari rumah guna mengurangi pasokan sampah ke TPST Bantargebang per 1 Agustus 2026."
8
- },
9
- {
10
- "title": "Antisipasi Pembatasan Bantargebang, Bank Sampah RW di Jakarta Timur Diaktifkan Kembali",
11
- "source": "Antara News",
12
- "url": "https://www.antaranews.com/berita/2026/07/13/antisipasi-pembatasan-bantargebang-bank-sampah-rw-di-jakarta-timur",
13
- "date_fetched": "2026-07-13",
14
- "summary": "Suku Dinas Lingkungan Hidup Jakarta Timur mengaktifkan kembali ratusan Bank Sampah tingkat RW untuk membantu pemilahan sampah anorganik bernilai ekonomis tinggi dari warga."
15
- },
16
- {
17
- "title": "Pemprov DKI Rilis Aturan Pengangkutan Sampah Terjadwal Berdasarkan Kategori",
18
- "source": "Detik.com",
19
- "url": "https://news.detik.com/berita/2026/07/11/pemprov-dki-rilis-aturan-pengangkutan-sampah-terjadwal",
20
- "date_fetched": "2026-07-11",
21
- "summary": "Dinas Lingkungan Hidup DKI Jakarta menetapkan jadwal pengangkutan terpisah untuk sampah organik, anorganik residu, dan sampah B3 rumah tangga mulai pertengahan Juli 2026."
22
- },
23
- {
24
- "title": "Tekan Sampah Organik Harian, Pemkot Jakarta Pusat Galakkan Gerakan Biopori Jumbo",
25
- "source": "Jakarta.go.id",
26
- "url": "https://jakarta.go.id/berita/pemkot-jakpus-galakkan-gerakan-biopori-jumbo",
27
- "date_fetched": "2026-07-14",
28
- "summary": "Pemerintah Kota Jakarta Pusat menginstruksikan pembuatan lubang biopori berukuran besar di area perkantoran dan pemukiman padat guna mereduksi volume sampah sisa makanan harian."
29
- },
30
- {
31
- "title": "Jakarta Eco Future Fest (JEFF) 2026 Edukasi Warga Soal Aksi Nyata Kelola Sampah",
32
- "source": "MetroTV News",
33
- "url": "https://www.metrotvnews.com/read/2026/07/10/jakarta-eco-future-fest-jeff-2026",
34
- "date_fetched": "2026-07-10",
35
- "summary": "Festival ramah lingkungan JEFF 2026 sukses digelar di Senayan, menghadirkan ribuan warga untuk belajar daur ulang plastik dan pemilahan sampah tingkat rumah tangga secara interaktif."
36
- },
37
- {
38
- "title": "TPST Bantargebang Hanya Terima Sampah Residu Mulai Agustus 2026, DLH Mulai Uji Coba Pengangkutan",
39
- "source": "Kompas.com",
40
- "url": "https://megapolitan.kompas.com/read/2026/07/09/tpst-bantargebang-hanya-terima-sampah-residu",
41
- "date_fetched": "2026-07-09",
42
- "summary": "DLH DKI Jakarta memulai uji coba pengangkutan logistik sampah terpilah di beberapa kecamatan percontohan untuk memastikan kesiapan sistem sebelum larangan sampah non-residu di Bantargebang resmi berlaku."
43
- },
44
- {
45
- "title": "Evaluasi Penanganan Sampah, Lurah dan Camat Diminta Turun Langsung ke TPS 3R",
46
- "source": "Jakarta.go.id",
47
- "url": "https://jakarta.go.id/berita/evaluasi-penanganan-sampah-lurah-camat-tps3r",
48
- "date_fetched": "2026-07-08",
49
- "summary": "Penjabat Gubernur DKI Jakarta meminta jajaran lurah dan camat untuk melakukan pemantauan harian di Tempat Pengolahan Sampah 3R (Reduce, Reuse, Recycle) wilayah masing-masing demi meminimalkan keterlambatan pengangkutan."
50
- },
51
- {
52
- "title": "Sanksi Retribusi Sampah Mulai Disosialisasikan Bagi Kawasan Komersial yang Tidak Memilah",
53
- "source": "Detik.com",
54
- "url": "https://news.detik.com/berita/2026/07/07/sanksi-retribusi-sampah-mulai-disosialisasikan",
55
- "date_fetched": "2026-07-07",
56
- "summary": "Dinas Lingkungan Hidup menegaskan kawasan komersial dan apartemen yang tidak memilah sampahnya per Juli 2026 akan dikenakan tarif retribusi kebersihan maksimal atau pembekuan izin pengelolaan."
57
- },
58
- {
59
- "title": "Layanan Jemput Sampah Elektronik (E-Waste) DKI Jakarta Mengalami Kenaikan Permintaan",
60
- "source": "Antara News",
61
- "url": "https://www.antaranews.com/berita/2026/07/12/layanan-jemput-sampah-elektronik-e-waste-dki-jakarta",
62
- "date_fetched": "2026-07-12",
63
- "summary": "Program penjemputan gratis sampah elektronik dari rumah tangga oleh DLH DKI Jakarta mencatatkan kenaikan permintaan hingga 25% di awal bulan Juli 2026 seiring meningkatnya kesadaran warga."
64
- },
65
- {
66
- "title": "Kampanye Bulky Waste: Penjemputan Sampah Besar di Jakarta Kini Bisa Melalui Aplikasi JAKI",
67
- "source": "Jakarta.go.id",
68
- "url": "https://jakarta.go.id/berita/penjemputan-sampah-besar-jakarta-jaki",
69
- "date_fetched": "2026-07-13",
70
- "summary": "Warga DKI Jakarta kini dapat menjadwalkan penjemputan sampah berukuran besar seperti kasur bekas dan lemari melalui modul khusus di aplikasi JAKI guna mencegah sampah dibuang sembarangan ke bantaran sungai."
71
- }
72
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model_sampah_advanced.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9ef81504b813ec0801d37d86e68195c06dcad0562829c78599099e7c3cb94a8a
3
- size 145129
 
 
 
 
requirements.txt CHANGED
@@ -10,6 +10,5 @@ numpy
10
  torch
11
  transformers
12
  chronos-forecasting
13
- scikit-learn==1.8.0
14
- joblib
15
- httpx
 
10
  torch
11
  transformers
12
  chronos-forecasting
13
+ scikit-learn
14
+ joblib
 
scale_dataset.py DELETED
@@ -1,27 +0,0 @@
1
- import pandas as pd
2
- import numpy as np
3
-
4
- # Load dataset
5
- df = pd.read_csv("dataset_vibe_coder_2026.csv")
6
-
7
- print("Original Stats:")
8
- print(df[["Volume_Total_Ton", "Vol_Sisa_Makanan_Ton", "Vol_Plastik_Ton"]].describe())
9
-
10
- # Scale values to match DKI Jakarta daily average (~7,700 tons/day)
11
- # original mean is ~1,100 tons/day, so we scale by ~7
12
- scale_factor = 7.0
13
-
14
- df["Volume_Total_Ton"] = (df["Volume_Total_Ton"] * scale_factor).round(2)
15
-
16
- # Organic/Food waste (Sisa Makanan) is ~49.87% of total
17
- df["Vol_Sisa_Makanan_Ton"] = (df["Volume_Total_Ton"] * 0.4987).round(2)
18
-
19
- # Plastic waste is ~22.95% of total
20
- df["Vol_Plastik_Ton"] = (df["Volume_Total_Ton"] * 0.2295).round(2)
21
-
22
- # Save the scaled dataset
23
- df.to_csv("dataset_vibe_coder_2026.csv", index=False)
24
-
25
- print("\nScaled Stats:")
26
- print(df[["Volume_Total_Ton", "Vol_Sisa_Makanan_Ton", "Vol_Plastik_Ton"]].describe())
27
- print("\nDataset successfully scaled to DKI Jakarta Province scale!")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
train.py CHANGED
@@ -1,19 +1,12 @@
1
  import pandas as pd
2
  import numpy as np
3
  from sklearn.ensemble import GradientBoostingRegressor
4
- from sklearn.metrics import mean_squared_error, mean_absolute_error, r2_score, mean_absolute_percentage_error
5
- from sklearn.model_selection import GridSearchCV
6
  import joblib
7
- import sys
8
  import io
9
  import warnings
10
  warnings.filterwarnings('ignore')
11
 
12
- # Set standard output and standard error to UTF-8 to prevent Unicode encoding errors on Windows
13
- if sys.platform == 'win32':
14
- sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
15
- sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8')
16
-
17
  print("🚀 MEMULAI PROSES TRAINING AI LEVEL ADVANCED (ECO-TWIN PRO)...\n")
18
 
19
  # ==========================================
@@ -22,7 +15,7 @@ print("🚀 MEMULAI PROSES TRAINING AI LEVEL ADVANCED (ECO-TWIN PRO)...\n")
22
  print("📥 1. Menarik & Memproses Data Historis (2023 - 2024)...")
23
 
24
  # Baseline Sampah (Diambil dari SIPSN DKI 2025)
25
- base_sampah = 8020.0
26
  mrt_harian_avg = 85000
27
  hujan_mean = 10.5
28
 
@@ -62,9 +55,10 @@ df['Bulan'] = df['Tanggal'].dt.month
62
  df['Is_Weekend'] = df['Hari_Dalam_Minggu'].apply(lambda x: 1 if x >= 5 else 0)
63
 
64
  # Lag Features (Mengingat masa lalu)
 
65
  df['Hujan_Kemarin'] = df['Curah_Hujan_mm'].shift(1).fillna(0)
66
 
67
- # Target Variable Generation
68
  df['Volume_Sampah_Ton'] = base_sampah + \
69
  (df['Ada_Event'] * base_sampah * np.random.uniform(0.15, 0.30, size=len(df))) + \
70
  (df['Is_Weekend'] * base_sampah * 0.08) + \
@@ -94,78 +88,34 @@ train_size = int(len(df) * 0.75) # 75% data awal
94
  X_train, X_test = X.iloc[:train_size], X.iloc[train_size:]
95
  y_train, y_test = y.iloc[:train_size], y.iloc[train_size:]
96
 
97
- # Menggunakan Gradient Boosting Regressor (Baseline)
98
- print("⚙️ Melatih model Baseline...")
99
- base_model = GradientBoostingRegressor(
100
  n_estimators=200,
101
  learning_rate=0.1,
102
  max_depth=4,
103
  random_state=42
104
  )
105
- base_model.fit(X_train, y_train)
106
- pred_base = base_model.predict(X_test)
107
-
108
- # Hitung Metrics Baseline
109
- mae_base = mean_absolute_error(y_test, pred_base)
110
- rmse_base = mean_squared_error(y_test, pred_base) ** 0.5
111
- r2_base = r2_score(y_test, pred_base)
112
- mape_base = mean_absolute_percentage_error(y_test, pred_base) * 100
113
 
114
  # ==========================================
115
- # 4. HYPERPARAMETER TUNING (UPGRADE MODEL)
116
  # ==========================================
117
- print("\n⚙️ Melakukan Hyperparameter Tuning menggunakan GridSearchCV...")
118
- param_grid = {
119
- 'n_estimators': [100, 200, 300],
120
- 'learning_rate': [0.03, 0.05, 0.1, 0.15],
121
- 'max_depth': [3, 4, 5],
122
- 'subsample': [0.8, 0.9, 1.0]
123
- }
124
-
125
- grid_search = GridSearchCV(
126
- estimator=GradientBoostingRegressor(random_state=42),
127
- param_grid=param_grid,
128
- cv=3,
129
- scoring='neg_mean_absolute_error',
130
- n_jobs=-1,
131
- verbose=1
132
- )
133
- grid_search.fit(X_train, y_train)
134
-
135
- best_model = grid_search.best_estimator_
136
- pred_best = best_model.predict(X_test)
137
 
138
- # Hitung Metrics Upgraded Model
139
- mae_best = mean_absolute_error(y_test, pred_best)
140
- rmse_best = mean_squared_error(y_test, pred_best) ** 0.5
141
- r2_best = r2_score(y_test, pred_best)
142
- mape_best = mean_absolute_percentage_error(y_test, pred_best) * 100
143
-
144
- # ==========================================
145
- # 5. PERBANDINGAN METRICS (BUAT DIPAMERIN KE JURI)
146
- # ==========================================
147
- print("\n📊 HASIL EVALUASI & PERBANDINGAN METRICS:")
148
- print(f"┌─────────────────────────┬──────────────────────┬──────────────────────┬──────────────────────┐")
149
- print(f"│ Metric │ Baseline Model │ Upgraded Model │ Status │")
150
- print(f"├─────────────────────────┼──────────────────────┼──────────────────────┼──────────────────────┤")
151
- print(f"│ Mean Absolute Error │ {mae_base:16.2f} Ton │ {mae_best:16.2f} Ton │ {'Semakin Baik (⬇️)' if mae_best < mae_base else 'Sama/Stabil'} │")
152
- print(f"│ Root Mean Squared Error │ {rmse_base:16.2f} Ton │ {rmse_best:16.2f} Ton │ {'Semakin Baik (⬇️)' if rmse_best < rmse_base else 'Sama/Stabil'} │")
153
- print(f"│ R-Squared (R² Score) │ {r2_base*100:15.2f}% │ {r2_best*100:15.2f}% │ {'Semakin Baik (⬆️)' if r2_best > r2_base else 'Sama/Stabil'} │")
154
- print(f"│ MAPE (Error Persentase) │ {mape_base:15.2f}% │ {mape_best:15.2f}% │ {'Semakin Baik (⬇️)' if mape_best < mape_base else 'Sama/Stabil'} │")
155
- print(f"└─────────────────────────┴──────────────────────┴──────────────────────┴──────────────────────┘")
156
-
157
- print(f"\n⚙️ Hyperparameter Terbaik hasil tuning:")
158
- print(f" - n_estimators : {grid_search.best_params_['n_estimators']}")
159
- print(f" - learning_rate: {grid_search.best_params_['learning_rate']}")
160
- print(f" - max_depth : {grid_search.best_params_['max_depth']}")
161
- print(f" - subsample : {grid_search.best_params_['subsample']}")
162
 
163
  # Cek Fitur Paling Berpengaruh
164
- importances = best_model.feature_importances_
165
- print("\n🌟 FITUR PALING BERPENGARUH PADA TIMBULAN SAMPAH (UPGRADED):")
166
  for name, importance in zip(fitur, importances):
167
  print(f" - {name}: {importance*100:.1f}%")
168
 
169
- # Simpan Model Terbaik
170
- joblib.dump(best_model, 'model_sampah_advanced.pkl')
171
- print("\n💾 SUCCESS! 'model_sampah_advanced.pkl' berhasil di-generate menggunakan model hasil upgrade!")
 
1
  import pandas as pd
2
  import numpy as np
3
  from sklearn.ensemble import GradientBoostingRegressor
4
+ from sklearn.metrics import mean_squared_error, mean_absolute_error, r2_score
 
5
  import joblib
 
6
  import io
7
  import warnings
8
  warnings.filterwarnings('ignore')
9
 
 
 
 
 
 
10
  print("🚀 MEMULAI PROSES TRAINING AI LEVEL ADVANCED (ECO-TWIN PRO)...\n")
11
 
12
  # ==========================================
 
15
  print("📥 1. Menarik & Memproses Data Historis (2023 - 2024)...")
16
 
17
  # Baseline Sampah (Diambil dari SIPSN DKI 2025)
18
+ base_sampah = 1050.50
19
  mrt_harian_avg = 85000
20
  hujan_mean = 10.5
21
 
 
55
  df['Is_Weekend'] = df['Hari_Dalam_Minggu'].apply(lambda x: 1 if x >= 5 else 0)
56
 
57
  # Lag Features (Mengingat masa lalu)
58
+ # "Hujan kemarin bikin sampah hari ini lebih berat (menyerap air)"
59
  df['Hujan_Kemarin'] = df['Curah_Hujan_mm'].shift(1).fillna(0)
60
 
61
+ # Target Variable Generation (Rumus Super Kompleks)
62
  df['Volume_Sampah_Ton'] = base_sampah + \
63
  (df['Ada_Event'] * base_sampah * np.random.uniform(0.15, 0.30, size=len(df))) + \
64
  (df['Is_Weekend'] * base_sampah * 0.08) + \
 
88
  X_train, X_test = X.iloc[:train_size], X.iloc[train_size:]
89
  y_train, y_test = y.iloc[:train_size], y.iloc[train_size:]
90
 
91
+ # Menggunakan Gradient Boosting (State-of-the-Art)
92
+ model = GradientBoostingRegressor(
 
93
  n_estimators=200,
94
  learning_rate=0.1,
95
  max_depth=4,
96
  random_state=42
97
  )
98
+ model.fit(X_train, y_train)
 
 
 
 
 
 
 
99
 
100
  # ==========================================
101
+ # 4. EVALUASI AKURASI (BUAT DIPAMERIN KE JURI)
102
  # ==========================================
103
+ prediksi = model.predict(X_test)
104
+ rmse = mean_squared_error(y_test, prediksi) ** 0.5
105
+ mae = mean_absolute_error(y_test, prediksi)
106
+ r2 = r2_score(y_test, prediksi)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
 
108
+ print("\n📊 HASIL EVALUASI MODEL (METRICS):")
109
+ print(f" ✅ Root Mean Squared Error (RMSE) : {rmse:.2f} Ton")
110
+ print(f" ✅ Mean Absolute Error (MAE) : {mae:.2f} Ton")
111
+ print(f" ✅ R-Squared (R2 Score) : {r2 * 100:.2f}% (Tingkat Kepercayaan AI)")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
 
113
  # Cek Fitur Paling Berpengaruh
114
+ importances = model.feature_importances_
115
+ print("\n🌟 FITUR PALING BERPENGARUH PADA TIMBULAN SAMPAH:")
116
  for name, importance in zip(fitur, importances):
117
  print(f" - {name}: {importance*100:.1f}%")
118
 
119
+ # Simpan Model
120
+ joblib.dump(model, 'model_sampah_advanced.pkl')
121
+ print("\n💾 SUCCESS! 'model_sampah_advanced.pkl' berhasil di-generate!")
vercel.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "version": 2,
3
- "cleanUrls": true,
4
- "builds": [
5
- { "src": "frontend/**", "use": "@vercel/static" }
6
- ],
7
- "routes": [
8
- { "src": "/static/(.*)", "dest": "/frontend/$1" },
9
- { "src": "/api/(.*)", "dest": "https://alamdieng-waste-prediction-api.hf.space/api/$1" },
10
- { "src": "/(.*)", "dest": "/frontend/$1" }
11
- ]
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
waste_intelligence_api.postman_collection.json DELETED
@@ -1,193 +0,0 @@
1
- {
2
- "info": {
3
- "_postman_id": "8e3d0ab4-8fb2-47d3-9bc4-3b604e339d2c",
4
- "name": "Waste Intelligence API - DKI Jakarta 2026",
5
- "description": "Koleksi request Postman untuk menguji seluruh endpoint Waste Intelligence API (DKI Jakarta 2026) tingkat kecamatan. Pastikan server Uvicorn menyala di port 8001 sebelum menjalankan pengujian.",
6
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7
- },
8
- "item": [
9
- {
10
- "name": "1. System Health Check",
11
- "request": {
12
- "method": "GET",
13
- "header": [],
14
- "url": {
15
- "raw": "{{baseUrl}}/status",
16
- "host": [
17
- "{{baseUrl}}"
18
- ],
19
- "path": [
20
- "status"
21
- ]
22
- },
23
- "description": "Mengecek apakah server FastAPI online dan memastikan model AI Amazon Chronos serta Gradient Boosting sudah termuat dengan benar."
24
- },
25
- "response": []
26
- },
27
- {
28
- "name": "2. Run Waste Prediction (Chronos - Daily)",
29
- "request": {
30
- "method": "POST",
31
- "header": [
32
- {
33
- "key": "Content-Type",
34
- "value": "application/json",
35
- "type": "text"
36
- }
37
- ],
38
- "body": {
39
- "mode": "raw",
40
- "raw": "{\n \"forecast_days\": 7,\n \"rainfall_mm\": 0.0,\n \"event_scale\": 0,\n \"location\": \"Kemayoran\",\n \"granularity\": \"daily\",\n \"model_type\": \"chronos\"\n}"
41
- },
42
- "url": {
43
- "raw": "{{baseUrl}}/api/v1/predict",
44
- "host": [
45
- "{{baseUrl}}"
46
- ],
47
- "path": [
48
- "api",
49
- "v1",
50
- "predict"
51
- ]
52
- },
53
- "description": "Menjalankan prediksi baseline volume timbulan sampah menggunakan model AI Amazon Chronos (Transformer) dengan granularity harian untuk Kecamatan Kemayoran."
54
- },
55
- "response": []
56
- },
57
- {
58
- "name": "3. Run Waste Prediction (Gradient Boosting - Hourly with Overrides)",
59
- "request": {
60
- "method": "POST",
61
- "header": [
62
- {
63
- "key": "Content-Type",
64
- "value": "application/json",
65
- "type": "text"
66
- }
67
- ],
68
- "body": {
69
- "mode": "raw",
70
- "raw": "{\n \"forecast_days\": 3,\n \"rainfall_mm\": 45.0,\n \"event_scale\": 4,\n \"location\": \"Tanah Abang\",\n \"granularity\": \"hourly\",\n \"model_type\": \"gradient_boosting\"\n}"
71
- },
72
- "url": {
73
- "raw": "{{baseUrl}}/api/v1/predict",
74
- "host": [
75
- "{{baseUrl}}"
76
- ],
77
- "path": [
78
- "api",
79
- "v1",
80
- "predict"
81
- ]
82
- },
83
- "description": "Menjalankan prediksi menggunakan model Gradient Boosting dengan granularity per jam, menyertakan simulasi hujan lebat (45 mm) dan event keramaian skala 4 di Kecamatan Tanah Abang."
84
- },
85
- "response": []
86
- },
87
- {
88
- "name": "4. Export Prediction to CSV File",
89
- "request": {
90
- "method": "POST",
91
- "header": [
92
- {
93
- "key": "Content-Type",
94
- "value": "application/json",
95
- "type": "text"
96
- }
97
- ],
98
- "body": {
99
- "mode": "raw",
100
- "raw": "{\n \"forecast_days\": 7,\n \"rainfall_mm\": 0.0,\n \"event_scale\": 0,\n \"location\": \"Senen\",\n \"granularity\": \"daily\",\n \"model_type\": \"gradient_boosting\"\n}"
101
- },
102
- "url": {
103
- "raw": "{{baseUrl}}/api/v1/predict/csv",
104
- "host": [
105
- "{{baseUrl}}"
106
- ],
107
- "path": [
108
- "api",
109
- "v1",
110
- "predict",
111
- "csv"
112
- ]
113
- },
114
- "description": "Mengirim parameter input prediksi dan langsung mengunduh hasilnya dalam format berkas .csv untuk Kecamatan Senen."
115
- },
116
- "response": []
117
- },
118
- {
119
- "name": "5. Get Real-time Operational Alerts",
120
- "request": {
121
- "method": "GET",
122
- "header": [],
123
- "url": {
124
- "raw": "{{baseUrl}}/api/v1/alerts?location=Senen",
125
- "host": [
126
- "{{baseUrl}}"
127
- ],
128
- "path": [
129
- "api",
130
- "v1",
131
- "alerts"
132
- ],
133
- "query": [
134
- {
135
- "key": "location",
136
- "value": "Senen",
137
- "description": "Filter peringatan hanya untuk lokasi Senen (opsional)"
138
- }
139
- ]
140
- },
141
- "description": "Mengambil status peringatan operasional (WARNING/CRITICAL) secara dinamis untuk 3 hari ke depan."
142
- },
143
- "response": []
144
- },
145
- {
146
- "name": "6. Get Latest Waste News",
147
- "request": {
148
- "method": "GET",
149
- "header": [],
150
- "url": {
151
- "raw": "{{baseUrl}}/api/v1/news",
152
- "host": [
153
- "{{baseUrl}}"
154
- ],
155
- "path": [
156
- "api",
157
- "v1",
158
- "news"
159
- ]
160
- },
161
- "description": "Mengambil umpan berita persampahan terbaru di DKI Jakarta yang dirayap oleh AI setiap 1 jam."
162
- },
163
- "response": []
164
- }
165
- ],
166
- "event": [
167
- {
168
- "listen": "prerequest",
169
- "script": {
170
- "type": "text/javascript",
171
- "exec": [
172
- ""
173
- ]
174
- }
175
- },
176
- {
177
- "listen": "test",
178
- "script": {
179
- "type": "text/javascript",
180
- "exec": [
181
- ""
182
- ]
183
- }
184
- }
185
- ],
186
- "variable": [
187
- {
188
- "key": "baseUrl",
189
- "value": "http://localhost:8001",
190
- "type": "string"
191
- }
192
- ]
193
- }