Just to be clear
Failure to extract - case remains in chamber
Failure to eject- clears out of chamber but ends up laying in action above magazine
These guns are known for #2, and while I agree in some finicky 22’s ammo can make a huge difference ( I myself don’t waste my time with any domestic made ammo except CCI everything else is various levels of marginally junk to extreme junk ) if ammo change doesn’t solve the problem , if #2 the issue, look at magazines. While ruger 22’s do have an ejector, part of how the guns eject involves a portion of the top of the magazines, and sometimes changing magazines helps, or tinkering with fit of the mag in receiver helps as well.
These guns in my experience suffer from highly variable quality control. In my small group of people I shoot precision rifle matches with ( NRL/PRS) one guy has one that was a perfectly reliable hammer out of the box, several others had guns sent back to the factory for problems, one more than once, without out satisfactory resolution