Random sampling of Ruby code