Skip to content

Commit

Permalink
updated the testing assets for covering more scenarios for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Viditagarwal7479 committed Nov 5, 2024
1 parent 12431de commit 03e46f8
Show file tree
Hide file tree
Showing 13 changed files with 7,750 additions and 5,828 deletions.
2,186 changes: 850 additions & 1,336 deletions tests/python/shared/assets/annotations.json

Large diffs are not rendered by default.

86 changes: 46 additions & 40 deletions tests/python/shared/assets/consensus_assignee_reports.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
"next": null,
"previous": null,
"results": [
{
"assignee": {
"first_name": "Dummy",
"id": 14,
"last_name": "First",
"url": "http://localhost:8080/api/users/14",
"username": "dummy1"
},
"conflict_count": 4,
"consensus_report_id": 1,
"consensus_score": 91,
"task_id": 26
},
{
"assignee": {
"first_name": "Dummy",
Expand All @@ -24,23 +11,25 @@
"url": "http://localhost:8080/api/users/15",
"username": "dummy2"
},
"conflict_count": 4,
"conflict_count": 0,
"consensus_report_id": 1,
"consensus_score": 100,
"task_id": 26
"consensus_score": 89,
"id": 1,
"task_id": 29
},
{
"assignee": {
"first_name": "Worker",
"id": 7,
"last_name": "Second",
"url": "http://localhost:8080/api/users/7",
"username": "worker2"
"first_name": "Dummy",
"id": 14,
"last_name": "First",
"url": "http://localhost:8080/api/users/14",
"username": "dummy1"
},
"conflict_count": 6,
"consensus_report_id": 3,
"consensus_score": 74,
"task_id": 27
"conflict_count": 0,
"consensus_report_id": 1,
"consensus_score": 100,
"id": 2,
"task_id": 29
},
{
"assignee": {
Expand All @@ -50,10 +39,11 @@
"url": "http://localhost:8080/api/users/8",
"username": "worker3"
},
"conflict_count": 3,
"conflict_count": 2,
"consensus_report_id": 3,
"consensus_score": 100,
"task_id": 27
"consensus_score": 50,
"id": 3,
"task_id": 30
},
{
"assignee": {
Expand All @@ -63,23 +53,39 @@
"url": "http://localhost:8080/api/users/7",
"username": "worker2"
},
"conflict_count": 5,
"consensus_report_id": 6,
"consensus_score": 74,
"task_id": 27
"conflict_count": 6,
"consensus_report_id": 3,
"consensus_score": 28,
"id": 4,
"task_id": 30
},
{
"assignee": {
"first_name": "Worker",
"id": 8,
"last_name": "Third",
"url": "http://localhost:8080/api/users/8",
"username": "worker3"
"first_name": "User",
"id": 19,
"last_name": "Fifth",
"url": "http://localhost:8080/api/users/19",
"username": "user5"
},
"conflict_count": 4,
"consensus_report_id": 6,
"consensus_score": 100,
"task_id": 27
"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
}
]
}
Loading

0 comments on commit 03e46f8

Please sign in to comment.