Skip to content
Draft
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
232 changes: 116 additions & 116 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,78 +187,35 @@ types:
Serializer get numbers from project queryset annotation,
make sure, that you use correct one(Project.objects.with_counts())
properties:
control_weights: optional<unknown>
start_training_on_annotation_update:
type: boolean
docs: Start model training after any annotations are submitted or updated
id: integer
ground_truth_number:
type: integer
docs: Honeypot annotation number in project
config_has_control_tags:
type: boolean
docs: Flag to detect is project ready for labeling
annotation_limit_percent:
model_version:
type: optional<string>
validation:
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
duplication_done:
type: optional<boolean>
default: false
finished_task_number: integer
members: string
total_annotations_number: string
members_count: integer
enable_empty_annotation:
docs: Machine learning model version
reveal_preannotations_interactively:
type: optional<boolean>
docs: Allow annotators to submit empty annotations
docs: Reveal pre-annotations interactively
config_suitable_for_bulk_annotation:
type: boolean
docs: Flag to detect is project ready for bulk annotation
task_number:
type: integer
docs: Total task number in project
workspace_title: string
total_predictions_number: integer
is_published:
custom_script: optional<string>
reviewed_number: string
show_skip_button:
type: optional<boolean>
docs: Whether or not the project is published to annotators
docs: Show a skip button in interface and allow annotators to skip the task
workspace: string
rejected: string
created_by:
type: optional<UserSimple>
docs: Project owner
is_draft:
type: optional<boolean>
docs: Whether or not the project is in the middle of being created
description:
type: optional<string>
docs: Project description
rejected: string
custom_script: optional<string>
workspace: string
show_ground_truth_first: optional<boolean>
expert_instruction:
type: optional<string>
docs: Labeling instructions in HTML format
parsed_label_config: unknown
blueprints: list<BlueprintList>
allow_stream: string
reviewer_queue_total: string
created_at: datetime
annotator_evaluation_minimum_tasks:
type: optional<integer>
default: 10
validation:
min: 0
review_total_tasks: string
min_annotations_to_start_training:
type: optional<integer>
docs: >-
Minimum number of completed tasks after which model training is
started
validation:
min: -2147483648
max: 2147483647
members_count: integer
label_config:
type: optional<string>
docs: Label config in XML format. See more about it in documentation
created_by:
type: optional<UserSimple>
docs: Project owner
maximum_annotations:
type: optional<integer>
docs: >-
Expand All @@ -268,88 +225,131 @@ types:
validation:
min: -2147483648
max: 2147483647
evaluate_predictions_automatically:
type: optional<boolean>
docs: Retrieve and display predictions when loading a task
annotator_evaluation_minimum_score:
type: optional<string>
default: '95.00'
validation:
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
model_version:
type: optional<string>
docs: Machine learning model version
useful_annotation_number: string
has_blueprints: string
pause_on_failed_annotator_evaluation:
type: optional<boolean>
default: false
show_instruction:
type: optional<boolean>
docs: Show instructions to the annotator before they start
queue_left: string
custom_task_lock_ttl:
type: optional<integer>
docs: TTL in seconds for task reservations, on new and existing tasks
validation:
min: 1
max: 86400
pinned_at:
type: optional<datetime>
docs: Pinned date and time
ready: string
description_short: string
total_annotations_number: string
reviewer_queue_total: string
show_overlap_first: optional<boolean>
reveal_preannotations_interactively:
type: optional<boolean>
docs: Reveal pre-annotations interactively
comment_classification_config: optional<string>
show_skip_button:
type: optional<boolean>
docs: Show a skip button in interface and allow annotators to skip the task
data_types: unknown
created_at: datetime
useful_annotation_number: string
min_annotations_to_start_training:
type: optional<integer>
docs: >-
Minimum number of completed tasks after which model training is
started
validation:
min: -2147483648
max: 2147483647
organization: optional<integer>
show_collab_predictions:
type: optional<boolean>
docs: If set, the annotator can view model predictions
reviewed_number: string
prompts: string
overlap_cohort_percentage:
type: optional<integer>
validation:
min: -2147483648
max: 2147483647
show_annotation_history:
type: optional<boolean>
docs: Show annotation history to annotator
config_has_control_tags:
type: boolean
docs: Flag to detect is project ready for labeling
id: integer
pinned_at:
type: optional<datetime>
docs: Pinned date and time
review_settings: ReviewSettings
data_types: unknown
custom_task_lock_ttl:
type: optional<integer>
docs: TTL in seconds for task reservations, on new and existing tasks
validation:
min: 1
max: 86400
annotator_evaluation_minimum_tasks:
type: optional<integer>
default: 10
validation:
min: 0
annotation_limit_percent:
type: optional<string>
validation:
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
annotation_limit_count:
type: optional<integer>
validation:
min: 1
ready: string
evaluate_predictions_automatically:
type: optional<boolean>
docs: Retrieve and display predictions when loading a task
duplication_status: optional<string>
prompts: string
skipped_annotations_number: string
blueprints: list<BlueprintList>
sampling: optional<AllRolesProjectListSampling>
enable_empty_annotation:
type: optional<boolean>
docs: Allow annotators to submit empty annotations
color:
type: optional<string>
validation:
maxLength: 16
start_training_on_annotation_update:
type: boolean
docs: Start model training after any annotations are submitted or updated
queue_left: string
description_short: string
duplication_done:
type: optional<boolean>
default: false
members: string
pause_on_failed_annotator_evaluation:
type: optional<boolean>
default: false
has_blueprints: string
show_collab_predictions:
type: optional<boolean>
docs: If set, the annotator can view model predictions
title:
type: optional<string>
docs: Project name. Must be between 3 and 50 characters long.
validation:
minLength: 3
maxLength: 50
skip_queue: optional<AllRolesProjectListSkipQueue>
review_settings: ReviewSettings
total_predictions_number: integer
review_total_tasks: string
expert_instruction:
type: optional<string>
docs: Labeling instructions in HTML format
num_tasks_with_annotations: string
annotator_evaluation_minimum_score:
type: optional<string>
default: '95.00'
validation:
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
finished_task_number: integer
task_number:
type: integer
docs: Total task number in project
control_weights: optional<unknown>
queue_done: string
show_ground_truth_first: optional<boolean>
assignment_settings: AssignmentSettings
require_comment_on_skip:
type: optional<boolean>
default: false
annotation_limit_count:
type: optional<integer>
validation:
min: 1
queue_done: string
show_annotation_history:
type: optional<boolean>
docs: Show annotation history to annotator
ground_truth_number:
type: integer
docs: Honeypot annotation number in project
skip_queue: optional<AllRolesProjectListSkipQueue>
workspace_title: string
sampling: optional<AllRolesProjectListSampling>
queue_total: string
parsed_label_config: unknown
is_published:
type: optional<boolean>
docs: Whether or not the project is published to annotators
description:
type: optional<string>
docs: Project description
source:
openapi: openapi/openapi.yaml
AnnotatedEnum:
Expand Down
Loading
Loading