Adds GET /api/playground/forecast with optional temp_c, precip_mm and is_holiday. It calls FastAPI /predict, preserves response versions, and never mutates the global scenario.
Includes handler/client tests and README documentation.
Verified locally:
base request 200, 48 points
weather override 200, points differ
unknown sensor 404, bad horizon/scenario/weather 400
live scenario state unchanged
Adds `GET /api/playground/forecast` with optional `temp_c`, `precip_mm` and `is_holiday`. It calls FastAPI `/predict`, preserves response versions, and never mutates the global scenario.
Includes handler/client tests and README documentation.
Verified locally:
- base request 200, 48 points
- weather override 200, points differ
- unknown sensor 404, bad horizon/scenario/weather 400
- live scenario state unchanged
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds
GET /api/playground/forecastwith optionaltemp_c,precip_mmandis_holiday. It calls FastAPI/predict, preserves response versions, and never mutates the global scenario.Includes handler/client tests and README documentation.
Verified locally: