Score report functionality#51
Merged
tbrown122387 merged 10 commits intotbrown122387:masterfrom Jan 19, 2026
Merged
Conversation
…rts other file types besides R scripts
…, and point values for a given test script
…criteria, and point values for a given test script" This reverts commit 7eace0d.
…ow supports other file types besides R scripts" This reverts commit 00da302.
…of giving gradeR users a quick and easy way to determine how many test cases and criteria their test scripts contain, and what the overall point values are.
… test file and produces a score report that instructors can use to determine max possible points when configuring their autograder assignments
… as the new feature for generating score reports from test scripts
Score report
Owner
|
Awesome, this looks great! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In response to issue #14 , I have added a new function,
getTestScriptReport, which accepts a given test script as an argument. It parses the test cases, counts them up and sums their point values, and generates a formatted report (seen below) that summarizes the test script.This should be useful for auditing test scripts and quickly counting tests/points when configuring an autograder.
SIDE NOTE: Apologies for the convoluted commit history. I accidentally forgot to pull changes from
tbrown122387:masterbefore I began my work on this, so I had to go back, revert my commits, rebase from master, and reapply everything.