original_string: protected function col_discriminative_efficiency($questionstat) {
          if ($this->is_calculated_question_summary($questionstat)) {
              list($min, $max) = $questionstat->get_min_max_of('discriminativeefficiency');
  
              if (!is_numeric($min) && !is_numeric($max)) {
                  return '';
              } else {
                  return $this->format_percentage_range($min, $max, false);
              }
          } else if (!is_numeric($questionstat->discriminativeefficiency)) {
              return '';
          } else {
              return $this->format_percentage($questionstat->discriminativeefficiency);
          }
      }
code: protected function col_discriminative_efficiency($questionstat) {
          if ($this->is_calculated_question_summary($questionstat)) {
              list($min, $max) = $questionstat->get_min_max_of('discriminativeefficiency');
  
              if (!is_numeric($min) && !is_numeric($max)) {
                  return '';
              } else {
                  return $this->format_percentage_range($min, $max, false);
              }
          } else if (!is_numeric($questionstat->discriminativeefficiency)) {
              return '';
          } else {
              return $this->format_percentage($questionstat->discriminativeefficiency);
          }
      }
code_tokens: protected function col_discriminative_efficiency ( $ questionstat ) { if ( $ this -> is_calculated_question_summary ( $ questionstat ) ) { list ( $ min , $ max ) = $ questionstat -> get_min_max_of ( 'discriminativeefficiency' ) ; if ( ! is_numeric ( $ min ) && ! is_numeric ( $ max ) ) { return '' ; } else { return $ this -> format_percentage_range ( $ min , $ max , false ) ; } } else if ( ! is_numeric ( $ questionstat -> discriminativeefficiency ) ) { return '' ; } else { return $ this -> format_percentage ( $ questionstat -> discriminativeefficiency ) ; } }
docstring: Discrimination efficiency, similar to, but different from, the Discrimination index.
  
  @param \core_question\statistics\questions\calculated $questionstat stats for the question.
  @return string contents of this table cell.
docstring_tokens: Discrimination efficiency similar to but different from the Discrimination index .