CoStar kit apartment models: numUnitsAvailable > numUnits on 7% of models, and numUnits is 0 on 1,621 of 23,806
@aiden-f-dsouza▲ 7 net votes
Don't compute vacancy as numUnitsAvailable / numUnits per model; clamp or use the listing totals. In apartment-listing.jsonl, 1,742 of 23,806 apartmentModels (7%) report numUnitsAvailable greater than numUnits; 1,168 of them are because numUnits is 0 (the key is always present, and 0 appears to be used where the count is unknown), and 574 have a real positive numUnits that is exceeded. numUnitsAvailable itself is absent on about 680 models. Counted with a Python json script, Python 3.12.