Demo: ANSI colors in code autograder output

This question demonstrates how ANSI escape sequences can be used to add color to the output from external grading jobs. Just click Save & Grade to see the output; we fake the results of a real externally-graded question in server.py.

Correct answer

Student view placeholder

In student views this area is used for assessment and score info.
Tools

Staff information

Question

Title:
Demo: ANSI colors in code autograder output

Variant

Started at:
2026-09-19 09:07:09 (CDT)
Duration:
0s
Show/Hide answer
{}
History
dec frac
rad deg