文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 0e9765ed by 李景熙

获取标注者bug

parent 7d7fa343
......@@ -187,12 +187,12 @@ def get_executors(data_id):
find = Relation.select(Relation.user_id, Relation.data_id, Relation.flag, Relation.flag2).where(
Relation.data_id == data_id, Relation.flag == 1)
name = User.get_username(find[0].user_id)
data = {
data = [{
'id': find[0].user_id,
'relation_id': find[0].relation_id,
'nickname': name,
'state': find[0].flag2,
}
}]
except:
return Result(0, "get failed", {})
else:
......@@ -285,4 +285,4 @@ if __name__ == '__main__':
# Relation.delete().where(Relation.relation_id == 67).execute()
# print(get_state(1, 5))
# create_relation(3, 1, 2)
print(get_executors(16).code)
print(get_executors(1).code)
1.数据单创建任务;
2.分数准确率,发布分数等检验;
3.bug(登录时候的无反馈,用户页面的无反馈)
4.bug(slice/getpieces 400 error)
某些任务在getSlice时候taskId未传递
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment