The only legitimate analysis they’re doing is ammo brand matching. “Hey, there was a Sellier & Bellot 380 Auto casing at the murder scene. The suspect had S&B 380 in his gun safe. We got him.”
Find some 1 in 1000 match. Find another 1 in 1000 match. Claim they're independent, so the chances of both of these are 1 in a million.
What they don't say is that there are 5000 things you can test that each have a 1 in 1000 chance, so you should expect to find ~5 at random if you test them all. The 1 in a million chance is if you choose 2 of the 5000 at random, test only those and they both match; not if you systematically run tests that only notify you when they find one of the matches.
Most criminals subject to this are probably caught because they loaded the magazine without gloves and left a fingerprint on the casing that gets completely etched into it on firing. Or, you know, police do actual police work and pressure the right people into narc'ing on the suspect.
[1]: https://radleybalko.substack.com/p/devil-in-the-grooves-the-...
Seems like markings can be exculpatory at best, for instance that casings or bullets clearly don’t match, but that the “unique markings” of an individual barrel is complete BS, especially with precision mass production of modern firearms. But in practice, it seems to rarely exonerate suspects, even if the evidence exists.