Skip to content

Course templates #38

@sealexan

Description

@sealexan

Given #36, it will no longer be possible to programmatically define an entire course. This should however remain possible!

For this purpose, a task pool repo should be able to specify one or more course templates, which can then be imported in the ACCESS UI to create a course structure with a single click, instead of having to construct assignments from tasks manually.

The template could be defined as follows:

  "template": [
    {"assignment": "Using Loops",
     "slug": "loops",
     "description": "In this exercise, you learn how to practice loops",
     "cover": "/resources/assignment_loops.svg",
     "tasks": [
            "/loops/range_using_for",
            "/loops/range_using_while"
        ]
    },
    {"assignment": "Using if/elif/else",
     "slug": "ifelse",
     "description": "Branching based on conditions is a programming staple",
     "cover": "/resources/assignment_ifelse.svg",
     "tasks": [
            "/ifelse/fizzbuzz"
        ]
    }
  ]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions