Scope 3 Embodied Carbon & Supply Chain Transparency Platform for Sime Darby Property โ Team HUNE, Sime Darby Property University Hackathon (Township of Tomorrow).
- Ingestion & NLP/OCR simulation โ regex extraction + fuzzy matching of messy invoice/BOM lines to emission factors (tCOโe/unit).
- Carbon engine โ emissions = quantity ร factor.
- Anomaly screening โ Isolation Forest + per-material z-score + unmatched-material rule.
- CRUD โ create (sidebar form), read (township / vendor tier / status filters), update (e.g. clear a flag to Verified), delete.
- Compliance โ IFRS S1/S2 and NSRF requirement status from Dataset 3 with evidence, CSV export.
app.py Streamlit UI (tabs, CSS, state)
utils.py loading, OCR/NLP, carbon engine, ML, CRUD, compliance
data/ three master CSVs (see data/README.md); demo data auto-generated if absent
State lives in st.session_state; swap in a database for persistence in production.
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
# copy the 3 CSVs into data/
streamlit run app.pyGoogle Colab: pip install -r requirements.txt, then run Streamlit via a localtunnel.
Compliance statuses are heuristic readiness indicators, not assurance. Edits are in-memory (export CSV to keep them).