10 min left 0%

Statistics

DATA1x01 revision masterclass: slides and live Quarto voting

Slides and worked answers from my November 2026 DATA1001 and DATA1901 revision workshop, with the source code and Cloudflare workflow for adapting live voting to other Quarto presentations.

Introductory 10 min read Published 4 November 2026
View masterclass source

On 10 November 2026, I led a DATA1x01 revision masterclass organised by the Sydney University Artificial Intelligence Association, Sydney University Data Society and University of Sydney Statistics Society. I prepared the session for students taking DATA1001 and DATA1901, using a shared data story to work through statistical reasoning and exam-style questions.

Thank you to the societies for organising the workshop and to everyone who attended. The slides and worked answers are available here for revision. I have also linked the source and explained the live voting setup for educators and students who would like to adapt it to their own Quarto presentations.

Slides and worked answers

The presentation contains 13 multiple-choice questions and three short-answer tasks, with worked explanations and suggested marking criteria. It covers study design, data ethics, transformations, probability, measurement error, sampling, confidence intervals, regression and hypothesis testing. The examples return to the relationships between sleep, caffeine and quiz performance.

In the HTML version, use the arrow keys or Space to move through the slides and reveal explanations. Try each question before advancing. For multiple-choice questions, explain why the distractors are wrong as well as why the correct answer works. For the short-answer tasks, write a complete response before comparing it with the exemplar and marking criteria.

The PDF shows the answer fragments together on each slide, making it useful for annotation or printing. The HTML retains the sampling-distribution and confidence-interval demonstrations. These archived files contain the teaching material, without the class’s voting results or students’ personal receipts. Some slides refer to activities that took place during the live workshop. Linked Canvas pages require a University login.

Live voting during the workshop

I used live questions within the presentation so that students could answer from their phones while following the projected slides. Students joined through a QR code, and the phone page followed the active question without requiring an app or student account.

The opening word cloud asked how students felt about the exam. Each multiple-choice question also asked students to select Guessing, Unsure or Confident after choosing an answer. Revealing the answer closed voting and displayed the class results alongside the explanation, including the confidence distribution as percentages. This made it possible to discuss a correct guess or a confident mistake, rather than treating every answer as equivalent evidence of understanding.

At the end, students could view a personal revision receipt based on their incorrect or low-confidence answers. Each priority linked back to the relevant Canvas topics and learning outcomes. Receipts could be downloaded or opened in the student’s own email app, without the voting service collecting an email address.

The presenter could also export a CSV containing answer distributions, confidence ratings, topic and learning outcome summaries and the opening word-cloud phrases with their frequencies. The topic summaries counted each anonymous participant once within a topic, even if several answers indicated a revision priority. The session export documentation explains the fields and denominators.

These features support formative discussion and revision planning. Participation uses random browser identities rather than verified student records, so the results are not intended for formal assessment.

The Quarto extension behind the questions

The voting system builds on Sean Davis’s Live Questions for Quarto revealjs. The original extension provides polls, quizzes, word clouds and rating scales within Quarto slides, with a server that can run on Cloudflare or in Docker. Its README covers installation, question syntax, presenter controls and deployment.

I adapted version 1.2.0 for this workshop, adding the first-slide session controls, confidence ratings, revision receipts, course mappings and CSV reporting. The provenance notes distinguish the original extension from the course integration. The upstream extension is MIT-licensed, and its licence and third-party notices are retained in the project.

For a new presentation that needs standard polls or word clouds, the upstream extension is the most direct starting point. The masterclass repository provides a complete example of the additional features and the deployment workflow used here.

How the Cloudflare setup works

The classroom presentation and voting service run together on a Cloudflare Worker. The Worker serves the slide HTML and phone interface. A Durable Object holds each session’s questions and responses, while WebSocket connections keep the presenter and audience pages in sync.

The presenter opens a question by reaching its slide. Phones receive the current question, students submit their answers, and the server updates the aggregate results. Revealing an answer closes voting and supplies the information needed for the personal revision receipts. Each new workshop uses a separate session, so its responses remain separate from rehearsals and earlier classes.

The presenter key authorises control of a session and access to the results export. It is a Cloudflare secret, rather than a value embedded in the published slides or committed to GitHub. Students do not need that key to participate. The copies linked at the top of this page are a fixed workshop archive hosted on this website. The live presentation is the separately maintained Cloudflare deployment.

