Skip to content

Commit

Permalink
Update test assets
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiltsov-max committed Dec 24, 2024
1 parent 7e08e0e commit 4008c5c
Show file tree
Hide file tree
Showing 12 changed files with 6,650 additions and 1,920 deletions.
1,516 changes: 1,516 additions & 0 deletions tests/python/shared/assets/annotations.json

Large diffs are not rendered by default.

76 changes: 10 additions & 66 deletions tests/python/shared/assets/consensus_assignee_reports.json
Original file line number Diff line number Diff line change
@@ -1,90 +1,34 @@
{
"count": 6,
"count": 2,
"next": null,
"previous": null,
"results": [
{
"assignee": {
"first_name": "Dummy",
"id": 15,
"first_name": "Worker",
"id": 7,
"last_name": "Second",
"url": "http://localhost:8080/api/users/15",
"username": "dummy2"
"url": "http://localhost:8080/api/users/7",
"username": "worker2"
},
"conflict_count": 0,
"consensus_report_id": 1,
"consensus_score": 89,
"id": 1,
"task_id": 29
"task_id": 30
},
{
"assignee": {
"first_name": "Dummy",
"id": 14,
"first_name": "Worker",
"id": 6,
"last_name": "First",
"url": "http://localhost:8080/api/users/14",
"username": "dummy1"
"url": "http://localhost:8080/api/users/6",
"username": "worker1"
},
"conflict_count": 0,
"consensus_report_id": 1,
"consensus_score": 100,
"id": 2,
"task_id": 29
},
{
"assignee": {
"first_name": "Worker",
"id": 8,
"last_name": "Third",
"url": "http://localhost:8080/api/users/8",
"username": "worker3"
},
"conflict_count": 2,
"consensus_report_id": 3,
"consensus_score": 50,
"id": 3,
"task_id": 30
},
{
"assignee": {
"first_name": "Worker",
"id": 7,
"last_name": "Second",
"url": "http://localhost:8080/api/users/7",
"username": "worker2"
},
"conflict_count": 6,
"consensus_report_id": 3,
"consensus_score": 28,
"id": 4,
"task_id": 30
},
{
"assignee": {
"first_name": "User",
"id": 19,
"last_name": "Fifth",
"url": "http://localhost:8080/api/users/19",
"username": "user5"
},
"conflict_count": 4,
"consensus_report_id": 3,
"consensus_score": 0,
"id": 5,
"task_id": 30
},
{
"assignee": {
"first_name": "User",
"id": 4,
"last_name": "Third",
"url": "http://localhost:8080/api/users/4",
"username": "user3"
},
"conflict_count": 0,
"consensus_report_id": 3,
"consensus_score": 0,
"id": 6,
"task_id": 30
}
]
Expand Down
247 changes: 8 additions & 239 deletions tests/python/shared/assets/consensus_conflicts.json
Original file line number Diff line number Diff line change
@@ -1,259 +1,28 @@
{
"count": 24,
"count": 3,
"next": null,
"previous": null,
"results": [
{
"annotation_ids": [],
"frame": 1,
"id": 24,
"report_id": 5,
"id": 3,
"report_id": 2,
"type": "failed_label_voting"
},
{
"annotation_ids": [],
"frame": 1,
"id": 23,
"report_id": 5,
"type": "failed_label_voting"
},
{
"annotation_ids": [
{
"job_id": 42,
"obj_id": 19,
"shape_type": "rectangle",
"type": "track"
}
],
"frame": 1,
"id": 22,
"report_id": 5,
"type": "no_matching_annotation"
},
{
"annotation_ids": [
{
"job_id": 43,
"obj_id": 21,
"shape_type": "rectangle",
"type": "track"
}
],
"frame": 1,
"id": 21,
"report_id": 5,
"type": "no_matching_annotation"
},
{
"annotation_ids": [],
"frame": 0,
"id": 20,
"report_id": 5,
"type": "failed_label_voting"
},
{
"annotation_ids": [],
"frame": 0,
"id": 19,
"report_id": 5,
"type": "failed_label_voting"
},
{
"annotation_ids": [
{
"job_id": 42,
"obj_id": 19,
"shape_type": "rectangle",
"type": "track"
}
],
"frame": 0,
"id": 18,
"report_id": 5,
"type": "no_matching_annotation"
},
{
"annotation_ids": [
{
"job_id": 43,
"obj_id": 21,
"shape_type": "rectangle",
"type": "track"
}
],
"frame": 0,
"id": 17,
"report_id": 5,
"type": "no_matching_annotation"
},
{
"annotation_ids": [],
"frame": 2,
"id": 16,
"report_id": 4,
"type": "failed_label_voting"
},
{
"annotation_ids": [],
"frame": 2,
"id": 15,
"report_id": 4,
"type": "failed_label_voting"
},
{
"annotation_ids": [
{
"job_id": 46,
"obj_id": 254,
"shape_type": "polygon",
"type": "shape"
}
],
"frame": 2,
"id": 14,
"report_id": 4,
"type": "no_matching_annotation"
},
{
"annotation_ids": [
{
"job_id": 47,
"obj_id": 257,
"shape_type": "polygon",
"type": "shape"
}
],
"frame": 2,
"id": 13,
"report_id": 4,
"type": "no_matching_annotation"
},
{
"annotation_ids": [],
"frame": 2,
"id": 12,
"report_id": 4,
"type": "failed_label_voting"
},
{
"annotation_ids": [],
"frame": 2,
"id": 11,
"report_id": 4,
"type": "failed_label_voting"
},
{
"annotation_ids": [
{
"job_id": 46,
"obj_id": 252,
"shape_type": "ellipse",
"type": "shape"
}
],
"frame": 2,
"id": 10,
"report_id": 4,
"type": "no_matching_annotation"
},
{
"annotation_ids": [
{
"job_id": 47,
"obj_id": 256,
"shape_type": "ellipse",
"type": "shape"
}
],
"frame": 2,
"id": 9,
"report_id": 4,
"type": "no_matching_annotation"
},
{
"annotation_ids": [],
"frame": 2,
"id": 8,
"report_id": 4,
"type": "failed_label_voting"
},
{
"annotation_ids": [],
"frame": 2,
"id": 7,
"report_id": 4,
"type": "failed_label_voting"
},
{
"annotation_ids": [
{
"job_id": 46,
"obj_id": 251,
"shape_type": "points",
"type": "shape"
}
],
"frame": 2,
"id": 6,
"report_id": 4,
"type": "no_matching_annotation"
},
{
"annotation_ids": [
{
"job_id": 47,
"obj_id": 258,
"shape_type": "points",
"type": "shape"
}
],
"frame": 2,
"id": 5,
"report_id": 4,
"type": "no_matching_annotation"
},
{
"annotation_ids": [],
"frame": 2,
"id": 4,
"report_id": 4,
"id": 2,
"report_id": 2,
"type": "failed_label_voting"
},
{
"annotation_ids": [],
"frame": 2,
"id": 3,
"report_id": 4,
"type": "failed_label_voting"
},
{
"annotation_ids": [
{
"job_id": 46,
"obj_id": 253,
"shape_type": "polyline",
"type": "shape"
}
],
"frame": 2,
"id": 2,
"report_id": 4,
"type": "no_matching_annotation"
},
{
"annotation_ids": [
{
"job_id": 47,
"obj_id": 255,
"shape_type": "polyline",
"type": "shape"
}
],
"frame": 2,
"frame": 1,
"id": 1,
"report_id": 4,
"type": "no_matching_annotation"
"report_id": 2,
"type": "failed_label_voting"
}
]
}
Loading

0 comments on commit 4008c5c

Please sign in to comment.