public static function AcquiaLiftTestReports::getBasicConfidenceReport in Acquia Lift Connector 7
2 calls to AcquiaLiftTestReports::getBasicConfidenceReport()
File
- tests/
acquia_lift.test_classes.inc, line 332 - Provides test classes for Acquia Lift
Class
- AcquiaLiftTestReports
- Class AcquiaLiftTestReports
Code
public static function getBasicConfidenceReport($agent_name) {
$report = array(
'agent' => $agent_name,
'dateFrom' => '2014-08-08',
'dateThru' => '2014-08-08',
'data' => array(
'items' => array(
0 => array(
'owner' => 'test-owner-code',
'agent' => $agent_name,
'point' => 'osid-1',
'choice' => 'osid-1:option-1',
'seg' => '(none)',
'feature' => '(none)',
'goal' => NULL,
'count' => 0,
'val' => 0,
'valSq' => 0,
'goals' => 0,
'goalsSq' => 0,
'date' => '2014-08-08',
'totals' => array(
'count' => 0,
'goals' => 0,
'val' => 0,
'goalsPerDecision' => 0,
'valPerDecision' => 0,
'valPerGoal' => 0,
),
'label' => 'option-1',
'bLo' => 0,
'bHi' => 0,
'vVari' => 0,
'vMean' => 0,
'stdDev' => 0,
'tScore' => 0,
'dgFree' => 0,
'pValue' => -1,
'signif' => false,
'confidence' => '0.0',
'confidenceLevel' => 0,
'lift' => array(
'default' => 0,
'random' => 0,
),
'ts' => 1407456000,
),
1 => array(
'owner' => 'test-owner-code',
'agent' => $agent_name,
'point' => 'osid-1',
'choice' => 'osid-1:option-2',
'seg' => '(none)',
'feature' => '(none)',
'goal' => NULL,
'count' => 0,
'val' => 0,
'valSq' => 0,
'goals' => 0,
'goalsSq' => 0,
'date' => '2014-08-08',
'totals' => array(
'count' => 0,
'goals' => 0,
'val' => 0,
'goalsPerDecision' => 0,
'valPerDecision' => 0,
'valPerGoal' => 0,
),
'label' => 'option-2',
'bLo' => 0,
'bHi' => 0,
'vVari' => 0,
'vMean' => 0,
'stdDev' => 0,
'tScore' => 0,
'dgFree' => 0,
'pValue' => -1,
'signif' => false,
'confidence' => '0.0',
'confidenceLevel' => 0,
'lift' => array(
'default' => 0,
'random' => 0,
),
'ts' => 1407456000,
),
),
'bLo' => NULL,
'bHi' => NULL,
),
);
return $report;
}