Editing in RStudio and publishing through GitHub

The presentation source is masterclass.qmd, which I edit in RStudio. The questions, explanations and slide structure stay together in that file. For the multiple-choice questions, the integration derives the phone prompts and options from the visible answer rows, helping keep the phone and projected versions consistent.

Pushing changes to main starts the GitHub Actions workflow. It:

  1. Builds the browser and server code and checks voting, receipts and exports.
  2. Generates the revision mappings, statistical examples and R figures.
  3. Renders the Quarto presentation and validates its questions and numerical examples.
  4. Saves the rendered HTML as a build artifact and deploys the Worker with Wrangler after the checks pass.

Pull requests run the build and validation steps without publishing. A failed check leaves the previous successful deployment available. This lets the routine authoring workflow remain edit, commit and push, with rendering and deployment handled by the repository.

This project uses GitHub Actions as its deployment pipeline. Cloudflare’s own Workers Builds service is another option, described in the upstream extension’s documentation. Use the pipeline you configure for your project so that one push does not trigger competing deployments.

Adapting the project to another presentation

Start with the source

Fork or clone the masterclass repository. The complete project includes the Quarto extension, voting service, course mappings and workflow. To render it locally, use Quarto 1.9 or later, Node.js 22 or later, Python with the packages in requirements.txt, and R with ggplot2 installed.

From the project folder:

python -m pip install -r requirements.txt
cd live-questions
npm ci
npm run build
node scripts/check-learning-features.mjs
cd ..
quarto render masterclass.qmd --to revealjs

The checked-in project already contains its adapted extension. If you want to use the original extension in a different Quarto project, follow the upstream installation instructions instead.

Configure your own voting service

Deploy a Worker and Durable Object in your own Cloudflare account using the upstream Cloudflare instructions or the deployment helper supplied in the masterclass project. Create your own PRESENTER_KEY secret and retain it for the presenter browser.

For the supplied GitHub Actions workflow, configure these repository settings:

SettingWhere it belongsPurpose
CLOUDFLARE_API_TOKENGitHub Actions secretAllows the workflow to deploy to your Cloudflare account
CLOUDFLARE_ACCOUNT_IDGitHub Actions secretSelects the Cloudflare account
CLOUDFLARE_WORKER_NAMEGitHub Actions variableSelects your voting Worker
PRESENTER_KEYCloudflare Worker secretAuthorises presenter controls and exports

GitHub does not need the presenter key. The project setup guide explains the connection files and first-slide controls. Cloudflare’s GitHub Actions documentation explains deployment authentication.

Replace the questions and course mappings

Edit the slide content, keep question IDs unique and mark the intended correct option in each answer block. Replace the revision mappings with topics, learning outcomes and resource links relevant to your own course. The mappings used by receipts and exports should change with the questions, rather than being carried over unchanged from DATA1x01.

Render and test the presentation locally, then push it to your repository. Once deployment succeeds, open your hosted slides, connect through Start live voting and rehearse with a phone in a separate test session. Check the QR code, answer reveal, confidence ratings and exported results before using it with a class.

Documentation and further reading

Downloads

  • Revision slides: standalone HTML

    The 43-slide presentation with browser interactions and worked answers. Download and open in a browser for offline viewing.

    Download
  • Revision slides: PDF with worked answers

    A printable copy with explanations and short-answer marking criteria visible. The interactive demonstrations remain in the HTML version.

    Download

Private workspace

My notes

Saved only in this browser. Nothing is sent to the website.

    No highlights or notes on this resource yet.

    Navigate

      Page tools

      Site provenance

      How this site works

      Architecture
      Static Astro site
      Generated
      Source revision
      81631f1
      Published resources
      12
      Published updates
      4
      Offline worker
      Checking…
      Local storage used
      Checking…
      Network status
      Checking…

      Privacy by design

      Annotations, saved resources, clinic progress and project drafts remain in this browser. The statistical simulations run in a Web Worker. The reproducibility inspector reads selected files locally and does not upload them.

      Verification

      The production workflow checks TypeScript and Astro diagnostics, builds every static route, validates internal links and runs baseline metadata and accessibility checks.