Skip to content

Commit f7f01ff

Browse files
feat: UTC-521: Make Continuous Evaluation Ground Truth task number configurable (#746)
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: robot-ci-heartex <robot-ci-heartex@users.noreply.github.com>
1 parent e06e45d commit f7f01ff

7 files changed

Lines changed: 28 additions & 0 deletions

File tree

reference.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9599,6 +9599,14 @@ client.projects.update(
95999599
<dl>
96009600
<dd>
96019601

9602+
**annotator_evaluation_continuous_tasks:** `typing.Optional[int]`
9603+
9604+
</dd>
9605+
</dl>
9606+
9607+
<dl>
9608+
<dd>
9609+
96029610
**annotator_evaluation_enabled:** `typing.Optional[bool]` — Enable annotator evaluation for the project
96039611

96049612
</dd>

src/label_studio_sdk/projects/client.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ def update(
490490
agreement_threshold: typing.Optional[str] = OMIT,
491491
annotation_limit_count: typing.Optional[int] = OMIT,
492492
annotation_limit_percent: typing.Optional[str] = OMIT,
493+
annotator_evaluation_continuous_tasks: typing.Optional[int] = OMIT,
493494
annotator_evaluation_enabled: typing.Optional[bool] = OMIT,
494495
annotator_evaluation_minimum_score: typing.Optional[str] = OMIT,
495496
annotator_evaluation_minimum_tasks: typing.Optional[int] = OMIT,
@@ -554,6 +555,8 @@ def update(
554555
555556
annotation_limit_percent : typing.Optional[str]
556557
558+
annotator_evaluation_continuous_tasks : typing.Optional[int]
559+
557560
annotator_evaluation_enabled : typing.Optional[bool]
558561
Enable annotator evaluation for the project
559562
@@ -691,6 +694,7 @@ def update(
691694
agreement_threshold=agreement_threshold,
692695
annotation_limit_count=annotation_limit_count,
693696
annotation_limit_percent=annotation_limit_percent,
697+
annotator_evaluation_continuous_tasks=annotator_evaluation_continuous_tasks,
694698
annotator_evaluation_enabled=annotator_evaluation_enabled,
695699
annotator_evaluation_minimum_score=annotator_evaluation_minimum_score,
696700
annotator_evaluation_minimum_tasks=annotator_evaluation_minimum_tasks,
@@ -1589,6 +1593,7 @@ async def update(
15891593
agreement_threshold: typing.Optional[str] = OMIT,
15901594
annotation_limit_count: typing.Optional[int] = OMIT,
15911595
annotation_limit_percent: typing.Optional[str] = OMIT,
1596+
annotator_evaluation_continuous_tasks: typing.Optional[int] = OMIT,
15921597
annotator_evaluation_enabled: typing.Optional[bool] = OMIT,
15931598
annotator_evaluation_minimum_score: typing.Optional[str] = OMIT,
15941599
annotator_evaluation_minimum_tasks: typing.Optional[int] = OMIT,
@@ -1653,6 +1658,8 @@ async def update(
16531658
16541659
annotation_limit_percent : typing.Optional[str]
16551660
1661+
annotator_evaluation_continuous_tasks : typing.Optional[int]
1662+
16561663
annotator_evaluation_enabled : typing.Optional[bool]
16571664
Enable annotator evaluation for the project
16581665
@@ -1798,6 +1805,7 @@ async def main() -> None:
17981805
agreement_threshold=agreement_threshold,
17991806
annotation_limit_count=annotation_limit_count,
18001807
annotation_limit_percent=annotation_limit_percent,
1808+
annotator_evaluation_continuous_tasks=annotator_evaluation_continuous_tasks,
18011809
annotator_evaluation_enabled=annotator_evaluation_enabled,
18021810
annotator_evaluation_minimum_score=annotator_evaluation_minimum_score,
18031811
annotator_evaluation_minimum_tasks=annotator_evaluation_minimum_tasks,

src/label_studio_sdk/projects/raw_client.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ def update(
519519
agreement_threshold: typing.Optional[str] = OMIT,
520520
annotation_limit_count: typing.Optional[int] = OMIT,
521521
annotation_limit_percent: typing.Optional[str] = OMIT,
522+
annotator_evaluation_continuous_tasks: typing.Optional[int] = OMIT,
522523
annotator_evaluation_enabled: typing.Optional[bool] = OMIT,
523524
annotator_evaluation_minimum_score: typing.Optional[str] = OMIT,
524525
annotator_evaluation_minimum_tasks: typing.Optional[int] = OMIT,
@@ -583,6 +584,8 @@ def update(
583584
584585
annotation_limit_percent : typing.Optional[str]
585586
587+
annotator_evaluation_continuous_tasks : typing.Optional[int]
588+
586589
annotator_evaluation_enabled : typing.Optional[bool]
587590
Enable annotator evaluation for the project
588591
@@ -713,6 +716,7 @@ def update(
713716
"agreement_threshold": agreement_threshold,
714717
"annotation_limit_count": annotation_limit_count,
715718
"annotation_limit_percent": annotation_limit_percent,
719+
"annotator_evaluation_continuous_tasks": annotator_evaluation_continuous_tasks,
716720
"annotator_evaluation_enabled": annotator_evaluation_enabled,
717721
"annotator_evaluation_minimum_score": annotator_evaluation_minimum_score,
718722
"annotator_evaluation_minimum_tasks": annotator_evaluation_minimum_tasks,
@@ -1642,6 +1646,7 @@ async def update(
16421646
agreement_threshold: typing.Optional[str] = OMIT,
16431647
annotation_limit_count: typing.Optional[int] = OMIT,
16441648
annotation_limit_percent: typing.Optional[str] = OMIT,
1649+
annotator_evaluation_continuous_tasks: typing.Optional[int] = OMIT,
16451650
annotator_evaluation_enabled: typing.Optional[bool] = OMIT,
16461651
annotator_evaluation_minimum_score: typing.Optional[str] = OMIT,
16471652
annotator_evaluation_minimum_tasks: typing.Optional[int] = OMIT,
@@ -1706,6 +1711,8 @@ async def update(
17061711
17071712
annotation_limit_percent : typing.Optional[str]
17081713
1714+
annotator_evaluation_continuous_tasks : typing.Optional[int]
1715+
17091716
annotator_evaluation_enabled : typing.Optional[bool]
17101717
Enable annotator evaluation for the project
17111718
@@ -1836,6 +1843,7 @@ async def update(
18361843
"agreement_threshold": agreement_threshold,
18371844
"annotation_limit_count": annotation_limit_count,
18381845
"annotation_limit_percent": annotation_limit_percent,
1846+
"annotator_evaluation_continuous_tasks": annotator_evaluation_continuous_tasks,
18391847
"annotator_evaluation_enabled": annotator_evaluation_enabled,
18401848
"annotator_evaluation_minimum_score": annotator_evaluation_minimum_score,
18411849
"annotator_evaluation_minimum_tasks": annotator_evaluation_minimum_tasks,

src/label_studio_sdk/types/all_roles_project_list.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class AllRolesProjectList(UncheckedBaseModel):
3030
allow_stream: typing.Optional[bool] = None
3131
annotation_limit_count: typing.Optional[int] = None
3232
annotation_limit_percent: typing.Optional[str] = None
33+
annotator_evaluation_continuous_tasks: typing.Optional[int] = None
3334
annotator_evaluation_enabled: typing.Optional[bool] = pydantic.Field(default=None)
3435
"""
3536
Enable annotator evaluation for the project

src/label_studio_sdk/types/lse_project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class LseProject(UncheckedBaseModel):
2828

2929
annotation_limit_count: typing.Optional[int] = None
3030
annotation_limit_percent: typing.Optional[str] = None
31+
annotator_evaluation_continuous_tasks: typing.Optional[int] = None
3132
annotator_evaluation_enabled: typing.Optional[bool] = pydantic.Field(default=None)
3233
"""
3334
Enable annotator evaluation for the project

src/label_studio_sdk/types/lse_project_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class LseProjectResponse(UncheckedBaseModel):
2828
allow_stream: typing.Optional[bool] = None
2929
annotation_limit_count: typing.Optional[int] = None
3030
annotation_limit_percent: typing.Optional[str] = None
31+
annotator_evaluation_continuous_tasks: typing.Optional[int] = None
3132
annotator_evaluation_enabled: typing.Optional[bool] = pydantic.Field(default=None)
3233
"""
3334
Enable annotator evaluation for the project

src/label_studio_sdk/types/lse_project_update.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class LseProjectUpdate(UncheckedBaseModel):
2828

2929
annotation_limit_count: typing.Optional[int] = None
3030
annotation_limit_percent: typing.Optional[str] = None
31+
annotator_evaluation_continuous_tasks: typing.Optional[int] = None
3132
annotator_evaluation_enabled: typing.Optional[bool] = pydantic.Field(default=None)
3233
"""
3334
Enable annotator evaluation for the project

0 commit comments

Comments
 (0)