Earlier quoted context omitted.
That doesn't sound like an algorithm mistake, just like a policy to match sales nearby at the same price because of the assumption that prices will just keep going up coupled with the stupidity of not tracking what you've bought so far - yikes! Oh, on second thought, I guess it could be algo as that previously bought nearby condo could have been priced using some crazy algorithm.
"Prices will keep going up" was a key belief that triggered the 2008 real estate crash. They keep going up until they don't, and then the house-flippers who weren't careful enough and the lenders that approved "liar loans" get burned badly.
the lenders "knew" of the bad loans, but because these lenders are going to on-sell the loan to some other investor, they didn't care as they profit off the sale, rather than the loan repayments. It's a moral hazard.