Using Microsoft Copilot to Create WeBWorK Problems
Microsoft Copilot basic access is available using your Dalhousie NetID.
Copilot can assist instructors and teaching assistants in creating new WeBWorK problems for Mathematics and Statistics courses, even if they have little or no knowledge of Perl programming or WeBWorK PG files.
Getting Started
Download the authoring files
The instructions, templates, examples, and other files that can be provided to Copilot are available
here
Describe your problem idea to Copilot
You do not need to know PG or Perl syntax. Describe the mathematical or statistical concept you want to assess, along with any requirements such as difficulty, randomization, notation, rounding, or question style.
Test multiple randomized versions of the problem and verify both correct and incorrect answers. Check the mathematical content, displayed values, rounding, answer tolerances, tables, notation, and problem formatting.
If WeBWorK reports an error or warning, provide Copilot with:
Copilot can then diagnose the problem and suggest or generate a corrected PG file.
The supplied Copilot instructions, templates, examples, and authoring guide incorporate many issues already encountered during our course migrations, which should reduce the likelihood of common PG authoring errors.
Notes
About these resources
The resulting authoring resources capture many of the practices, pitfalls, debugging techniques, randomization strategies, and WeBWorK conventions discovered during that work.
Important note about R in Statistics problems
When describing a Statistics problem to Copilot, please do not explicitly request that R be used. Simply describe the statistical problem, calculations, data, plots, or learning objectives you require and allow Copilot to construct the problem using the standard WeBWorK facilities.
This is a pilot
These Copilot authoring resources are new and will continue to evolve as Mathematics and Statistics instructors and TAs use them.
If you encounter:
a Copilot-generated PG error;
a problem that behaves differently under different randomizations;
a WeBWorK feature that Copilot handles incorrectly;
a missing template or example;
a problem that works particularly well;
or a useful authoring technique that should be documented,
Please report it so that the shared authoring resources can be improved for everyone.