Shared sleeping quarters are commonplace in contexts such as athletes at major sporting events, academic dormitories, and military barracks, yet mismatched sleep preferences can undermine rest and ultimately, human behaviour and performance. We introduce the Roommate Sleep Preference Questionnaire (ROOMPREF), a brief eight-question survey capturing preferences for noise, lighting, and temperature tolerances, snoring behaviour, and chronotype. Responses feed into a free, web-based clustering tool built in Python, which flags preference conflicts, and implements adaptive K-Means clustering within sex–chronotype subgroups. A post-cluster swapping algorithm further mitigates residual mismatches, enhancing the room-matching process. The resource includes distribution charts, group summaries, and optional automated room allocations, with downloadable CSV outputs. We demonstrate its application in a pilot cohort, highlighting its potential to improve sleep outcomes across various use-cases. This free resource has the potential to alleviate mismatched rooming partners, resulting in enhanced sleep and wellbeing outcomes.
Competing Interest StatementThe authors have declared no competing interest.
Funding StatementThis study did not receive any funding
Author DeclarationsI confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data AvailabilityAll data produced in the present study are available upon reasonable request to the authors
Comments (0)