typingpool 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/Rakefile +23 -0
  2. data/bin/tp-assign +240 -0
  3. data/bin/tp-collect +50 -0
  4. data/bin/tp-config +114 -0
  5. data/bin/tp-finish +101 -0
  6. data/bin/tp-make +169 -0
  7. data/bin/tp-review +175 -0
  8. data/lib/typingpool/amazon.rb +732 -0
  9. data/lib/typingpool/app.rb +634 -0
  10. data/lib/typingpool/config.rb +344 -0
  11. data/lib/typingpool/error.rb +22 -0
  12. data/lib/typingpool/filer.rb +396 -0
  13. data/lib/typingpool/project.rb +593 -0
  14. data/lib/typingpool/template.rb +175 -0
  15. data/lib/typingpool/templates/assignment/amazon-init.js +38 -0
  16. data/lib/typingpool/templates/assignment/interview/nameless.html.erb +13 -0
  17. data/lib/typingpool/templates/assignment/interview/noisy.html.erb +12 -0
  18. data/lib/typingpool/templates/assignment/interview/partials/voices.html.erb +10 -0
  19. data/lib/typingpool/templates/assignment/interview/phone.html.erb +12 -0
  20. data/lib/typingpool/templates/assignment/interview.html.erb +11 -0
  21. data/lib/typingpool/templates/assignment/main.css +20 -0
  22. data/lib/typingpool/templates/assignment/partials/entry.html.erb +19 -0
  23. data/lib/typingpool/templates/assignment/partials/footer.html.erb +3 -0
  24. data/lib/typingpool/templates/assignment/partials/header.html.erb +11 -0
  25. data/lib/typingpool/templates/assignment/partials/labeling-example.html.erb +4 -0
  26. data/lib/typingpool/templates/assignment/partials/labeling.html.erb +5 -0
  27. data/lib/typingpool/templates/assignment/partials/length-description.html.erb +6 -0
  28. data/lib/typingpool/templates/assignment/partials/voices.html.erb +10 -0
  29. data/lib/typingpool/templates/assignment/speech.html.erb +11 -0
  30. data/lib/typingpool/templates/config.yml +21 -0
  31. data/lib/typingpool/templates/project/audio/chunks/.empty_directory +0 -0
  32. data/lib/typingpool/templates/project/audio/originals/.empty_directory +0 -0
  33. data/lib/typingpool/templates/project/data/.empty_directory +0 -0
  34. data/lib/typingpool/templates/project/etc/ About these files - read me.txt +8 -0
  35. data/lib/typingpool/templates/project/etc/audio-compat.js +25 -0
  36. data/lib/typingpool/templates/project/etc/player/audio-player.js +4 -0
  37. data/lib/typingpool/templates/project/etc/player/license.txt +19 -0
  38. data/lib/typingpool/templates/project/etc/player/player.swf +0 -0
  39. data/lib/typingpool/templates/project/etc/transcript.css +49 -0
  40. data/lib/typingpool/templates/transcript.html.erb +23 -0
  41. data/lib/typingpool/test/fixtures/amazon-question-html.html +95 -0
  42. data/lib/typingpool/test/fixtures/amazon-question-url.txt +1 -0
  43. data/lib/typingpool/test/fixtures/audio/mp3/interview.1.mp3 +0 -0
  44. data/lib/typingpool/test/fixtures/audio/mp3/interview.2.mp3 +0 -0
  45. data/lib/typingpool/test/fixtures/audio/wma/VN620007.WMA +0 -0
  46. data/lib/typingpool/test/fixtures/audio/wma/VN620052.WMA +0 -0
  47. data/lib/typingpool/test/fixtures/config-1 +20 -0
  48. data/lib/typingpool/test/fixtures/config-2 +25 -0
  49. data/lib/typingpool/test/fixtures/not_yaml.txt +4 -0
  50. data/lib/typingpool/test/fixtures/template-2.html.erb +10 -0
  51. data/lib/typingpool/test/fixtures/template-3.html.erb +22 -0
  52. data/lib/typingpool/test/fixtures/template.html.erb +10 -0
  53. data/lib/typingpool/test/fixtures/tp_collect_id.txt +1 -0
  54. data/lib/typingpool/test/fixtures/tp_collect_sandbox-assignment.csv +8 -0
  55. data/lib/typingpool/test/fixtures/tp_review_id.txt +1 -0
  56. data/lib/typingpool/test/fixtures/tp_review_sandbox-assignment.csv +8 -0
  57. data/lib/typingpool/test/fixtures/transcript-chunks.csv +226 -0
  58. data/lib/typingpool/test/fixtures/utf8_transcript.txt +7 -0
  59. data/lib/typingpool/test/fixtures/vcr/tp-collect-1.yml +2712 -0
  60. data/lib/typingpool/test/fixtures/vcr/tp-collect-2.yml +2718 -0
  61. data/lib/typingpool/test/fixtures/vcr/tp-collect-3.yml +2768 -0
  62. data/lib/typingpool/test/fixtures/vcr/tp-review-1.yml +570 -0
  63. data/lib/typingpool/test/fixtures/vcr/tp-review-2.yml +351 -0
  64. data/lib/typingpool/test.rb +418 -0
  65. data/lib/typingpool/transcript.rb +181 -0
  66. data/lib/typingpool/utility.rb +272 -0
  67. data/lib/typingpool.rb +500 -0
  68. data/test/make_amazon_question_fixture.rb +24 -0
  69. data/test/make_tp_collect_fixture_1.rb +26 -0
  70. data/test/make_tp_collect_fixture_2.rb +16 -0
  71. data/test/make_tp_collect_fixture_3.rb +15 -0
  72. data/test/make_tp_collect_fixture_4.rb +17 -0
  73. data/test/make_tp_review_fixture_1.rb +26 -0
  74. data/test/make_tp_review_fixture_2.rb +30 -0
  75. data/test/make_transcript_chunks_fixture.rb +53 -0
  76. data/test/test_integration_script_1_tp_config.rb +108 -0
  77. data/test/test_integration_script_2_tp_make.rb +119 -0
  78. data/test/test_integration_script_3_tp_assign.rb +152 -0
  79. data/test/test_integration_script_4_tp_review.rb +72 -0
  80. data/test/test_integration_script_5_tp_collect.rb +44 -0
  81. data/test/test_integration_script_6_tp_finish.rb +123 -0
  82. data/test/test_unit_amazon.rb +153 -0
  83. data/test/test_unit_config.rb +94 -0
  84. data/test/test_unit_filer.rb +202 -0
  85. data/test/test_unit_project.rb +168 -0
  86. data/test/test_unit_project_local.rb +68 -0
  87. data/test/test_unit_project_remote.rb +157 -0
  88. data/test/test_unit_template.rb +111 -0
  89. data/test/test_unit_transcript.rb +77 -0
  90. metadata +234 -0
@@ -0,0 +1,570 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: HITId=2LX0OHOVR14IB35EXLTHHCWACYA56R&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A40-07%3A00&Version=2008-08-02&Signature=14jszoUFFeWkfRNFg9uR%2BbMZ%2FCc%3D
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Length:
15
+ - "257"
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Content-Type:
24
+ - text/xml
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Date:
28
+ - Sun, 01 Jul 2012 22:22:41 GMT
29
+ Server:
30
+ - MTurk
31
+ body:
32
+ encoding: US-ASCII
33
+ string: |-
34
+ <?xml version="1.0"?>
35
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>cc7bb0e5-b961-4ed1-a30d-589c2a78ad27</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>2MOY2AOO2GMMSZ50S2JCP6IAAMA55E</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>2LX0OHOVR14IB35EXLTHHCWACYA56R</HITId><AssignmentStatus>Submitted</AssignmentStatus><AutoApprovalTime>2012-07-02T08:21:11Z</AutoApprovalTime><AcceptTime>2012-07-01T22:21:01Z</AcceptTime><SubmitTime>2012-07-01T22:21:11Z</SubmitTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
36
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
37
+ &lt;Answer&gt;
38
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
39
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.00.00.5a786c80f5b6c457c7e77baceaece289.COKFVJ.mp3&lt;/FreeText&gt;
40
+ &lt;/Answer&gt;
41
+ &lt;Answer&gt;
42
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
43
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
44
+ &lt;/Answer&gt;
45
+ &lt;Answer&gt;
46
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
47
+ &lt;FreeText&gt;Ryan: This is probably a dumb question but in Grand Rapids -- are you guys connected to the auto industry or are you too far from Detroit to be...&amp;#13;
48
+ &amp;#13;
49
+ Havi: We are. We're connected to the buyers for the auto industry in Detroit and Flint. It's kind of a - it's a statewide business here but....&lt;/FreeText&gt;
50
+ &lt;/Answer&gt;
51
+ &lt;/QuestionFormAnswers&gt;
52
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
53
+ http_version:
54
+ recorded_at: Sun, 01 Jul 2012 22:22:41 GMT
55
+ - request:
56
+ method: post
57
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
58
+ body:
59
+ encoding: US-ASCII
60
+ string: HITId=2359U8P9Y38TAFEUF4LYLM0JZBMXGU&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A41-07%3A00&Version=2008-08-02&Signature=tlW2xqejMuBrKWv01XGJSUax4Rg%3D
61
+ headers:
62
+ Accept:
63
+ - "*/*; q=0.5, application/xml"
64
+ Accept-Encoding:
65
+ - gzip, deflate
66
+ Content-Length:
67
+ - "253"
68
+ User-Agent:
69
+ - Ruby
70
+ response:
71
+ status:
72
+ code: 200
73
+ message: OK
74
+ headers:
75
+ Content-Type:
76
+ - text/xml
77
+ Transfer-Encoding:
78
+ - chunked
79
+ Date:
80
+ - Sun, 01 Jul 2012 22:22:42 GMT
81
+ Server:
82
+ - MTurk
83
+ body:
84
+ encoding: US-ASCII
85
+ string: |-
86
+ <?xml version="1.0"?>
87
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>2337123d-7af1-4d5d-aee3-23f99e14d231</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>29PR24SMEZZ2011YZLL8S9Y38DE2JW</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>2359U8P9Y38TAFEUF4LYLM0JZBMXGU</HITId><AssignmentStatus>Submitted</AssignmentStatus><AutoApprovalTime>2012-07-02T08:22:15Z</AutoApprovalTime><AcceptTime>2012-07-01T22:22:07Z</AcceptTime><SubmitTime>2012-07-01T22:22:15Z</SubmitTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
88
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
89
+ &lt;Answer&gt;
90
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
91
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.00.20.5a786c80f5b6c457c7e77baceaece289.KDUAHD.mp3&lt;/FreeText&gt;
92
+ &lt;/Answer&gt;
93
+ &lt;Answer&gt;
94
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
95
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
96
+ &lt;/Answer&gt;
97
+ &lt;Answer&gt;
98
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
99
+ &lt;FreeText&gt;Havi: We definitely did our side of it from the supply and manufacturing of parts and to -- a lot of tool and die, that kind of thing.&amp;#13;
100
+ &amp;#13;
101
+ Ryan: Ya. One of my other chapters -- I was just reading before I called -- like earlier today -- one of my other chapters is on Saturn and sort of how that was a grand skunkworks that had a really br...&lt;/FreeText&gt;
102
+ &lt;/Answer&gt;
103
+ &lt;/QuestionFormAnswers&gt;
104
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
105
+ http_version:
106
+ recorded_at: Sun, 01 Jul 2012 22:22:42 GMT
107
+ - request:
108
+ method: post
109
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
110
+ body:
111
+ encoding: US-ASCII
112
+ string: HITId=24ZMVHVKCJ01F3JJGVY9NQW679U57Q&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A42-07%3A00&Version=2008-08-02&Signature=mTzIVp%2FqfX8CYdDlc2j8WzOiXtQ%3D
113
+ headers:
114
+ Accept:
115
+ - "*/*; q=0.5, application/xml"
116
+ Accept-Encoding:
117
+ - gzip, deflate
118
+ Content-Length:
119
+ - "255"
120
+ User-Agent:
121
+ - Ruby
122
+ response:
123
+ status:
124
+ code: 200
125
+ message: OK
126
+ headers:
127
+ Content-Type:
128
+ - text/xml
129
+ Transfer-Encoding:
130
+ - chunked
131
+ Date:
132
+ - Sun, 01 Jul 2012 22:22:42 GMT
133
+ Server:
134
+ - MTurk
135
+ body:
136
+ encoding: US-ASCII
137
+ string: |-
138
+ <?xml version="1.0"?>
139
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>99e5dc51-c262-449e-8f28-8689919ab7c4</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>2TTLY58B727ME1XRWT419YFSVZM9UR</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>24ZMVHVKCJ01F3JJGVY9NQW679U57Q</HITId><AssignmentStatus>Submitted</AssignmentStatus><AutoApprovalTime>2012-07-02T08:22:03Z</AutoApprovalTime><AcceptTime>2012-07-01T22:21:56Z</AcceptTime><SubmitTime>2012-07-01T22:22:03Z</SubmitTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
140
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
141
+ &lt;Answer&gt;
142
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
143
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.00.40.5a786c80f5b6c457c7e77baceaece289.RKEFVA.mp3&lt;/FreeText&gt;
144
+ &lt;/Answer&gt;
145
+ &lt;Answer&gt;
146
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
147
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
148
+ &lt;/Answer&gt;
149
+ &lt;Answer&gt;
150
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
151
+ &lt;FreeText&gt;Ryan: ....Bright start and then just kind of like fizzled. -Laughs.- &amp;#13;
152
+ &amp;#13;
153
+ Havi: Right.&amp;#13;
154
+ &amp;#13;
155
+ Ryan: No fault of the company, they were kind of starved of resources. I mean they actually did really well for several years and then it kind of -- it changed from what it was originally. And it was too bad because that particular division -- other parts of GM....&lt;/FreeText&gt;
156
+ &lt;/Answer&gt;
157
+ &lt;/QuestionFormAnswers&gt;
158
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
159
+ http_version:
160
+ recorded_at: Sun, 01 Jul 2012 22:22:42 GMT
161
+ - request:
162
+ method: post
163
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
164
+ body:
165
+ encoding: US-ASCII
166
+ string: HITId=26LTVOK5UFJ5FHO2Q0QF1QS1IT058D&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A42-07%3A00&Version=2008-08-02&Signature=mTzIVp%2FqfX8CYdDlc2j8WzOiXtQ%3D
167
+ headers:
168
+ Accept:
169
+ - "*/*; q=0.5, application/xml"
170
+ Accept-Encoding:
171
+ - gzip, deflate
172
+ Content-Length:
173
+ - "255"
174
+ User-Agent:
175
+ - Ruby
176
+ response:
177
+ status:
178
+ code: 200
179
+ message: OK
180
+ headers:
181
+ Content-Type:
182
+ - text/xml
183
+ Transfer-Encoding:
184
+ - chunked
185
+ Date:
186
+ - Sun, 01 Jul 2012 22:22:43 GMT
187
+ Server:
188
+ - MTurk
189
+ body:
190
+ encoding: US-ASCII
191
+ string: |-
192
+ <?xml version="1.0"?>
193
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>21e10663-3d7a-4803-9873-3bce692caba5</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>2E70OHOVR14IB35EXLTHHCWA6HL56U</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>26LTVOK5UFJ5FHO2Q0QF1QS1IT058D</HITId><AssignmentStatus>Submitted</AssignmentStatus><AutoApprovalTime>2012-07-02T08:21:40Z</AutoApprovalTime><AcceptTime>2012-07-01T22:21:28Z</AcceptTime><SubmitTime>2012-07-01T22:21:40Z</SubmitTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
194
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
195
+ &lt;Answer&gt;
196
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
197
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.01.00.5a786c80f5b6c457c7e77baceaece289.IPHMAU.mp3&lt;/FreeText&gt;
198
+ &lt;/Answer&gt;
199
+ &lt;Answer&gt;
200
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
201
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
202
+ &lt;/Answer&gt;
203
+ &lt;Answer&gt;
204
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
205
+ &lt;FreeText&gt;Ryan: ...did reasonably innovative things subsequently, &amp;#13;
206
+ &amp;#13;
207
+ Havi: Right.&amp;#13;
208
+ &amp;#13;
209
+ Ryan: ...but Saturn itself just kind of didn't get the support. &amp;#13;
210
+ &amp;#13;
211
+ Havi: Ya.&amp;#13;
212
+ &amp;#13;
213
+ Ryan: It just -- when you mentioned the manufacturing issues it kind of reminded me of that. Like people have this weird fatalism about American manufacturing --&amp;#13;
214
+ &amp;#13;
215
+ Havi: Ya.&amp;#13;
216
+ &amp;#13;
217
+ Ryan: ....we can't do this, we can't do that. And it's like, well, no, there's all these examples. My car comes from NUMMI&lt;/FreeText&gt;
218
+ &lt;/Answer&gt;
219
+ &lt;/QuestionFormAnswers&gt;
220
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
221
+ http_version:
222
+ recorded_at: Sun, 01 Jul 2012 22:22:43 GMT
223
+ - request:
224
+ method: post
225
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
226
+ body:
227
+ encoding: US-ASCII
228
+ string: HITId=2M998D8J3VE7AB95ZA3G6MCKEBZXHT&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A43-07%3A00&Version=2008-08-02&Signature=EGx5XVvG8lDczgxnHKtQ5fzeQq4%3D
229
+ headers:
230
+ Accept:
231
+ - "*/*; q=0.5, application/xml"
232
+ Accept-Encoding:
233
+ - gzip, deflate
234
+ Content-Length:
235
+ - "253"
236
+ User-Agent:
237
+ - Ruby
238
+ response:
239
+ status:
240
+ code: 200
241
+ message: OK
242
+ headers:
243
+ Content-Type:
244
+ - text/xml
245
+ Transfer-Encoding:
246
+ - chunked
247
+ Date:
248
+ - Sun, 01 Jul 2012 22:22:43 GMT
249
+ Server:
250
+ - MTurk
251
+ body:
252
+ encoding: US-ASCII
253
+ string: |-
254
+ <?xml version="1.0"?>
255
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>d3169224-ff5c-4052-af55-46b807fbc3bf</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>2S1NZW6HEZ6OSN78J5Z6CGUM2LIZP0</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>2M998D8J3VE7AB95ZA3G6MCKEBZXHT</HITId><AssignmentStatus>Submitted</AssignmentStatus><AutoApprovalTime>2012-07-02T08:21:23Z</AutoApprovalTime><AcceptTime>2012-07-01T22:21:15Z</AcceptTime><SubmitTime>2012-07-01T22:21:23Z</SubmitTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
256
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
257
+ &lt;Answer&gt;
258
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
259
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.01.20.5a786c80f5b6c457c7e77baceaece289.BCYSXT.mp3&lt;/FreeText&gt;
260
+ &lt;/Answer&gt;
261
+ &lt;Answer&gt;
262
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
263
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
264
+ &lt;/Answer&gt;
265
+ &lt;Answer&gt;
266
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
267
+ &lt;FreeText&gt;Ryan: ...NUMMI which is just like this amazing GM plant that turned out these juist incredibly high quality small cars, and people just don;t know about a lot of this stuff, like that it exists. So. I look forward to reading -- I'm still reading through your archive -- but I look forward to finishing it because I'm really interested in these issues.&amp;#13;
268
+ &amp;#13;
269
+ Havi: Ya I think it was a really interesting....&lt;/FreeText&gt;
270
+ &lt;/Answer&gt;
271
+ &lt;/QuestionFormAnswers&gt;
272
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
273
+ http_version:
274
+ recorded_at: Sun, 01 Jul 2012 22:22:43 GMT
275
+ - request:
276
+ method: post
277
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
278
+ body:
279
+ encoding: US-ASCII
280
+ string: HITId=21ASZVXX2Q458D120A7NLW1NY9V7PE&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A43-07%3A00&Version=2008-08-02&Signature=EGx5XVvG8lDczgxnHKtQ5fzeQq4%3D
281
+ headers:
282
+ Accept:
283
+ - "*/*; q=0.5, application/xml"
284
+ Accept-Encoding:
285
+ - gzip, deflate
286
+ Content-Length:
287
+ - "253"
288
+ User-Agent:
289
+ - Ruby
290
+ response:
291
+ status:
292
+ code: 200
293
+ message: OK
294
+ headers:
295
+ Content-Type:
296
+ - text/xml
297
+ Transfer-Encoding:
298
+ - chunked
299
+ Date:
300
+ - Sun, 01 Jul 2012 22:22:43 GMT
301
+ Server:
302
+ - MTurk
303
+ body:
304
+ encoding: US-ASCII
305
+ string: |-
306
+ <?xml version="1.0"?>
307
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>c4c0751f-1c66-44d6-93fb-2aaa7c6e4518</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>0</NumResults><TotalNumResults>0</TotalNumResults><PageNumber>1</PageNumber></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
308
+ http_version:
309
+ recorded_at: Sun, 01 Jul 2012 22:22:44 GMT
310
+ - request:
311
+ method: post
312
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
313
+ body:
314
+ encoding: US-ASCII
315
+ string: HITId=2SST2D5NQYN5TM7CVSWT1MNC2ZI592&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A44-07%3A00&Version=2008-08-02&Signature=32Yn9FVwe1FnjraIZMx5zoKWUbA%3D
316
+ headers:
317
+ Accept:
318
+ - "*/*; q=0.5, application/xml"
319
+ Accept-Encoding:
320
+ - gzip, deflate
321
+ Content-Length:
322
+ - "253"
323
+ User-Agent:
324
+ - Ruby
325
+ response:
326
+ status:
327
+ code: 200
328
+ message: OK
329
+ headers:
330
+ Content-Type:
331
+ - text/xml
332
+ Transfer-Encoding:
333
+ - chunked
334
+ Date:
335
+ - Sun, 01 Jul 2012 22:22:44 GMT
336
+ Server:
337
+ - MTurk
338
+ body:
339
+ encoding: US-ASCII
340
+ string: |-
341
+ <?xml version="1.0"?>
342
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>6198a07e-e511-4c22-94ee-f273eb04cb17</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>2JJNDWIOV1S766KP5SL16YDZ87PXIP</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>2SST2D5NQYN5TM7CVSWT1MNC2ZI592</HITId><AssignmentStatus>Submitted</AssignmentStatus><AutoApprovalTime>2012-07-02T08:21:51Z</AutoApprovalTime><AcceptTime>2012-07-01T22:21:44Z</AcceptTime><SubmitTime>2012-07-01T22:21:51Z</SubmitTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
343
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
344
+ &lt;Answer&gt;
345
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
346
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.02.00.5a786c80f5b6c457c7e77baceaece289.WSLIMR.mp3&lt;/FreeText&gt;
347
+ &lt;/Answer&gt;
348
+ &lt;Answer&gt;
349
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
350
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
351
+ &lt;/Answer&gt;
352
+ &lt;Answer&gt;
353
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
354
+ &lt;FreeText&gt;-blank-&lt;/FreeText&gt;
355
+ &lt;/Answer&gt;
356
+ &lt;/QuestionFormAnswers&gt;
357
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
358
+ http_version:
359
+ recorded_at: Sun, 01 Jul 2012 22:22:44 GMT
360
+ - request:
361
+ method: post
362
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
363
+ body:
364
+ encoding: US-ASCII
365
+ string: AssignmentId=2MOY2AOO2GMMSZ50S2JCP6IAAMA55E&Operation=ApproveAssignment&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A44-07%3A00&Version=2008-08-02&Signature=pYmneyg501COToV3%2BXydTKhDLxA%3D
366
+ headers:
367
+ Accept:
368
+ - "*/*; q=0.5, application/xml"
369
+ Accept-Encoding:
370
+ - gzip, deflate
371
+ Content-Length:
372
+ - "246"
373
+ User-Agent:
374
+ - Ruby
375
+ response:
376
+ status:
377
+ code: 200
378
+ message: OK
379
+ headers:
380
+ Content-Type:
381
+ - text/xml
382
+ Transfer-Encoding:
383
+ - chunked
384
+ Date:
385
+ - Sun, 01 Jul 2012 22:22:45 GMT
386
+ Server:
387
+ - MTurk
388
+ body:
389
+ encoding: US-ASCII
390
+ string: |-
391
+ <?xml version="1.0"?>
392
+ <ApproveAssignmentResponse><OperationRequest><RequestId>c1762ffc-789d-4513-a958-ae7400acd2aa</RequestId></OperationRequest><ApproveAssignmentResult><Request><IsValid>True</IsValid></Request></ApproveAssignmentResult></ApproveAssignmentResponse>
393
+ http_version:
394
+ recorded_at: Sun, 01 Jul 2012 22:22:45 GMT
395
+ - request:
396
+ method: post
397
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
398
+ body:
399
+ encoding: US-ASCII
400
+ string: AssignmentId=29PR24SMEZZ2011YZLL8S9Y38DE2JW&RequesterFeedback=No+reason+-+this+is+a+test&Operation=RejectAssignment&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A45-07%3A00&Version=2008-08-02&Signature=ufTnxHURYxST5RP5O4dQhYjmN98%3D
401
+ headers:
402
+ Accept:
403
+ - "*/*; q=0.5, application/xml"
404
+ Accept-Encoding:
405
+ - gzip, deflate
406
+ Content-Length:
407
+ - "288"
408
+ User-Agent:
409
+ - Ruby
410
+ response:
411
+ status:
412
+ code: 200
413
+ message: OK
414
+ headers:
415
+ Content-Type:
416
+ - text/xml
417
+ Transfer-Encoding:
418
+ - chunked
419
+ Date:
420
+ - Sun, 01 Jul 2012 22:22:46 GMT
421
+ Server:
422
+ - MTurk
423
+ body:
424
+ encoding: US-ASCII
425
+ string: |-
426
+ <?xml version="1.0"?>
427
+ <RejectAssignmentResponse><OperationRequest><RequestId>ab43ff07-1c58-432b-a490-f7e8a1f57b48</RequestId></OperationRequest><RejectAssignmentResult><Request><IsValid>True</IsValid></Request></RejectAssignmentResult></RejectAssignmentResponse>
428
+ http_version:
429
+ recorded_at: Sun, 01 Jul 2012 22:22:46 GMT
430
+ - request:
431
+ method: post
432
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
433
+ body:
434
+ encoding: US-ASCII
435
+ string: HITId=2359U8P9Y38TAFEUF4LYLM0JZBMXGU&Operation=DisposeHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A46-07%3A00&Version=2008-08-02&Signature=niGhKaVF5EqY0tpqs9lMatbC5w0%3D
436
+ headers:
437
+ Accept:
438
+ - "*/*; q=0.5, application/xml"
439
+ Accept-Encoding:
440
+ - gzip, deflate
441
+ Content-Length:
442
+ - "230"
443
+ User-Agent:
444
+ - Ruby
445
+ response:
446
+ status:
447
+ code: 200
448
+ message: OK
449
+ headers:
450
+ Content-Type:
451
+ - text/xml
452
+ Transfer-Encoding:
453
+ - chunked
454
+ Date:
455
+ - Sun, 01 Jul 2012 22:22:46 GMT
456
+ Server:
457
+ - MTurk
458
+ body:
459
+ encoding: US-ASCII
460
+ string: |-
461
+ <?xml version="1.0"?>
462
+ <DisposeHITResponse><OperationRequest><RequestId>a6f4f819-1492-48ed-bf7d-0c2a857f5df4</RequestId></OperationRequest><DisposeHITResult><Request><IsValid>True</IsValid></Request></DisposeHITResult></DisposeHITResponse>
463
+ http_version:
464
+ recorded_at: Sun, 01 Jul 2012 22:22:46 GMT
465
+ - request:
466
+ method: post
467
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
468
+ body:
469
+ encoding: US-ASCII
470
+ string: AssignmentId=2TTLY58B727ME1XRWT419YFSVZM9UR&Operation=ApproveAssignment&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A46-07%3A00&Version=2008-08-02&Signature=Olt%2BoRmLV%2BJuoLDKDxlHw6IExrc%3D
471
+ headers:
472
+ Accept:
473
+ - "*/*; q=0.5, application/xml"
474
+ Accept-Encoding:
475
+ - gzip, deflate
476
+ Content-Length:
477
+ - "248"
478
+ User-Agent:
479
+ - Ruby
480
+ response:
481
+ status:
482
+ code: 200
483
+ message: OK
484
+ headers:
485
+ Content-Type:
486
+ - text/xml
487
+ Transfer-Encoding:
488
+ - chunked
489
+ Date:
490
+ - Sun, 01 Jul 2012 22:22:46 GMT
491
+ Server:
492
+ - MTurk
493
+ body:
494
+ encoding: US-ASCII
495
+ string: |-
496
+ <?xml version="1.0"?>
497
+ <ApproveAssignmentResponse><OperationRequest><RequestId>3a549add-d3a2-4a9b-836d-af47c78cbde4</RequestId></OperationRequest><ApproveAssignmentResult><Request><IsValid>True</IsValid></Request></ApproveAssignmentResult></ApproveAssignmentResponse>
498
+ http_version:
499
+ recorded_at: Sun, 01 Jul 2012 22:22:47 GMT
500
+ - request:
501
+ method: post
502
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
503
+ body:
504
+ encoding: US-ASCII
505
+ string: AssignmentId=2E70OHOVR14IB35EXLTHHCWA6HL56U&RequesterFeedback=No+reason+-+this+is+a+test&Operation=RejectAssignment&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A47-07%3A00&Version=2008-08-02&Signature=bH%2BRYLah9oJMcplFOgeiQmpPnKc%3D
506
+ headers:
507
+ Accept:
508
+ - "*/*; q=0.5, application/xml"
509
+ Accept-Encoding:
510
+ - gzip, deflate
511
+ Content-Length:
512
+ - "290"
513
+ User-Agent:
514
+ - Ruby
515
+ response:
516
+ status:
517
+ code: 200
518
+ message: OK
519
+ headers:
520
+ Content-Type:
521
+ - text/xml
522
+ Transfer-Encoding:
523
+ - chunked
524
+ Date:
525
+ - Sun, 01 Jul 2012 22:22:47 GMT
526
+ Server:
527
+ - MTurk
528
+ body:
529
+ encoding: US-ASCII
530
+ string: |-
531
+ <?xml version="1.0"?>
532
+ <RejectAssignmentResponse><OperationRequest><RequestId>f721810e-5b89-4aad-9c9b-53582565d2b2</RequestId></OperationRequest><RejectAssignmentResult><Request><IsValid>True</IsValid></Request></RejectAssignmentResult></RejectAssignmentResponse>
533
+ http_version:
534
+ recorded_at: Sun, 01 Jul 2012 22:22:47 GMT
535
+ - request:
536
+ method: post
537
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
538
+ body:
539
+ encoding: US-ASCII
540
+ string: HITId=26LTVOK5UFJ5FHO2Q0QF1QS1IT058D&Operation=DisposeHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A47-07%3A00&Version=2008-08-02&Signature=q94otOozwJ6MThrydZ1jXDc6I%2B0%3D
541
+ headers:
542
+ Accept:
543
+ - "*/*; q=0.5, application/xml"
544
+ Accept-Encoding:
545
+ - gzip, deflate
546
+ Content-Length:
547
+ - "232"
548
+ User-Agent:
549
+ - Ruby
550
+ response:
551
+ status:
552
+ code: 200
553
+ message: OK
554
+ headers:
555
+ Content-Type:
556
+ - text/xml
557
+ Transfer-Encoding:
558
+ - chunked
559
+ Date:
560
+ - Sun, 01 Jul 2012 22:22:47 GMT
561
+ Server:
562
+ - MTurk
563
+ body:
564
+ encoding: US-ASCII
565
+ string: |-
566
+ <?xml version="1.0"?>
567
+ <DisposeHITResponse><OperationRequest><RequestId>7104d2f7-9eab-417e-99fd-95bb0633d263</RequestId></OperationRequest><DisposeHITResult><Request><IsValid>True</IsValid></Request></DisposeHITResult></DisposeHITResponse>
568
+ http_version:
569
+ recorded_at: Sun, 01 Jul 2012 22:22:48 GMT
570
+ recorded_with: VCR 2.0.0.rc2