Complete guide to using the Cardamom Procurement Intelligence System.
The Cardamom Procurement Intelligence System is a static web application that runs entirely in your browser. No server or backend is required — all forecasting data is pre-computed.
index.html in a modern browser (Chrome, Firefox, Edge, Safari)Click the "Load Sample Data" button to load the built-in dataset of 2,869 rows spanning 2017–2025. This provides instant access to forecasting without any file uploads.
Upload your own CSV file with all 39 features (or at minimum time and Avg.Price (Rs./Kg)). Missing features are auto-filled with intelligent defaults.
time, Avg.Price (Rs./Kg), MaxPrice (Rs./Kg), Total Qty Arrived (Kgs), ...
Minimum 30 rows are required. The system accepts any date range and generates live 30-day predictions starting from the day after your last data point.
The "Generate 30-Day AI Forecast" button loads pre-computed predictions from three models:
Results include daily price predictions, percentage changes, risk levels, and actionable recommendations.
Four visualization tabs provide different perspectives on the forecast:
Enter your desired quantity (kg) using the input field or slider (100–10,000 kg). The calculator compares:
Adjust 9 parameters to simulate different market scenarios:
Four built-in presets: Monsoon, Supply Shortage, Optimal Conditions, Crisis Mode.
Three currencies available via the top-right selector:
USD ($) — Base currencySAR (ر.س) — Saudi Riyal at 3.75INR (₹) — Indian Rupee at 83.50All prices, charts, and exports update live when switching currencies.
1. Push the website/ folder to your repository
2. Go to Settings → Pages
3. Set Source to "Deploy from a branch"
4. Select the branch and /website folder
5. Save — site goes live at username.github.io/repo/website/
# Python
python -m http.server 8000 --directory website
# Node.js
npx serve website
To update forecasts, replace assets/data/forecasts.json with fresh predictions from the Python backend. Run:
python generate_forecasts.py --output website/assets/data/forecasts.json
The JSON schema must match the structure documented in forecasts.json.