Scenario 2

Your Code

function evaluteScore(score)
{
var passingScore = GetValue ( "cmi.
_passing_score" );
if ( score >=
)
{
SetValue( "cmi.success_status", "
" );
}
else
{
SetValue( "cmi.
", "failed" );
}
}

Code Example

function evaluteScore(score)
{
var passingScore = GetValue ( "cmi.scaled_passing_score" );
if ( score >= passingScore )
{
SetValue( "cmi.success_status", "passed" );
}
else
{
SetValue( "cmi.success_status", "failed" );
}
}