Skip to content
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 example exercises using different mooc-grader view types #58

Open
markkuriekkinen opened this issue Jun 30, 2022 · 0 comments
Open

Comments

@markkuriekkinen
Copy link
Contributor

The example exercises in the manual focus on file upload exercises and questionnaires. There are also other view types in the mooc-grader. There should be some examples of those in the manual too. For example, view_type access.types.stdasync.acceptPost

https://github.com/apluslms/mooc-grader/tree/master/courses#accesstypesstdasyncacceptpost

RST:

.. submit:: newkey 10
  :config: exercises/someexercise/config.yaml

config.yaml

---
title: Example acceptPost async grading from a text input
view_type: access.types.stdasync.acceptPost
fields:
  - name: answer
    title: Write here
    more: More instructions
    required: true

container:
  image: ...
  mount: exercises/someexercise
  cmd: /exercise/run.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant