How do I choose the right bike light for my helmet material?



Sure, lights flying off during descents is a real mood killer. It raises the question—how much testing do these manufacturers actually do? Are they just tossing lights off cliffs for fun or what? :D

Given the range of helmet materials, how do you think the attachment mechanisms could be engineered to better handle the chaos of rough rides? Are there specific design elements that could actually make a difference, or are we stuck with wishful thinking?