"The Hanging Judge," by Dave Zeltserman, in Black Cat Weekly, #163, 2024.
World-building is a topic that gets discussed a lot among writers of science fiction and fantasy, but not so much in mystery. The assumption there is you are trying to set your story in the world we live in. (Historical mysteries are different, especially if they are set in the distant past where we have to speculate about how people lived.)