How to choose a decision model for your codebase, considering hosting, the kinds of questions it needs to judge, and the cost of its mistakes.