rapidata 2.24.0__py3-none-any.whl → 2.24.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rapidata might be problematic. Click here for more details.

@@ -13,12 +13,13 @@ class LabelingSelection(RapidataSelection):
13
13
 
14
14
  Args:
15
15
  amount (int): The amount of labeling rapids that will be shown per session.
16
- retrieval_mode (RetrievalMode): The retrieval mode to use. Defaults to "Random".
17
- max_iterations (int | None): The maximum number an annotator can see the same task. Defaults to None.
18
- This parameter is only taken into account when using "Shuffled" or "Sequential" retrieval modes.
16
+ retrieval_mode (RetrievalMode): The retrieval mode to use. Defaults to "Shuffled".
17
+ max_iterations (int | None): An annotator can answer the same task only once if the retrieval_mode is "Shuffled"
18
+ or "Sequential". max_iterations can increase the amount of responses an annotator can do
19
+ to the same task (datapoint).
19
20
  """
20
21
 
21
- def __init__(self, amount: int, retrieval_mode: RetrievalMode = RetrievalMode.Random, max_iterations: int | None = None):
22
+ def __init__(self, amount: int, retrieval_mode: RetrievalMode = RetrievalMode.Shuffled, max_iterations: int | None = None):
22
23
  self.amount = amount
23
24
  self.retrieval_mode = retrieval_mode
24
25
  self.max_iterations = max_iterations
@@ -4,10 +4,6 @@ class RetrievalMode(Enum):
4
4
  """
5
5
  Enum for defining retrieval modes for datapoints.
6
6
  """
7
- Random = "Random"
8
- """
9
- Will just randomly shuffle the datapoints. This is the default and will NOT take into account the "max_iterations" parameter.
10
- """
11
7
  Shuffled = "Shuffled"
12
8
  """
13
9
  Will shuffle the datapoints randomly for each user. The user will then see the datapoints in that order. This will take into account the "max_iterations" parameter.
@@ -16,3 +12,7 @@ class RetrievalMode(Enum):
16
12
  """
17
13
  Will show the datapoints in the order they are in the dataset. This will take into account the "max_iterations" parameter.
18
14
  """
15
+ Random = "Random"
16
+ """
17
+ Will just randomly feed the datapoints to the annotators. This will NOT take into account the "max_iterations" parameter.
18
+ """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rapidata
3
- Version: 2.24.0
3
+ Version: 2.24.1
4
4
  Summary: Rapidata package containing the Rapidata Python Client to interact with the Rapidata Web API in an easy way.
5
5
  License: Apache-2.0
6
6
  Author: Rapidata AG
@@ -485,9 +485,9 @@ rapidata/rapidata_client/selection/ab_test_selection.py,sha256=fymubkVMawqJmYp9F
485
485
  rapidata/rapidata_client/selection/capped_selection.py,sha256=iWhbM1LcayhgFm7oKADXCaKHGdiQIupI0jbYuuEVM2A,1184
486
486
  rapidata/rapidata_client/selection/conditional_validation_selection.py,sha256=OcNYSBi19vIcy2bLDmj9cv-gg5LFSvdjc3tooV0Z7Oc,2842
487
487
  rapidata/rapidata_client/selection/demographic_selection.py,sha256=l4vnNbzlf9ED6BKqN4k5cZXShkXu9L1C5DtO78Vwr5M,1454
488
- rapidata/rapidata_client/selection/labeling_selection.py,sha256=i_E3dUdSC16tmebcK9lMXG1MG1oFhrDfNlkNPaLkVv8,1297
488
+ rapidata/rapidata_client/selection/labeling_selection.py,sha256=0X8DJHgwvgwekEbzVxWPyzZ1QAPcULZNDjfLQYUlcLM,1348
489
489
  rapidata/rapidata_client/selection/rapidata_selections.py,sha256=Azh0ntBZp9EQNL19imIItotQ8QW3B1gEs5YmuTvUn6U,1526
490
- rapidata/rapidata_client/selection/retrieval_modes.py,sha256=vZ6JuMdz5l1AJM7hY7rqBevnsD7bIdpWjpiLDVNKqmA,672
490
+ rapidata/rapidata_client/selection/retrieval_modes.py,sha256=J2jzPEJ4wdllm_RnU_FYPh3eO3xeZS7QUk-NXgTB2u4,668
491
491
  rapidata/rapidata_client/selection/shuffling_selection.py,sha256=FzOp7mnBLxNzM5at_-935wd77IHyWnFR1f8uqokiMOg,1201
492
492
  rapidata/rapidata_client/selection/static_selection.py,sha256=POhVLjzHcUIuU_GCvRxMuCb27m7CkLxaQPwgf20Xo9o,681
493
493
  rapidata/rapidata_client/selection/validation_selection.py,sha256=sedeIa8lpXVXKtFJA9IDeRvo9A1Ne4ZGcepaWDUGhCU,851
@@ -524,7 +524,7 @@ rapidata/service/__init__.py,sha256=s9bS1AJZaWIhLtJX_ZA40_CK39rAAkwdAmymTMbeWl4,
524
524
  rapidata/service/credential_manager.py,sha256=FAH9PJreDAw3G9cJ_iwzvz99s9RnFDrxxV0BHb2VYAI,8698
525
525
  rapidata/service/local_file_service.py,sha256=pgorvlWcx52Uh3cEG6VrdMK_t__7dacQ_5AnfY14BW8,877
526
526
  rapidata/service/openapi_service.py,sha256=J07TB4P3cz9KCU7k_fwuMQwGXlq_nJx_m1_xHbZoCg0,4867
527
- rapidata-2.24.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
528
- rapidata-2.24.0.dist-info/METADATA,sha256=CIlc2568IrHO7sd9vsFebY0hxUY4oC65h9se6iDkXH0,1228
529
- rapidata-2.24.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
530
- rapidata-2.24.0.dist-info/RECORD,,
527
+ rapidata-2.24.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
528
+ rapidata-2.24.1.dist-info/METADATA,sha256=tJKeTzMVu0FvShFQFJQEJnUVpRolHNrGnB16-GSpjZ8,1228
529
+ rapidata-2.24.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
530
+ rapidata-2.24.1.dist-info/RECORD,,