# MarkUs Help

You must submit your assignment on MarkUs before the due date. Make sure that you:

• Do coding questions using DrRacket.
• Use the exact filenames given at the top of the assignment under “Files to submit”.
• Use the Racket language level stated.
• Check the Basic Test results.

You can submit an assignment as many times as you want before the due date. By default, we will mark the last submission that was submitted before the due date. (However, see an exception noted in Rollbacks and Re-marks .)

## Logging into MarkUs

• Use Firefox, Safari, or Chrome to access Markus. MarkUs does not work properly with Internet Explorer.
• Use all lowercase letters when entering your userid on the CAS page. Using uppercase letters will render you unrecognizable to the system.
• Use the link to the current term’s MarkUs page.

If you encounter a “Login Failed” message, check that you meet the above three criteria before contacting course personnel. If you are still experiencing issues or have run into different errors (such as a redirect problem), please e-mail cs135@uwaterloo.ca with your Quest userid and a brief description of your error.

## Submitting Assignments

On your MarkUs homepage, click an assignment’s name to go to its page.

Submissions: This box shows you how many files you have submitted and how many of the required files you are missing. The “Missing Required Files” will initially be equal to the number of files you have to submit. As you submit the properly named files, this number will decrease. Assignment Rules: This box has the assignment name, due date, and the names of the required files for the assignment. You must name your assignment submissions as indicted by the list.

Click the “Submissions” tab at the top of the page.

2. Select the files that you want to add or replace. If you select a file that has already been uploaded, it will be replaced. Otherwise, it will be added.
3. You can select multiple files at a time by pressing the SHIFT or CTRL key on your keyboard (⌘ on Macs).

## Deleting files

You can delete files by checking the files you want to delete in the table, and clicking ‘Delete’ button.

## Common Errors

Dr Racket error messages tend to be fairly clear. MarkUs ones can be mysterious. With that in mind, here are some of the more common messages you might encounter:

• FAILED; expected #t, saw #f usually means that your code has failed one of the basic test cases. That usually means your code has a bug someplace.
• contract violation sometimes indicates that you are passing an improper type into a function. For example, you may be passing in a Str instead of a (listof Char). This may also show up as the error “expected argument of type BLAH; given BLRG”.
• function not defined often means that your function names do not match the ones in the assignment specification exactly. Check the names of the functions and make sure they consume the specified parameters in their given order.
• out of memory often means your program has been running for too long. This may be because you are recursing infinitely, or it may be because your program contains an exponential blowup. This error can also occur if you are using a disallowed function in your code. Check the assignment question specifications carefully.
• arity mismatch means that you are passing the wrong number of arguments to a function somewhere.

If you are still stuck then you should contact an instructor or ISA in office hours.

## Viewing past actions (assignment history)

Your instructor may allow you to view your past submissions. In that case, you will see a table under the “Assignment History” heading that shows your past submissions, and any actions that MarkUs or the course staff may have done on your account.

• DATE AND TIME column shows when the submission or action was performed.
• AUTHOR column shows who performed the action. The bottom-most row will show “markus”; this is just markus creating the assignment folder for you.
• CHANGES column shows the change that happened. If you replace a file, the change will be labelled “Updated” even if you didn’t actually make any changes to the file.
• TEST SUMMARY column will only show up if your instructor has enabled it. It will show you a summary of the Basic Test results. Click the summary to see more details.

## Running a Basic Test

You can run a basic test on your latest submission by clicking ‘Run Basic Tests’ button. This button will only appear if your instructor has enabled it. The test should finish in a few minutes at most. If your test is running for more than 5 minutes, please contact a course staff.