How synthestic/inf1103_projectgrpwork works
This is a terminal-based SME green-grant auditor. The main workflow collects a company profile and proposal, classifies its GHG scope and intervention through OpenRouter, then applies deterministic eligibility and subsidy rules and presents the decision. Applicants can also save and reload audit records. The README documents grant matching and subsidy calculations; these are represented within the rules component. Source excerpts establish the principal calls, while several menu and persistence details are documented in the README.
Main entry points: main.py Menu coordinator · ai_manager.py Proposal classification · io_manager.py Profile intake · logic_manager.py Eligibility and subsidy rules
Components 10
Audit workflow
- Menu coordinator
main.py - Proposal classification
ai_manager.py - Eligibility and subsidy rules
logic_manager.py
Terminal experience
- Profile intake
io_manager.py - Terminal UI
sme_interface_stores/sme_interface_gui.py - Audit and decision display
io_manager.py
Saved records
- Record session
main.py - JSON record storage
data_manager.py
Other components
- SME applicant
- OpenRouter AI
Connections 13
- SME applicant → Menu coordinator: chooses options
README.md - Menu coordinator → Profile intake: collects profile
main.py - Profile intake → Terminal UI: uses buttons
io_manager.py - Menu coordinator → Proposal classification: submits proposal
main.py - Proposal classification → OpenRouter AI: requests classification
ai_manager.py - Proposal classification → Terminal UI: runs progress display
ai_manager.py - Menu coordinator → Eligibility and subsidy rules: evaluates application
main.py - Menu coordinator → Audit and decision display: displays results
main.py - Eligibility and subsidy rules → Audit and decision display: returns decision
README.md - SME applicant → Record session: requests save or load
README.md - Menu coordinator → Record session: manages records
main.py - Record session → JSON record storage: loads and saves
main.py - JSON record storage → Profile intake: requests filename
data_manager.py