At an ordinary pause, a word-final vowel is usually dropped, making its final ra still. If the letter immediately before it is also still, that letter provides no vowel to determine heaviness. Inspect the vowel of the consonant further back.
At a normal pause on «الْقَدْرِ», ra is still, dal before it is still, and qaf before dal has fathah: heavy ra.
At a pause on «الْعُسْرِ», ra follows a still sin, and the preceding ʿayn has dammah: heavy ra.
This is an application of looking one stage further back. Special cases involving a still ya or transmitted variants must nevertheless be considered separately.