
Tech
Your thresholds do not belong in constants
Every tuning change needed a code review, a release, and a week of store rollout. So we stopped tuning, which is the worst possible outcome.
Eighteen guesses in a const val
Our location pipeline accumulated roughly eighteen numbers that shaped its behaviour:
speed band boundaries (walking, cycling, driving)
a minimum displacement gate for each band
a stationary speed and jitter threshold
a rolling history window size and its movement threshold
a hard te...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to