Herein appears a body of sensible laws not overtly blood thirsty. It also reminds us that many so called ritual deaths are nothing of the sort. They are mandated executions.
As we might expect, these laws are well thought out as they will have been tested for generations.
Thus it is all part of human common law with the same limitations and concerns we experience today and never quite perfect and still subject to the whims of a judge..