Compute pass rate more accurately

Currently we rely on job status but jobs can stay at status 17 even when walltime and are long gone.