TMI Wiki¶
Welcome. This site exposes the handover documentation for the Treefera Market
Insights commodity_hindcast pipeline alongside the existing repo wiki, all
under one navigable viewer.
If you've landed here without context: commodity_hindcast produces
county-level yield hindcasts and forward-looking forecasts for US row crops
(corn, soybean, wheat) and international commodities (Brazilian soy, Indian
wheat, Ghanaian cocoa). See
Wiki › commodity_hindcast › Overview
for the business rationale.
Pick your track¶
The handover is organised around three audiences. Pick the one that matches your role and follow its sequence; everything cross-links so you can deviate when needed.
User Support¶
You don't write code; you investigate client questions and triage tickets.
- Data lineage — where every input comes from
- Risk register — Critical and High only
- Runbook › Forecast per init — how a forecast is produced
- Hindcast vs forecast — the distinction
- Contacts — who to escalate to
QA / Operations¶
You validate runs and approve releases.
- Runbook › Full hindcast rerun — verifying a hindcast
- Runbook › QA-to-prod sync — promotion procedure
- Sign-off checklist — acceptance criteria
- Risk register — full read; what to flag
- Risk heatmap — visual summary
Technical / Engineering¶
You write code; you debug; you ship.
- ADRs — five load-bearing design choices (start with ADR-001)
- Runbooks — all five operational procedures (start with forecast-per-init)
- Access — credentials, env vars, dashboards
- Wiki › Domain model — entity-relationship reference
- Wiki › commodity_hindcast — full technical reference
What's where¶
| Tab | What it contains |
|---|---|
| Handover | Time-bounded handover artefacts: ADRs, runbooks (each with its failure-mode flowchart), risks, contacts, sign-off, and the implementation plan |
| Wiki | Long-lived reference: domain model, pipelines, concepts, code subsystems, entity catalogue |
Conventions¶
- All Python invocations use
uv run— never barepythonorpip. - All paths are S3-safe via
cloudpathlib.AnyPath. INPUT_DATA_DIRmust be set; helpers raise if it isn't.- British English throughout.
Status¶
This handover pack was drafted on 2026-05-08 through an Actor/Critic orchestration. See Implementation plan for the audit trail and Placeholders for the unknown items the outgoing engineer needs to fill before sign-off.