def _availableResultsFraction( self ):
tr = self.notebook().numberOfResults() + self.notebook().numberOfPendingResults()<EOL>if tr == <NUM_LIT:0>:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>return (self.notebook().numberOfResults() + <NUM_LIT:0.0>) / tr<EOL><DEDENT>
Private method to return the fraction of results available, as a real number
        between 0 and 1. This does not update the results fetched from the cluster.

        :returns: the fraction of available results