You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ADR-011 documents the decision to replace the 3,122-line runtime spatial mapper (PriogridCountryMapper) with a precomputed Parquet lookup table. The area-majority algorithm is a confirmed FAO requirement (Release Note 02). The decision is made; implementation is blocked by infrastructure.
See docs/ADRs/011_replace_runtime_mapper_with_precomputed_lookup.md for the full ADR.
See docs/ADR-011_implementation_assessment.md for the detailed assessment of current state, unknowns, risks, and 4 possible approaches.
What's needed to unblock
Git LFS access — to run the precomputation against real shapefiles
views-pipeline-core in test environment — to test the full pipeline
Appwrite access — to verify output against current production data
Diff test — run both old mapper and new enricher on same data, verify identical results
Context
ADR-011 documents the decision to replace the 3,122-line runtime spatial mapper (
PriogridCountryMapper) with a precomputed Parquet lookup table. The area-majority algorithm is a confirmed FAO requirement (Release Note 02). The decision is made; implementation is blocked by infrastructure.See
docs/ADRs/011_replace_runtime_mapper_with_precomputed_lookup.mdfor the full ADR.See
docs/ADR-011_implementation_assessment.mdfor the detailed assessment of current state, unknowns, risks, and 4 possible approaches.What's needed to unblock
Implementation plan (when unblocked)
scripts/precompute_gaul_lookup.py)views_postprocessing/unfao/enrichment.py)What this resolves
~12 of 22 open risk register concerns (Clusters A, C, D, plus standalones C-07, C-08, C-11, C-12, C-17, C-20).
Risk Register
C-23 (Tier 2, algorithmic divergence), D-05 (resolved: area-based confirmed).
Related