How rameshwarnaik013/farmley-forecast-dashboard works
This is a Flask sales-forecasting web app: users upload an Excel workbook, choose groups, items, metrics, and forecasting methods, then review forecasts and backtest accuracy; the app also builds forecast workbooks. Forecast methods live in a separate module. The sampled source supports the upload, forecast, and workbook flows, but does not expose every route or the full dashboard behavior, so those details are kept high-level.
Main entry points: index.py Forecast run · forecasting.py Forecast methods
Components 10
Web application
- Flask app
api/index.py - Excel upload
api/index.py - Forecast selection
api/index.py - Session data cache
api/index.py
Forecasting
- Forecast run
api/index.py - Forecast methods
forecasting.py - Backtest accuracy
api/index.py
Results and export
- Forecast dashboard
api/index.py - Excel workbook output
api/index.py
Other components
- User
Connections 10
- User → Excel upload: uploads workbook
api/index.py - Flask app → Excel upload: routes upload
api/index.py - Excel upload → Session data cache: stores parsed data
api/index.py - Forecast selection → Session data cache: reads cached data
api/index.py - Forecast selection → Forecast run: starts forecast
api/index.py - Forecast run → Forecast methods: calls selected methods
api/index.py - Forecast run → Backtest accuracy: computes accuracy
api/index.py - Forecast run → Forecast dashboard: renders forecasts
api/index.py - Excel workbook output → Forecast methods: calls methods
api/index.py - User → Forecast dashboard: views results