Follow this link to log into WebWork: webwork.ucsd.edu (opens in new window)
Exporting WeBWorK Scores
Saving and Reusing a WeBWorK Course
Requesting a WebWork Course
- A WebWork course must be requested from ACMS. The request is made when completing the CINFO request form.
- Your username for WeBWorK is the first part of your UCSD e-mail address, before the @ symbol.
- Your password is your UCSD campus Active Directory password (also known as your "ACMS student account" password). This is the same password you use to access things like your UCSD email account.
- WeBWorK will be made available to the students on the first day of classes.
Setting up a WeBWorK course
- The students will be added to your WebWork course automatically by ACMS. This is an automated process that adds students at regular intervals. If a student adds to the course late, they should be added to the WebWork course eventually (in a day or two), but not immediately.
- TAs must be added manually by the instructor. Go to the Classlist Editor and select "Add". Enter in the desired number of students to add and click on the "Take Action!" button. You can enter your TA's information and then click "Add Students". The only important entry is "Email Address". Make sure you enter the TA's official UCSD email address. I suggest putting something like "TA" in the "Comment" box, so you can easily find your TAs later, because you still have to change their permission levels. You can change your TA's permission level in the Classlist Editor using the "Edit" option.
- The instructor must create the assignments and choose problems to include in the assignments. Pre-written problems may be chosen from a library using the "Library Browser" or may be created by the instructor. The “Open Problem Library” (OPL) is a collection of problems created by individuals from all over the world. Quality of problems in the OPL are not guaranteed by any organization or individual. They are created by various people (mostly academics) who are not professional coders. (It is recommended that all problems chosen for homework assignments be downloaded and saved locally, in case editing is needed. Problems stored on the OPL cannot be edited without authorization.)
- Problems may also be selected from the local private library called "Rogawski 2nd Ed PRIVATE". These problems were given to us by W.H. Freeman, the publisher of the Rogawski Calculus textbook. We are allowed to use these problems, but W.H. Freeman does not offer support for them, so if you encounter a coding issue, you are on your own. Many of the problems have been rewritten by one or more individuals in our department and should work without difficulty.
- If a problem needs to be edited, this must be done by the instructor (or a TA).
- Problems may be created by the instructor (or TA). WebWork code is written in a language called PGL (for “Program Generation Language”). PGL is based on Perl, but does incorporate elements of HTML and TeX. Any new problems will have to be written by the instructor (or TA), since the department does not have the resources to write problems.
- The instructor must set due dates.
- The instructor must choose the number of attempts that students can have on each problem. It is recommended that the students be allowed unlimited attempts for "fill-in-the-blank" type problems. This will eliminate most technical issues. Students often have a hard time entering their answers using proper syntax. If they have limited attempts, they will frequently email the instructor asking why the online homework system is not accepting their answer. Also, an unlimited number of attempts reduces the appeal of cheating.
- Many problems in the OPL and the local library have solutions included in the code. A date may be chosen at which time the solutions to these problems become available to the student. There is no functionality to show the students a solution on a problem-by-problem basis.
- The instructor must set a point value for each WebWork problem. It is advised that each problem be worth one point.
Exporting WeBWorK Scores
- At the end of the term, the instructor must download the WebWork scores. (The scores can be downloaded at any time during the quarter, not just at the end.) The student scores can easily be downloaded using the "Export for Ted" feature in the Scoring Tools. (Note: Ted is now TritonEd. These references to Ted within WebWork will likely be changed at some point in the future.)
- There are two ways to download the WebWork scores:
- Click on "Scoring Tools". Select all homework assignments you wish to scores and click "Score selected set(s) and save to:" The default file name is "class-name_totals.csv" but you can change it to anything you like. If more than one homework set is selected, the column labeled "summary" has the total score.
- Under "Scoring Tools", click on "Export for Ted". This will generate a file that is pre-formatted for Ted. Select all homework assignments you wish to scores and click "Score selected set(s) and save to:" The default file name is "class-name_totals_ted.csv" but you can change it to anything you like. This file does not contain a column with a running total. If you would like a "total score" column, you will need to make one manually.
- The following procedure can be used to upload WebWork scores to TritonEd. It is assumed that a .csv file called "class-name_totals_ted.csv" was generated using the "Export for TritonEd" feature in the Scoring Tools. It is also assumed that a "total score" column was created with heading "WebWork". The procedure will result in a column in TritonEd with heading "WebWork" that contains the total WebWork score for each student. Any other WebWork assignment columns in the .csv file will also create a column in TritonEd, so if you only want a "total score" column, then you should delete all other columns. (Do not delete the "username" column. That is how TritonEd recognizes your students.)
- Log into TritonEd.
- Select "Grade Center" and then "Full Grade Center".
- Select "Work Offline" (upper right) and then "Upload".
- Click "Browse My Computer" and then select the file "class-name_totals_ted.csv". Click submit.
At this point you will get a long red banner at the top of your screen with an error message that says "Error: The following usernames are invalid: ..." Ignore this error message. The users it lists are not in your class. (They are students that dropped the class, TAs, administrative staff, etc.) When you click "Submit", TritonEd will ignore these extra users.
- Click "Submit".
You will now have a column in your Grade Center called "WebWork". The default data type is "Text" and the default "Points Possible" is 0. You may change these settings by following these optional steps:
- Activate the pull-down menu on the WebWork column by clicking the downward pointing arrowhead. Select "Edit Column Information".
- Change "Points Possible" to the number listed above.
- Change "Primary Display" to "Score".
- Change "Options".
Saving and Reusing a WebWork Course
(Courtesy of Glenn Tesler)
In case you'll be teaching a similar class again, you may want to save a number of files so you can re-use homework sets and any edited .pg files in the future. Go to the "File Manager" to download these:
- In the "templates" directory (where the "File Manager" starts):
course_info.txt (select it and hit "Download")
This creates the "Course Info" box that's shown on the main "Homework Sets" screen.
- Go up a directory to the top level directory named after your course (e.g., math20c-InstructorName-fa15) and download these:
These have various settings shown on "Course Configuration".
Homework sets: There are two parts to this.
- The problem set definition files, which list which problems are in each set (by long path names), the number of points on each problem, number of tries, set open/due/answer dates, etc. But it does not have the code for any of the problems.
- The code for the problems (.pg files and possibly others, like graphics).
Problem set definition files (setXYZ.def):
- Go to "Hmwk Sets Editor2"
Click on the "Export" tab
Either select individual homework sets (and change "Export which sets?" to "selected sets") or else change it to "all sets" and then hit "Take Action!".
This puts problem set definition files into the "templates" directory".
If you originally had homeworks "HW1", "HW2", ..., they are put in files "setHW1.def", "setHW2.def", ...
- Go to the File Manager to the "templates" directory.
- Select all of the files setXYZ.def and hit "Make Archive"
- That puts them in a file named after your course, with .tgz at the end, e.g., "math20c-InstructorName-fa15.tgz". Select that file and hit "Download".
Problems you created or edited:
- These are in subdirectories of templates/local
- Go to the File Manager, to the "templates" directory
- Select "local" and click on "Make Archive"
- That creates local.tgz. Select it and hit "Download".
To use these in a future course:
- Upload the .def files to the "templates" directory of the new course (or upload the archive and unpack it, with the .def files ending up in the "templates" directory). Then use "Hmwk Sets Editor2" and "Import". At minimum, you'll have to change open/due/answer dates. You can also make other changes after uploading it, though you can't change the set names within WW.
- You cannot rename the homework sets within WW, though, so if you want to rename them, do so before re-uploading. E.g., I wanted to have access to my old homework sets while creating my new ones, so I changed filenames to "setOLDHW1.def", etc., before re-uploading so they'd be called "OLDHW1" within the new class. Then on "Hmwk Sets Editor2", you can use "Create" to select "OLDHW1" and make a copy of it with the name "HW1".
- Upload local.tgz to the "templates" directory of the new course and unpack it. If you re-use set definition files that already refer to .pg files in local, it's good. In the regular Library Browser, you can find them under "Local Problems".