From 6a449ee1e40d29bd54766593ea626a9c9c739b6f Mon Sep 17 00:00:00 2001 From: Brendan Collins Date: Fri, 1 May 2026 20:00:30 -0700 Subject: [PATCH] Record accuracy sweep results for corridor No CRIT/HIGH issues found. One LOW issue noted: corridor inherits float32 from cost_distance, which can lose precision near the min when costs accumulate to large values (intrinsic to upstream dtype). --- .claude/sweep-accuracy-state.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/.claude/sweep-accuracy-state.csv b/.claude/sweep-accuracy-state.csv index 9f917411..5a885f55 100644 --- a/.claude/sweep-accuracy-state.csv +++ b/.claude/sweep-accuracy-state.csv @@ -1,5 +1,6 @@ module,last_inspected,issue,severity_max,categories_found,notes balanced_allocation,2026-04-14T12:00:00Z,1203,,,float32 allocation array caused source ID mismatch for non-integer IDs. Fix in PR #1205. +corridor,2026-05-01,,LOW,1,"LOW: corridor inherits float32 from cost_distance; for very large accumulated costs, normalized = corridor - corridor_min loses precision near min (intrinsic to upstream dtype, not corridor itself). NaN handling correct (skipna min, np.isfinite check before normalize). All 4 backends route through pure xarray arithmetic; threshold uses dask/cupy/numpy where with try/except dispatch. No CRIT/HIGH issues." cost_distance,2026-04-13T12:00:00Z,1191,,,CuPy Bellman-Ford max_iterations = h+w instead of h*w. Fix in PR #1192. curvature,2026-03-30T15:00:00Z,,,,Formula matches ArcGIS reference. Backends consistent. No issues found. dasymetric,2026-04-14T12:00:00Z,,,,Mass conservation correct. Weighted/binary/limiting_variable all verified. Pycnophylactic Tobler algorithm correct.