通过taskId获取workerId

发布于 2024-10-08 20:22:35 字数 609 浏览 0 评论 0原文

在 Amazon Mechanical Turk 中,当创建外部问题时,它会向您发送每个作业都是这样的:

http://tictactoe.amazon.com/gamesurvey.cgi?gameid=01523
&hitId=123RVWYBAZW00EXAMPLE
&assignmentId=123RVWYBAZW00EXAMPLE456RVWYBAZW00EXAMPLE

令人惊讶的是,它没有向我发送workerId,而且我找不到任何方法来做到这一点。最接近的方法是 GetAssignmentsForHIT 它只给我已经提交的作业,但我需要根据工人历史来呈现分配。

In Amazon Mechanical Turk, when creating an External Question then it will send you each assignment like this:

http://tictactoe.amazon.com/gamesurvey.cgi?gameid=01523
&hitId=123RVWYBAZW00EXAMPLE
&assignmentId=123RVWYBAZW00EXAMPLE456RVWYBAZW00EXAMPLE

Surprisingly, it doesn't send me the workerId and I can't find any way to do this. The closest method is GetAssignmentsForHIT which only gives me the assignment already submitted but I need to render the assignment based on the worker history.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

栖迟 2024-10-15 20:22:35

正如 msha 指出的那样,将workerID 参数发送到ExternalQuestion 页面似乎已被弃用,或者至少从最新版本的文档中删除。

然而,一位经常使用 MTurk 的研究员同事表示:“人们似乎在论坛上使用它。我会继续使用它......如果它真的消失了,我相信开发者社区会大喊大叫。”大声地:)“

我今天(2011-08-19)根据经验进行了尝试,确实在 HIT 被接受后,workerID 被发送到我在自己的服务器上设置的外部问题页面。这是在沙箱中。我的ExternalQuestion页面包含一个Java Web Start按钮(如下所述:http:// /download.oracle.com/javase/tutorial/deployment/deploymentInDepth/createWebStartLaunchButtonFunction.html );我不知道这是否有什么不同。

As msha points out, the sending of a workerID parameter to an ExternalQuestion page seems to be deprecated, or at least taken out of the latest version of the documentation.

However, a fellow researcher who's been using MTurk a lot says: "People seem to be using it in the forums. I would go ahead with it...if it ever actually disappears, I'm sure that the developer community will yell very loudly. :) "

I tried it empirically today (2011-08-19), and indeed a workerID is being sent to the ExternalQuestion page I set up on my own server, after the HIT has been accepted. This was in the sandbox. My ExternalQuestion page contained a Java Web Start button (as described here: http://download.oracle.com/javase/tutorial/deployment/deploymentInDepth/createWebStartLaunchButtonFunction.html ); I don't know if that made any difference.

荒路情人 2024-10-15 20:22:35

最近添加到 API 中的是 GetAssignment 调用,它接受分配ID 作为参数,并将返回分配数据结构内的工作人员 ID 。

A recent addition to the API is the GetAssignment call, which takes the assignment ID as an argument and will return the Worker ID inside the Assignment data structure.

迎风吟唱 2024-10-15 20:22:35

根据 MTurk 文档此处

当工人接受您的 HIT 时,您可以获得该工人的 ID。如果
您的 HIT 包含 Java Applet、IFrame 或嵌入式二进制数据,
URL 包含workerId 的值。如果你的 HIT 没有
包含这些类型的数据,或者如果工作人员尚未接受 HIT,
workId 元素没有出现。

我自己还没有尝试证实这一点。

According to the MTurk docs here,

When a Worker accepts your HIT, you can get the ID of the Worker. If
your HIT contains a Java Applet, an IFrame, or embedded binary data,
the URL contains a value for the workerId. If your HIT does not
contain these types of data, or if a Worker has not accepted the HIT,
the workerId element doesn't appear.

Haven't tried to confirm this myself yet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文