Skip to contents

Maps a robjgrader_result to "SUCCESS" when all checks pass, or to a concatenated string of all failing check messages otherwise.

Usage

result_to_outcome(result)

Arguments

result

A robjgrader_result from validate().

Value

"SUCCESS" or a newline-separated string of all failing messages.