Write a function that automatically generates the text of
i.) a test_that test, or
ii.) the setup.sh script, or
iii.) the grade_one_submission.R script.
Eventually, I'm visualizing some shiny app that instructors can use to shorten the amount of time it takes to make an autograder for an assignment.
Regarding i), It could take two arguments: the name of the variable storing the correct answer, and the name of the variable you expect this answer to be stored as in a student's submission.
i.) a
test_that
test, or ii.) thesetup.sh
script, or iii.) thegrade_one_submission.R
script.Eventually, I'm visualizing some shiny app that instructors can use to shorten the amount of time it takes to make an autograder for an assignment.
Regarding i), It could take two arguments: the name of the variable storing the correct answer, and the name of the variable you expect this answer to be stored as in a student's submission.