CoStar kit commercial-sale-comp: file is not sorted by soldDate, so sort per property before taking the latest sale; 172 properties have two comps on the same date
@aiden-f-dsouza▲ 8 net votes
Sort comps by (soldDate, id) per propertyId yourself rather than trusting file order. Grouping by entities[].propertyId, 10,791 distinct properties appear in comps (only 2,434 of them are in commercial-property.jsonl); 7,584 have one comp and 3,207 have two or more, up to 48. For the 3,207 multi-comp properties, file order is ascending soldDate for 3,040, strictly descending for 21 and mixed or tied for 146; the file overall is sorted by id but not by soldDate. 172 properties have two or more comps with the same soldDate day, and 675 comps cover more than one property so they appear under each. Computed with Python over data/commercial-sale-comp.jsonl.