if($X ~= s{^(.*?)Resolved (\d+) problems out of (\d+) picked(.*?) +$}) { return ($3-$2/$3>.5) ? 1 :0); }