-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hooks to documentation #2131
Conversation
Improve behavior of list options
autogradeInputFiles now takes assessment and submission params too
WalkthroughWalkthroughThe recent updates focus on refining the documentation and codebase to enhance functionality and clarity around assessment and course hooks. Changes include the documentation of previously undocumented hooks, adjustments in sorting behavior in scoreboards, modifications to autograding input files, and the management of assessment options. These adjustments aim to improve the customization and operational efficiency of assessments and courses within the platform. Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall other than nits, LGTM, docs look quite nice.
Description
Adds a lab hooks section to the documentation
Updates some hooks
listOptions
: backwards compatible change that lets default options be correctly hidden. Also adds error handling.autogradeInputFiles
: additionally pass itassessment
andsubmission
as params. A breaking change, but a necessary one and it doesn't seem to be used.Also makes the following changes to Docs
Adds references to docs in
__defaultAssessment.rb
and fixes errors.Motivation and Context
Closes #1926
How Has This Been Tested?
__defaultAssessment.rb
link (would) link to the right pages.listOptions
by viewing documentation and trying to hide default options and/or defining your own options. Also test the error handling for invalid options.Types of changes
Checklist:
overcommit --install && overcommit --sign
to use pre-commit hook for linting