original_string: protected function make_new_calculated_question_summary_stat($randomquestioncalculated, $subquestionstats) {
          $question = $randomquestioncalculated->question;
          $slot = $randomquestioncalculated->slot;
          $calculatedsummary = new calculated_question_summary($question, $slot, $subquestionstats);
  
          return $calculatedsummary;
      }
code: protected function make_new_calculated_question_summary_stat($randomquestioncalculated, $subquestionstats) {
          $question = $randomquestioncalculated->question;
          $slot = $randomquestioncalculated->slot;
          $calculatedsummary = new calculated_question_summary($question, $slot, $subquestionstats);
  
          return $calculatedsummary;
      }
code_tokens: protected function make_new_calculated_question_summary_stat ( $ randomquestioncalculated , $ subquestionstats ) { $ question = $ randomquestioncalculated -> question ; $ slot = $ randomquestioncalculated -> slot ; $ calculatedsummary = new calculated_question_summary ( $ question , $ slot , $ subquestionstats ) ; return $ calculatedsummary ; }
docstring: Create a summary calculated object for a calculated question. This is used as a placeholder
  to indicate that a calculated question has sub questions or variations to show rather than listing each
  subquestion or variation directly.
  
  @param  calculated $randomquestioncalculated The calculated instance for the random question slot.
  @param  calculated[] $subquestionstats The instances of the calculated stats of the questions that are being summarised.
  @return calculated_question_summary
docstring_tokens: Create a summary calculated object for a calculated question . This is used as a placeholder to indicate that a calculated question has sub questions or variations to show rather than listing each subquestion or variation directly .