The Rubric Comment Object

{
  "id": 1, // assigned by codePost API
  "text": "You need to sort the array before executing binary search",
  "pointDelta": 2.0,
  "category": 1,
  "sortKey": 0,
  "explanation": '', // no explanation, so students will see rubricComment.text
}

Attribute

Type

Description

id

integer

Unique identifier for the object.

text

string

The text of the rubric category, visible to Course Admins, Graders, and any Students who receive a Comment linked to this rubric comment.

pointDelta

integer

The amount deducted from submission.grade when this rubric comment is linked to a Comment (subject to category.pointLimit).

category

integer

ID of the Rubric Category which this rubric comment is a part of.

sortKey

integer

The key which determines how rubric comments are sorted within a Rubric Category in the codePost UI. Low keys are shown first.

explanation

string

Text (markdown) that, when defined, will be shown in place of rubricComment.text to students from the Code Console.