Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
0e9765ed
Commit
0e9765ed
authored
Sep 21, 2020
by
李景熙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取标注者bug
parent
7d7fa343
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
Relation.py
DAPlatform/dao/Relation.py
+3
-3
1600659776.txt
DAPlatform/upload/1600659776.txt
+6
-0
1600659821.jpg
DAPlatform/upload/1600659821.jpg
+0
-0
No files found.
DAPlatform/dao/Relation.py
View file @
0e9765ed
...
@@ -187,12 +187,12 @@ def get_executors(data_id):
...
@@ -187,12 +187,12 @@ def get_executors(data_id):
find
=
Relation
.
select
(
Relation
.
user_id
,
Relation
.
data_id
,
Relation
.
flag
,
Relation
.
flag2
)
.
where
(
find
=
Relation
.
select
(
Relation
.
user_id
,
Relation
.
data_id
,
Relation
.
flag
,
Relation
.
flag2
)
.
where
(
Relation
.
data_id
==
data_id
,
Relation
.
flag
==
1
)
Relation
.
data_id
==
data_id
,
Relation
.
flag
==
1
)
name
=
User
.
get_username
(
find
[
0
]
.
user_id
)
name
=
User
.
get_username
(
find
[
0
]
.
user_id
)
data
=
{
data
=
[
{
'id'
:
find
[
0
]
.
user_id
,
'id'
:
find
[
0
]
.
user_id
,
'relation_id'
:
find
[
0
]
.
relation_id
,
'relation_id'
:
find
[
0
]
.
relation_id
,
'nickname'
:
name
,
'nickname'
:
name
,
'state'
:
find
[
0
]
.
flag2
,
'state'
:
find
[
0
]
.
flag2
,
}
}
]
except
:
except
:
return
Result
(
0
,
"get failed"
,
{})
return
Result
(
0
,
"get failed"
,
{})
else
:
else
:
...
@@ -285,4 +285,4 @@ if __name__ == '__main__':
...
@@ -285,4 +285,4 @@ if __name__ == '__main__':
# Relation.delete().where(Relation.relation_id == 67).execute()
# Relation.delete().where(Relation.relation_id == 67).execute()
# print(get_state(1, 5))
# print(get_state(1, 5))
# create_relation(3, 1, 2)
# create_relation(3, 1, 2)
print
(
get_executors
(
1
6
)
.
code
)
print
(
get_executors
(
1
)
.
code
)
DAPlatform/upload/1600659776.txt
0 → 100644
View file @
0e9765ed
1.数据单创建任务;
2.分数准确率,发布分数等检验;
3.bug(登录时候的无反馈,用户页面的无反馈)
4.bug(slice/getpieces 400 error)
某些任务在getSlice时候taskId未传递
\ No newline at end of file
DAPlatform/upload/1600659821.jpg
0 → 100644
View file @
0e9765ed
9.63 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment