Hironsan
45c4e2529f
Remove unused import
3 years ago
Hironsan
ae0ae0d763
Update serializer in ProjectDetail
3 years ago
Hironsan
df75f6bcef
Add fields to SequenceLabelingProject
3 years ago
Hironsan
1977ff165f
Fix flake8 warnings
3 years ago
Yosua Michael M
d56d742d08
Increase the allowed max length for uploaded dataset filepath
3 years ago
youichiro
778729588f
add confirmed count to statistics api response
3 years ago
youichiro
d122404254
add tests
3 years ago
youichiro
94ce5e6685
move ExampleSerializer tests to test_document.py
3 years ago
youichiro
3dbc856923
fix isort
3 years ago
youichiro
28052f6e38
fix TestExampleStateConfirmCollaborative
3 years ago
youichiro
659d96c2ad
fix flake8
3 years ago
youichiro
263deb238a
separate confirm status for each role or user
3 years ago
youichiro
47831f0782
add a property to the ExampleState model
3 years ago
youichiro
7ee3e390a6
filter by role in the confirm API
3 years ago
youichiro
ed37696a67
manage permissions with permission_classes
3 years ago
Dimid Duchovny
d58cd28921
iss1348: fix colors when importing labels
Signed-off-by: Dimid Duchovny <dimidd@localize.city>
3 years ago
youichiro
e5ad3c6f8b
update backend project view test
3 years ago
youichiro
4a879d3697
return user.is_staff in user API response
3 years ago
youichiro
6c70092362
restrict project creation to staff users
3 years ago
youichiro
832035da5b
add a new exception
3 years ago
youichiro
ad221a6c2c
fix import order
3 years ago
youichiro
c6dbab2ed6
fix typo
3 years ago
zanussbaum
df61e8a012
removing debugging statement
3 years ago
Roland Szabo
62bc03f6c1
Remove unneed import
3 years ago
Roland Szabo
0243c73462
Remove unneeded query
Bulk create returns the created objects in the same order as they have been added.
In Postgres, the query was wrong, because ordering was not guaranteed.
3 years ago
Roland Szabo
2f47b8c4d6
Return a Response with a status if the task is not yet ready.
3 years ago
Roland Szabo
0906e789f6
Sort imports
3 years ago
Roland Szabo
d4cb96f4fd
Add admin interface for AutoLabelingConfigs. Solves #1423
Thanks to @uklft for the idea.
3 years ago
zanussbaum
9bf6c52347
Fixing Data Annotation Issues
When uploading datasets, the code uses a `bulk_create` to upload
Examples and Labels. It then filters the data from the database
based on when it was created. However, [Django doesn't enforce
the list order when calling filter](https://stackoverflow.com/questions/7163640/what-is-the-default-order-of-a-list-returned-from-a-django-filter-call )
unless ordering is specified. The previous behavior mismatched labels
and examples. When this was shown in the UI, the data would show labels
for incorrect examples (i.e. a label for message #2 would be shown on
message #1 ). This fix enforces that the data is returned in the order
it was inserted so that the data, label pair is as expected.
3 years ago
Hironsan
0812f0c6d0
Update AutoLabelingConfigParameterTest API
3 years ago
Hironsan
caf1ad222f
Update auto-labeling-pipeline
3 years ago
Hironsan
720f0d4f00
Change AutoLabelingAnnotation API url
3 years ago
Hironsan
25989c265d
Update AutoLabelingAnnotation API to handle image data
3 years ago
Hironsan
7992092c83
Add a test case for auto labeling config creation
3 years ago
Hironsan
e93662fb9d
Add test for label mapping
3 years ago
Hironsan
cb9b1b12d0
Add test for auto labeling template mapping
3 years ago
Hironsan
31f7f0f6b2
Add a test image
3 years ago
Hironsan
6c3925fc9f
Update AutoLabelingConfigParameterTest
3 years ago
Hironsan
d04d6571ff
Update AutoLabelingConfigParameterTest
3 years ago
Hironsan
18febb7e1a
Switch filter_class from DocumentFilter to ExampleFilter in ExampleList
3 years ago
Hironsan
beb9b5207c
Add ExampleFilter
3 years ago
Hironsan
2545ffef15
Add ExampleState API
3 years ago
Hironsan
60d4ed8d03
Add ExampleState serializer
3 years ago
Hironsan
fc7d53abe7
Add ExampleState model
3 years ago
Hironsan
16840c6f2c
Add migration file
3 years ago
Davide Allavena
1cdb9d6df3
isort strikes again
3 years ago
Davide Allavena
9fce783cf7
more isort
3 years ago
Davide Allavena
2f0816639f
isort fix
3 years ago
Davide Allavena
e2dc4cc25b
Added newline at the end of the file
3 years ago
Davide Allavena
d7ee28569a
Removed Uselss imports
3 years ago