Adding and Removing Assignments

Assignments are linked from the course schedule and submitted through Gradescope. Below we discuss how to add assignment files to the site. To make an assignment visible to students, add it to _schedule.yml; see Scheduling Documents for details.

Worksheets

Worksheets are sets of drill-style problems that provide practice with the concepts and skills of a particular day’s lesson. They are stored within the subdirectory containing all of the materials for that day.

PDF worksheets

  1. Create a file called ws.qmd alongside the notes for a given day’s materials. Your directory should look like this:

    intro-to-probability
    ├── notes.qmd
    ├── ws.qmd
  2. At least two YAML options should be specified in the front-matter, title and the custom worksheet format:

    ---
    title: Calculating Chances
    format: stat20worksheet-typst
    ---
  3. Add the worksheet to _schedule.yml for the appropriate class day. Upon rendering the site, it will appear in the course schedule.

The PDF worksheets use the stat20worksheet custom Typst format. See Custom Formats for more information on its use.

Qmd worksheets

  1. Just like with pdfs, create a file called ws.qmd alongside the notes for a given day’s materials. Your directory should look like this:

    intro-to-probability
    ├── notes.qmd
    ├── ws.qmd
  2. Add the following to the front-matter of ws.qmd.

    ---
    title: Simulation
    format:
      html:
        code-tools: 
          source: true
          toggle: false
    sidebar: false
    ---

    The title should have the name of topic, usually the same as the title of the notes. This name will be used in creating the worksheet name in the listing. The remaining yaml options will provide a link at the top right of the worksheet webpage that, when clicked, will produce a pop-up of the source of the qmd file. Students can copy and paste this into a blank qmd file in RStudio (and can remove the extra yaml options).

If you have multiple worksheet files on a single day, you can differentiate them by adding a single letter or digit following ws and hyphen. ws.qmd, ws-2.qmd, and ws-b.qmd should all work. Add each file that students should see to _schedule.yml.

Labs

Warning

Under Construction