GradingResults | R Documentation |
A collection of test case results that correspond to a single test file.
test_file_results
The TestFileResult objects that make up this grading
new()
Create a grading result.
GradingResults$new(test_file_results)
test_file_results
The TestFileResult objects that make up this grading result
to_list()
Convert these results to a JSON-like list
that can be convert to a
GradingResults
object by Otter's Python library.
The returned list has the JSON format
{ "test_file_results": [ { // output of TestFileResult$to_list } ] }
GradingResults$to_list()
The generated list
to_json()
Export these results to a JSON string.
GradingResults$to_json()
The JSON string
clone()
The objects of this class are cloneable with this method.
GradingResults$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.