kalyzet/PowerOutagePredictor ? reverse-engineered prompt
Reverse engineered prompt
Build me a web app for tracking power outages at one location, where I can enter outage dates, start and end times, and an optional note, then it automatically calculates the duration.
I want a dashboard that shows total outages, total and average duration, median, shortest and longest outage, latest outage, streaks, and simple charts for outages by date, day of week, start time, and duration trends. Please let me add, edit, and delete outage records, with a confirmation before deleting.
Also add import and export for Excel files, and make sure imported rows are validated before saving. I want the app to predict whether there will be an outage for the next day or a few days ahead, show the probability, the model name, and a simple reliability level. Please store prediction history too, and let me compare predictions with actual results later.
Use a clean React frontend and a Python backend with a local database. If you need to check current docs for anything, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit