> For the complete documentation index, see [llms.txt](https://help.codegrade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.codegrade.com/setup-assignment/build-assignment/setting-up-a-rubric.md).

# Add Rubric

The next step in setting up your assignment is adding a Rubric. Rubrics are used to award points to students either manually or with automatic tests. The points can be structured using different Rubric Categories. To create your Rubric, navigate to the Rubric tab and press "Create new rubric". Alternatively, use the "Copy a rubric" option to copy a rubric from another assignment you have created.

![Creating a new rubric for your CodeGrade assignment](/files/rwbCCHNgUK4DViHAXLNa)

CodeGrade offers two types of Rubric categories:

* **Discrete:** Using a Discrete rubric category, you can award points in discrete steps or "bins". These are great for "Pass/Fail" automatic tests or for manual grading with more options.
* **Continuous:** Using a Continuous rubric category, you can award points on a scale. The scale is determined by setting an upper and lower bound of points. The upper and lower bound can also be negative. These are great for grading automatic tests as the number of points awarded scales according to the number of tests passed.

For each rubric category, you can set a name and a description. These can be used to help make the grading requirements clearer to students. You can also reorder rubric categories by grabbing the handles on the left and dragging them into your preferred order.

![An example rubric in CodeGrade with 2 manual and 4 automatic rubric categories.](/files/rlcBMmK4grR2EoVgC99F)

{% hint style="success" %}
Don't forget to press the "Submit" button once you're done configuring your Rubric!
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.codegrade.com/setup-assignment/build-assignment/setting-up-a-rubric.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
