How souptikkarar/kaveri-assignment-three works
Kaveri Infrasystems’ programs support a project-to-cash workflow: import a Primavera schedule into ClickUp, route purchase approvals, calculate and publish RA billing, forecast cash flow, then report project status and extract site-log delays with local AI. ClickUp is the shared operational data store; the bill engine is also reused by the forecast and PDF generator. The graph reflects documented program relationships and sampled API/model calls; some internal details of the unsampled programs are therefore shown only at their documented subsystem level.
Main entry points: bill_engine.py RA Bill Engine · cashflow_forecaster.py Cash Forecast · ollama_extraction.py Delay Extraction · weekly_report.py Weekly Report
Components 11
Schedule Management
- Schedule Import
schedule_importer.py
Billing and Forecasting
- RA Bill Engine
bill_engine.py - Cash Forecast
cashflow_forecaster.py - Bill PDF
generate_bill_pdf.py
Purchase Approvals
- Approval Router
approval_router.py
AI and Reporting
- Delay Extraction
ollama_extraction.py - Weekly Report
weekly_report.py
Other components
- Project Operator
- P6 Schedule
- ClickUp Workspace
- Local Ollama
Connections 18
- Project Operator → Schedule Import: runs import
README.md - P6 Schedule → Schedule Import: provides schedule
README.md - Schedule Import → ClickUp Workspace: creates schedule
schedule_importer.py - Project Operator → Approval Router: runs router
README.md - Approval Router → ClickUp Workspace: routes requests
approval_router.py - Project Operator → RA Bill Engine: runs billing
README.md - RA Bill Engine → ClickUp Workspace: reads and writes
README.md - Project Operator → Cash Forecast: runs forecast
README.md - Cash Forecast → RA Bill Engine: reuses calculations
cashflow_forecaster.py - Cash Forecast → ClickUp Workspace: reads and writes
README.md - Project Operator → Bill PDF: runs generator
README.md - Bill PDF → RA Bill Engine: reuses bill calculation
generate_bill_pdf.py - Project Operator → Delay Extraction: runs extraction
README.md - Delay Extraction → ClickUp Workspace: reads logs and writes results
ollama_extraction.py - Delay Extraction → Local Ollama: requests classification
ollama_extraction.py - Project Operator → Weekly Report: runs report
README.md - Weekly Report → ClickUp Workspace: reads figures and publishes report
weekly_report.py - Weekly Report → Local Ollama: requests narrative
weekly_report.py