Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
222 changes: 111 additions & 111 deletions .mock/definition/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,18 @@ types:
recordsFiltered: integer
source:
openapi: openapi/openapi.yaml
AllRolesProjectListSampling:
AllRolesProjectListSkipQueue:
discriminated: false
union:
- SamplingEnum
- SkipQueueEnum
- NullEnum
source:
openapi: openapi/openapi.yaml
inline: true
AllRolesProjectListSkipQueue:
AllRolesProjectListSampling:
discriminated: false
union:
- SkipQueueEnum
- SamplingEnum
- NullEnum
source:
openapi: openapi/openapi.yaml
Expand All @@ -187,169 +187,169 @@ types:
Serializer get numbers from project queryset annotation,
make sure, that you use correct one(Project.objects.with_counts())
properties:
workspace_title: string
ready: string
overlap_cohort_percentage:
annotation_limit_count:
type: optional<integer>
validation:
min: -2147483648
max: 2147483647
queue_left: string
min: 1
description:
type: optional<string>
docs: Project description
start_training_on_annotation_update:
type: boolean
docs: Start model training after any annotations are submitted or updated
num_tasks_with_annotations: string
control_weights: optional<unknown>
skip_queue: optional<AllRolesProjectListSkipQueue>
data_types: unknown
members_count: string
config_suitable_for_bulk_annotation:
type: boolean
docs: Flag to detect is project ready for bulk annotation
has_blueprints: string
show_overlap_first: optional<boolean>
queue_total: string
enable_empty_annotation:
type: optional<boolean>
docs: Allow annotators to submit empty annotations
expert_instruction:
type: optional<string>
docs: Labeling instructions in HTML format
custom_task_lock_ttl:
type: optional<integer>
docs: TTL in seconds for task reservations, on new and existing tasks
validation:
min: 1
max: 86400
prompts: string
start_training_on_annotation_update:
type: boolean
docs: Start model training after any annotations are submitted or updated
evaluate_predictions_automatically:
skipped_annotations_number: string
reveal_preannotations_interactively:
type: optional<boolean>
docs: Retrieve and display predictions when loading a task
docs: Reveal pre-annotations interactively
reviewed_number: string
show_ground_truth_first: optional<boolean>
custom_script: optional<string>
show_skip_button:
type: optional<boolean>
docs: Show a skip button in interface and allow annotators to skip the task
show_instruction:
type: optional<boolean>
docs: Show instructions to the annotator before they start
id: integer
description_short: string
color:
type: optional<string>
validation:
maxLength: 16
sampling: optional<AllRolesProjectListSampling>
created_by:
type: optional<UserSimple>
docs: Project owner
reveal_preannotations_interactively:
type: optional<boolean>
docs: Reveal pre-annotations interactively
pinned_at:
type: optional<datetime>
docs: Pinned date and time
finished_task_number: integer
parsed_label_config: unknown
duplication_done:
type: optional<boolean>
default: false
reviewer_queue_total: string
show_ground_truth_first: optional<boolean>
task_number:
type: integer
docs: Total task number in project
num_tasks_with_annotations: string
description_short: string
id: integer
allow_stream: string
annotator_evaluation_minimum_score:
type: optional<string>
default: '95.00'
validation:
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
has_blueprints: string
annotation_limit_percent:
type: optional<string>
validation:
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
assignment_settings: AssignmentSettings
prompts: string
workspace_title: string
created_at: datetime
annotation_limit_count:
type: optional<integer>
validation:
min: 1
queue_done: string
control_weights: optional<unknown>
data_types: unknown
reviewed_number: string
total_annotations_number: string
total_predictions_number: integer
config_has_control_tags:
type: boolean
docs: Flag to detect is project ready for labeling
blueprints: list<BlueprintList>
is_published:
type: optional<boolean>
docs: Whether or not the project is published to annotators
duplication_status: optional<string>
review_total_tasks: string
show_skip_button:
type: optional<boolean>
docs: Show a skip button in interface and allow annotators to skip the task
is_draft:
type: optional<boolean>
docs: Whether or not the project is in the middle of being created
title:
type: optional<string>
docs: Project name. Must be between 3 and 50 characters long.
validation:
minLength: 3
maxLength: 50
ground_truth_number:
type: integer
docs: Honeypot annotation number in project
label_config:
type: optional<string>
docs: Label config in XML format. See more about it in documentation
pause_on_failed_annotator_evaluation:
type: optional<boolean>
default: false
task_number:
type: integer
docs: Total task number in project
queue_total: string
organization: optional<integer>
show_collab_predictions:
type: optional<boolean>
docs: If set, the annotator can view model predictions
members: string
min_annotations_to_start_training:
overlap_cohort_percentage:
type: optional<integer>
docs: >-
Minimum number of completed tasks after which model training is
started
validation:
min: -2147483648
max: 2147483647
workspace: string
organization: optional<integer>
assignment_settings: AssignmentSettings
annotator_evaluation_minimum_tasks:
type: optional<integer>
default: 10
validation:
min: 0
skipped_annotations_number: string
annotator_evaluation_minimum_score:
type: optional<string>
default: '95.00'
ready: string
config_has_control_tags:
type: boolean
docs: Flag to detect is project ready for labeling
maximum_annotations:
type: optional<integer>
docs: >-
Maximum number of annotations for one task. If the number of
annotations per task is equal or greater to this value, the task is
completed (is_labeled=True)
validation:
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
comment_classification_config: optional<string>
description:
type: optional<string>
docs: Project description
expert_instruction:
type: optional<string>
docs: Labeling instructions in HTML format
min: -2147483648
max: 2147483647
is_published:
type: optional<boolean>
docs: Whether or not the project is published to annotators
review_total_tasks: string
total_predictions_number: integer
reviewer_queue_total: string
review_settings: ReviewSettings
show_annotation_history:
type: optional<boolean>
docs: Show annotation history to annotator
skip_queue: optional<AllRolesProjectListSkipQueue>
review_settings: ReviewSettings
members_count: string
model_version:
type: optional<string>
docs: Machine learning model version
useful_annotation_number: string
custom_script: optional<string>
require_comment_on_skip:
pinned_at:
type: optional<datetime>
docs: Pinned date and time
workspace: string
enable_empty_annotation:
type: optional<boolean>
docs: Allow annotators to submit empty annotations
sampling: optional<AllRolesProjectListSampling>
members: string
parsed_label_config: unknown
total_annotations_number: string
queue_done: string
duplication_done:
type: optional<boolean>
default: false
ground_truth_number:
type: integer
docs: Honeypot annotation number in project
pause_on_failed_annotator_evaluation:
queue_left: string
rejected: string
finished_task_number: integer
is_draft:
type: optional<boolean>
docs: Whether or not the project is in the middle of being created
comment_classification_config: optional<string>
blueprints: list<BlueprintList>
require_comment_on_skip:
type: optional<boolean>
default: false
label_config:
type: optional<string>
docs: Label config in XML format. See more about it in documentation
maximum_annotations:
show_overlap_first: optional<boolean>
min_annotations_to_start_training:
type: optional<integer>
docs: >-
Maximum number of annotations for one task. If the number of
annotations per task is equal or greater to this value, the task is
completed (is_labeled=True)
Minimum number of completed tasks after which model training is
started
validation:
min: -2147483648
max: 2147483647
rejected: string
allow_stream: string
evaluate_predictions_automatically:
type: optional<boolean>
docs: Retrieve and display predictions when loading a task
model_version:
type: optional<string>
docs: Machine learning model version
useful_annotation_number: string
created_by:
type: optional<UserSimple>
docs: Project owner
source:
openapi: openapi/openapi.yaml
AnnotatedEnum:
Expand Down
4 changes: 4 additions & 0 deletions .mock/definition/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,9 @@ service:
request:
name: ActionsListRequest
query-parameters:
organization:
type: integer
docs: Organization ID
project:
type: integer
docs: Project ID
Expand All @@ -415,6 +418,7 @@ service:
examples:
- name: response
query-parameters:
organization: 1
project: 1
response:
body:
Expand Down
Loading
Loading