Chapter 6 Private Questions

Private Question Checks are designed to give students necessary and basic feedback – not detailed hints. Their purpose is to flag basic issues without guiding the student toward the solution. Accordingly, Private Question Checks only incorporate General Checks.

These Checks help students identify trivial errors (e.g., a misspelled column name) and reduce time debugging, allowing them to focus on the question’s core aspects.

To achieve this, Private Questions are graded using three built-in functions: private_grader(), ggplot_grader(), and private_tabyl_grader().3 The following sections explain how to use each function and its parameters.

Note:

Function sample code omit the test.results[#, ] initialization for readability.

Remember to always initialize test.results[#, ] before implementing a question’s autograder code.


  1. For ECON 145 TAs, private_grader(), ggplot_grader(), and private_tabyl_grader() can be found in the subfolder helper_functions/misc_helper_functions.↩︎