updated evalOutcome to accept threshold