Expand description
For all things related to grading
Structs§
- Grades using hidden tests. Test file is downloaded, ran, and then cleaned up before returning.
- Grades by running tests, and reports how many tests pass. Final grade is the same percentage of maximum grade as the number of tests passing.
- string. Any difference results in a
0
grade. A grader that grades by diffing anexpected
string with anactual
- A struct representing arguments to grade_docs function
- A struct representing a grade
- A struct to store grading results and display them
- Represents an entry in the leaderboard.
- Builder for
GradescopeLeaderboardEntry
instances. - Represents the overall submission data.
- Builder for
GradescopeSubmission
instances. - Represents an individual test case.
- Builder for
GradescopeTestCase
instances. - A struct representing a javac diagnostic message
- Builder for
JavacDiagnostic
instances. - A struct representing a line in a stack trace
- A struct representing a PIT diagnostic message
- Builder for
MutationDiagnostic
instances. - Schema for
prompts
table - A struct to represent a treesitter query.
- A struct to represent a query grader.
RetrievalFunctionCallParams
is a struct that holds the parameters for a retrieval function call.RetrievalFunctionCallParamsArray
is a struct that holds an array ofRetrievalFunctionCallParams
.- Runs mutation tests using Pitest to grade unit tests written by students.
Enums§
- Represents output format settings for Gradescope submissions.
- Represents the status of a test case in Gradescope submissions.
- Represents visibility settings for Gradescope submissions and test cases.
- An enum to represent the constraint of a query.
- An enum to represent possible errors when running a query.
- What kind of file the SLO is for.
Functions§
- Generates a FEEDBACK file after prompting ChatGPT for feedback on an array of results.
- Macro generated variant of #fn_name that returns EvalAltResult. This allows the function to be used in scripts.
- Generates feedback for a single
GradeResult
and posts it to the database. - Macro generated variant of #fn_name that returns EvalAltResult. This allows the function to be used in scripts.
- Retrieves the active context for a retrieval operation.
- Returns a ChatCompletionRequestMessage with the given line references that include contextual lines of code from the source
- Print grade result
- Macro generated variant of #fn_name that returns EvalAltResult. This allows the function to be used in scripts.