Drainage canal and canal block proximity risk factor engine (danger-score.ts) #56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Enhance the fire danger scoring engine in
src/lib/domain/danger-score.tsto compute distance penalties for hotspots located near unblocked drainage canals and apply mitigation credits if nearby functional sekat kanal are present.Technical specifications
src/lib/domain/danger-score.ts: AddcalculateCanalRiskFactor(hotspotCoord, canals, sekatKanal).src/lib/domain/__tests__/danger-score.test.ts: Vitest unit tests.Acceptance criteria
Authoritative Specifications & Reference Documentation
docs/ARCHITECTURE.mdIssue 43: [Backend] Drainage canal and canal block proximity risk factor engine (to [Backend] Drainage canal and canal block proximity risk factor engine (danger-score.ts)danger-score.ts)[Backend] Drainage canal and canal block proximity risk factor engine (to Drainage canal and canal block proximity risk factor engine (danger-score.ts)danger-score.ts)