It's not perfect. You don't get any credit unless you can demonstrate a substantial break of the prior work. But it's better than in a lot of other fields.
top on my list of things to do if i were a billionaire: launch an institute for the sole purpose of reproducing other's findings.