-
Notifications
You must be signed in to change notification settings - Fork 29
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 Rubyric exercises, details about the configuration of the exercises and instructions about local development #25
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
_external: true | ||
title: Hello Rubyric | ||
description: Submit a text file (.txt) with the contain "Hello Rubyric" | ||
max_submissions: 10 | ||
max_points: 10 | ||
points_to_pass: 6 | ||
min_group_size: 1 | ||
max_group_size: 2 | ||
lti: Rubyric | ||
lti_aplus_get_and_post: true | ||
url: /aplus_exercise | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is good to mention in the manual that the special URL There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added a short description There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't realize this before. Have you tested the automatic Rubyric setup (using url There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did not test that. But it seems like the group size is not set automatically. I tried the following configuration min_group_size: 1
max_group_size: 4 But the result was the following: 🤔 So it seems like those options are useless. Should I remove them from the example?. In one comment above, I added a screenshot that shows that the Regarding the other settings, I think the whole module cover most of them, and there is no need for adding more details about them. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The group size settings are NOT useless. They are simply not automatically forwarded to Rubyric and we should remind the reader that many settings need to be manually configured in Rubyric (after the exercise has been created in Rubyric either manually or automatically). Note that the group size setting must be defined in BOTH A+ and Rubyric in order to enable group submissions (when Rubyric exercises are integrated into A+). The config.yaml group size settings define them for A+, and once the group size options are added to the RST submit directive, RST can be used too. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Although the instructions about groups in Rubyric https://plus.cs.aalto.fi/aplus-manual/experimental/rubyric/04_roles_and_groups/#groups do not mention the A+ side. I think we should make those changes in a new PR. |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
Example Rubyric exercise | ||
======================== | ||
|
||
The following examples will allow you to submit a test exercise. However, these | ||
exercises will not be reviewed by the A+ team, and you won't get a grade. The | ||
only intention of having these test exercises heres is to show you how the UI of | ||
the Rubyric exercises looks like, and how the settings added in the RST | ||
directives affect the actual Rubyric exercise. | ||
|
||
Worth mentioning that the first exercise was set up using only RST, while the | ||
second exercises was set up using a **config.yaml** file. As you can | ||
see both exercises work just fine. However, we **STRONGLY** recommend setting up | ||
your exercises using RST, and avoid the use of the **config.yaml** file. | ||
|
||
.. _rubyric-exercise: | ||
|
||
.. submit:: rubyric_example 10 | ||
:title: Rubyric example | ||
:lti: Rubyric | ||
:lti_aplus_get_and_post: | ||
:url: /aplus_exercise | ||
|
||
.. submit:: rubyric 10 | ||
:config: exercises/hello_rubyric/config.yaml |
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.
Why was this internal value required?
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.
That is a good question. I was actually taking some config values from the o1 course
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.
a-plus-rst-tools adds
_external: true
for LTI exercises, but I am not sure if it is really necessary. However, we should recommend teachers to use RST when it is possible instead of writing YAML config files manually. The group size settings are still missing from the submit RST directive.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.
Most likely the parameter
_external
is not necessary in this case. Therefore, I will remove it. @Mankro which group size setting?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.
Actually, you can see in
a-plus-rst-tools/toc_config.py
that the_external
field is used in an if branch. Thus, it can't be removed.The group size settings consist of
min_group_size
andmax_group_size
. They haven't been added to the submit RST directive.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.
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.
That is what I said. Nobody has added the group size settings to the submit RST directive. They are missing. Adding them is a task for another pull request. Currently, one needs to use a config.yaml file in order to define a group exercise.
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.
apluslms/a-plus-rst-tools#70
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.
When I said that the group size settings are missing from the RST submit directive, I meant that they are a missing feature and not YET implemented in the code. You seem to have read it as "missing from the RST example, let's add the options to the example exercise". Now it should be clear!
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.
Yes, now it is clear.