It is not good to build a house in a pit. According to you, it turned out to be flat, not a pit. The slope may have been pulled up or piled up later. Whether it is good or not depends on its direction and distance to judge whether it has an impact on the residential areas here. The above are personal opinions for reference and study.
Yishanliangdong