While the current discrete scoring works, a more continuous decay function like 1.0 / (1.0 + distance) for _calculate_proximity_score can provide a smoother and potentially more nuanced scoring for varying distances.
return 1.0 / (1.0 + distance)
Originally posted by @sourceant[bot] in #37 (comment)