2323 dataRowsDoneCount
2424 dataRowsInReviewCount
2525 dataRowsInReworkCount
26+ tasksTotalCount
27+ tasksCompletedCount
28+ tasksRemainingCount
2629 mediaType
2730 editorTaskType
2831 tags
@@ -40,12 +43,17 @@ class LabelingServiceDashboard(BaseModel):
4043 """
4144 Represent labeling service data for a project
4245
46+ NOTE on tasks vs data rows. A task is a unit of work that is assigned to a user. A data row is a unit of data that needs to be labeled.
47+ In the current implementation a task reprsents a single data row. However tasks only exists when a labeler start labeling a data row.
48+ So if a data row is not labeled, it will not have a task associated with it. Therefore the number of tasks can be less than the number of data rows.
49+
4350 Attributes:
4451 id (str): project id
4552 name (str): project name
4653 status (LabelingServiceStatus): status of the labeling service
47- data_rows_count (int): total number of data rows in the project
48- data_rows_done_count (int): number of data rows completed
54+ data_rows_count (int): total number of data rows batched in the project
55+ tasks_completed_count (int): number of tasks completed (in the Done queue)
56+ tasks_remaining_count (int): number of tasks remaining (in a queue other then Done)
4957 tags (List[LabelingServiceDashboardTags]): tags associated with the project
5058 media_type (MediaType): media type of the project
5159 editor_task_type (EditorTaskType): editor task type of the project
@@ -58,9 +66,8 @@ class LabelingServiceDashboard(BaseModel):
5866 created_by_id : Optional [str ] = Field (frozen = True , default = None )
5967 status : LabelingServiceStatus = Field (frozen = True , default = None )
6068 data_rows_count : int = Field (frozen = True )
61- data_rows_done_count : int = Field (frozen = True )
62- data_rows_in_review_count : int = Field (frozen = True )
63- data_rows_in_rework_count : int = Field (frozen = True )
69+ tasks_completed_count : int = Field (frozen = True )
70+ tasks_remaining_count : int = Field (frozen = True )
6471 media_type : Optional [MediaType ] = Field (frozen = True , default = None )
6572 editor_task_type : EditorTaskType = Field (frozen = True , default = None )
6673 tags : List [LabelingServiceDashboardTags ] = Field (frozen = True , default = None )
0 commit comments