My kid used one of those roommate matching portals thru the school housing app and then talking to a few people to decide. Still good friends with freshman roommate.
I know kids can be aspirational vs realistic about answering those questionnaires but the basics around bedtime/wakeup time and noise level, being in the room to study/or not, guests or not (especially if friends or significant other are over all time time), substance free room or not, and cleanliness level IMO are bare minimum for roommate compatibility.