23
23
dataRowsDoneCount
24
24
dataRowsInReviewCount
25
25
dataRowsInReworkCount
26
+ tasksTotalCount
27
+ tasksCompletedCount
28
+ tasksRemainingCount
26
29
mediaType
27
30
editorTaskType
28
31
tags
@@ -40,12 +43,17 @@ class LabelingServiceDashboard(BaseModel):
40
43
"""
41
44
Represent labeling service data for a project
42
45
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
+
43
50
Attributes:
44
51
id (str): project id
45
52
name (str): project name
46
53
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)
49
57
tags (List[LabelingServiceDashboardTags]): tags associated with the project
50
58
media_type (MediaType): media type of the project
51
59
editor_task_type (EditorTaskType): editor task type of the project
@@ -58,9 +66,8 @@ class LabelingServiceDashboard(BaseModel):
58
66
created_by_id : Optional [str ] = Field (frozen = True , default = None )
59
67
status : LabelingServiceStatus = Field (frozen = True , default = None )
60
68
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 )
64
71
media_type : Optional [MediaType ] = Field (frozen = True , default = None )
65
72
editor_task_type : EditorTaskType = Field (frozen = True , default = None )
66
73
tags : List [LabelingServiceDashboardTags ] = Field (frozen = True , default = None )
0 commit comments