models/classes/runner/QtiRunnerServiceContext.php
protected function saveAdaptiveResults(CatSession $catSession)
    {
        $testResult = $catSession->getTestResult();
        $testResult = empty($testResult) ? [] : [$testResult];
        return $this->storeResult(array_merge($testResult, $catSession->getItemResults()));
    }
protected function saveAdaptiveResults(CatSession $catSession)
    {
        $testResult = $catSession->getTestResult();
        $testResult = empty($testResult) ? [] : [$testResult];
        return $this->storeResult(array_merge($testResult, $catSession->getItemResults()));
    }
Save the Cat service result for tests and items

@param CatSession $catSession
@return bool