The strategy guide content you sent me is for home inspection, but your question is about comparing your own comps to an appraisal value, so I'm going to answer what you actually asked.
Your range of $364k to $408k and the lender's $371k are not really in conflict. They are describing the same property from different angles, using different sets of sales. An appraiser selects the sales that are most similar in size, condition, and date, then adjusts for differences like an extra bedroom or a remodeled kitchen. That adjustment process is where two people can use defensible numbers and still land $40k apart.
The number you need to focus on is the lender's $371k, because that is the number controlling how much they will lend you. Hard money lenders (short-term, higher-rate loans secured by the property itself, used by investors when speed matters more than cost) typically lend a percentage of the appraised value, often 65 to 75 percent. If your deal math only works at $389k or above, the $371k figure changes your borrowing capacity in a way that matters before you get to closing.
A few things worth confirming: which four sales the lender's appraiser actually used, what adjustments they made, and whether any of your four sales were the same properties. If your best comps were excluded, you can ask the lender's appraiser to review them. That is a normal part of the process, and you are allowed to ask.
One thing most people at this stage do not think to ask: a rooming house with six bedrooms may be compared as a single-family home or as a small income property depending on how the appraiser classifies it, and that classification changes everything. Worth confirming with the lender which way their appraiser treated it.
What does your deal look like if the value comes in at $371k? That would help me give you a more useful answer.