code: public function getSessionDescription(\taoQtiTest_helpers_TestSession $session)
      {
          if ($session->isRunning()) {
              $config = \common_ext_ExtensionsManager::singleton()->getExtensionById('taoQtiTest')->getConfig('testRunner');
              $progressScope = isset($config['progress-indicator-scope']) ? $config['progress-indicator-scope'] : 'test';
              $progress = $this->getSessionProgress($session);
              $itemPosition = $progress[$progressScope];
              $itemCount = $progress[$progressScope . 'Length'];
  
              $format = $this->hasOption(self::OPTION_STATE_FORMAT)
                  ? $this->getOption(self::OPTION_STATE_FORMAT)
                  : __('%s - item %p/%c');
              $map = array(
                  '%s' => $session->getCurrentAssessmentSection()->getTitle(),
                  '%p' => $itemPosition,
                  '%c' => $itemCount
              );
              return strtr($format, $map);
          } else {
              return __('finished');
          }
      }
docs: Return a human readable description of the test session
  
  @return string