-
Notifications
You must be signed in to change notification settings - Fork 9
Results format
Results internal format is a json like this:
{
"cols": cols,
"rows": rows
}
[
{
"key": key,
"name": display_name,
"task": task_info
},
...
]
Column id (e.g. task number, or "sum" for summary column).
Column display name (Usually a task number, or ∑).
{
"id": task_id,
"name": task_name
}
Id of the task in db (used for linking the task from the column header).
Name of the task (displayed when hovering the column header).
[
{
"rank": rank,
"user": user_info
"active": active,
"cell_list": cell_list
},
...
]
Rank of the user in the results page.
{
"id": user_id,
"name": user_full_name,
"year": school_year,
"school": school_info
"username": username
}
Id of the user in DB (can be used to link to the user profile from results page), currently unused.
Full name of the user as displayed in the results page.
School year of the user.
{
"id": school_id,
"name": school_short_name,
"verbose_name": school_full_name
},
Id of the school in DB.
School name abbreviation, displayed in the result page.
Full school name, displayed vhen hovering the shool name in the results page.
If the user is eligible for the results page. If active is false, the row is considered ignored.
[
{
"active": active,
"points": total_points,
"auto_points": testing_points,
"manual_points": reviewer_points
},
]
Whether this cell is included in total. If false, the cell is grayed out.
Note that the total is also a cell, and it's not computed automatically based on this information.
Sum of auto_points and manual_points. This is displayed as a cell value.
Points from automatic testing. Displayed when hovering the cell.
Points from manual review, granted by the reviewer. Displayed when hovering the cell.