Datasets:

Modalities:
Text
Formats:
text
Size:
< 1K
ArXiv:
Libraries:
Datasets
License:
zdy023 commited on
Commit
f4955f4
·
unverified ·
1 Parent(s): efc3fca

ver Sep2nd

Browse files

added assets for the open world set presented in Mobile-Env paper

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. open-world-set-avd.tar.xz +3 -0
  3. open-world-set/F-Droid.apk +3 -0
  4. open-world-set/Google Authenticator_6.0_apkcombo.com.apk +3 -0
  5. open-world-set/Notepad, Notes, Easy Notebook_1.2.1.52_apkcombo.com.apk +3 -0
  6. open-world-set/Today Weather_2.2.2-4.300524_apkcombo.com.apk +3 -0
  7. open-world-set/View_my_order_history.textproto +317 -0
  8. open-world-set/View_my_shopping_cart.textproto +311 -0
  9. open-world-set/View_the_messages_page.textproto +320 -0
  10. open-world-set/add_interstellar_into_watchlist.textproto +142 -0
  11. open-world-set/add_thumbup_to_videos.textproto +126 -0
  12. open-world-set/airplane_mode_off.textproto +57 -0
  13. open-world-set/airplane_mode_on.textproto +57 -0
  14. open-world-set/android_version.textproto +51 -0
  15. open-world-set/bake_lobster_tails-7.textproto +269 -0
  16. open-world-set/check_Honhloumeng_topic.textproto +184 -0
  17. open-world-set/check_alarm.textproto +74 -0
  18. open-world-set/check_in.textproto +34 -0
  19. open-world-set/com.beemdevelopment.aegis_62.apk +3 -0
  20. open-world-set/com.igisw.openmoneybox_55.apk +3 -0
  21. open-world-set/deal_with_little_sisters-6.textproto +298 -0
  22. open-world-set/determine_shipping_costs-8.textproto +213 -0
  23. open-world-set/do_not_disturb.textproto +141 -0
  24. open-world-set/dynamic_switch_clock.textproto +124 -0
  25. open-world-set/elemo_address.textproto +310 -0
  26. open-world-set/elemo_order_food1.textproto +382 -0
  27. open-world-set/elemo_order_food_easy.textproto +382 -0
  28. open-world-set/elemo_order_food_history.textproto +437 -0
  29. open-world-set/elemo_order_food_search.textproto +446 -0
  30. open-world-set/elemo_order_food_searchfood.textproto +443 -0
  31. open-world-set/elemo_order_food_select.textproto +386 -0
  32. open-world-set/file_your_nails-0.textproto +282 -0
  33. open-world-set/get_Sanguoyanyi_book_score.textproto +207 -0
  34. open-world-set/get_in_Sanguoyanyi_group.textproto +129 -0
  35. open-world-set/get_top250_4th_movie.textproto +195 -0
  36. open-world-set/hide_short_bangs-7.textproto +269 -0
  37. open-world-set/how_to_behave_yourself-2.textproto +272 -0
  38. open-world-set/how_to_find_true_happiness_and_peace-1.textproto +275 -0
  39. open-world-set/how_to_import_from_china_into_the_usa-5.textproto +387 -0
  40. open-world-set/how_to_make_a_homemade_weight_set-3.textproto +275 -0
  41. open-world-set/how_to_make_bottle_cap_art-10.textproto +254 -0
  42. open-world-set/how_to_make_pupusas-11.textproto +252 -0
  43. open-world-set/how_to_rip_dvd_audio_to_mp3_using_vlc_media_player-9.textproto +258 -0
  44. open-world-set/how_to_wear_high_waisted_shorts-12.textproto +254 -0
  45. open-world-set/how_to_write_a_video_game_review-12.textproto +254 -0
  46. open-world-set/install_apk-aegis.textproto +113 -0
  47. open-world-set/install_apk-kdeconnect.textproto +117 -0
  48. open-world-set/install_apk-malp.textproto +114 -0
  49. open-world-set/install_apk-openmoneybox.textproto +114 -0
  50. open-world-set/install_apk-vlc.textproto +117 -0
.gitattributes CHANGED
@@ -53,3 +53,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
53
  *.jpeg filter=lfs diff=lfs merge=lfs -text
54
  *.webp filter=lfs diff=lfs merge=lfs -text
55
  wikiHow:万事指南_2.9.6_apkcombo.com.apk filter=lfs diff=lfs merge=lfs -text
 
 
53
  *.jpeg filter=lfs diff=lfs merge=lfs -text
54
  *.webp filter=lfs diff=lfs merge=lfs -text
55
  wikiHow:万事指南_2.9.6_apkcombo.com.apk filter=lfs diff=lfs merge=lfs -text
56
+ *.apk filter=lfs diff=lfs merge=lfs -text
open-world-set-avd.tar.xz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e6f4a9887da743837b398acda5e90d0c723da882b823ac1773a599159be20bb
3
+ size 1779325756
open-world-set/F-Droid.apk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc3bb88f6419ee7dde7d1547a41569aa03282fe00e0dc43ce035efd7c9d27d75
3
+ size 10646430
open-world-set/Google Authenticator_6.0_apkcombo.com.apk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e043628b4ef10b0de9ca37007991f8fd6c6678bb193e7cfa7f68a1ae9686bba
3
+ size 16212034
open-world-set/Notepad, Notes, Easy Notebook_1.2.1.52_apkcombo.com.apk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8b3cb418440570ed4f7c648529dc4730c026cd479632750360eb341f3afa522
3
+ size 11842662
open-world-set/Today Weather_2.2.2-4.300524_apkcombo.com.apk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7adcd9521d1e4b2b01f1feebaf7c198fd960cf2421f2976c80b2a7860803426f
3
+ size 26401463
open-world-set/View_my_order_history.textproto ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "View_my_order_history."
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ orientation: PORTRAIT_0
8
+ }
9
+ }
10
+ }
11
+
12
+ reset_steps: {
13
+ adb_call: {
14
+ force_stop: {
15
+ package_name: "me.ele"
16
+ }
17
+ }
18
+ }
19
+
20
+ reset_steps: {
21
+ success_condition: {
22
+ num_retries: 3
23
+ wait_for_app_screen: {
24
+ app_screen: {
25
+ activity: "me.ele/me.ele.Launcher"
26
+ }
27
+ timeout_sec: 10.0
28
+ }
29
+ }
30
+ adb_call: {
31
+ start_activity: {
32
+ full_activity: "me.ele/me.ele.Launcher"
33
+ }
34
+ }
35
+ }
36
+
37
+ expected_app_screen: {
38
+
39
+ }
40
+
41
+ max_num_steps: 5000
42
+
43
+ event_sources: {
44
+ id: 1
45
+ view_hierarchy_event: {
46
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
47
+ properties: {
48
+ property_name: "text"
49
+ pattern: "消息"
50
+ }
51
+ }
52
+ }
53
+ event_sources: {
54
+ id: 2
55
+ view_hierarchy_event: {
56
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
57
+ properties: {
58
+ property_name: "text"
59
+ pattern: "购物车"
60
+ }
61
+ }
62
+ }
63
+ event_sources: {
64
+ id: 3
65
+ view_hierarchy_event: {
66
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
67
+ properties: {
68
+ property_name: "text"
69
+ pattern: "我的"
70
+ }
71
+ }
72
+ }
73
+ event_sources: {
74
+ id: 4
75
+ text_detect: {
76
+ expect: "消息"
77
+ rect: {
78
+ x0: 0.4
79
+ y0: 0.9099
80
+ x1: 0.6
81
+ y1: 0.9344
82
+ }
83
+ }
84
+ }
85
+ event_sources: {
86
+ id: 5
87
+ text_detect: {
88
+ expect: "购物车"
89
+ rect: {
90
+ x0: 0.6
91
+ y0: 0.9099
92
+ x1: 0.8
93
+ y1: 0.9344
94
+ }
95
+ }
96
+ }
97
+ event_sources: {
98
+ id: 6
99
+ text_detect: {
100
+ expect: "我的"
101
+ rect: {
102
+ x0: 0.8
103
+ y0: 0.9099
104
+ x1: 1.0
105
+ y1: 0.9344
106
+ }
107
+ }
108
+ }
109
+ event_sources: {
110
+ id: 7
111
+ view_hierarchy_event: {
112
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
113
+ properties: {
114
+ property_name: "text"
115
+ pattern: "点餐"
116
+ }
117
+ }
118
+ }
119
+ event_sources: {
120
+ id: 10
121
+ text_recognize: {
122
+ expect: "点餐"
123
+ rect: {
124
+ x0: 0.0306
125
+ y0: 0.1944
126
+ x1: 0.0981
127
+ y1: 0.2667
128
+ }
129
+ }
130
+ }
131
+
132
+ event_sources: {
133
+ id: 8
134
+ view_hierarchy_event: {
135
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
136
+ properties: {
137
+ property_name: "text"
138
+ pattern: "评价"
139
+ }
140
+ }
141
+ }
142
+ event_sources: {
143
+ id: 11
144
+ text_recognize: {
145
+ expect: "评价"
146
+ rect: {
147
+ x0: 0.2083
148
+ y0: 0.1944
149
+ x1: 0.2833
150
+ y1: 0.2667
151
+ }
152
+ }
153
+ }
154
+
155
+ event_sources: {
156
+ id: 9
157
+ view_hierarchy_event: {
158
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
159
+ properties: {
160
+ property_name: "text"
161
+ pattern: "品牌"
162
+ }
163
+ }
164
+ }
165
+ event_sources: {
166
+ id: 12
167
+ text_recognize: {
168
+ expect: "品牌"
169
+ rect: {
170
+ x0: 0.3907
171
+ y0: 0.1944
172
+ x1: 0.4639
173
+ y1: 0.2667
174
+ }
175
+ }
176
+ }
177
+ event_sources: {
178
+ id: 13
179
+ view_hierarchy_event: {
180
+ selector: '#"me.ele:id/cart_food_count_view"'
181
+ properties: {
182
+ property_name: "content-desc"
183
+ pattern: "购物车,[0-9]+,件"
184
+ }
185
+ }
186
+ }
187
+ event_sources: {
188
+ id: 14
189
+ text_recognize: {
190
+ expect: "提交订单"
191
+ rect: {
192
+ x0: 0.7282
193
+ y0: 0.9372
194
+ x1: 0.9709
195
+ y1: 1.0
196
+ }
197
+ }
198
+ }
199
+
200
+ event_sources: {
201
+ id: 15
202
+ view_hierarchy_event: {
203
+ selector: '#"me.ele:id/img_1"[content-desc="首页"]'
204
+ properties: {
205
+ property_name: "content-desc"
206
+ pattern: "首页"
207
+ }
208
+ }
209
+ }
210
+
211
+
212
+
213
+ event_sources: {
214
+ id: 17
215
+ view_hierarchy_event: {
216
+ selector: '#"me.ele:id/more_img"[content-desc="更多"]'
217
+ properties: {
218
+ property_name: "content-desc"
219
+ pattern: "更多"
220
+ }
221
+ }
222
+ }
223
+
224
+
225
+ event_slots: {
226
+ reward_listener: {
227
+ type: OR
228
+ events: {
229
+ event: {
230
+ type: OR
231
+ events: {
232
+ event: {
233
+ type: AND
234
+ events: [
235
+ { id: 1 },
236
+ { id: 2 },
237
+ { id: 3 }
238
+ ]
239
+ transformation: "y = 1"
240
+ id: 100
241
+ }
242
+ }
243
+ events: {
244
+ event: {
245
+ type: AND
246
+ events: [
247
+ { id: 4 },
248
+ { id: 5 },
249
+ { id: 6 }
250
+ ]
251
+ transformation: "y = 1"
252
+ id: 101
253
+ }
254
+ }
255
+ }
256
+ }
257
+ events: {
258
+ event: {
259
+ type: SINGLE
260
+ events: [
261
+ { id: 15 }
262
+ ]
263
+ transformation: "y = 1"
264
+ id: 104
265
+ }
266
+ }
267
+ events: {
268
+ event: {
269
+ type: SINGLE
270
+ events: [
271
+ { id: 17 }
272
+ ]
273
+ transformation: "y = 1"
274
+ id: 105
275
+ }
276
+ }
277
+ }
278
+ instruction_listener: {
279
+ type: OR
280
+
281
+ events: {
282
+ event: {
283
+ type: OR
284
+ id: 302
285
+ events: [
286
+ { id: 101 },
287
+ { id: 100 }
288
+ ]
289
+ transformation: "y = 'View my order history.'"
290
+ }
291
+ }
292
+
293
+
294
+ events: {
295
+ event: {
296
+ type: SINGLE
297
+ id: 304
298
+ events: [
299
+ { id: 104 }
300
+ ]
301
+ transformation: "y = 'View all of my order history.'"
302
+ }
303
+ }
304
+ }
305
+ episode_end_listener: {
306
+ type: SINGLE
307
+ events: {
308
+ id: 17
309
+ }
310
+ transformation: "y = True"
311
+ }
312
+ }
313
+
314
+
315
+ command: "View my order history.If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
316
+
317
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/View_my_shopping_cart.textproto ADDED
@@ -0,0 +1,311 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "View_my_shopping_cart."
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ orientation: PORTRAIT_0
8
+ }
9
+ }
10
+ }
11
+
12
+ reset_steps: {
13
+ adb_call: {
14
+ force_stop: {
15
+ package_name: "me.ele"
16
+ }
17
+ }
18
+ }
19
+
20
+ reset_steps: {
21
+ success_condition: {
22
+ num_retries: 3
23
+ wait_for_app_screen: {
24
+ app_screen: {
25
+ activity: "me.ele/me.ele.Launcher"
26
+ }
27
+ timeout_sec: 10.0
28
+ }
29
+ }
30
+ adb_call: {
31
+ start_activity: {
32
+ full_activity: "me.ele/me.ele.Launcher"
33
+ }
34
+ }
35
+ }
36
+
37
+ expected_app_screen: {
38
+
39
+ }
40
+
41
+ max_num_steps: 5000
42
+
43
+ event_sources: {
44
+ id: 1
45
+ view_hierarchy_event: {
46
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
47
+ properties: {
48
+ property_name: "text"
49
+ pattern: "消息"
50
+ }
51
+ }
52
+ }
53
+ event_sources: {
54
+ id: 2
55
+ view_hierarchy_event: {
56
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
57
+ properties: {
58
+ property_name: "text"
59
+ pattern: "购物车"
60
+ }
61
+ }
62
+ }
63
+ event_sources: {
64
+ id: 3
65
+ view_hierarchy_event: {
66
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
67
+ properties: {
68
+ property_name: "text"
69
+ pattern: "我的"
70
+ }
71
+ }
72
+ }
73
+ event_sources: {
74
+ id: 4
75
+ text_detect: {
76
+ expect: "消息"
77
+ rect: {
78
+ x0: 0.4
79
+ y0: 0.9099
80
+ x1: 0.6
81
+ y1: 0.9344
82
+ }
83
+ }
84
+ }
85
+ event_sources: {
86
+ id: 5
87
+ text_detect: {
88
+ expect: "购物车"
89
+ rect: {
90
+ x0: 0.6
91
+ y0: 0.9099
92
+ x1: 0.8
93
+ y1: 0.9344
94
+ }
95
+ }
96
+ }
97
+ event_sources: {
98
+ id: 6
99
+ text_detect: {
100
+ expect: "我的"
101
+ rect: {
102
+ x0: 0.8
103
+ y0: 0.9099
104
+ x1: 1.0
105
+ y1: 0.9344
106
+ }
107
+ }
108
+ }
109
+ event_sources: {
110
+ id: 7
111
+ view_hierarchy_event: {
112
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
113
+ properties: {
114
+ property_name: "text"
115
+ pattern: "点餐"
116
+ }
117
+ }
118
+ }
119
+ event_sources: {
120
+ id: 10
121
+ text_recognize: {
122
+ expect: "点餐"
123
+ rect: {
124
+ x0: 0.0306
125
+ y0: 0.1944
126
+ x1: 0.0981
127
+ y1: 0.2667
128
+ }
129
+ }
130
+ }
131
+
132
+ event_sources: {
133
+ id: 8
134
+ view_hierarchy_event: {
135
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
136
+ properties: {
137
+ property_name: "text"
138
+ pattern: "评价"
139
+ }
140
+ }
141
+ }
142
+ event_sources: {
143
+ id: 11
144
+ text_recognize: {
145
+ expect: "评价"
146
+ rect: {
147
+ x0: 0.2083
148
+ y0: 0.1944
149
+ x1: 0.2833
150
+ y1: 0.2667
151
+ }
152
+ }
153
+ }
154
+
155
+ event_sources: {
156
+ id: 9
157
+ view_hierarchy_event: {
158
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
159
+ properties: {
160
+ property_name: "text"
161
+ pattern: "品牌"
162
+ }
163
+ }
164
+ }
165
+ event_sources: {
166
+ id: 12
167
+ text_recognize: {
168
+ expect: "品牌"
169
+ rect: {
170
+ x0: 0.3907
171
+ y0: 0.1944
172
+ x1: 0.4639
173
+ y1: 0.2667
174
+ }
175
+ }
176
+ }
177
+ event_sources: {
178
+ id: 13
179
+ view_hierarchy_event: {
180
+ selector: '#"me.ele:id/cart_food_count_view"'
181
+ properties: {
182
+ property_name: "content-desc"
183
+ pattern: "购物车,[0-9]+,件"
184
+ }
185
+ }
186
+ }
187
+ event_sources: {
188
+ id: 14
189
+ text_recognize: {
190
+ expect: "提交订单"
191
+ rect: {
192
+ x0: 0.7282
193
+ y0: 0.9372
194
+ x1: 0.9709
195
+ y1: 1.0
196
+ }
197
+ }
198
+ }
199
+ event_sources: {
200
+ id: 15
201
+ view_hierarchy_event: {
202
+ selector: '#"me.ele:id/title_txt"[text="购物车"]'
203
+ properties: {
204
+ property_name: "text"
205
+ pattern: "购物车"
206
+ }
207
+ }
208
+ }
209
+ event_sources: {
210
+ id: 16
211
+ text_recognize: {
212
+ expect: "购物车"
213
+ rect: {
214
+ x0: 0.0
215
+ y0: 0.0
216
+ x1: 1.0
217
+ y1: 0.1
218
+ }
219
+ }
220
+ }
221
+
222
+
223
+
224
+
225
+
226
+ event_slots: {
227
+ reward_listener: {
228
+ type: OR
229
+ events: {
230
+ event: {
231
+ type: OR
232
+ events: {
233
+ event: {
234
+ type: AND
235
+ events: [
236
+ { id: 1 },
237
+ { id: 2 },
238
+ { id: 3 }
239
+ ]
240
+ transformation: "y = 1"
241
+ id: 100
242
+ }
243
+ }
244
+ events: {
245
+ event: {
246
+ type: AND
247
+ events: [
248
+ { id: 4 },
249
+ { id: 5 },
250
+ { id: 6 }
251
+ ]
252
+ transformation: "y = 1"
253
+ id: 101
254
+ }
255
+ }
256
+ }
257
+ }
258
+ events: {
259
+ event: {
260
+ type: SINGLE
261
+ events: [
262
+ { id: 15 }
263
+ ]
264
+ transformation: "y = 1"
265
+ id: 104
266
+ }
267
+ }
268
+ }
269
+ instruction_listener: {
270
+ type: OR
271
+
272
+ events: {
273
+ event: {
274
+ type: OR
275
+ id: 302
276
+ events: [
277
+ { id: 101 },
278
+ { id: 100 }
279
+ ]
280
+ transformation: "y = 'View my shopping cart.'"
281
+ }
282
+ }
283
+
284
+
285
+ events: {
286
+ event: {
287
+ type: SINGLE
288
+ id: 304
289
+ events: [
290
+ { id: 104 }
291
+ ]
292
+ transformation: "y = '.'"
293
+ }
294
+ }
295
+ }
296
+ episode_end_listener: {
297
+ type: OR
298
+ events: {
299
+ id: 15
300
+ }
301
+ events: {
302
+ id: 16
303
+ }
304
+ transformation: "y = True"
305
+ }
306
+ }
307
+
308
+
309
+ command: "View my shopping cart.If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
310
+
311
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/View_the_messages_page.textproto ADDED
@@ -0,0 +1,320 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "View_the_messages_page."
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "/home/sharryxr/饿了么_11.6.8_APKPure.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ orientation: PORTRAIT_0
17
+ }
18
+ }
19
+ }
20
+
21
+ reset_steps: {
22
+ adb_call: {
23
+ force_stop: {
24
+ package_name: "me.ele"
25
+ }
26
+ }
27
+ }
28
+
29
+ reset_steps: {
30
+ success_condition: {
31
+ num_retries: 3
32
+ wait_for_app_screen: {
33
+ app_screen: {
34
+ activity: "me.ele/me.ele.Launcher"
35
+ }
36
+ timeout_sec: 10.0
37
+ }
38
+ }
39
+ adb_call: {
40
+ start_activity: {
41
+ full_activity: "me.ele/me.ele.Launcher"
42
+ }
43
+ }
44
+ }
45
+
46
+ expected_app_screen: {
47
+
48
+ }
49
+
50
+ max_num_steps: 5000
51
+
52
+ event_sources: {
53
+ id: 1
54
+ view_hierarchy_event: {
55
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
56
+ properties: {
57
+ property_name: "text"
58
+ pattern: "消息"
59
+ }
60
+ }
61
+ }
62
+ event_sources: {
63
+ id: 2
64
+ view_hierarchy_event: {
65
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
66
+ properties: {
67
+ property_name: "text"
68
+ pattern: "购物车"
69
+ }
70
+ }
71
+ }
72
+ event_sources: {
73
+ id: 3
74
+ view_hierarchy_event: {
75
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
76
+ properties: {
77
+ property_name: "text"
78
+ pattern: "我的"
79
+ }
80
+ }
81
+ }
82
+ event_sources: {
83
+ id: 4
84
+ text_detect: {
85
+ expect: "消息"
86
+ rect: {
87
+ x0: 0.4
88
+ y0: 0.9099
89
+ x1: 0.6
90
+ y1: 0.9344
91
+ }
92
+ }
93
+ }
94
+ event_sources: {
95
+ id: 5
96
+ text_detect: {
97
+ expect: "购物车"
98
+ rect: {
99
+ x0: 0.6
100
+ y0: 0.9099
101
+ x1: 0.8
102
+ y1: 0.9344
103
+ }
104
+ }
105
+ }
106
+ event_sources: {
107
+ id: 6
108
+ text_detect: {
109
+ expect: "我的"
110
+ rect: {
111
+ x0: 0.8
112
+ y0: 0.9099
113
+ x1: 1.0
114
+ y1: 0.9344
115
+ }
116
+ }
117
+ }
118
+ event_sources: {
119
+ id: 7
120
+ view_hierarchy_event: {
121
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
122
+ properties: {
123
+ property_name: "text"
124
+ pattern: "点餐"
125
+ }
126
+ }
127
+ }
128
+ event_sources: {
129
+ id: 10
130
+ text_recognize: {
131
+ expect: "点餐"
132
+ rect: {
133
+ x0: 0.0306
134
+ y0: 0.1944
135
+ x1: 0.0981
136
+ y1: 0.2667
137
+ }
138
+ }
139
+ }
140
+
141
+ event_sources: {
142
+ id: 8
143
+ view_hierarchy_event: {
144
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
145
+ properties: {
146
+ property_name: "text"
147
+ pattern: "评价"
148
+ }
149
+ }
150
+ }
151
+ event_sources: {
152
+ id: 11
153
+ text_recognize: {
154
+ expect: "评价"
155
+ rect: {
156
+ x0: 0.2083
157
+ y0: 0.1944
158
+ x1: 0.2833
159
+ y1: 0.2667
160
+ }
161
+ }
162
+ }
163
+
164
+ event_sources: {
165
+ id: 9
166
+ view_hierarchy_event: {
167
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
168
+ properties: {
169
+ property_name: "text"
170
+ pattern: "品牌"
171
+ }
172
+ }
173
+ }
174
+ event_sources: {
175
+ id: 12
176
+ text_recognize: {
177
+ expect: "品牌"
178
+ rect: {
179
+ x0: 0.3907
180
+ y0: 0.1944
181
+ x1: 0.4639
182
+ y1: 0.2667
183
+ }
184
+ }
185
+ }
186
+ event_sources: {
187
+ id: 13
188
+ view_hierarchy_event: {
189
+ selector: '#"me.ele:id/cart_food_count_view"'
190
+ properties: {
191
+ property_name: "content-desc"
192
+ pattern: "购物车,[0-9]+,件"
193
+ }
194
+ }
195
+ }
196
+ event_sources: {
197
+ id: 14
198
+ text_recognize: {
199
+ expect: "提交订单"
200
+ rect: {
201
+ x0: 0.7282
202
+ y0: 0.9372
203
+ x1: 0.9709
204
+ y1: 1.0
205
+ }
206
+ }
207
+ }
208
+ event_sources: {
209
+ id: 15
210
+ view_hierarchy_event: {
211
+ selector: '#"me.ele:id/tv_title"[text="消息中心"]'
212
+ properties: {
213
+ property_name: "text"
214
+ pattern: "消息中心"
215
+ }
216
+ }
217
+ }
218
+ event_sources: {
219
+ id: 16
220
+ text_recognize: {
221
+ expect: "消息中心"
222
+ rect: {
223
+ x0: 0.04
224
+ y0: 0.04
225
+ x1: 0.24
226
+ y1: 0.1
227
+ }
228
+ }
229
+ }
230
+
231
+
232
+
233
+
234
+
235
+ event_slots: {
236
+ reward_listener: {
237
+ type: OR
238
+ events: {
239
+ event: {
240
+ type: OR
241
+ events: {
242
+ event: {
243
+ type: AND
244
+ events: [
245
+ { id: 1 },
246
+ { id: 2 },
247
+ { id: 3 }
248
+ ]
249
+ transformation: "y = 1"
250
+ id: 100
251
+ }
252
+ }
253
+ events: {
254
+ event: {
255
+ type: AND
256
+ events: [
257
+ { id: 4 },
258
+ { id: 5 },
259
+ { id: 6 }
260
+ ]
261
+ transformation: "y = 1"
262
+ id: 101
263
+ }
264
+ }
265
+ }
266
+ }
267
+ events: {
268
+ event: {
269
+ type: SINGLE
270
+ events: [
271
+ { id: 15 }
272
+ ]
273
+ transformation: "y = 1"
274
+ id: 104
275
+ }
276
+ }
277
+ }
278
+ instruction_listener: {
279
+ type: OR
280
+
281
+ events: {
282
+ event: {
283
+ type: OR
284
+ id: 302
285
+ events: [
286
+ { id: 101 },
287
+ { id: 100 }
288
+ ]
289
+ transformation: "y = 'Open the message page.'"
290
+ }
291
+ }
292
+
293
+
294
+ events: {
295
+ event: {
296
+ type: SINGLE
297
+ id: 304
298
+ events: [
299
+ { id: 104 }
300
+ ]
301
+ transformation: "y = '.'"
302
+ }
303
+ }
304
+ }
305
+ episode_end_listener: {
306
+ type: OR
307
+ events: {
308
+ id: 15
309
+ }
310
+ events: {
311
+ id: 16
312
+ }
313
+ transformation: "y = True"
314
+ }
315
+ }
316
+
317
+
318
+ command: "View the messages page.If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
319
+
320
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/add_interstellar_into_watchlist.textproto ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id : "add_interstellar_into_watchlist"
2
+ name : "imdb interaction Task - add_interstellar_into_watchlist"
3
+ description: "A task that needs agent: first Search the interstellar then add it into the watchlist in the corresponding page"
4
+
5
+
6
+
7
+ reset_steps: {
8
+ adb_call: {
9
+ force_stop: {
10
+ package_name: "com.imdb.mobile"
11
+ }
12
+ }
13
+ }
14
+
15
+ reset_steps: {
16
+ success_condition: {
17
+ num_retries: 10
18
+ wait_for_app_screen: {
19
+ app_screen: {
20
+ activity: "com.imdb.mobile/com.imdb.mobile.HomeActivity"
21
+ }
22
+ timeout_sec: 10.0
23
+ }
24
+ }
25
+ adb_call: {
26
+ start_activity: {
27
+ full_activity: "com.imdb.mobile/com.imdb.mobile.HomeActivity"
28
+ }
29
+ }
30
+ }
31
+
32
+ expected_app_screen: {
33
+
34
+ }
35
+
36
+ max_num_steps: 5000
37
+
38
+
39
+ event_sources: {
40
+ view_hierarchy_event: {
41
+ selector: '.$"widget.EditText"#$"search_src_text"'
42
+ properties: {
43
+ property_name: "text"
44
+ pattern: "Search IMDb"
45
+ }
46
+ }
47
+ id: 1
48
+ }
49
+
50
+ event_sources: {
51
+ view_hierarchy_event: {
52
+ selector: '.$"TextView"#$"plot_overview"'
53
+ properties: {
54
+ property_name: "text"
55
+ pattern: "When Earth becomes uninhabitable in the future, a farmer and ex-NASA pilot, Joseph Cooper, is tasked to pilot a spacecraft, along with a team of researchers, to find a new planet for humans."
56
+ }
57
+ }
58
+ id: 2
59
+ }
60
+
61
+ event_sources: {
62
+ view_hierarchy_event: {
63
+ selector: '.$"TextView"#$"login_text"'
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "Please sign in to add this title to your Watchlist."
67
+ }
68
+ }
69
+ id: 3
70
+ }
71
+
72
+ event_slots: {
73
+
74
+ reward_listener:{
75
+ type:OR
76
+ events:{
77
+ event:{
78
+ type:OR
79
+ id:10
80
+ events:{
81
+ id:1
82
+ }
83
+ events:{
84
+ id:1
85
+ }
86
+ transformation:"y=1"
87
+ }
88
+ }
89
+ events:{
90
+ event:{
91
+ type:OR
92
+ id:11
93
+ events:{
94
+ id:2
95
+ }
96
+ events:{
97
+ id:2
98
+ }
99
+ transformation:"y=1"
100
+ }
101
+
102
+ }
103
+ }
104
+
105
+
106
+ episode_end_listener: {
107
+ type: OR
108
+ id:12
109
+ events: {
110
+ id: 3
111
+ }
112
+ events: {
113
+ id: 3
114
+ }
115
+ transformation: "y = True"
116
+ }
117
+
118
+ instruction_listener: {
119
+ type: OR
120
+ events: {
121
+ event: {
122
+ events: {
123
+ id: 10
124
+ }
125
+ transformation: "y = [\'Good Job, continue check this movie \']"
126
+ }
127
+ }
128
+ events: {
129
+ event: {
130
+ events: {
131
+ id: 11
132
+ }
133
+ transformation: "y = [\'Well, help me add this movie in my watchlist\']"
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ command: "Search the interstellar.(hint:four navigations nodes represent :home,search,videos,profile)"
140
+
141
+
142
+ vocabulary: ["interstellar"]
open-world-set/add_thumbup_to_videos.textproto ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id : "add thumb up to the video"
2
+ name : "Imdb interact Task - add thumb up to the video"
3
+ description: "This task is to add thumb up to the video"
4
+
5
+
6
+
7
+
8
+ reset_steps: {
9
+ adb_call: {
10
+ force_stop: {
11
+ package_name: "com.imdb.mobile"
12
+ }
13
+ }
14
+ }
15
+
16
+
17
+
18
+ reset_steps: {
19
+ success_condition: {
20
+ num_retries: 10
21
+ wait_for_app_screen: {
22
+ app_screen: {
23
+ activity: "com.imdb.mobile/com.imdb.mobile.HomeActivity"
24
+ }
25
+ timeout_sec: 10.0
26
+ }
27
+ }
28
+ adb_call: {
29
+ start_activity: {
30
+ full_activity: "com.imdb.mobile/com.imdb.mobile.HomeActivity"
31
+ }
32
+ }
33
+ }
34
+
35
+ expected_app_screen: {
36
+
37
+ }
38
+
39
+ max_num_steps: 5000
40
+
41
+
42
+ event_sources: {
43
+ view_hierarchy_event: {
44
+ selector: '.$"widget.ImageView"#$"volume_button"'
45
+
46
+ }
47
+ id: 1
48
+ }
49
+
50
+ event_sources: {
51
+ view_hierarchy_event: {
52
+ selector: '.$"widget.TextView"#$"login_text"'
53
+ properties: {
54
+ property_name: "text"
55
+ pattern: "Please sign in to add an thumb up reaction."
56
+ }
57
+ }
58
+ id: 2
59
+ }
60
+
61
+
62
+
63
+ event_slots: {
64
+
65
+ reward_listener:{
66
+ type:OR
67
+ events:{
68
+ event:{
69
+ type:OR
70
+ id:10
71
+ events:{
72
+ id:1
73
+ }
74
+ events:{
75
+ id:1
76
+ }
77
+ transformation:"y=1"
78
+ }
79
+ }
80
+ events:{
81
+ event:{
82
+ type:OR
83
+ id:11
84
+ events:{
85
+ id:2
86
+ }
87
+ events:{
88
+ id:2
89
+ }
90
+ transformation:"y=1"
91
+ }
92
+
93
+ }
94
+ }
95
+
96
+
97
+ episode_end_listener: {
98
+ type: OR
99
+ id:12
100
+ events: {
101
+ id: 2
102
+ }
103
+ events: {
104
+ id: 2
105
+ }
106
+ transformation: "y = True"
107
+ }
108
+
109
+ instruction_listener: {
110
+ type: OR
111
+ events: {
112
+ event: {
113
+ events: {
114
+ id: 10
115
+ }
116
+ transformation: "y = [\'Good Job, add a thumb up to it\']"
117
+ }
118
+ }
119
+
120
+ }
121
+ }
122
+
123
+ command: "Navigate to the video part (hint: four navigations nodes represent :home,search,videos,profile)"
124
+
125
+
126
+ vocabulary: []
open-world-set/airplane_mode_off.textproto ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "airplane_mode_off"
2
+ name: "Disable Airplane Mode"
3
+ description: "Disable Airplane Mode"
4
+
5
+ setup_steps: {
6
+ adb_call: { rotate: { orientation: PORTRAIT_0 } }
7
+ }
8
+
9
+ reset_steps: {
10
+ adb_call: {
11
+ shell_command: {
12
+ command: ["cmd", "connectivity", "airplane-mode", "enable"]
13
+ }
14
+ }
15
+ }
16
+ reset_steps: [
17
+ { adb_call: { force_stop: { package_name: "com.android.settings" } } },
18
+ { adb_call: { clear_cache: { package_name: "com.android.settings" } } },
19
+ {
20
+ adb_call: {
21
+ start_activity: {
22
+ full_activity: "com.android.settings/com.android.settings.Settings"
23
+ }
24
+ }
25
+ success_condition: {
26
+ wait_for_app_screen: {
27
+ app_screen: {
28
+ activity: "com.android.settings/com.android.settings.Settings"
29
+ }
30
+ timeout_sec: 10.0
31
+ }
32
+ num_retries: 3
33
+ }
34
+ }
35
+ ]
36
+
37
+ max_num_steps: 500
38
+
39
+ event_sources: {
40
+ log_event: {
41
+ filters: "PhoneGlobals:I"
42
+ pattern: "Turning radio on"
43
+ }
44
+ id: 1
45
+ }
46
+ event_slots: {
47
+ reward_listener: {
48
+ events: { id: 1 }
49
+ transformation: "y = 1."
50
+ }
51
+ episode_end_listener: {
52
+ events: { id: 1 }
53
+ transformation: "y = True"
54
+ }
55
+ }
56
+
57
+ command: "Turn off airplane mode for my phone."
open-world-set/airplane_mode_on.textproto ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "airplane_mode_on"
2
+ name: "Enable Airplane Mode"
3
+ description: "Enable Airplane Mode"
4
+
5
+ setup_steps: {
6
+ adb_call: { rotate: { orientation: PORTRAIT_0 } }
7
+ }
8
+
9
+ reset_steps: {
10
+ adb_call: {
11
+ shell_command: {
12
+ command: ["cmd", "connectivity", "airplane-mode", "disable"]
13
+ }
14
+ }
15
+ }
16
+ reset_steps: [
17
+ { adb_call: { force_stop: { package_name: "com.android.settings" } } },
18
+ { adb_call: { clear_cache: { package_name: "com.android.settings" } } },
19
+ {
20
+ adb_call: {
21
+ start_activity: {
22
+ full_activity: "com.android.settings/com.android.settings.Settings"
23
+ }
24
+ }
25
+ success_condition: {
26
+ wait_for_app_screen: {
27
+ app_screen: {
28
+ activity: "com.android.settings/com.android.settings.Settings"
29
+ }
30
+ timeout_sec: 10.0
31
+ }
32
+ num_retries: 3
33
+ }
34
+ }
35
+ ]
36
+
37
+ max_num_steps: 500
38
+
39
+ event_sources: {
40
+ log_event: {
41
+ filters: "PhoneGlobals:I"
42
+ pattern: "Turning radio off"
43
+ }
44
+ id: 1
45
+ }
46
+ event_slots: {
47
+ reward_listener: {
48
+ events: { id: 1 }
49
+ transformation: "y = 1."
50
+ }
51
+ episode_end_listener: {
52
+ events: { id: 1 }
53
+ transformation: "y = True"
54
+ }
55
+ }
56
+
57
+ command: "Turn on airplane mode for my phone."
open-world-set/android_version.textproto ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "android_version"
2
+ name: "Check Android Version"
3
+ description: "Check the current Android version."
4
+
5
+ setup_steps: {
6
+ adb_call: { rotate: { orientation: PORTRAIT_0 } }
7
+ }
8
+
9
+ reset_steps: [
10
+ { adb_call: { force_stop: { package_name: "com.android.settings" } } },
11
+ { adb_call: { clear_cache: { package_name: "com.android.settings" } } },
12
+ {
13
+ adb_call: {
14
+ start_activity: {
15
+ full_activity: "com.android.settings/com.android.settings.Settings"
16
+ }
17
+ }
18
+ success_condition: {
19
+ wait_for_app_screen: {
20
+ app_screen: {
21
+ activity: "com.android.settings/com.android.settings.Settings"
22
+ }
23
+ timeout_sec: 10.0
24
+ }
25
+ num_retries: 3
26
+ }
27
+ }
28
+ ]
29
+
30
+ max_num_steps: 500
31
+
32
+ event_sources: {
33
+ response_event: {
34
+ mode: REGEX
35
+ pattern: "11(?:\\.0(?:\\.0)?)?|[Ee]leven"
36
+ }
37
+ id: 1
38
+ }
39
+ event_slots: {
40
+ reward_listener: {
41
+ events: { id: 1 }
42
+ transformation: "y = 1."
43
+ }
44
+ episode_end_listener: {
45
+ events: { id: 1 }
46
+ transformation: "y = True"
47
+ }
48
+ }
49
+
50
+ command: "Tell me the Android version of my phone."
51
+ vocabulary: ["11", "eleven"]
open-world-set/bake_lobster_tails-7.textproto ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_bake_lobster_tails-article_bake lobster tails-check_reference"
2
+ name: "WikiHow Search Task Primitive - Search bake_lobster_tails, Access How to Bake Lobster Tails, Check the Reference"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA demo task asking to check the reference list."
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(bake|lobster|tails)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(bake|lobster|tails)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(bake|lobster|tails).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Bake Lobster Tails"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Bake-Lobster-Tails"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Bake Lobster Tails"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ text_detect: {
113
+ expect: "References"
114
+ rect: {
115
+ x1: 0.33
116
+ y1: 1.0
117
+ }
118
+ }
119
+ id: 9
120
+ }
121
+ event_sources: {
122
+ log_event: {
123
+ filters: "jd:D"
124
+ pattern: "\\burl is: https://www\\.wikihow\\.com/Bake-Lobster-Tails\\?wh_an=1&amp=1#References\\b"
125
+ }
126
+ id: 10
127
+ }
128
+ event_slots: {
129
+ score_listener: {
130
+ type: OR
131
+ events: {
132
+ event: {
133
+ }
134
+ }
135
+ events: {
136
+ event: {
137
+ }
138
+ }
139
+ events: {
140
+ event: {
141
+ }
142
+ }
143
+ }
144
+ reward_listener: {
145
+ type: OR
146
+ events: {
147
+ event: {
148
+ type: OR
149
+ id: 4
150
+ events: {
151
+ id: 1
152
+ }
153
+ events: {
154
+ id: 2
155
+ }
156
+ events: {
157
+ id: 3
158
+ }
159
+ transformation: "y = 1"
160
+ repeatability: NONE
161
+ }
162
+ }
163
+ events: {
164
+ event: {
165
+ type: OR
166
+ id: 8
167
+ events: {
168
+ id: 5
169
+ }
170
+ events: {
171
+ id: 6
172
+ }
173
+ events: {
174
+ id: 7
175
+ }
176
+ transformation: "y = 1"
177
+ repeatability: NONE
178
+ }
179
+ }
180
+ events: {
181
+ event: {
182
+ type: OR
183
+ id: 11
184
+ events: {
185
+ id: 9
186
+ }
187
+ events: {
188
+ id: 10
189
+ }
190
+ transformation: "y = 1"
191
+ repeatability: NONE
192
+ }
193
+ }
194
+ }
195
+ episode_end_listener: {
196
+ events: {
197
+ id: 11
198
+ }
199
+ transformation: "y = True"
200
+ }
201
+ extra_listener: {
202
+ type: OR
203
+ events: {
204
+ event: {
205
+ }
206
+ }
207
+ events: {
208
+ event: {
209
+ }
210
+ }
211
+ events: {
212
+ event: {
213
+ }
214
+ }
215
+ }
216
+ json_extra_listener: {
217
+ type: OR
218
+ events: {
219
+ event: {
220
+ }
221
+ }
222
+ events: {
223
+ event: {
224
+ }
225
+ }
226
+ events: {
227
+ event: {
228
+ }
229
+ }
230
+ }
231
+ instruction_listener: {
232
+ type: OR
233
+ events: {
234
+ event: {
235
+ }
236
+ }
237
+ events: {
238
+ event: {
239
+ events: {
240
+ id: 4
241
+ }
242
+ transformation: "y = [\'Access the article \"How to Bake Lobster Tails\"\']"
243
+ }
244
+ }
245
+ events: {
246
+ event: {
247
+ }
248
+ }
249
+ events: {
250
+ event: {
251
+ events: {
252
+ id: 8
253
+ }
254
+ transformation: "y = [\'Check the reference list\']"
255
+ }
256
+ }
257
+ events: {
258
+ event: {
259
+ }
260
+ }
261
+ }
262
+ }
263
+ command: "Search an article to learn how to bake lobster tails."
264
+ command: "Then, access the article \"How to Bake Lobster Tails\""
265
+ command: "Then, check the reference list"
266
+ vocabulary: "tails"
267
+ vocabulary: "bake"
268
+ vocabulary: "lobster"
269
+ vocabulary: "how to"
open-world-set/check_Honhloumeng_topic.textproto ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id:"check_Honhloumeng_topic"
2
+ name :"Douban Search Task - Hongloumeng popular topic"
3
+ description :"Search the first two topics about Hongloumeng in Douban"
4
+
5
+
6
+
7
+ reset_steps: {
8
+ adb_call: {
9
+ force_stop: {
10
+ package_name: "com.douban.frodo"
11
+ }
12
+ }
13
+ }
14
+
15
+
16
+
17
+ reset_steps: {
18
+ success_condition: {
19
+ num_retries: 10
20
+ wait_for_app_screen: {
21
+ app_screen: {
22
+ activity: "com.douban.frodo/com.douban.frodo.activity.SplashActivity"
23
+ }
24
+ timeout_sec: 10.0
25
+ }
26
+ }
27
+ adb_call: {
28
+ start_activity: {
29
+ full_activity: "com.douban.frodo/com.douban.frodo.activity.SplashActivity"
30
+ }
31
+ }
32
+ }
33
+
34
+
35
+ expected_app_screen: {
36
+
37
+ }
38
+
39
+
40
+ max_num_steps: 5000
41
+
42
+
43
+ event_sources: {
44
+ text_detect: {
45
+ expect: "取消"
46
+ rect: {
47
+ x0: 0.87
48
+ y0: 0.048
49
+ x1: 0.97
50
+ y1: 0.085
51
+ }
52
+ }
53
+ id: 1
54
+ }
55
+
56
+ event_sources: {
57
+ view_hierarchy_event: {
58
+ selector: '#$"com.douban.frodo:id/cancel".$"TextView"'
59
+ properties: {
60
+ property_name: "text"
61
+ pattern: "取消"
62
+ }
63
+
64
+ }
65
+ id: 2
66
+ }
67
+
68
+ event_sources: {
69
+ text_detect: {
70
+ expect: "我读红楼梦"
71
+ rect: {
72
+ x0: 0
73
+ y0: 0.15
74
+ x1: 0.40
75
+ y1: 0.25
76
+ }
77
+ }
78
+ id: 3
79
+ }
80
+
81
+ event_sources:{
82
+ response_event:
83
+ {mode:REGEX
84
+ pattern:"我读红楼梦"}
85
+ id:4
86
+
87
+ }
88
+ event_sources:{
89
+ response_event:
90
+ {mode:REGEX
91
+ pattern:"《红楼梦》中的美食"}
92
+ id:5
93
+
94
+ }
95
+
96
+
97
+ event_slots:{
98
+ reward_listener:{
99
+ type:OR
100
+ events:{
101
+ event:{
102
+ type:OR
103
+ id:8
104
+ events:{
105
+ id:1
106
+ }
107
+ events:{
108
+ id:2
109
+ }
110
+ transformation:"y=1"
111
+ }
112
+ }
113
+ events:{
114
+ event:{
115
+ type:OR
116
+ id:9
117
+ events:
118
+ {
119
+ id:3
120
+ }
121
+ transformation:"y=1"
122
+ }
123
+ }
124
+ events:{
125
+ event:{
126
+ type:OR
127
+
128
+ id:10
129
+ events:
130
+ {
131
+ id:4
132
+ }
133
+ transformation:"y=1"
134
+ }
135
+ }
136
+
137
+
138
+ }
139
+
140
+
141
+
142
+ episode_end_listener: {
143
+ prerequisite:10
144
+ events: {
145
+
146
+ id: 5
147
+ }
148
+ transformation: "y = True"
149
+ }
150
+ instruction_listener:{
151
+ type:OR
152
+ events:{
153
+ event:
154
+ {
155
+ events:{id:8}
156
+ transformation:"y=[\'Now input provided message in pinyin(honglou) since chinese is not supported for current input, then click the corresponding one from search suggestions (Be careful, topics are not search suggestions)\']"}
157
+ }
158
+ events:{
159
+ event:
160
+ {
161
+ events:{id:3}
162
+ transformation:"y=[\'Now return the first 2 topics about 红楼梦 in this page respectively!\']"}
163
+ }
164
+ events:{
165
+ event:
166
+ {
167
+ events:{
168
+ id:10
169
+ }
170
+ transformation:"y=[\'Well done! Return the second one\']"
171
+ }
172
+ }
173
+
174
+ }
175
+
176
+
177
+ }
178
+
179
+
180
+
181
+ command: "Search the first two topics(话题) about Hongloumeng in Douban(Hint: 'search hint' node might be useful)"
182
+
183
+
184
+ vocabulary: ["Honglou"]
open-world-set/check_alarm.textproto ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "check_alarm"
2
+ name: "Check My Alarm"
3
+ description: "Check the alarm time according to the weekday"
4
+
5
+ setup_steps: {
6
+ adb_call: { rotate: { orientation: PORTRAIT_0 } }
7
+ }
8
+
9
+ reset_steps: [
10
+ { adb_call: { force_stop: { package_name: "com.google.android.deskclock" } } },
11
+ {
12
+ adb_call: {
13
+ start_activity: {
14
+ full_activity: "com.google.android.deskclock/com.android.deskclock.DeskClock"
15
+ }
16
+ }
17
+ success_condition: {
18
+ wait_for_app_screen: {
19
+ app_screen: {
20
+ activity: "com.google.android.deskclock/com.android.deskclock.DeskClock"
21
+ }
22
+ timeout_sec: 10.0
23
+ }
24
+ num_retries: 3
25
+ }
26
+ }
27
+ ]
28
+
29
+ event_sources: {
30
+ response_event: {
31
+ mode: REGEX
32
+ pattern: "\\b0?7:30\\b|\\bseven thirty\\b|\\b(?:thirty|30|half) past (?:seven|7)\\b"
33
+ }
34
+ id: 1
35
+ }
36
+ event_sources: {
37
+ response_event: {
38
+ mode: REGEX
39
+ pattern: "\\b0?8:00\\b|\\beight (?:o'clock)\\b"
40
+ }
41
+ id: 2
42
+ }
43
+
44
+ event_slots: {
45
+ reward_listener: {
46
+ type: OR
47
+ id: 3
48
+ events: {
49
+ event: {
50
+ events: { id: 1 }
51
+ transformation: [
52
+ "import datetime",
53
+ "y = 1 if (datetime.datetime.today().weekday()+1)%7<5 else 0"
54
+ ]
55
+ }
56
+ }
57
+ events: {
58
+ event: {
59
+ events: { id: 2 }
60
+ transformation: [
61
+ "import datetime",
62
+ "y = 1 if (datetime.datetime.today().weekday()+1)%7>=5 else 0"
63
+ ]
64
+ }
65
+ }
66
+ }
67
+ episode_end_listener: {
68
+ events: { id: 3 }
69
+ transformation: "y = x==1"
70
+ }
71
+ }
72
+
73
+ command: "I have multiple alarms to wake me up in the morning."
74
+ command: "Please check my alarms and tell me when I should get up finally tomorrow morning."
open-world-set/check_in.textproto ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "check_in_app"
2
+ name: "Check in in Qidian App"
3
+ description: "Everyday check-in in Qidian app."
4
+
5
+ setup_steps: {
6
+ adb_call: { rotate: { orientation: PORTRAIT_0 } }
7
+ }
8
+
9
+ reset_steps: [
10
+ { adb_call: { force_stop: { package_name: "com.qidian.QDReader.g" } } },
11
+ { adb_call: { press_button: { button: HOME } } }
12
+ ]
13
+
14
+ max_num_steps: 500
15
+
16
+ event_sources: {
17
+ log_event: {
18
+ filters: "ActivityTaskManager:*"
19
+ pattern: "START u0 \\{cmp=com\\.qidian\\.QDReader\\.g/com\\.qidian\\.QDReader\\.webview\\.QDBrowserActivity \\(has extras\\)\\}"
20
+ }
21
+ id: 1
22
+ }
23
+ event_slots: {
24
+ reward_listener: {
25
+ events: { id: 1 }
26
+ transformation: "y = 1"
27
+ }
28
+ episode_end_listener: {
29
+ events: { id: 1 }
30
+ transformation: "y = True"
31
+ }
32
+ }
33
+
34
+ command: "Help me to check-in in Qidian app."
open-world-set/com.beemdevelopment.aegis_62.apk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9312e5b3474087d5cf6fa81b929475cfd876caa5a993b36ce382d06eee733c8e
3
+ size 5762135
open-world-set/com.igisw.openmoneybox_55.apk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d29503de89a6d65363954e790e8a6d01bc7b3d4df0040b683963d80194a42238
3
+ size 12710192
open-world-set/deal_with_little_sisters-6.textproto ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_deal_with_little_sisters-article_deal with little sisters-category_page_education and communications"
2
+ name: "WikiHow Search Task Primitive - Search deal_with_little_sisters, Access How to Deal With Little Sisters, Access the page of category Education and Communications"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA demo task asking to access the category page."
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(deal|little|sisters)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(deal|little|sisters)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(deal|little|sisters).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Deal With Little Sisters"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Deal-With-Little-Sisters"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Deal With Little Sisters"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ text_detect: {
113
+ expect: "Education and Communications"
114
+ rect: {
115
+ x0: 0.11
116
+ y0: 0.19
117
+ x1: 1.0
118
+ y1: 0.2
119
+ }
120
+ }
121
+ id: 9
122
+ }
123
+ event_sources: {
124
+ text_detect: {
125
+ expect: "Education and Communications"
126
+ rect: {
127
+ y0: 0.165
128
+ x1: 1.0
129
+ y1: 0.568
130
+ }
131
+ }
132
+ id: 10
133
+ }
134
+ event_sources: {
135
+ log_event: {
136
+ filters: "jd:D"
137
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Category:Education-and-Communications"
138
+ }
139
+ id: 11
140
+ }
141
+ event_sources: {
142
+ view_hierarchy_event: {
143
+ properties: {
144
+ property_name: "text"
145
+ pattern: "Education and Communications"
146
+ }
147
+ selector: ".$\"View\"#\"cat_navigation\">.\"android.view.View\""
148
+ }
149
+ id: 12
150
+ }
151
+ event_slots: {
152
+ score_listener: {
153
+ type: OR
154
+ events: {
155
+ event: {
156
+ }
157
+ }
158
+ events: {
159
+ event: {
160
+ }
161
+ }
162
+ events: {
163
+ event: {
164
+ }
165
+ }
166
+ }
167
+ reward_listener: {
168
+ type: OR
169
+ events: {
170
+ event: {
171
+ type: OR
172
+ id: 4
173
+ events: {
174
+ id: 1
175
+ }
176
+ events: {
177
+ id: 2
178
+ }
179
+ events: {
180
+ id: 3
181
+ }
182
+ transformation: "y = 1"
183
+ repeatability: NONE
184
+ }
185
+ }
186
+ events: {
187
+ event: {
188
+ type: OR
189
+ id: 8
190
+ events: {
191
+ id: 5
192
+ }
193
+ events: {
194
+ id: 6
195
+ }
196
+ events: {
197
+ id: 7
198
+ }
199
+ transformation: "y = 1"
200
+ repeatability: NONE
201
+ }
202
+ }
203
+ events: {
204
+ event: {
205
+ type: OR
206
+ id: 13
207
+ events: {
208
+ id: 9
209
+ }
210
+ events: {
211
+ id: 10
212
+ }
213
+ events: {
214
+ id: 11
215
+ }
216
+ events: {
217
+ id: 12
218
+ }
219
+ transformation: "y = 1"
220
+ repeatability: NONE
221
+ }
222
+ }
223
+ }
224
+ episode_end_listener: {
225
+ events: {
226
+ id: 13
227
+ }
228
+ transformation: "y = True"
229
+ }
230
+ extra_listener: {
231
+ type: OR
232
+ events: {
233
+ event: {
234
+ }
235
+ }
236
+ events: {
237
+ event: {
238
+ }
239
+ }
240
+ events: {
241
+ event: {
242
+ }
243
+ }
244
+ }
245
+ json_extra_listener: {
246
+ type: OR
247
+ events: {
248
+ event: {
249
+ }
250
+ }
251
+ events: {
252
+ event: {
253
+ }
254
+ }
255
+ events: {
256
+ event: {
257
+ }
258
+ }
259
+ }
260
+ instruction_listener: {
261
+ type: OR
262
+ events: {
263
+ event: {
264
+ }
265
+ }
266
+ events: {
267
+ event: {
268
+ events: {
269
+ id: 4
270
+ }
271
+ transformation: "y = [\'Access the article \"How to Deal With Little Sisters\"\']"
272
+ }
273
+ }
274
+ events: {
275
+ event: {
276
+ }
277
+ }
278
+ events: {
279
+ event: {
280
+ events: {
281
+ id: 8
282
+ }
283
+ transformation: "y = [\'Access the page of category Education and Communications\']"
284
+ }
285
+ }
286
+ events: {
287
+ event: {
288
+ }
289
+ }
290
+ }
291
+ }
292
+ command: "Search an article to learn how to deal with little sisters."
293
+ command: "Then, access the article \"How to Deal With Little Sisters\""
294
+ command: "Then, access the page of category Education and Communications"
295
+ vocabulary: "deal"
296
+ vocabulary: "how to"
297
+ vocabulary: "sisters"
298
+ vocabulary: "little"
open-world-set/determine_shipping_costs-8.textproto ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_determine_shipping_costs-article_determine shipping costs"
2
+ name: "WikiHow Search Task Primitive - Search determine_shipping_costs, Access How to Determine Shipping Costs"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article."
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(determine|shipping|costs)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(determine|shipping|costs)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(determine|shipping|costs).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Determine Shipping Costs"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Determine-Shipping-Costs"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Determine Shipping Costs"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_slots: {
112
+ score_listener: {
113
+ type: OR
114
+ events: {
115
+ event: {
116
+ }
117
+ }
118
+ events: {
119
+ event: {
120
+ }
121
+ }
122
+ }
123
+ reward_listener: {
124
+ type: OR
125
+ events: {
126
+ event: {
127
+ type: OR
128
+ id: 4
129
+ events: {
130
+ id: 1
131
+ }
132
+ events: {
133
+ id: 2
134
+ }
135
+ events: {
136
+ id: 3
137
+ }
138
+ transformation: "y = 1"
139
+ repeatability: NONE
140
+ }
141
+ }
142
+ events: {
143
+ event: {
144
+ type: OR
145
+ id: 8
146
+ events: {
147
+ id: 5
148
+ }
149
+ events: {
150
+ id: 6
151
+ }
152
+ events: {
153
+ id: 7
154
+ }
155
+ transformation: "y = 1"
156
+ repeatability: NONE
157
+ }
158
+ }
159
+ }
160
+ episode_end_listener: {
161
+ events: {
162
+ id: 8
163
+ }
164
+ transformation: "y = True"
165
+ }
166
+ extra_listener: {
167
+ type: OR
168
+ events: {
169
+ event: {
170
+ }
171
+ }
172
+ events: {
173
+ event: {
174
+ }
175
+ }
176
+ }
177
+ json_extra_listener: {
178
+ type: OR
179
+ events: {
180
+ event: {
181
+ }
182
+ }
183
+ events: {
184
+ event: {
185
+ }
186
+ }
187
+ }
188
+ instruction_listener: {
189
+ type: OR
190
+ events: {
191
+ event: {
192
+ }
193
+ }
194
+ events: {
195
+ event: {
196
+ events: {
197
+ id: 4
198
+ }
199
+ transformation: "y = [\'Access the article \"How to Determine Shipping Costs\"\']"
200
+ }
201
+ }
202
+ events: {
203
+ event: {
204
+ }
205
+ }
206
+ }
207
+ }
208
+ command: "Search an article to learn how to determine shipping costs."
209
+ command: "Then, access the article \"How to Determine Shipping Costs\""
210
+ vocabulary: "shipping"
211
+ vocabulary: "determine"
212
+ vocabulary: "how to"
213
+ vocabulary: "costs"
open-world-set/do_not_disturb.textproto ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "do_not_disturb"
2
+ name: "Do Not Disturb Mode"
3
+ description: "Enter Do Not Disturb Mode"
4
+
5
+ setup_steps: {
6
+ adb_call: { rotate: { orientation: PORTRAIT_0 } }
7
+ }
8
+
9
+ reset_steps: {
10
+ adb_call: {
11
+ shell_command: {
12
+ command: ["cmd", "notification", "set_dnd", "off"]
13
+ }
14
+ }
15
+ }
16
+ reset_steps: [
17
+ { adb_call: { force_stop: { package_name: "com.android.settings" } } },
18
+ { adb_call: { clear_cache: { package_name: "com.android.settings" } } },
19
+ {
20
+ adb_call: {
21
+ start_activity: {
22
+ full_activity: "com.android.settings/com.android.settings.Settings"
23
+ }
24
+ }
25
+ success_condition: {
26
+ wait_for_app_screen: {
27
+ app_screen: {
28
+ activity: "com.android.settings/com.android.settings.Settings"
29
+ }
30
+ timeout_sec: 10.0
31
+ }
32
+ num_retries: 3
33
+ }
34
+ }
35
+ ]
36
+
37
+ max_num_steps: 500
38
+
39
+ event_sources: {
40
+ text_detect: {
41
+ expect: "\\bTurn off now\\b"
42
+ rect: {
43
+ x0: 0.1481
44
+ x1: 0.8703
45
+ y0: 0.1354
46
+ y1: 0.1719
47
+ }
48
+ }
49
+ id: 1
50
+ repeatability: LAST
51
+ }
52
+ event_sources: {
53
+ text_detect: {
54
+ expect: "\\bDo Not Disturb\\b"
55
+ rect: {
56
+ x0: 0.1667
57
+ x1: 0.5
58
+ y0: 0.0469
59
+ y1: 0.0938
60
+ }
61
+ }
62
+ id: 2
63
+ repeatability: UNLIMITED
64
+ }
65
+ event_sources: {
66
+ view_hierarchy_event: {
67
+ selector: '#$"zen_mode_settings_turn_off_button"[text="Turn off now"]'
68
+ }
69
+ id: 3
70
+ }
71
+ event_sources: {
72
+ view_hierarchy_event: {
73
+ selector: '[text="Do Not Disturb"].$"TextView"'
74
+ properties: {
75
+ property_name: "bottom"
76
+ sign: GE
77
+ integer: 200
78
+ }
79
+ }
80
+ id: 4
81
+ }
82
+ event_sources: {
83
+ view_hierarchy_event: {
84
+ selector: '."android.widget.Switch"[content-desc^="Do Not Disturb"]'
85
+ properties: {
86
+ property_name: "text"
87
+ pattern: "On"
88
+ }
89
+ properties: {
90
+ property_name: "checked"
91
+ pattern: "true"
92
+ }
93
+ }
94
+ id: 5
95
+ }
96
+ event_sources: {
97
+ log_event: {
98
+ filters: "vol.Events:I"
99
+ pattern: "\\bzen_mode_changed (important_interruptions|no_interruptions|alarms)\\b"
100
+ }
101
+ id: 6
102
+ }
103
+
104
+ event_slots: {
105
+ reward_listener: {
106
+ type: OR
107
+ id: 10
108
+ events: {
109
+ event: {
110
+ type: AND
111
+ events: [
112
+ { id: 1 },
113
+ { id: 2 }
114
+ ]
115
+ transformation: "y = 1."
116
+ }
117
+ }
118
+ events: {
119
+ event: {
120
+ type: AND
121
+ events: [
122
+ { id: 3 },
123
+ { id: 4 }
124
+ ]
125
+ transformation: "y = 1."
126
+ }
127
+ }
128
+ events: [
129
+ { id: 5 },
130
+ { id: 6 }
131
+ ]
132
+ transformation: "y = 1."
133
+ repeatability: NONE
134
+ }
135
+ episode_end_listener: {
136
+ events: { id: 10 }
137
+ transformation: "y = True"
138
+ }
139
+ }
140
+
141
+ command: "Help me to open the \"Do Not Disturb\" mode for my phone."
open-world-set/dynamic_switch_clock.textproto ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "dynamic_switch_alarm"
2
+ name: "Dynamically switch the alarm"
3
+ description: "Switch the alarm according to the weather"
4
+
5
+ setup_steps: {
6
+ adb_call: { rotate: { orientation: PORTRAIT_0 } }
7
+ }
8
+
9
+ reset_steps: [
10
+ { adb_call: { force_stop: { package_name: "com.google.android.deskclock" } } },
11
+ { adb_call: { force_stop: { package_name: "mobi.lockdown.weather" } } },
12
+ { adb_call: { press_button: { button: HOME } } },
13
+ {
14
+ adb_call: {
15
+ start_activity: {
16
+ full_activity: "mobi.lockdown.weather/mobi.lockdown.weather.activity.SplashActivity"
17
+ }
18
+ }
19
+ success_condition: {
20
+ wait_for_app_screen: {
21
+ app_screen: {
22
+ activity: "mobi.lockdown.weather/mobi.lockdown.weather.activity.SplashActivity"
23
+ }
24
+ timeout_sec: 10.0
25
+ }
26
+ num_retries: 3
27
+ }
28
+ }
29
+ ]
30
+
31
+ event_sources: {
32
+ view_hierarchy_event: {
33
+ selector: '#"mobi.lockdown.weather:id/day1" #$"tvPop"'
34
+ properties: {
35
+ property_name: "text"
36
+ pattern: "[1-6]?\\d%"
37
+ }
38
+ }
39
+ id: 1
40
+ }
41
+ event_sources: {
42
+ view_hierarchy_event: {
43
+ selector: '#"mobi.lockdown.weather:id/day1" #$"tvPop"'
44
+ properties: {
45
+ property_name: "text"
46
+ pattern: "(?:[7-9]?\\d|100)%"
47
+ }
48
+ }
49
+ id: 2
50
+ }
51
+ event_sources: {
52
+ view_hierarchy_event: {
53
+ selector: '#"com.google.android.deskclock:id/digital_clock"[text="8:00\xe2\x80\x8aAM"]+#$"onoff".$"Switch"'
54
+ properties: {
55
+ property_name: "text"
56
+ pattern: "ON"
57
+ }
58
+ properties: {
59
+ property_name: "checked"
60
+ pattern: "true"
61
+ }
62
+ }
63
+ id: 3
64
+ }
65
+ event_sources: {
66
+ view_hierarchy_event: {
67
+ selector: '#"com.google.android.deskclock:id/digital_clock"[text="8:00\xe2\x80\x8aAM"]+#$"onoff".$"Switch"'
68
+ properties: {
69
+ property_name: "text"
70
+ pattern: "OFF"
71
+ }
72
+ properties: {
73
+ property_name: "checked"
74
+ pattern: "false"
75
+ }
76
+ }
77
+ id: 4
78
+ }
79
+
80
+ event_slots: {
81
+ reward_listener: {
82
+ type: OR
83
+ events: {
84
+ event: {
85
+ id: 5
86
+ events: { id: 1 }
87
+ transformation: "y = 0"
88
+ }
89
+ }
90
+ events: {
91
+ event: {
92
+ id: 6
93
+ events: { id: 2 }
94
+ transformation: "y = 0"
95
+ }
96
+ }
97
+ events: {
98
+ event: {
99
+ id: 7
100
+ events: { id: 3 }
101
+ prerequisite: 5
102
+ transformation: "y = 1"
103
+ }
104
+ }
105
+ events: {
106
+ event: {
107
+ id: 8
108
+ events: { id: 4 }
109
+ prerequisite: 6
110
+ transformation: "y = 1"
111
+ }
112
+ }
113
+ }
114
+ episode_end_listener: {
115
+ type: OR
116
+ events: [
117
+ { id: 7 },
118
+ { id: 8 }
119
+ ]
120
+ transformation: "y = True"
121
+ }
122
+ }
123
+
124
+ command: "Turn off my alarm in the morning if it will rain tomorrow, otherwise leave it on."
open-world-set/elemo_address.textproto ADDED
@@ -0,0 +1,310 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "Open_the_address_table."
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ orientation: PORTRAIT_0
8
+ }
9
+ }
10
+ }
11
+
12
+ reset_steps: {
13
+ adb_call: {
14
+ force_stop: {
15
+ package_name: "me.ele"
16
+ }
17
+ }
18
+ }
19
+
20
+ reset_steps: {
21
+ success_condition: {
22
+ num_retries: 3
23
+ wait_for_app_screen: {
24
+ app_screen: {
25
+ activity: "me.ele/me.ele.Launcher"
26
+ }
27
+ timeout_sec: 10.0
28
+ }
29
+ }
30
+ adb_call: {
31
+ start_activity: {
32
+ full_activity: "me.ele/me.ele.Launcher"
33
+ }
34
+ }
35
+ }
36
+
37
+ expected_app_screen: {
38
+
39
+ }
40
+
41
+ max_num_steps: 5000
42
+
43
+ event_sources: {
44
+ id: 1
45
+ view_hierarchy_event: {
46
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
47
+ properties: {
48
+ property_name: "text"
49
+ pattern: "消息"
50
+ }
51
+ }
52
+ }
53
+ event_sources: {
54
+ id: 2
55
+ view_hierarchy_event: {
56
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
57
+ properties: {
58
+ property_name: "text"
59
+ pattern: "购物车"
60
+ }
61
+ }
62
+ }
63
+ event_sources: {
64
+ id: 3
65
+ view_hierarchy_event: {
66
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
67
+ properties: {
68
+ property_name: "text"
69
+ pattern: "我的"
70
+ }
71
+ }
72
+ }
73
+ event_sources: {
74
+ id: 4
75
+ text_detect: {
76
+ expect: "消息"
77
+ rect: {
78
+ x0: 0.4
79
+ y0: 0.9099
80
+ x1: 0.6
81
+ y1: 0.9344
82
+ }
83
+ }
84
+ }
85
+ event_sources: {
86
+ id: 5
87
+ text_detect: {
88
+ expect: "购物车"
89
+ rect: {
90
+ x0: 0.6
91
+ y0: 0.9099
92
+ x1: 0.8
93
+ y1: 0.9344
94
+ }
95
+ }
96
+ }
97
+ event_sources: {
98
+ id: 6
99
+ text_detect: {
100
+ expect: "我的"
101
+ rect: {
102
+ x0: 0.8
103
+ y0: 0.9099
104
+ x1: 1.0
105
+ y1: 0.9344
106
+ }
107
+ }
108
+ }
109
+ event_sources: {
110
+ id: 7
111
+ view_hierarchy_event: {
112
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
113
+ properties: {
114
+ property_name: "text"
115
+ pattern: "点餐"
116
+ }
117
+ }
118
+ }
119
+ event_sources: {
120
+ id: 10
121
+ text_recognize: {
122
+ expect: "点餐"
123
+ rect: {
124
+ x0: 0.0306
125
+ y0: 0.1944
126
+ x1: 0.0981
127
+ y1: 0.2667
128
+ }
129
+ }
130
+ }
131
+
132
+ event_sources: {
133
+ id: 8
134
+ view_hierarchy_event: {
135
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
136
+ properties: {
137
+ property_name: "text"
138
+ pattern: "评价"
139
+ }
140
+ }
141
+ }
142
+ event_sources: {
143
+ id: 11
144
+ text_recognize: {
145
+ expect: "评价"
146
+ rect: {
147
+ x0: 0.2083
148
+ y0: 0.1944
149
+ x1: 0.2833
150
+ y1: 0.2667
151
+ }
152
+ }
153
+ }
154
+
155
+ event_sources: {
156
+ id: 9
157
+ view_hierarchy_event: {
158
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
159
+ properties: {
160
+ property_name: "text"
161
+ pattern: "品牌"
162
+ }
163
+ }
164
+ }
165
+ event_sources: {
166
+ id: 12
167
+ text_recognize: {
168
+ expect: "品牌"
169
+ rect: {
170
+ x0: 0.3907
171
+ y0: 0.1944
172
+ x1: 0.4639
173
+ y1: 0.2667
174
+ }
175
+ }
176
+ }
177
+ event_sources: {
178
+ id: 13
179
+ view_hierarchy_event: {
180
+ selector: '#"me.ele:id/cart_food_count_view"'
181
+ properties: {
182
+ property_name: "content-desc"
183
+ pattern: "购物车,[0-9]+,件"
184
+ }
185
+ }
186
+ }
187
+ event_sources: {
188
+ id: 14
189
+ text_recognize: {
190
+ expect: "提交订单"
191
+ rect: {
192
+ x0: 0.7282
193
+ y0: 0.9372
194
+ x1: 0.9709
195
+ y1: 1.0
196
+ }
197
+ }
198
+ }
199
+ event_sources: {
200
+ id: 34
201
+ view_hierarchy_event: {
202
+ selector: '#"me.ele:id/tv_title"[text="选择收货地址"]'
203
+ properties: {
204
+ property_name: "text"
205
+ pattern: "选择收货地址"
206
+ }
207
+ }
208
+ }
209
+ event_sources: {
210
+ id: 35
211
+ text_recognize: {
212
+ expect: "选择收货地址"
213
+ rect: {
214
+ x0: 0.37
215
+ y0: 0.09
216
+ x1: 0.63
217
+ y1: 0.15
218
+ }
219
+ }
220
+ }
221
+
222
+
223
+
224
+
225
+ event_slots: {
226
+ reward_listener: {
227
+ type: OR
228
+ events: {
229
+ event: {
230
+ type: OR
231
+ events: {
232
+ event: {
233
+ type: AND
234
+ events: [
235
+ { id: 1 },
236
+ { id: 2 },
237
+ { id: 3 }
238
+ ]
239
+ transformation: "y = 1"
240
+ id: 100
241
+ }
242
+ }
243
+ events: {
244
+ event: {
245
+ type: AND
246
+ events: [
247
+ { id: 4 },
248
+ { id: 5 },
249
+ { id: 6 }
250
+ ]
251
+ transformation: "y = 1"
252
+ id: 101
253
+ }
254
+ }
255
+ }
256
+ }
257
+ events: {
258
+ event: {
259
+ type: SINGLE
260
+ events: [
261
+ { id: 34 }
262
+ ]
263
+ transformation: "y = 1"
264
+ id: 104
265
+ }
266
+ }
267
+ }
268
+ instruction_listener: {
269
+ type: OR
270
+
271
+ events: {
272
+ event: {
273
+ type: OR
274
+ id: 302
275
+ events: [
276
+ { id: 101 },
277
+ { id: 100 }
278
+ ]
279
+ transformation: "y = 'Open the address table.'"
280
+ }
281
+ }
282
+
283
+
284
+ events: {
285
+ event: {
286
+ type: SINGLE
287
+ id: 304
288
+ events: [
289
+ { id: 104 }
290
+ ]
291
+ transformation: "y = 'Select an address.'"
292
+ }
293
+ }
294
+ }
295
+ episode_end_listener: {
296
+ type: OR
297
+ events: {
298
+ id: 34
299
+ }
300
+ events: {
301
+ id: 35
302
+ }
303
+ transformation: "y = True"
304
+ }
305
+ }
306
+
307
+
308
+ command: "Open the address table.If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
309
+
310
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/elemo_order_food1.textproto ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "elemo_order_food1"
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ orientation: PORTRAIT_0
8
+ }
9
+ }
10
+ }
11
+
12
+ reset_steps: {
13
+ adb_call: {
14
+ force_stop: {
15
+ package_name: "me.ele"
16
+ }
17
+ }
18
+ }
19
+
20
+ reset_steps: {
21
+ success_condition: {
22
+ num_retries: 3
23
+ wait_for_app_screen: {
24
+ app_screen: {
25
+ activity: "me.ele/me.ele.Launcher"
26
+ }
27
+ timeout_sec: 10.0
28
+ }
29
+ }
30
+ adb_call: {
31
+ start_activity: {
32
+ full_activity: "me.ele/me.ele.Launcher"
33
+ }
34
+ }
35
+ }
36
+
37
+ expected_app_screen: {
38
+
39
+ }
40
+
41
+ max_num_steps: 5000
42
+
43
+ event_sources: {
44
+ id: 1
45
+ view_hierarchy_event: {
46
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
47
+ properties: {
48
+ property_name: "text"
49
+ pattern: "消息"
50
+ }
51
+ }
52
+ }
53
+ event_sources: {
54
+ id: 2
55
+ view_hierarchy_event: {
56
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
57
+ properties: {
58
+ property_name: "text"
59
+ pattern: "购物车"
60
+ }
61
+ }
62
+ }
63
+ event_sources: {
64
+ id: 3
65
+ view_hierarchy_event: {
66
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
67
+ properties: {
68
+ property_name: "text"
69
+ pattern: "我的"
70
+ }
71
+ }
72
+ }
73
+ event_sources: {
74
+ id: 4
75
+ text_detect: {
76
+ expect: "消息"
77
+ rect: {
78
+ x0: 0.4
79
+ y0: 0.9099
80
+ x1: 0.6
81
+ y1: 0.9344
82
+ }
83
+ }
84
+ }
85
+ event_sources: {
86
+ id: 5
87
+ text_detect: {
88
+ expect: "购物车"
89
+ rect: {
90
+ x0: 0.6
91
+ y0: 0.9099
92
+ x1: 0.8
93
+ y1: 0.9344
94
+ }
95
+ }
96
+ }
97
+ event_sources: {
98
+ id: 6
99
+ text_detect: {
100
+ expect: "我的"
101
+ rect: {
102
+ x0: 0.8
103
+ y0: 0.9099
104
+ x1: 1.0
105
+ y1: 0.9344
106
+ }
107
+ }
108
+ }
109
+ event_sources: {
110
+ id: 7
111
+ view_hierarchy_event: {
112
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
113
+ properties: {
114
+ property_name: "text"
115
+ pattern: "点餐"
116
+ }
117
+ }
118
+ }
119
+ event_sources: {
120
+ id: 10
121
+ text_recognize: {
122
+ expect: "点餐"
123
+ rect: {
124
+ x0: 0.0306
125
+ y0: 0.1203
126
+ x1: 0.0981
127
+ y1: 0.1490
128
+ }
129
+ }
130
+ }
131
+
132
+ event_sources: {
133
+ id: 8
134
+ view_hierarchy_event: {
135
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
136
+ properties: {
137
+ property_name: "text"
138
+ pattern: "评价"
139
+ }
140
+ }
141
+ }
142
+ event_sources: {
143
+ id: 11
144
+ text_recognize: {
145
+ expect: "评价"
146
+ rect: {
147
+ x0: 0.2101
148
+ y0: 0.1203
149
+ x1: 0.2833
150
+ y1: 0.1490
151
+ }
152
+ }
153
+ }
154
+
155
+ event_sources: {
156
+ id: 9
157
+ view_hierarchy_event: {
158
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
159
+ properties: {
160
+ property_name: "text"
161
+ pattern: "品牌"
162
+ }
163
+ }
164
+ }
165
+ event_sources: {
166
+ id: 12
167
+ text_recognize: {
168
+ expect: "品牌"
169
+ rect: {
170
+ x0: 0.3907
171
+ y0: 0.1203
172
+ x1: 0.4639
173
+ y1: 0.1490
174
+ }
175
+ }
176
+ }
177
+
178
+ event_sources: {
179
+ id: 13
180
+ view_hierarchy_event: {
181
+ selector: '#"me.ele:id/cart_food_count_view"'
182
+ properties: {
183
+ property_name: "content-desc"
184
+ pattern: "购物车,[0-9]+,件"
185
+ }
186
+ }
187
+ }
188
+ event_sources: {
189
+ id: 14
190
+ text_recognize: {
191
+ expect: "提交"
192
+ rect: {
193
+ x0: 0
194
+ y0: 0.9255
195
+ x1: 0.9909
196
+ y1: 1.0
197
+ }
198
+ }
199
+ }
200
+ event_sources: {
201
+ id: 26
202
+ view_hierarchy_event: {
203
+ selector: '#"me.ele:id/title_make_order"'
204
+ properties: {
205
+ property_name: "text"
206
+ pattern: "确认订单"
207
+ }
208
+ }
209
+ }
210
+
211
+ event_sources: {
212
+ id: 27
213
+ text_recognize: {
214
+ expect: "确认订单"
215
+ rect: {
216
+ x0: 0.412
217
+ y0: 0.059
218
+ x1: 0.587
219
+ y1: 0.093
220
+ }
221
+ }
222
+ }
223
+
224
+ event_sources: {
225
+ id: 28
226
+ view_hierarchy_event: {
227
+ selector: '#"me.ele:id/title_make_order"'
228
+ properties: {
229
+ property_name: "text"
230
+ pattern: "外卖配送"
231
+ }
232
+ }
233
+ }
234
+
235
+ event_sources: {
236
+ id: 29
237
+ text_recognize: {
238
+ expect: "外卖配送"
239
+ rect: {
240
+ x0: 0.412
241
+ y0: 0.059
242
+ x1: 0.587
243
+ y1: 0.093
244
+ }
245
+ }
246
+ }
247
+
248
+
249
+ event_sources: {
250
+ id: 15
251
+ text_recognize: {
252
+ expect: "已优惠"
253
+ rect: {
254
+ x0: 0
255
+ y0: 0.9255
256
+ x1: 0.9909
257
+ y1: 1.0
258
+ }
259
+ }
260
+ }
261
+
262
+ event_slots: {
263
+ reward_listener: {
264
+ type: OR
265
+ events: {
266
+ event: {
267
+ type: OR
268
+ events: {
269
+ event: {
270
+ type: AND
271
+ events: [
272
+ { id: 1 },
273
+ { id: 2 },
274
+ { id: 3 }
275
+ ]
276
+ transformation: "y = 1"
277
+ id: 100
278
+ }
279
+ }
280
+ events: {
281
+ event: {
282
+ type: AND
283
+ events: [
284
+ { id: 4 },
285
+ { id: 5 },
286
+ { id: 6 }
287
+ ]
288
+ transformation: "y = 1"
289
+ id: 101
290
+ }
291
+ }
292
+ }
293
+ }
294
+ events: {
295
+ event: {
296
+ type: OR
297
+ events: {
298
+ event: {
299
+ type: AND
300
+ events: [
301
+ { id: 7 },
302
+ { id: 8 },
303
+ { id: 9 }
304
+ ]
305
+ transformation: "y = 1"
306
+ id: 102
307
+ }
308
+ }
309
+ events: {
310
+ event: {
311
+ type: OR
312
+ events: [
313
+ { id: 10 },
314
+ { id: 11 },
315
+ { id: 12 }
316
+ ]
317
+ transformation: "y = 1"
318
+ id: 103
319
+ }
320
+ }
321
+ }
322
+ }
323
+ events: {
324
+ event: {
325
+ type: SINGLE
326
+ events: [
327
+ { id: 13 }
328
+ ]
329
+ transformation: "y = 1"
330
+ id: 104
331
+ }
332
+ }
333
+ }
334
+ instruction_listener: {
335
+ type: OR
336
+ events: {
337
+ event: {
338
+ type: OR
339
+ id: 300
340
+ events: [
341
+ { id: 100 },
342
+ { id: 101 }
343
+ ]
344
+ transformation: "y = 'Select one store.'"
345
+ }
346
+ }
347
+ events: {
348
+ event: {
349
+ type: OR
350
+ id: 301
351
+ events: [
352
+ { id: 102 },
353
+ { id: 103 }
354
+ ]
355
+ transformation: "y = 'Select some food.'"
356
+ }
357
+ }
358
+ }
359
+ episode_end_listener: {
360
+ type: OR
361
+ events: {
362
+ id: 26
363
+ }
364
+ events: {
365
+ id: 27
366
+ }
367
+ events: {
368
+ id: 28
369
+ }
370
+ events: {
371
+ id: 29
372
+ }
373
+ transformation: "y = True"
374
+ }
375
+ }
376
+
377
+
378
+
379
+
380
+ command: "Help me order takeout.If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
381
+
382
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/elemo_order_food_easy.textproto ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "elemo_order_food_easy"
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ orientation: PORTRAIT_0
8
+ }
9
+ }
10
+ }
11
+
12
+ reset_steps: {
13
+ adb_call: {
14
+ force_stop: {
15
+ package_name: "me.ele"
16
+ }
17
+ }
18
+ }
19
+
20
+ reset_steps: {
21
+ success_condition: {
22
+ num_retries: 3
23
+ wait_for_app_screen: {
24
+ app_screen: {
25
+ activity: "me.ele/me.ele.Launcher"
26
+ }
27
+ timeout_sec: 10.0
28
+ }
29
+ }
30
+ adb_call: {
31
+ start_activity: {
32
+ full_activity: "me.ele/me.ele.Launcher"
33
+ }
34
+ }
35
+ }
36
+
37
+ expected_app_screen: {
38
+
39
+ }
40
+
41
+ max_num_steps: 5000
42
+
43
+ event_sources: {
44
+ id: 1
45
+ view_hierarchy_event: {
46
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
47
+ properties: {
48
+ property_name: "text"
49
+ pattern: "消息"
50
+ }
51
+ }
52
+ }
53
+ event_sources: {
54
+ id: 2
55
+ view_hierarchy_event: {
56
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
57
+ properties: {
58
+ property_name: "text"
59
+ pattern: "购物车"
60
+ }
61
+ }
62
+ }
63
+ event_sources: {
64
+ id: 3
65
+ view_hierarchy_event: {
66
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
67
+ properties: {
68
+ property_name: "text"
69
+ pattern: "我的"
70
+ }
71
+ }
72
+ }
73
+ event_sources: {
74
+ id: 4
75
+ text_detect: {
76
+ expect: "消息"
77
+ rect: {
78
+ x0: 0.4
79
+ y0: 0.9099
80
+ x1: 0.6
81
+ y1: 0.9344
82
+ }
83
+ }
84
+ }
85
+ event_sources: {
86
+ id: 5
87
+ text_detect: {
88
+ expect: "购物车"
89
+ rect: {
90
+ x0: 0.6
91
+ y0: 0.9099
92
+ x1: 0.8
93
+ y1: 0.9344
94
+ }
95
+ }
96
+ }
97
+ event_sources: {
98
+ id: 6
99
+ text_detect: {
100
+ expect: "我的"
101
+ rect: {
102
+ x0: 0.8
103
+ y0: 0.9099
104
+ x1: 1.0
105
+ y1: 0.9344
106
+ }
107
+ }
108
+ }
109
+ event_sources: {
110
+ id: 7
111
+ view_hierarchy_event: {
112
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
113
+ properties: {
114
+ property_name: "text"
115
+ pattern: "点餐"
116
+ }
117
+ }
118
+ }
119
+ event_sources: {
120
+ id: 10
121
+ text_recognize: {
122
+ expect: "点餐"
123
+ rect: {
124
+ x0: 0.0306
125
+ y0: 0.1203
126
+ x1: 0.0981
127
+ y1: 0.1490
128
+ }
129
+ }
130
+ }
131
+
132
+ event_sources: {
133
+ id: 8
134
+ view_hierarchy_event: {
135
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
136
+ properties: {
137
+ property_name: "text"
138
+ pattern: "评价"
139
+ }
140
+ }
141
+ }
142
+ event_sources: {
143
+ id: 11
144
+ text_recognize: {
145
+ expect: "评价"
146
+ rect: {
147
+ x0: 0.2101
148
+ y0: 0.1203
149
+ x1: 0.2833
150
+ y1: 0.1490
151
+ }
152
+ }
153
+ }
154
+
155
+ event_sources: {
156
+ id: 9
157
+ view_hierarchy_event: {
158
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
159
+ properties: {
160
+ property_name: "text"
161
+ pattern: "品牌"
162
+ }
163
+ }
164
+ }
165
+ event_sources: {
166
+ id: 12
167
+ text_recognize: {
168
+ expect: "品牌"
169
+ rect: {
170
+ x0: 0.3907
171
+ y0: 0.1203
172
+ x1: 0.4639
173
+ y1: 0.1490
174
+ }
175
+ }
176
+ }
177
+
178
+ event_sources: {
179
+ id: 13
180
+ view_hierarchy_event: {
181
+ selector: '#"me.ele:id/cart_food_count_view"'
182
+ properties: {
183
+ property_name: "content-desc"
184
+ pattern: "购物车,[0-9]+,件"
185
+ }
186
+ }
187
+ }
188
+ event_sources: {
189
+ id: 14
190
+ text_recognize: {
191
+ expect: "提交"
192
+ rect: {
193
+ x0: 0
194
+ y0: 0.9255
195
+ x1: 0.9909
196
+ y1: 1.0
197
+ }
198
+ }
199
+ }
200
+ event_sources: {
201
+ id: 26
202
+ view_hierarchy_event: {
203
+ selector: '#"me.ele:id/title_make_order"'
204
+ properties: {
205
+ property_name: "text"
206
+ pattern: "确认订单"
207
+ }
208
+ }
209
+ }
210
+
211
+ event_sources: {
212
+ id: 27
213
+ text_recognize: {
214
+ expect: "确认订单"
215
+ rect: {
216
+ x0: 0.412
217
+ y0: 0.059
218
+ x1: 0.587
219
+ y1: 0.093
220
+ }
221
+ }
222
+ }
223
+
224
+ event_sources: {
225
+ id: 28
226
+ view_hierarchy_event: {
227
+ selector: '#"me.ele:id/title_make_order"'
228
+ properties: {
229
+ property_name: "text"
230
+ pattern: "外卖配送"
231
+ }
232
+ }
233
+ }
234
+
235
+ event_sources: {
236
+ id: 29
237
+ text_recognize: {
238
+ expect: "外卖配送"
239
+ rect: {
240
+ x0: 0.412
241
+ y0: 0.059
242
+ x1: 0.587
243
+ y1: 0.093
244
+ }
245
+ }
246
+ }
247
+
248
+
249
+ event_sources: {
250
+ id: 15
251
+ text_recognize: {
252
+ expect: "已优惠"
253
+ rect: {
254
+ x0: 0
255
+ y0: 0.9255
256
+ x1: 0.9909
257
+ y1: 1.0
258
+ }
259
+ }
260
+ }
261
+
262
+ event_slots: {
263
+ reward_listener: {
264
+ type: OR
265
+ events: {
266
+ event: {
267
+ type: OR
268
+ events: {
269
+ event: {
270
+ type: AND
271
+ events: [
272
+ { id: 1 },
273
+ { id: 2 },
274
+ { id: 3 }
275
+ ]
276
+ transformation: "y = 1"
277
+ id: 100
278
+ }
279
+ }
280
+ events: {
281
+ event: {
282
+ type: AND
283
+ events: [
284
+ { id: 4 },
285
+ { id: 5 },
286
+ { id: 6 }
287
+ ]
288
+ transformation: "y = 1"
289
+ id: 101
290
+ }
291
+ }
292
+ }
293
+ }
294
+ events: {
295
+ event: {
296
+ type: OR
297
+ events: {
298
+ event: {
299
+ type: AND
300
+ events: [
301
+ { id: 7 },
302
+ { id: 8 },
303
+ { id: 9 }
304
+ ]
305
+ transformation: "y = 1"
306
+ id: 102
307
+ }
308
+ }
309
+ events: {
310
+ event: {
311
+ type: OR
312
+ events: [
313
+ { id: 10 },
314
+ { id: 11 },
315
+ { id: 12 }
316
+ ]
317
+ transformation: "y = 1"
318
+ id: 103
319
+ }
320
+ }
321
+ }
322
+ }
323
+ events: {
324
+ event: {
325
+ type: SINGLE
326
+ events: [
327
+ { id: 13 }
328
+ ]
329
+ transformation: "y = 1"
330
+ id: 104
331
+ }
332
+ }
333
+ }
334
+ instruction_listener: {
335
+ type: OR
336
+ events: {
337
+ event: {
338
+ type: OR
339
+ id: 300
340
+ events: [
341
+ { id: 100 },
342
+ { id: 101 }
343
+ ]
344
+ transformation: "y = 'Select one store.'"
345
+ }
346
+ }
347
+ events: {
348
+ event: {
349
+ type: OR
350
+ id: 301
351
+ events: [
352
+ { id: 102 },
353
+ { id: 103 }
354
+ ]
355
+ transformation: "y = 'Select some food.'"
356
+ }
357
+ }
358
+ }
359
+ episode_end_listener: {
360
+ type: OR
361
+ events: {
362
+ id: 104
363
+ }
364
+ events: {
365
+ id: 26
366
+ }
367
+ events: {
368
+ id: 28
369
+ }
370
+ events: {
371
+ id: 29
372
+ }
373
+ transformation: "y = True"
374
+ }
375
+ }
376
+
377
+
378
+
379
+
380
+ command: "Help me order takeout.If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
381
+
382
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/elemo_order_food_history.textproto ADDED
@@ -0,0 +1,437 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "elemo_order_food_history"
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ orientation: PORTRAIT_0
8
+ }
9
+ }
10
+ }
11
+
12
+ reset_steps: {
13
+ adb_call: {
14
+ force_stop: {
15
+ package_name: "me.ele"
16
+ }
17
+ }
18
+ }
19
+
20
+ reset_steps: {
21
+ success_condition: {
22
+ num_retries: 3
23
+ wait_for_app_screen: {
24
+ app_screen: {
25
+ activity: "me.ele/me.ele.Launcher"
26
+ }
27
+ timeout_sec: 10.0
28
+ }
29
+ }
30
+ adb_call: {
31
+ start_activity: {
32
+ full_activity: "me.ele/me.ele.Launcher"
33
+ }
34
+ }
35
+ }
36
+
37
+ expected_app_screen: {
38
+
39
+ }
40
+
41
+ max_num_steps: 5000
42
+
43
+ event_sources: {
44
+ id: 1
45
+ view_hierarchy_event: {
46
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
47
+ properties: {
48
+ property_name: "text"
49
+ pattern: "消息"
50
+ }
51
+ }
52
+ }
53
+ event_sources: {
54
+ id: 2
55
+ view_hierarchy_event: {
56
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
57
+ properties: {
58
+ property_name: "text"
59
+ pattern: "购物车"
60
+ }
61
+ }
62
+ }
63
+ event_sources: {
64
+ id: 3
65
+ view_hierarchy_event: {
66
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
67
+ properties: {
68
+ property_name: "text"
69
+ pattern: "我的"
70
+ }
71
+ }
72
+ }
73
+ event_sources: {
74
+ id: 4
75
+ text_detect: {
76
+ expect: "消息"
77
+ rect: {
78
+ x0: 0.4
79
+ y0: 0.9099
80
+ x1: 0.6
81
+ y1: 0.9344
82
+ }
83
+ }
84
+ }
85
+ event_sources: {
86
+ id: 5
87
+ text_detect: {
88
+ expect: "购物车"
89
+ rect: {
90
+ x0: 0.6
91
+ y0: 0.9099
92
+ x1: 0.8
93
+ y1: 0.9344
94
+ }
95
+ }
96
+ }
97
+ event_sources: {
98
+ id: 6
99
+ text_detect: {
100
+ expect: "我的"
101
+ rect: {
102
+ x0: 0.8
103
+ y0: 0.9099
104
+ x1: 1.0
105
+ y1: 0.9344
106
+ }
107
+ }
108
+ }
109
+ event_sources: {
110
+ id: 7
111
+ view_hierarchy_event: {
112
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
113
+ properties: {
114
+ property_name: "text"
115
+ pattern: "点餐"
116
+ }
117
+ }
118
+ }
119
+ event_sources: {
120
+ id: 10
121
+ text_recognize: {
122
+ expect: "点餐"
123
+ rect: {
124
+ x0: 0.0306
125
+ y0: 0.1944
126
+ x1: 0.0981
127
+ y1: 0.2667
128
+ }
129
+ }
130
+ }
131
+
132
+ event_sources: {
133
+ id: 8
134
+ view_hierarchy_event: {
135
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
136
+ properties: {
137
+ property_name: "text"
138
+ pattern: "评价"
139
+ }
140
+ }
141
+ }
142
+ event_sources: {
143
+ id: 11
144
+ text_recognize: {
145
+ expect: "评价"
146
+ rect: {
147
+ x0: 0.2083
148
+ y0: 0.1944
149
+ x1: 0.2833
150
+ y1: 0.2667
151
+ }
152
+ }
153
+ }
154
+
155
+ event_sources: {
156
+ id: 9
157
+ view_hierarchy_event: {
158
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
159
+ properties: {
160
+ property_name: "text"
161
+ pattern: "品牌"
162
+ }
163
+ }
164
+ }
165
+ event_sources: {
166
+ id: 12
167
+ text_recognize: {
168
+ expect: "品牌"
169
+ rect: {
170
+ x0: 0.3907
171
+ y0: 0.1944
172
+ x1: 0.4639
173
+ y1: 0.2667
174
+ }
175
+ }
176
+ }
177
+ event_sources: {
178
+ id: 13
179
+ view_hierarchy_event: {
180
+ selector: '#"me.ele:id/cart_food_count_view"'
181
+ properties: {
182
+ property_name: "content-desc"
183
+ pattern: "购物车,[0-9]+,件"
184
+ }
185
+ }
186
+ }
187
+ event_sources: {
188
+ id: 14
189
+ text_recognize: {
190
+ expect: "提交订单"
191
+ rect: {
192
+ x0: 0.7282
193
+ y0: 0.9372
194
+ x1: 0.9709
195
+ y1: 1.0
196
+ }
197
+ }
198
+ }
199
+ event_sources: {
200
+ id: 15
201
+ view_hierarchy_event: {
202
+ selector: '#"me.ele:id/img_1"[content-desc="首页"]'
203
+ properties: {
204
+ property_name: "content-desc"
205
+ pattern: "首页"
206
+ }
207
+ }
208
+ }
209
+
210
+
211
+ event_sources: {
212
+ id: 16
213
+ view_hierarchy_event: {
214
+ selector: '.android.widget.TextView'
215
+ properties: {
216
+ property_name: "text"
217
+ pattern: "收货地址 [0-9]+"
218
+ }
219
+ }
220
+ }
221
+
222
+ event_sources: {
223
+ id: 18
224
+ view_hierarchy_event: {
225
+ selector: '.android.widget.TextView'
226
+ properties: {
227
+ property_name: "text"
228
+ #pattern: "181\\*\\*\\*\\*3723"
229
+ pattern: "1\\d\\d\\*\\*\\*\\*\\d{4}"
230
+ }
231
+ }
232
+ }
233
+
234
+
235
+ event_sources: {
236
+ id: 17
237
+ view_hierarchy_event: {
238
+ selector: '#"me.ele:id/more_img"[content-desc="更多"]'
239
+ properties: {
240
+ property_name: "content-desc"
241
+ pattern: "更多"
242
+ }
243
+ }
244
+ }
245
+
246
+
247
+
248
+ event_sources: {
249
+ id: 26
250
+ view_hierarchy_event: {
251
+ selector: '#"me.ele:id/title_make_order"'
252
+ properties: {
253
+ property_name: "text"
254
+ pattern: "确认订单"
255
+ }
256
+ }
257
+ }
258
+
259
+ event_sources: {
260
+ id: 27
261
+ text_recognize: {
262
+ expect: "确认订单"
263
+ rect: {
264
+ x0: 0.412
265
+ y0: 0.059
266
+ x1: 0.587
267
+ y1: 0.093
268
+ }
269
+ }
270
+ }
271
+
272
+ event_sources: {
273
+ id: 28
274
+ view_hierarchy_event: {
275
+ selector: '#"me.ele:id/title_make_order"'
276
+ properties: {
277
+ property_name: "text"
278
+ pattern: "外卖配送"
279
+ }
280
+ }
281
+ }
282
+
283
+ event_sources: {
284
+ id: 29
285
+ text_recognize: {
286
+ expect: "外卖配送"
287
+ rect: {
288
+ x0: 0.412
289
+ y0: 0.059
290
+ x1: 0.587
291
+ y1: 0.093
292
+ }
293
+ }
294
+ }
295
+
296
+ event_slots: {
297
+ reward_listener: {
298
+ type: OR
299
+ events: {
300
+ event: {
301
+ type: OR
302
+ events: {
303
+ event: {
304
+ type: AND
305
+ events: [
306
+ { id: 1 },
307
+ { id: 2 },
308
+ { id: 3 }
309
+ ]
310
+ transformation: "y = 1"
311
+ id: 100
312
+ }
313
+ }
314
+ events: {
315
+ event: {
316
+ type: AND
317
+ events: [
318
+ { id: 4 },
319
+ { id: 5 },
320
+ { id: 6 }
321
+ ]
322
+ transformation: "y = 1"
323
+ id: 101
324
+ }
325
+ }
326
+ }
327
+ }
328
+ events: {
329
+ event: {
330
+ type: OR
331
+ events: [
332
+ { id: 15 },
333
+ { id: 16},
334
+ { id: 18 }
335
+ ]
336
+ transformation: "y = 1"
337
+ id: 105
338
+ }
339
+ }
340
+ events: {
341
+ event: {
342
+ type: SINGLE
343
+ events: [
344
+ { id: 17 }
345
+ ]
346
+ transformation: "y = 1"
347
+ id: 106
348
+ }
349
+ }
350
+ events: {
351
+ event: {
352
+ type: OR
353
+ events: {
354
+ event: {
355
+ type: AND
356
+ events: [
357
+ { id: 7 },
358
+ { id: 8 },
359
+ { id: 9 }
360
+ ]
361
+ transformation: "y = 1"
362
+ id: 102
363
+ }
364
+ }
365
+ events: {
366
+ event: {
367
+ type: AND
368
+ events: [
369
+ { id: 10 },
370
+ { id: 11 },
371
+ { id: 12 }
372
+ ]
373
+ transformation: "y = 1"
374
+ id: 103
375
+ }
376
+ }
377
+ }
378
+ }
379
+ events: {
380
+ event: {
381
+ type: SINGLE
382
+ events: [
383
+ { id: 13 }
384
+ ]
385
+ transformation: "y = 1"
386
+ id: 104
387
+ }
388
+ }
389
+ }
390
+ instruction_listener: {
391
+ type: OR
392
+
393
+ events: {
394
+ event: {
395
+ type: SINGLE
396
+ id: 302
397
+ events: [
398
+ { id: 106 }
399
+ ]
400
+ transformation: "y = 'Select one of my previous orders.'"
401
+ }
402
+ }
403
+
404
+
405
+ events: {
406
+ event: {
407
+ type: SINGLE
408
+ id: 304
409
+ events: [
410
+ { id: 104 }
411
+ ]
412
+ transformation: "y = 'Submit your order.'"
413
+ }
414
+ }
415
+ }
416
+ episode_end_listener: {
417
+ type: OR
418
+ events: {
419
+ id: 26
420
+ }
421
+ events: {
422
+ id: 27
423
+ }
424
+ events: {
425
+ id: 28
426
+ }
427
+ events: {
428
+ id: 29
429
+ }
430
+ transformation: "y = True"
431
+ }
432
+ }
433
+
434
+
435
+ command: "Select one of my previous orders from my entire order history and place a new order of the same items to help me order takeout again.If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
436
+
437
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/elemo_order_food_search.textproto ADDED
@@ -0,0 +1,446 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "elemo_order_food_search"
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ orientation: PORTRAIT_0
8
+ }
9
+ }
10
+ }
11
+
12
+ reset_steps: {
13
+ adb_call: {
14
+ force_stop: {
15
+ package_name: "me.ele"
16
+ }
17
+ }
18
+ }
19
+
20
+ reset_steps: {
21
+ success_condition: {
22
+ num_retries: 3
23
+ wait_for_app_screen: {
24
+ app_screen: {
25
+ activity: "me.ele/me.ele.Launcher"
26
+ }
27
+ timeout_sec: 10.0
28
+ }
29
+ }
30
+ adb_call: {
31
+ start_activity: {
32
+ full_activity: "me.ele/me.ele.Launcher"
33
+ }
34
+ }
35
+ }
36
+
37
+ expected_app_screen: {
38
+
39
+ }
40
+
41
+ max_num_steps: 5000
42
+
43
+ event_sources: {
44
+ id: 1
45
+ view_hierarchy_event: {
46
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
47
+ properties: {
48
+ property_name: "text"
49
+ pattern: "消息"
50
+ }
51
+ }
52
+ }
53
+ event_sources: {
54
+ id: 2
55
+ view_hierarchy_event: {
56
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
57
+ properties: {
58
+ property_name: "text"
59
+ pattern: "购物车"
60
+ }
61
+ }
62
+ }
63
+ event_sources: {
64
+ id: 3
65
+ view_hierarchy_event: {
66
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
67
+ properties: {
68
+ property_name: "text"
69
+ pattern: "我的"
70
+ }
71
+ }
72
+ }
73
+ event_sources: {
74
+ id: 4
75
+ text_detect: {
76
+ expect: "消息"
77
+ rect: {
78
+ x0: 0.4
79
+ y0: 0.9099
80
+ x1: 0.6
81
+ y1: 0.9344
82
+ }
83
+ }
84
+ }
85
+ event_sources: {
86
+ id: 5
87
+ text_detect: {
88
+ expect: "购物车"
89
+ rect: {
90
+ x0: 0.6
91
+ y0: 0.9099
92
+ x1: 0.8
93
+ y1: 0.9344
94
+ }
95
+ }
96
+ }
97
+ event_sources: {
98
+ id: 6
99
+ text_detect: {
100
+ expect: "我的"
101
+ rect: {
102
+ x0: 0.8
103
+ y0: 0.9099
104
+ x1: 1.0
105
+ y1: 0.9344
106
+ }
107
+ }
108
+ }
109
+ event_sources: {
110
+ id: 7
111
+ view_hierarchy_event: {
112
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
113
+ properties: {
114
+ property_name: "text"
115
+ pattern: "点餐"
116
+ }
117
+ }
118
+ }
119
+ event_sources: {
120
+ id: 26
121
+ view_hierarchy_event: {
122
+ selector: '#"me.ele:id/title_make_order"'
123
+ properties: {
124
+ property_name: "text"
125
+ pattern: "确认订单"
126
+ }
127
+ }
128
+ }
129
+
130
+ event_sources: {
131
+ id: 27
132
+ text_recognize: {
133
+ expect: "确认订单"
134
+ rect: {
135
+ x0: 0.412
136
+ y0: 0.059
137
+ x1: 0.587
138
+ y1: 0.093
139
+ }
140
+ }
141
+ }
142
+
143
+ event_sources: {
144
+ id: 28
145
+ view_hierarchy_event: {
146
+ selector: '#"me.ele:id/title_make_order"'
147
+ properties: {
148
+ property_name: "text"
149
+ pattern: "外卖配送"
150
+ }
151
+ }
152
+ }
153
+
154
+ event_sources: {
155
+ id: 29
156
+ text_recognize: {
157
+ expect: "外卖配送"
158
+ rect: {
159
+ x0: 0.412
160
+ y0: 0.059
161
+ x1: 0.587
162
+ y1: 0.093
163
+ }
164
+ }
165
+ }
166
+ event_sources: {
167
+ id: 10
168
+ text_recognize: {
169
+ expect: "点餐"
170
+ rect: {
171
+ x0: 0.0306
172
+ y0: 0.1944
173
+ x1: 0.0981
174
+ y1: 0.2667
175
+ }
176
+ }
177
+ }
178
+
179
+ event_sources: {
180
+ id: 8
181
+ view_hierarchy_event: {
182
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
183
+ properties: {
184
+ property_name: "text"
185
+ pattern: "评价"
186
+ }
187
+ }
188
+ }
189
+ event_sources: {
190
+ id: 11
191
+ text_recognize: {
192
+ expect: "评价"
193
+ rect: {
194
+ x0: 0.2083
195
+ y0: 0.1944
196
+ x1: 0.2833
197
+ y1: 0.2667
198
+ }
199
+ }
200
+ }
201
+
202
+ event_sources: {
203
+ id: 9
204
+ view_hierarchy_event: {
205
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
206
+ properties: {
207
+ property_name: "text"
208
+ pattern: "品牌"
209
+ }
210
+ }
211
+ }
212
+ event_sources: {
213
+ id: 12
214
+ text_recognize: {
215
+ expect: "品牌"
216
+ rect: {
217
+ x0: 0.3907
218
+ y0: 0.1944
219
+ x1: 0.4639
220
+ y1: 0.2667
221
+ }
222
+ }
223
+ }
224
+ event_sources: {
225
+ id: 13
226
+ view_hierarchy_event: {
227
+ selector: '#"me.ele:id/cart_food_count_view"'
228
+ properties: {
229
+ property_name: "content-desc"
230
+ pattern: "购物车,[0-9]+,件"
231
+ }
232
+ }
233
+ }
234
+ event_sources: {
235
+ id: 14
236
+ text_recognize: {
237
+ expect: "提交订单"
238
+ rect: {
239
+ x0: 0.7282
240
+ y0: 0.9372
241
+ x1: 0.9709
242
+ y1: 1.0
243
+ }
244
+ }
245
+ }
246
+ event_sources: {
247
+ id: 15
248
+ view_hierarchy_event: {
249
+ selector: '#"me.ele:id/search"'
250
+ properties: {
251
+ property_name: "text"
252
+ pattern: "搜索"
253
+ }
254
+ }
255
+ }
256
+ event_sources: {
257
+ id: 16
258
+ text_recognize: {
259
+ expect: "搜索"
260
+ rect: {
261
+ x0: 0.8685
262
+ y0: 0.0861
263
+ x1: 0.9463
264
+ y1: 0.1324
265
+ }
266
+ }
267
+ }
268
+
269
+ event_sources: {
270
+ id: 17
271
+ view_hierarchy_event: {
272
+ selector: '#"me.ele:id/editor"'
273
+ properties: {
274
+ property_name: "text"
275
+ pattern: "coco"
276
+ }
277
+ }
278
+ }
279
+ event_sources: {
280
+ id: 18
281
+ text_recognize: {
282
+ expect: "coco"
283
+ rect: {
284
+ x0: 0.1074
285
+ y0: 0.0731
286
+ x1: 0.8796
287
+ y1: 0.1519
288
+ }
289
+ }
290
+ }
291
+
292
+
293
+
294
+ event_slots: {
295
+ reward_listener: {
296
+ type: OR
297
+ events: {
298
+ event: {
299
+ type: OR
300
+ events: {
301
+ event: {
302
+ type: AND
303
+ events: [
304
+ { id: 1 },
305
+ { id: 2 },
306
+ { id: 3 }
307
+ ]
308
+ transformation: "y = 1"
309
+ id: 100
310
+ }
311
+ }
312
+ events: {
313
+ event: {
314
+ type: AND
315
+ events: [
316
+ { id: 4 },
317
+ { id: 5 },
318
+ { id: 6 }
319
+ ]
320
+ transformation: "y = 1"
321
+ id: 101
322
+ }
323
+ }
324
+ }
325
+ }
326
+ events: {
327
+ event: {
328
+ type: OR
329
+ events: [
330
+ { id: 15 },
331
+ { id: 16}
332
+ ]
333
+ transformation: "y = 1"
334
+ id: 105
335
+ }
336
+ }
337
+ events: {
338
+ event: {
339
+ type: OR
340
+ events: [
341
+ { id: 17 },
342
+ { id: 18}
343
+ ]
344
+ transformation: "y = 1"
345
+ id: 106
346
+ }
347
+ }
348
+ events: {
349
+ event: {
350
+ type: OR
351
+ events: {
352
+ event: {
353
+ type: AND
354
+ events: [
355
+ { id: 7 },
356
+ { id: 8 },
357
+ { id: 9 }
358
+ ]
359
+ transformation: "y = 1"
360
+ id: 102
361
+ }
362
+ }
363
+ events: {
364
+ event: {
365
+ type: AND
366
+ events: [
367
+ { id: 10 },
368
+ { id: 11 },
369
+ { id: 12 }
370
+ ]
371
+ transformation: "y = 1"
372
+ id: 103
373
+ }
374
+ }
375
+ }
376
+ }
377
+ events: {
378
+ event: {
379
+ type: SINGLE
380
+ events: [
381
+ { id: 13 }
382
+ ]
383
+ transformation: "y = 1"
384
+ id: 104
385
+ }
386
+ }
387
+ }
388
+ instruction_listener: {
389
+ type: OR
390
+ events: {
391
+ event: {
392
+ type: OR
393
+ id: 300
394
+ events: [
395
+ { id: 100 },
396
+ { id: 101 }
397
+ ]
398
+ transformation: "y = 'Click to search.'"
399
+ }
400
+ }
401
+ events: {
402
+ event: {
403
+ type: SINGLE
404
+ id: 301
405
+ events: [
406
+ { id: 105 }
407
+ ]
408
+ transformation: "y = 'Search for the specified store.'"
409
+ }
410
+ }
411
+
412
+ events: {
413
+ event: {
414
+ type: OR
415
+ id: 303
416
+ events: [
417
+ { id: 102 },
418
+ { id: 103 }
419
+ ]
420
+ transformation: "y = 'Choose my favourite food.'"
421
+ }
422
+ }
423
+ }
424
+
425
+ episode_end_listener: {
426
+ type: OR
427
+ events: {
428
+ id: 26
429
+ }
430
+ events: {
431
+ id: 27
432
+ }
433
+ events: {
434
+ id: 28
435
+ }
436
+ events: {
437
+ id: 29
438
+ }
439
+ transformation: "y = True"
440
+ }
441
+ }
442
+
443
+
444
+ command: "Help me order a cup of my favorite milk tea by searching for Coco (the store name).If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
445
+
446
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/elemo_order_food_searchfood.textproto ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "elemo_order_food_searchfood"
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ orientation: PORTRAIT_0
8
+ }
9
+ }
10
+ }
11
+
12
+ reset_steps: {
13
+ adb_call: {
14
+ force_stop: {
15
+ package_name: "me.ele"
16
+ }
17
+ }
18
+ }
19
+
20
+ reset_steps: {
21
+ success_condition: {
22
+ num_retries: 3
23
+ wait_for_app_screen: {
24
+ app_screen: {
25
+ activity: "me.ele/me.ele.Launcher"
26
+ }
27
+ timeout_sec: 10.0
28
+ }
29
+ }
30
+ adb_call: {
31
+ start_activity: {
32
+ full_activity: "me.ele/me.ele.Launcher"
33
+ }
34
+ }
35
+ }
36
+
37
+ expected_app_screen: {
38
+
39
+ }
40
+
41
+ max_num_steps: 5000
42
+
43
+ event_sources: {
44
+ id: 1
45
+ view_hierarchy_event: {
46
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
47
+ properties: {
48
+ property_name: "text"
49
+ pattern: "消息"
50
+ }
51
+ }
52
+ }
53
+ event_sources: {
54
+ id: 2
55
+ view_hierarchy_event: {
56
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
57
+ properties: {
58
+ property_name: "text"
59
+ pattern: "购物车"
60
+ }
61
+ }
62
+ }
63
+ event_sources: {
64
+ id: 3
65
+ view_hierarchy_event: {
66
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
67
+ properties: {
68
+ property_name: "text"
69
+ pattern: "我的"
70
+ }
71
+ }
72
+ }
73
+ event_sources: {
74
+ id: 4
75
+ text_detect: {
76
+ expect: "消息"
77
+ rect: {
78
+ x0: 0.4
79
+ y0: 0.9099
80
+ x1: 0.6
81
+ y1: 0.9344
82
+ }
83
+ }
84
+ }
85
+ event_sources: {
86
+ id: 5
87
+ text_detect: {
88
+ expect: "购物车"
89
+ rect: {
90
+ x0: 0.6
91
+ y0: 0.9099
92
+ x1: 0.8
93
+ y1: 0.9344
94
+ }
95
+ }
96
+ }
97
+ event_sources: {
98
+ id: 6
99
+ text_detect: {
100
+ expect: "我的"
101
+ rect: {
102
+ x0: 0.8
103
+ y0: 0.9099
104
+ x1: 1.0
105
+ y1: 0.9344
106
+ }
107
+ }
108
+ }
109
+ event_sources: {
110
+ id: 7
111
+ view_hierarchy_event: {
112
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
113
+ properties: {
114
+ property_name: "text"
115
+ pattern: "点餐"
116
+ }
117
+ }
118
+ }
119
+ event_sources: {
120
+ id: 10
121
+ text_recognize: {
122
+ expect: "点餐"
123
+ rect: {
124
+ x0: 0.0306
125
+ y0: 0.1944
126
+ x1: 0.0981
127
+ y1: 0.2667
128
+ }
129
+ }
130
+ }
131
+
132
+ event_sources: {
133
+ id: 8
134
+ view_hierarchy_event: {
135
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
136
+ properties: {
137
+ property_name: "text"
138
+ pattern: "评价"
139
+ }
140
+ }
141
+ }
142
+ event_sources: {
143
+ id: 11
144
+ text_recognize: {
145
+ expect: "评价"
146
+ rect: {
147
+ x0: 0.2083
148
+ y0: 0.1944
149
+ x1: 0.2833
150
+ y1: 0.2667
151
+ }
152
+ }
153
+ }
154
+
155
+ event_sources: {
156
+ id: 9
157
+ view_hierarchy_event: {
158
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
159
+ properties: {
160
+ property_name: "text"
161
+ pattern: "品牌"
162
+ }
163
+ }
164
+ }
165
+ event_sources: {
166
+ id: 12
167
+ text_recognize: {
168
+ expect: "品牌"
169
+ rect: {
170
+ x0: 0.3907
171
+ y0: 0.1944
172
+ x1: 0.4639
173
+ y1: 0.2667
174
+ }
175
+ }
176
+ }
177
+ event_sources: {
178
+ id: 13
179
+ view_hierarchy_event: {
180
+ selector: '#"me.ele:id/cart_food_count_view"'
181
+ properties: {
182
+ property_name: "content-desc"
183
+ pattern: "购物车,[0-9]+,件"
184
+ }
185
+ }
186
+ }
187
+ event_sources: {
188
+ id: 14
189
+ text_recognize: {
190
+ expect: "提交订单"
191
+ rect: {
192
+ x0: 0.7282
193
+ y0: 0.9372
194
+ x1: 0.9709
195
+ y1: 1.0
196
+ }
197
+ }
198
+ }
199
+ event_sources: {
200
+ id: 15
201
+ view_hierarchy_event: {
202
+ selector: '#"me.ele:id/search"'
203
+ properties: {
204
+ property_name: "text"
205
+ pattern: "搜索"
206
+ }
207
+ }
208
+ }
209
+ event_sources: {
210
+ id: 16
211
+ text_recognize: {
212
+ expect: "搜索"
213
+ rect: {
214
+ x0: 0.8685
215
+ y0: 0.0861
216
+ x1: 0.9463
217
+ y1: 0.1324
218
+ }
219
+ }
220
+ }
221
+
222
+ event_sources: {
223
+ id: 17
224
+ view_hierarchy_event: {
225
+ selector: '#"me.ele:id/editor"'
226
+ properties: {
227
+ property_name: "text"
228
+ pattern: "naicha"
229
+ }
230
+ }
231
+ }
232
+ event_sources: {
233
+ id: 18
234
+ text_recognize: {
235
+ expect: "naicha"
236
+ rect: {
237
+ x0: 0.1074
238
+ y0: 0.0731
239
+ x1: 0.8796
240
+ y1: 0.1519
241
+ }
242
+ }
243
+ }
244
+
245
+ event_sources: {
246
+ id: 26
247
+ view_hierarchy_event: {
248
+ selector: '#"me.ele:id/title_make_order"'
249
+ properties: {
250
+ property_name: "text"
251
+ pattern: "确认订单"
252
+ }
253
+ }
254
+ }
255
+ event_sources: {
256
+ id: 27
257
+ text_recognize: {
258
+ expect: "确认订单"
259
+ rect: {
260
+ x0: 0.412
261
+ y0: 0.059
262
+ x1: 0.587
263
+ y1: 0.093
264
+ }
265
+ }
266
+ }
267
+
268
+ event_sources: {
269
+ id: 28
270
+ view_hierarchy_event: {
271
+ selector: '#"me.ele:id/title_make_order"'
272
+ properties: {
273
+ property_name: "text"
274
+ pattern: "外卖配送"
275
+ }
276
+ }
277
+ }
278
+
279
+ event_sources: {
280
+ id: 29
281
+ text_recognize: {
282
+ expect: "外卖配送"
283
+ rect: {
284
+ x0: 0.412
285
+ y0: 0.059
286
+ x1: 0.587
287
+ y1: 0.093
288
+ }
289
+ }
290
+ }
291
+
292
+ event_slots: {
293
+ reward_listener: {
294
+ type: OR
295
+ events: {
296
+ event: {
297
+ type: OR
298
+ events: {
299
+ event: {
300
+ type: AND
301
+ events: [
302
+ { id: 1 },
303
+ { id: 2 },
304
+ { id: 3 }
305
+ ]
306
+ transformation: "y = 1"
307
+ id: 100
308
+ }
309
+ }
310
+ events: {
311
+ event: {
312
+ type: AND
313
+ events: [
314
+ { id: 4 },
315
+ { id: 5 },
316
+ { id: 6 }
317
+ ]
318
+ transformation: "y = 1"
319
+ id: 101
320
+ }
321
+ }
322
+ }
323
+ }
324
+ events: {
325
+ event: {
326
+ type: OR
327
+ events: [
328
+ { id: 15 },
329
+ { id: 16}
330
+ ]
331
+ transformation: "y = 1"
332
+ id: 105
333
+ }
334
+ }
335
+ events: {
336
+ event: {
337
+ type: OR
338
+ events: [
339
+ { id: 17 },
340
+ { id: 18}
341
+ ]
342
+ transformation: "y = 1"
343
+ id: 106
344
+ }
345
+ }
346
+ events: {
347
+ event: {
348
+ type: OR
349
+ events: {
350
+ event: {
351
+ type: AND
352
+ events: [
353
+ { id: 7 },
354
+ { id: 8 },
355
+ { id: 9 }
356
+ ]
357
+ transformation: "y = 1"
358
+ id: 102
359
+ }
360
+ }
361
+ events: {
362
+ event: {
363
+ type: AND
364
+ events: [
365
+ { id: 10 },
366
+ { id: 11 },
367
+ { id: 12 }
368
+ ]
369
+ transformation: "y = 1"
370
+ id: 103
371
+ }
372
+ }
373
+ }
374
+ }
375
+ events: {
376
+ event: {
377
+ type: SINGLE
378
+ events: [
379
+ { id: 13 }
380
+ ]
381
+ transformation: "y = 1"
382
+ id: 104
383
+ }
384
+ }
385
+ }
386
+ instruction_listener: {
387
+ type: OR
388
+ events: {
389
+ event: {
390
+ type: OR
391
+ id: 300
392
+ events: [
393
+ { id: 100 },
394
+ { id: 101 }
395
+ ]
396
+ transformation: "y = 'Click to search.'"
397
+ }
398
+ }
399
+ events: {
400
+ event: {
401
+ type: SINGLE
402
+ id: 301
403
+ events: [
404
+ { id: 105 }
405
+ ]
406
+ transformation: "y = 'Type naicha in the search box.'"
407
+ }
408
+ }
409
+
410
+ events: {
411
+ event: {
412
+ type: OR
413
+ id: 303
414
+ events: [
415
+ { id: 102 },
416
+ { id: 103 }
417
+ ]
418
+ transformation: "y = 'Choose my favourite food.'"
419
+ }
420
+ }
421
+ }
422
+ episode_end_listener: {
423
+ type: OR
424
+ events: {
425
+ id: 26
426
+ }
427
+ events: {
428
+ id: 27
429
+ }
430
+ events: {
431
+ id: 28
432
+ }
433
+ events: {
434
+ id: 29
435
+ }
436
+ transformation: "y = True"
437
+ }
438
+ }
439
+
440
+
441
+ command: "Help me order a cup of my favorite milk tea by searching for it.If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
442
+
443
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/elemo_order_food_select.textproto ADDED
@@ -0,0 +1,386 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "elemo_order_food_select"
2
+ name: "Ele.me Order Food Task"
3
+ description: "A task to order food from a restaurant on Ele.me app. Includes selecting a restaurant, choosing food items, checking out, and submitting the order."
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ orientation: PORTRAIT_0
8
+ }
9
+ }
10
+ }
11
+
12
+ reset_steps: {
13
+ adb_call: {
14
+ force_stop: {
15
+ package_name: "me.ele"
16
+ }
17
+ }
18
+ }
19
+
20
+ reset_steps: {
21
+ success_condition: {
22
+ num_retries: 3
23
+ wait_for_app_screen: {
24
+ app_screen: {
25
+ activity: "me.ele/me.ele.Launcher"
26
+ }
27
+ timeout_sec: 10.0
28
+ }
29
+ }
30
+ adb_call: {
31
+ start_activity: {
32
+ full_activity: "me.ele/me.ele.Launcher"
33
+ }
34
+ }
35
+ }
36
+
37
+ expected_app_screen: {
38
+
39
+ }
40
+
41
+ max_num_steps: 5000
42
+
43
+ event_sources: {
44
+ id: 1
45
+ view_hierarchy_event: {
46
+ selector: '#"me.ele:id/home_bottom_tab_message_text"'
47
+ properties: {
48
+ property_name: "text"
49
+ pattern: "消息"
50
+ }
51
+ }
52
+ }
53
+ event_sources: {
54
+ id: 2
55
+ view_hierarchy_event: {
56
+ selector: '#"me.ele:id/home_bottom_tab_3_text"'
57
+ properties: {
58
+ property_name: "text"
59
+ pattern: "购物车"
60
+ }
61
+ }
62
+ }
63
+ event_sources: {
64
+ id: 3
65
+ view_hierarchy_event: {
66
+ selector: '#"me.ele:id/home_bottom_tab_4_text"'
67
+ properties: {
68
+ property_name: "text"
69
+ pattern: "我的"
70
+ }
71
+ }
72
+ }
73
+ event_sources: {
74
+ id: 4
75
+ text_detect: {
76
+ expect: "消息"
77
+ rect: {
78
+ x0: 0.4
79
+ y0: 0.9099
80
+ x1: 0.6
81
+ y1: 0.9344
82
+ }
83
+ }
84
+ }
85
+ event_sources: {
86
+ id: 5
87
+ text_detect: {
88
+ expect: "购物车"
89
+ rect: {
90
+ x0: 0.6
91
+ y0: 0.9099
92
+ x1: 0.8
93
+ y1: 0.9344
94
+ }
95
+ }
96
+ }
97
+ event_sources: {
98
+ id: 6
99
+ text_detect: {
100
+ expect: "我的"
101
+ rect: {
102
+ x0: 0.8
103
+ y0: 0.9099
104
+ x1: 1.0
105
+ y1: 0.9344
106
+ }
107
+ }
108
+ }
109
+ event_sources: {
110
+ id: 7
111
+ view_hierarchy_event: {
112
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(1) > .android.widget.TextView'
113
+ properties: {
114
+ property_name: "text"
115
+ pattern: "点餐"
116
+ }
117
+ }
118
+ }
119
+ event_sources: {
120
+ id: 10
121
+ text_recognize: {
122
+ expect: "点餐"
123
+ rect: {
124
+ x0: 0.0306
125
+ y0: 0.1944
126
+ x1: 0.0981
127
+ y1: 0.2667
128
+ }
129
+ }
130
+ }
131
+
132
+ event_sources: {
133
+ id: 8
134
+ view_hierarchy_event: {
135
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(2) > .android.widget.TextView'
136
+ properties: {
137
+ property_name: "text"
138
+ pattern: "评价"
139
+ }
140
+ }
141
+ }
142
+ event_sources: {
143
+ id: 11
144
+ text_recognize: {
145
+ expect: "评价"
146
+ rect: {
147
+ x0: 0.2083
148
+ y0: 0.1944
149
+ x1: 0.2833
150
+ y1: 0.2667
151
+ }
152
+ }
153
+ }
154
+
155
+ event_sources: {
156
+ id: 9
157
+ view_hierarchy_event: {
158
+ selector: '#"me.ele:id/id_magex_mistview" > .android.view.ViewGroup:nth-child(3) > .android.widget.TextView'
159
+ properties: {
160
+ property_name: "text"
161
+ pattern: "品牌"
162
+ }
163
+ }
164
+ }
165
+ event_sources: {
166
+ id: 12
167
+ text_recognize: {
168
+ expect: "品牌"
169
+ rect: {
170
+ x0: 0.3907
171
+ y0: 0.1944
172
+ x1: 0.4639
173
+ y1: 0.2667
174
+ }
175
+ }
176
+ }
177
+ event_sources: {
178
+ id: 13
179
+ view_hierarchy_event: {
180
+ selector: '#"me.ele:id/cart_food_count_view"'
181
+ properties: {
182
+ property_name: "content-desc"
183
+ pattern: "购物车,[0-9]+,件"
184
+ }
185
+ }
186
+ }
187
+ event_sources: {
188
+ id: 14
189
+ text_recognize: {
190
+ expect: "提交订单"
191
+ rect: {
192
+ x0: 0.7282
193
+ y0: 0.9372
194
+ x1: 0.9709
195
+ y1: 1.0
196
+ }
197
+ }
198
+ }
199
+ event_sources: {
200
+ id: 15
201
+ text_recognize: {
202
+ expect: "查看"
203
+ rect: {
204
+ x0: 0.6746
205
+ y0: 0.7288
206
+ x1: 0.8000
207
+ y1: 0.7860
208
+ }
209
+ }
210
+ }
211
+
212
+ event_sources: {
213
+ id: 26
214
+ view_hierarchy_event: {
215
+ selector: '#"me.ele:id/title_make_order"'
216
+ properties: {
217
+ property_name: "text"
218
+ pattern: "确认订单"
219
+ }
220
+ }
221
+ }
222
+ event_sources: {
223
+ id: 27
224
+ text_recognize: {
225
+ expect: "确认订单"
226
+ rect: {
227
+ x0: 0.412
228
+ y0: 0.059
229
+ x1: 0.587
230
+ y1: 0.093
231
+ }
232
+ }
233
+ }
234
+
235
+ event_sources: {
236
+ id: 28
237
+ view_hierarchy_event: {
238
+ selector: '#"me.ele:id/title_make_order"'
239
+ properties: {
240
+ property_name: "text"
241
+ pattern: "外卖配送"
242
+ }
243
+ }
244
+ }
245
+
246
+ event_sources: {
247
+ id: 29
248
+ text_recognize: {
249
+ expect: "外卖配送"
250
+ rect: {
251
+ x0: 0.412
252
+ y0: 0.059
253
+ x1: 0.587
254
+ y1: 0.093
255
+ }
256
+ }
257
+ }
258
+
259
+ event_slots: {
260
+ reward_listener: {
261
+ type: OR
262
+ events: {
263
+ event: {
264
+ type: OR
265
+ events: {
266
+ event: {
267
+ type: AND
268
+ events: [
269
+ { id: 1 },
270
+ { id: 2 },
271
+ { id: 3 }
272
+ ]
273
+ transformation: "y = 1"
274
+ id: 100
275
+ }
276
+ }
277
+ events: {
278
+ event: {
279
+ type: AND
280
+ events: [
281
+ { id: 4 },
282
+ { id: 5 },
283
+ { id: 6 }
284
+ ]
285
+ transformation: "y = 1"
286
+ id: 101
287
+ }
288
+ }
289
+ }
290
+ }
291
+ events: {
292
+ event: {
293
+ type: SINGLE
294
+ events: [
295
+ { id: 15 }
296
+ ]
297
+ transformation: "y = 1"
298
+ id: 104
299
+ }
300
+ }
301
+ events: {
302
+ event: {
303
+ type: OR
304
+ events: {
305
+ event: {
306
+ type: AND
307
+ events: [
308
+ { id: 7 },
309
+ { id: 8 },
310
+ { id: 9 }
311
+ ]
312
+ transformation: "y = 1"
313
+ id: 102
314
+ }
315
+ }
316
+ events: {
317
+ event: {
318
+ type: AND
319
+ events: [
320
+ { id: 10 },
321
+ { id: 11 },
322
+ { id: 12 }
323
+ ]
324
+ transformation: "y = 1"
325
+ id: 103
326
+ }
327
+ }
328
+ }
329
+ }
330
+ events: {
331
+ event: {
332
+ type: SINGLE
333
+ events: [
334
+ { id: 13 }
335
+ ]
336
+ transformation: "y = 1"
337
+ id: 104
338
+ }
339
+ }
340
+ }
341
+ instruction_listener: {
342
+ type: OR
343
+ events: {
344
+ event: {
345
+ type: OR
346
+ id: 300
347
+ events: [
348
+ { id: 100 },
349
+ { id: 101 }
350
+ ]
351
+ transformation: "y = 'Click to enter the filter page and make a selection.'"
352
+ }
353
+ }
354
+ events: {
355
+ event: {
356
+ type: SINGLE
357
+ id: 301
358
+ events: [
359
+ { id: 15 }
360
+ ]
361
+ transformation: "y = 'proceed to the menu.'"
362
+ }
363
+ }
364
+ }
365
+ episode_end_listener: {
366
+ type: OR
367
+ events: {
368
+ id: 26
369
+ }
370
+ events: {
371
+ id: 27
372
+ }
373
+ events: {
374
+ id: 28
375
+ }
376
+ events: {
377
+ id: 29
378
+ }
379
+ transformation: "y = True"
380
+ }
381
+ }
382
+
383
+
384
+ command: "Help me select takeout that can be delivered within 30 minutes using the filters on the homepage and place the order.If the app's start page asks you to select an address, please choose Shanghai Jiao Tong University; otherwise, no selection is needed."
385
+
386
+ vocabulary: ["start", "navigate", "menu", "select", "items", "cart", "submit", "order"]
open-world-set/file_your_nails-0.textproto ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_file_your_nails-article_file your nails-about_page"
2
+ name: "WikiHow Search Task Primitive - Search file_your_nails, Access How to File Your Nails, Access the About Page"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA demo task asking to access the about page"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(file|nails)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(file|nails)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(file|nails).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to File Your Nails"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/File-Your-Nails"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to File Your Nails"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ text_detect: {
113
+ expect: "Information You Can Trust|A Guide to our Editorial Process"
114
+ rect: {
115
+ y0: 0.1
116
+ x1: 1.0
117
+ y1: 0.6
118
+ }
119
+ }
120
+ id: 9
121
+ }
122
+ event_sources: {
123
+ log_event: {
124
+ filters: "jd:D"
125
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHow:Delivering-a-Trustworthy-Experience"
126
+ }
127
+ id: 10
128
+ }
129
+ event_sources: {
130
+ view_hierarchy_event: {
131
+ properties: {
132
+ property_name: "text"
133
+ pattern: "Information You Can Trust"
134
+ }
135
+ selector: ".$\"View\"#\"trustworthy_top\">.$\"View\"#\"trustworthy_head\">.\"android.view.View\""
136
+ }
137
+ id: 11
138
+ }
139
+ event_slots: {
140
+ score_listener: {
141
+ type: OR
142
+ events: {
143
+ event: {
144
+ }
145
+ }
146
+ events: {
147
+ event: {
148
+ }
149
+ }
150
+ events: {
151
+ event: {
152
+ }
153
+ }
154
+ }
155
+ reward_listener: {
156
+ type: OR
157
+ events: {
158
+ event: {
159
+ type: OR
160
+ id: 4
161
+ events: {
162
+ id: 1
163
+ }
164
+ events: {
165
+ id: 2
166
+ }
167
+ events: {
168
+ id: 3
169
+ }
170
+ transformation: "y = 1"
171
+ repeatability: NONE
172
+ }
173
+ }
174
+ events: {
175
+ event: {
176
+ type: OR
177
+ id: 8
178
+ events: {
179
+ id: 5
180
+ }
181
+ events: {
182
+ id: 6
183
+ }
184
+ events: {
185
+ id: 7
186
+ }
187
+ transformation: "y = 1"
188
+ repeatability: NONE
189
+ }
190
+ }
191
+ events: {
192
+ event: {
193
+ type: OR
194
+ id: 12
195
+ events: {
196
+ id: 9
197
+ }
198
+ events: {
199
+ id: 10
200
+ }
201
+ events: {
202
+ id: 11
203
+ }
204
+ transformation: "y = 1"
205
+ repeatability: NONE
206
+ }
207
+ }
208
+ }
209
+ episode_end_listener: {
210
+ events: {
211
+ id: 12
212
+ }
213
+ transformation: "y = True"
214
+ }
215
+ extra_listener: {
216
+ type: OR
217
+ events: {
218
+ event: {
219
+ }
220
+ }
221
+ events: {
222
+ event: {
223
+ }
224
+ }
225
+ events: {
226
+ event: {
227
+ }
228
+ }
229
+ }
230
+ json_extra_listener: {
231
+ type: OR
232
+ events: {
233
+ event: {
234
+ }
235
+ }
236
+ events: {
237
+ event: {
238
+ }
239
+ }
240
+ events: {
241
+ event: {
242
+ }
243
+ }
244
+ }
245
+ instruction_listener: {
246
+ type: OR
247
+ events: {
248
+ event: {
249
+ }
250
+ }
251
+ events: {
252
+ event: {
253
+ events: {
254
+ id: 4
255
+ }
256
+ transformation: "y = [\'Access the article \"How to File Your Nails\"\']"
257
+ }
258
+ }
259
+ events: {
260
+ event: {
261
+ }
262
+ }
263
+ events: {
264
+ event: {
265
+ events: {
266
+ id: 8
267
+ }
268
+ transformation: "y = [\'Access the about page to learn why people trust wikihow.\']"
269
+ }
270
+ }
271
+ events: {
272
+ event: {
273
+ }
274
+ }
275
+ }
276
+ }
277
+ command: "Search an article to learn how to file your nails."
278
+ command: "Then, access the article \"How to File Your Nails\""
279
+ command: "Then, access the about page to learn why people trust wikihow."
280
+ vocabulary: "file"
281
+ vocabulary: "how to"
282
+ vocabulary: "nails"
open-world-set/get_Sanguoyanyi_book_score.textproto ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id:"get_Sanguoyanyi_book_score"
2
+ name :"Douban Search Task - Sanguoyanyi Book Score"
3
+ description :"Search the book score of Sanguoyanyi on Douban"
4
+
5
+
6
+
7
+ reset_steps: {
8
+ adb_call: {
9
+ force_stop: {
10
+ package_name: "com.douban.frodo"
11
+ }
12
+ }
13
+ }
14
+
15
+
16
+
17
+ reset_steps: {
18
+ success_condition: {
19
+ num_retries: 10
20
+ wait_for_app_screen: {
21
+ app_screen: {
22
+ activity: "com.douban.frodo/com.douban.frodo.activity.SplashActivity"
23
+ }
24
+ timeout_sec: 10.0
25
+ }
26
+ }
27
+ adb_call: {
28
+ start_activity: {
29
+ full_activity: "com.douban.frodo/com.douban.frodo.activity.SplashActivity"
30
+ }
31
+ }
32
+ }
33
+
34
+
35
+ expected_app_screen: {
36
+
37
+ }
38
+
39
+ max_num_steps: 5000
40
+
41
+
42
+ event_sources: {
43
+ text_detect: {
44
+ expect: "取消"
45
+ rect: {
46
+ x0: 0.87
47
+ y0: 0.048
48
+ x1: 0.97
49
+ y1: 0.085
50
+ }
51
+ }
52
+ id: 1
53
+ }
54
+
55
+ event_sources: {
56
+ view_hierarchy_event: {
57
+ selector: '#$"com.douban.frodo:id/cancel".$"TextView"'
58
+ properties: {
59
+ property_name: "text"
60
+ pattern: "取消"
61
+ }
62
+ properties: {
63
+ property_name: "left"
64
+ sign:EQ
65
+ integer:912
66
+ }
67
+ }
68
+ id: 2
69
+ }
70
+
71
+ event_sources: {
72
+ text_detect: {
73
+ expect: "三国演义"
74
+ rect: {
75
+ x0: 0.3
76
+ y0: 0.12
77
+ x1: 0.65
78
+ y1: 0.2
79
+ }
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "图书"
86
+ rect: {
87
+ x0: 0.45
88
+ y0: 0.053
89
+ x1: 0.55
90
+ y1: 0.079
91
+ }
92
+ }
93
+ id: 4
94
+ }
95
+
96
+ event_sources: {
97
+ view_hierarchy_event: {
98
+ selector: '.$"TextView"#$"title"'
99
+ properties: {
100
+ property_name: "text"
101
+ pattern: "图书"
102
+ }
103
+ properties: {
104
+ property_name: "left"
105
+ sign:EQ
106
+ integer:501
107
+ }
108
+ }
109
+ id: 5
110
+ }
111
+
112
+ event_sources: {
113
+ view_hierarchy_event: {
114
+ selector: '.$"TextView"#$"title">.$"TextView"'
115
+ properties: {
116
+ property_name: "text"
117
+ pattern: "三国演义(全二册)"
118
+ }
119
+ properties: {
120
+ property_name: "left"
121
+ sign:EQ
122
+
123
+ integer:341
124
+ }
125
+ }
126
+ id: 6
127
+ }
128
+
129
+
130
+
131
+ event_sources:{
132
+ response_event: {
133
+ mode: REGEX
134
+ pattern: '\\b9\\.3\\b'
135
+ }
136
+ id: 7
137
+
138
+ }
139
+
140
+ event_slots:{
141
+ reward_listener:{
142
+ type:OR
143
+ events:{
144
+ event:{
145
+ type:OR
146
+ id:8
147
+ events:{
148
+ id:1
149
+ }
150
+ events:{
151
+ id:2
152
+ }
153
+ transformation:"y=1"
154
+ }
155
+ }
156
+ events:{
157
+ event:{
158
+ type:OR
159
+ id:9
160
+ events:{
161
+ id:3
162
+ }
163
+ events:{
164
+ id:4
165
+ }
166
+ events:{
167
+ id:5
168
+ }
169
+ events:{
170
+ id:6
171
+ }
172
+ transformation:"y=1"
173
+ }
174
+
175
+ }
176
+ }
177
+ episode_end_listener: {
178
+ events: {
179
+ id: 7
180
+ }
181
+ transformation: "y = True"
182
+ }
183
+ instruction_listener:{
184
+ type:OR
185
+ events:{
186
+ event:
187
+ {
188
+ events:{id:8}
189
+ transformation:"y=[\'Now input provided message in pinyin(Sanguoyanyi)since chinese is not supported for current input, then click the corresponding one from search suggestions \']"}
190
+ }
191
+ events:{
192
+ event:
193
+ {
194
+ events:{id:9}
195
+ transformation:"y=[\'Good job, please return the score of the book\']"}
196
+ }
197
+ }
198
+
199
+
200
+ }
201
+
202
+
203
+
204
+ command: "Return the douban score of book named 三国演义(hint: 'search hint' node is search bar)"
205
+
206
+
207
+ vocabulary: ["Sanguoyanyi","三国演义"]
open-world-set/get_in_Sanguoyanyi_group.textproto ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id:"get_in_Sanguoyanyi_group"
2
+ name :"Douban Search Task - Sanguoyanyi Group Check"
3
+ description :"Get in the page of Sanguoyanyi Group"
4
+
5
+
6
+
7
+ reset_steps: {
8
+ adb_call: {
9
+ force_stop: {
10
+ package_name: "com.douban.frodo"
11
+ }
12
+ }
13
+ }
14
+
15
+
16
+
17
+ reset_steps: {
18
+ success_condition: {
19
+ num_retries: 10
20
+ wait_for_app_screen: {
21
+ app_screen: {
22
+ activity: "com.douban.frodo/com.douban.frodo.activity.SplashActivity"
23
+ }
24
+ timeout_sec: 10.0
25
+ }
26
+ }
27
+ adb_call: {
28
+ start_activity: {
29
+ full_activity: "com.douban.frodo/com.douban.frodo.activity.SplashActivity"
30
+ }
31
+ }
32
+ }
33
+
34
+
35
+ expected_app_screen: {
36
+
37
+ }
38
+
39
+ max_num_steps: 5000
40
+
41
+
42
+ event_sources: {
43
+ text_detect: {
44
+ expect: "取消"
45
+ rect: {
46
+ x0: 0.87
47
+ y0: 0.048
48
+ x1: 0.97
49
+ y1: 0.085
50
+ }
51
+ }
52
+ id: 1
53
+ }
54
+
55
+ event_sources: {
56
+ view_hierarchy_event: {
57
+ selector: '#$"com.douban.frodo:id/cancel".$"TextView"'
58
+ properties: {
59
+ property_name: "text"
60
+ pattern: "取消"
61
+ }
62
+ properties: {
63
+ property_name: "left"
64
+ sign:EQ
65
+ integer:912
66
+ }
67
+ }
68
+ id: 2
69
+ }
70
+
71
+ event_sources: {
72
+ text_detect: {
73
+ expect: "讨论列表"
74
+ rect: {
75
+ x0: 0
76
+ y0: 0.36
77
+ x1: 0.3
78
+ y1: 0.42
79
+ }
80
+ }
81
+ id: 3
82
+ }
83
+
84
+
85
+
86
+ event_slots:{
87
+ reward_listener:{
88
+ type:OR
89
+ events:{
90
+ event:{
91
+ type:OR
92
+ id:8
93
+ events:{
94
+ id:1
95
+ }
96
+ events:{
97
+ id:2
98
+ }
99
+ transformation:"y=1"
100
+ }
101
+ }
102
+
103
+ }
104
+ episode_end_listener: {
105
+ events: {
106
+ id: 3
107
+ }
108
+ transformation: "y = True"
109
+ }
110
+ instruction_listener:{
111
+ type:OR
112
+ events:{
113
+ event:
114
+ {
115
+ events:{id:8}
116
+ transformation:"y=[\'Now input provided message in pinyin(Sanguoyanyi)since chinese is not supported for current input, then click the corresponding one from search suggestions(hint:) \']"}
117
+ }
118
+
119
+ }
120
+
121
+
122
+ }
123
+
124
+
125
+
126
+ command: "Get in the douban group of the book named 三国演义(hint: 'search hint' node is search bar) "
127
+
128
+
129
+ vocabulary: ["Sanguoyanyi"]
open-world-set/get_top250_4th_movie.textproto ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id:"get_top250_4th_movie"
2
+ name :"Douban Search Task - 4th movie in the Douban Top250 movie list"
3
+ description :"Search the 4th movie's name in the Douban Top250 movie list"
4
+
5
+
6
+
7
+ reset_steps: {
8
+ adb_call: {
9
+ force_stop: {
10
+ package_name: "com.douban.frodo"
11
+ }
12
+ }
13
+ }
14
+
15
+
16
+
17
+ reset_steps: {
18
+ success_condition: {
19
+ num_retries: 10
20
+ wait_for_app_screen: {
21
+ app_screen: {
22
+ activity: "com.douban.frodo/com.douban.frodo.activity.SplashActivity"
23
+ }
24
+ timeout_sec: 10.0
25
+ }
26
+ }
27
+ adb_call: {
28
+ start_activity: {
29
+ full_activity: "com.douban.frodo/com.douban.frodo.activity.SplashActivity"
30
+ }
31
+ }
32
+ }
33
+
34
+
35
+ expected_app_screen: {
36
+
37
+ }
38
+
39
+ max_num_steps: 5000
40
+
41
+
42
+ event_sources: {
43
+ text_detect: {
44
+ expect: "同城"
45
+ rect: {
46
+ x0: 0
47
+ y0: 0.10
48
+ x1: 1
49
+ y1: 0.15
50
+ }
51
+ }
52
+ id: 1
53
+ }
54
+
55
+ event_sources: {
56
+ text_detect: {
57
+ expect: "年度电影榜单"
58
+ rect: {
59
+ x0: 0
60
+ y0: 0.48
61
+ x1: 0.33
62
+ y1: 0.54
63
+ }
64
+ }
65
+ id: 2
66
+ }
67
+
68
+
69
+
70
+ event_sources: {
71
+ view_hierarchy_event: {
72
+ selector: '."android.view.View"'
73
+
74
+ properties: {
75
+ property_name: "left"
76
+ sign:EQ
77
+ integer:278
78
+ }
79
+ properties: {
80
+ property_name: "text"
81
+ pattern:"豆瓣电影 Top250"
82
+ }
83
+ }
84
+ id: 3
85
+ }
86
+
87
+
88
+ event_sources: {
89
+ text_detect: {
90
+ expect: "肖申克的救赎"
91
+ rect: {
92
+ x0: 0.075
93
+ y0: 0.70
94
+ x1: 0.37
95
+ y1: 0.75
96
+ }
97
+ }
98
+ id: 4
99
+ }
100
+
101
+
102
+ event_sources:{
103
+ response_event: {
104
+ mode: REGEX
105
+ pattern: '\\b泰坦尼克号\\b'
106
+ }
107
+ id: 7
108
+
109
+ }
110
+
111
+ event_slots:{
112
+ reward_listener:{
113
+ type:OR
114
+ events:{
115
+ event:{
116
+ type:OR
117
+ id:8
118
+ events:{
119
+ id:1
120
+ }
121
+ events:{
122
+ id:1
123
+ }
124
+
125
+ transformation:"y=1"
126
+ }
127
+ }
128
+ events:{
129
+ event:{
130
+ type:OR
131
+ id:9
132
+ events:{
133
+ id:2
134
+ }
135
+ transformation:"y=1"
136
+ }
137
+ }
138
+ events:{
139
+ event:{
140
+ type:OR
141
+ id:10
142
+ events:{
143
+ id:3
144
+ }
145
+ events:{
146
+ id:4
147
+ }
148
+ transformation:"y=1"
149
+ }
150
+ }
151
+
152
+ }
153
+ episode_end_listener: {
154
+ events: {
155
+ id: 7
156
+ }
157
+ transformation: "y = True"
158
+ }
159
+ instruction_listener: {
160
+ type: OR
161
+ events: {
162
+ event: {
163
+ events: {
164
+ id: 8
165
+ }
166
+ transformation: "y=[\'Then you should find the 榜单\']"
167
+ }
168
+ }
169
+ events: {
170
+ event: {
171
+ events: {
172
+ id: 10
173
+ }
174
+ transformation: "y=[\'Well done! Explore this page by scrolling and return the name of the 4th movie \']"
175
+ }
176
+ }
177
+ events: {
178
+ event: {
179
+ events: {
180
+ id: 9
181
+ }
182
+ transformation: "y=[\'Good job, in this page, find the top250电影榜 and get in\']"
183
+ }
184
+ }
185
+ }
186
+
187
+
188
+ }
189
+
190
+
191
+
192
+ command: "Tell me the 4th movie in the 豆瓣Top250 movies list. Hint: You should click the 书影音 first"
193
+
194
+
195
+ vocabulary: []
open-world-set/hide_short_bangs-7.textproto ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_hide_short_bangs-article_hide short bangs-check_reference"
2
+ name: "WikiHow Search Task Primitive - Search hide_short_bangs, Access How to Hide Short Bangs, Check the Reference"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA demo task asking to check the reference list."
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(hide|short|bangs)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(hide|short|bangs)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(hide|short|bangs).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Hide Short Bangs"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Hide-Short-Bangs"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Hide Short Bangs"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ text_detect: {
113
+ expect: "References"
114
+ rect: {
115
+ x1: 0.33
116
+ y1: 1.0
117
+ }
118
+ }
119
+ id: 9
120
+ }
121
+ event_sources: {
122
+ log_event: {
123
+ filters: "jd:D"
124
+ pattern: "\\burl is: https://www\\.wikihow\\.com/Hide-Short-Bangs\\?wh_an=1&amp=1#References\\b"
125
+ }
126
+ id: 10
127
+ }
128
+ event_slots: {
129
+ score_listener: {
130
+ type: OR
131
+ events: {
132
+ event: {
133
+ }
134
+ }
135
+ events: {
136
+ event: {
137
+ }
138
+ }
139
+ events: {
140
+ event: {
141
+ }
142
+ }
143
+ }
144
+ reward_listener: {
145
+ type: OR
146
+ events: {
147
+ event: {
148
+ type: OR
149
+ id: 4
150
+ events: {
151
+ id: 1
152
+ }
153
+ events: {
154
+ id: 2
155
+ }
156
+ events: {
157
+ id: 3
158
+ }
159
+ transformation: "y = 1"
160
+ repeatability: NONE
161
+ }
162
+ }
163
+ events: {
164
+ event: {
165
+ type: OR
166
+ id: 8
167
+ events: {
168
+ id: 5
169
+ }
170
+ events: {
171
+ id: 6
172
+ }
173
+ events: {
174
+ id: 7
175
+ }
176
+ transformation: "y = 1"
177
+ repeatability: NONE
178
+ }
179
+ }
180
+ events: {
181
+ event: {
182
+ type: OR
183
+ id: 11
184
+ events: {
185
+ id: 9
186
+ }
187
+ events: {
188
+ id: 10
189
+ }
190
+ transformation: "y = 1"
191
+ repeatability: NONE
192
+ }
193
+ }
194
+ }
195
+ episode_end_listener: {
196
+ events: {
197
+ id: 11
198
+ }
199
+ transformation: "y = True"
200
+ }
201
+ extra_listener: {
202
+ type: OR
203
+ events: {
204
+ event: {
205
+ }
206
+ }
207
+ events: {
208
+ event: {
209
+ }
210
+ }
211
+ events: {
212
+ event: {
213
+ }
214
+ }
215
+ }
216
+ json_extra_listener: {
217
+ type: OR
218
+ events: {
219
+ event: {
220
+ }
221
+ }
222
+ events: {
223
+ event: {
224
+ }
225
+ }
226
+ events: {
227
+ event: {
228
+ }
229
+ }
230
+ }
231
+ instruction_listener: {
232
+ type: OR
233
+ events: {
234
+ event: {
235
+ }
236
+ }
237
+ events: {
238
+ event: {
239
+ events: {
240
+ id: 4
241
+ }
242
+ transformation: "y = [\'Access the article \"How to Hide Short Bangs\"\']"
243
+ }
244
+ }
245
+ events: {
246
+ event: {
247
+ }
248
+ }
249
+ events: {
250
+ event: {
251
+ events: {
252
+ id: 8
253
+ }
254
+ transformation: "y = [\'Check the reference list\']"
255
+ }
256
+ }
257
+ events: {
258
+ event: {
259
+ }
260
+ }
261
+ }
262
+ }
263
+ command: "Search an article to learn how to hide short bangs."
264
+ command: "Then, access the article \"How to Hide Short Bangs\""
265
+ command: "Then, check the reference list"
266
+ vocabulary: "short"
267
+ vocabulary: "hide"
268
+ vocabulary: "how to"
269
+ vocabulary: "bangs"
open-world-set/how_to_behave_yourself-2.textproto ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_how_to_behave_yourself-article_behave yourself-rate_yes"
2
+ name: "WikiHow Search Task Primitive - Search how_to_behave_yourself, Access How to Behave Yourself, Rate Yes"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA demo task primitive asking to rate yes for the article"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(behave)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(behave)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(behave).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Behave Yourself"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Behave-Yourself"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Behave Yourself"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ text_detect: {
113
+ expect: "Read more|like this one"
114
+ rect: {
115
+ x0: 0.1
116
+ y0: 0.7
117
+ x1: 0.94
118
+ y1: 1.0
119
+ }
120
+ }
121
+ id: 9
122
+ }
123
+ event_sources: {
124
+ view_hierarchy_event: {
125
+ properties: {
126
+ property_name: "text"
127
+ pattern: "Read more articles|like this one"
128
+ }
129
+ selector: "#\"amp-rate-form-yes\" .\"android.widget.TextView\""
130
+ }
131
+ id: 10
132
+ }
133
+ event_slots: {
134
+ score_listener: {
135
+ type: OR
136
+ events: {
137
+ event: {
138
+ }
139
+ }
140
+ events: {
141
+ event: {
142
+ }
143
+ }
144
+ events: {
145
+ event: {
146
+ }
147
+ }
148
+ }
149
+ reward_listener: {
150
+ type: OR
151
+ events: {
152
+ event: {
153
+ type: OR
154
+ id: 4
155
+ events: {
156
+ id: 1
157
+ }
158
+ events: {
159
+ id: 2
160
+ }
161
+ events: {
162
+ id: 3
163
+ }
164
+ transformation: "y = 1"
165
+ repeatability: NONE
166
+ }
167
+ }
168
+ events: {
169
+ event: {
170
+ type: OR
171
+ id: 8
172
+ events: {
173
+ id: 5
174
+ }
175
+ events: {
176
+ id: 6
177
+ }
178
+ events: {
179
+ id: 7
180
+ }
181
+ transformation: "y = 1"
182
+ repeatability: NONE
183
+ }
184
+ }
185
+ events: {
186
+ event: {
187
+ type: OR
188
+ id: 11
189
+ events: {
190
+ id: 9
191
+ }
192
+ events: {
193
+ id: 10
194
+ }
195
+ transformation: "y = 1"
196
+ repeatability: NONE
197
+ }
198
+ }
199
+ }
200
+ episode_end_listener: {
201
+ events: {
202
+ id: 11
203
+ }
204
+ transformation: "y = True"
205
+ }
206
+ extra_listener: {
207
+ type: OR
208
+ events: {
209
+ event: {
210
+ }
211
+ }
212
+ events: {
213
+ event: {
214
+ }
215
+ }
216
+ events: {
217
+ event: {
218
+ }
219
+ }
220
+ }
221
+ json_extra_listener: {
222
+ type: OR
223
+ events: {
224
+ event: {
225
+ }
226
+ }
227
+ events: {
228
+ event: {
229
+ }
230
+ }
231
+ events: {
232
+ event: {
233
+ }
234
+ }
235
+ }
236
+ instruction_listener: {
237
+ type: OR
238
+ events: {
239
+ event: {
240
+ }
241
+ }
242
+ events: {
243
+ event: {
244
+ events: {
245
+ id: 4
246
+ }
247
+ transformation: "y = [\'Access the article \"How to Behave Yourself\"\']"
248
+ }
249
+ }
250
+ events: {
251
+ event: {
252
+ }
253
+ }
254
+ events: {
255
+ event: {
256
+ events: {
257
+ id: 8
258
+ }
259
+ transformation: "y = [\'Rate yes for the article.\']"
260
+ }
261
+ }
262
+ events: {
263
+ event: {
264
+ }
265
+ }
266
+ }
267
+ }
268
+ command: "Search an article to learn how to how to behave yourself."
269
+ command: "Then, access the article \"How to Behave Yourself\""
270
+ command: "Then, rate yes for the article."
271
+ vocabulary: "behave"
272
+ vocabulary: "how to"
open-world-set/how_to_find_true_happiness_and_peace-1.textproto ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_how_to_find_true_happiness_and_peace-article_find true happiness and peace-rate_no"
2
+ name: "WikiHow Search Task Primitive - Search how_to_find_true_happiness_and_peace, Access How to Find True Happiness and Peace, Rate No"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA demo task primitive asking to rate no for the article"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(find|true|happiness|peace)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(find|true|happiness|peace)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(find|true|happiness|peace).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Find True Happiness and Peace"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Find-True-Happiness-and-Peace"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Find True Happiness and Peace"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ text_detect: {
113
+ expect: "sorry|similar articles"
114
+ rect: {
115
+ x0: 0.069
116
+ y0: 0.67
117
+ x1: 0.945
118
+ y1: 1.0
119
+ }
120
+ }
121
+ id: 9
122
+ }
123
+ event_sources: {
124
+ view_hierarchy_event: {
125
+ properties: {
126
+ property_name: "text"
127
+ pattern: "sorry|similar articles"
128
+ }
129
+ selector: "#\"amp-rate-form-no\" .\"android.widget.TextView\""
130
+ }
131
+ id: 10
132
+ }
133
+ event_slots: {
134
+ score_listener: {
135
+ type: OR
136
+ events: {
137
+ event: {
138
+ }
139
+ }
140
+ events: {
141
+ event: {
142
+ }
143
+ }
144
+ events: {
145
+ event: {
146
+ }
147
+ }
148
+ }
149
+ reward_listener: {
150
+ type: OR
151
+ events: {
152
+ event: {
153
+ type: OR
154
+ id: 4
155
+ events: {
156
+ id: 1
157
+ }
158
+ events: {
159
+ id: 2
160
+ }
161
+ events: {
162
+ id: 3
163
+ }
164
+ transformation: "y = 1"
165
+ repeatability: NONE
166
+ }
167
+ }
168
+ events: {
169
+ event: {
170
+ type: OR
171
+ id: 8
172
+ events: {
173
+ id: 5
174
+ }
175
+ events: {
176
+ id: 6
177
+ }
178
+ events: {
179
+ id: 7
180
+ }
181
+ transformation: "y = 1"
182
+ repeatability: NONE
183
+ }
184
+ }
185
+ events: {
186
+ event: {
187
+ type: OR
188
+ id: 11
189
+ events: {
190
+ id: 9
191
+ }
192
+ events: {
193
+ id: 10
194
+ }
195
+ transformation: "y = 1"
196
+ repeatability: NONE
197
+ }
198
+ }
199
+ }
200
+ episode_end_listener: {
201
+ events: {
202
+ id: 11
203
+ }
204
+ transformation: "y = True"
205
+ }
206
+ extra_listener: {
207
+ type: OR
208
+ events: {
209
+ event: {
210
+ }
211
+ }
212
+ events: {
213
+ event: {
214
+ }
215
+ }
216
+ events: {
217
+ event: {
218
+ }
219
+ }
220
+ }
221
+ json_extra_listener: {
222
+ type: OR
223
+ events: {
224
+ event: {
225
+ }
226
+ }
227
+ events: {
228
+ event: {
229
+ }
230
+ }
231
+ events: {
232
+ event: {
233
+ }
234
+ }
235
+ }
236
+ instruction_listener: {
237
+ type: OR
238
+ events: {
239
+ event: {
240
+ }
241
+ }
242
+ events: {
243
+ event: {
244
+ events: {
245
+ id: 4
246
+ }
247
+ transformation: "y = [\'Access the article \"How to Find True Happiness and Peace\"\']"
248
+ }
249
+ }
250
+ events: {
251
+ event: {
252
+ }
253
+ }
254
+ events: {
255
+ event: {
256
+ events: {
257
+ id: 8
258
+ }
259
+ transformation: "y = [\'Rate no for the article.\']"
260
+ }
261
+ }
262
+ events: {
263
+ event: {
264
+ }
265
+ }
266
+ }
267
+ }
268
+ command: "Search an article to learn how to how to find true happiness and peace."
269
+ command: "Then, access the article \"How to Find True Happiness and Peace\""
270
+ command: "Then, rate no for the article."
271
+ vocabulary: "how to"
272
+ vocabulary: "peace"
273
+ vocabulary: "happiness"
274
+ vocabulary: "find"
275
+ vocabulary: "true"
open-world-set/how_to_import_from_china_into_the_usa-5.textproto ADDED
@@ -0,0 +1,387 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_how_to_import_from_china_into_the_usa-article_import from china into the usa-bookmark_import from china into the usa"
2
+ name: "WikiHow Search Task Primitive - Search how_to_import_from_china_into_the_usa, Access How to Import from China into the USA, Bookmark How to Import from China into the USA"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA demo task primitive asking to bookmark a specific article"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(import|china|usa)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(import|china|usa)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(import|china|usa).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Import from China into the USA"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Import-from-China-into-the-USA"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Import from China into the USA"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ text_detect: {
113
+ expect: "Bookmark"
114
+ rect: {
115
+ x0: 0.459
116
+ y0: 0.04
117
+ x1: 0.98
118
+ y1: 0.105
119
+ }
120
+ }
121
+ id: 9
122
+ }
123
+ event_sources: {
124
+ view_hierarchy_event: {
125
+ properties: {
126
+ property_name: "text"
127
+ pattern: "Bookmark"
128
+ }
129
+ selector: "#$\"content\" #\"com.wikihow.wikihowapp:id/title\".$\"TextView\""
130
+ }
131
+ id: 10
132
+ }
133
+ event_sources: {
134
+ text_detect: {
135
+ expect: "Remove bookmark"
136
+ rect: {
137
+ x0: 0.518
138
+ y0: 0.04
139
+ x1: 0.98
140
+ y1: 0.105
141
+ }
142
+ }
143
+ id: 11
144
+ }
145
+ event_sources: {
146
+ view_hierarchy_event: {
147
+ properties: {
148
+ property_name: "text"
149
+ pattern: "Remove bookmark"
150
+ }
151
+ selector: "#$\"content\" #\"com.wikihow.wikihowapp:id/title\".$\"TextView\""
152
+ }
153
+ id: 12
154
+ }
155
+ event_sources: {
156
+ text_detect: {
157
+ expect: "Import from China into the USA"
158
+ rect: {
159
+ x0: 0.19
160
+ x1: 1.0
161
+ y1: 1.0
162
+ }
163
+ }
164
+ id: 13
165
+ }
166
+ event_sources: {
167
+ log_event: {
168
+ filters: "jd:D"
169
+ pattern: "\\bImageLoader: https://www\\.wikihow\\.com/images/thumb/\\w/\\w\\w/Import-from-China-into-the-USA[-\\w]*\\.(jpg|png)\\b"
170
+ }
171
+ id: 14
172
+ }
173
+ event_sources: {
174
+ view_hierarchy_event: {
175
+ properties: {
176
+ property_name: "text"
177
+ pattern: "Bookmarks"
178
+ }
179
+ selector: "#$\"wikihow_toolbar\">.$\"TextView\"#\"com.wikihow.wikihowapp:id/wikihow_toolbar_title\""
180
+ }
181
+ id: 15
182
+ }
183
+ event_sources: {
184
+ view_hierarchy_event: {
185
+ properties: {
186
+ property_name: "text"
187
+ pattern: "Import from China into the USA"
188
+ }
189
+ selector: "#$\"drawer_layout\" .$\"TextView\"#\"com.wikihow.wikihowapp:id/options_title\""
190
+ }
191
+ id: 16
192
+ }
193
+ event_slots: {
194
+ score_listener: {
195
+ type: OR
196
+ events: {
197
+ event: {
198
+ }
199
+ }
200
+ events: {
201
+ event: {
202
+ }
203
+ }
204
+ events: {
205
+ event: {
206
+ }
207
+ }
208
+ }
209
+ reward_listener: {
210
+ type: OR
211
+ events: {
212
+ event: {
213
+ type: OR
214
+ id: 4
215
+ events: {
216
+ id: 1
217
+ }
218
+ events: {
219
+ id: 2
220
+ }
221
+ events: {
222
+ id: 3
223
+ }
224
+ transformation: "y = 1"
225
+ repeatability: NONE
226
+ }
227
+ }
228
+ events: {
229
+ event: {
230
+ type: OR
231
+ id: 8
232
+ events: {
233
+ id: 5
234
+ }
235
+ events: {
236
+ id: 6
237
+ }
238
+ events: {
239
+ id: 7
240
+ }
241
+ transformation: "y = 1"
242
+ repeatability: NONE
243
+ }
244
+ }
245
+ events: {
246
+ event: {
247
+ type: OR
248
+ events: {
249
+ event: {
250
+ type: OR
251
+ id: 17
252
+ events: {
253
+ id: 9
254
+ }
255
+ events: {
256
+ id: 10
257
+ }
258
+ transformation: "y = 1"
259
+ repeatability: NONE
260
+ }
261
+ }
262
+ events: {
263
+ event: {
264
+ type: OR
265
+ id: 18
266
+ events: {
267
+ id: 11
268
+ }
269
+ events: {
270
+ id: 12
271
+ }
272
+ transformation: "y = 1"
273
+ repeatability: NONE
274
+ }
275
+ }
276
+ events: {
277
+ event: {
278
+ type: OR
279
+ id: 19
280
+ events: {
281
+ id: 13
282
+ }
283
+ events: {
284
+ id: 14
285
+ }
286
+ events: {
287
+ event: {
288
+ type: AND
289
+ events: {
290
+ id: 15
291
+ }
292
+ events: {
293
+ id: 16
294
+ }
295
+ transformation: "y = min(map(len, x))"
296
+ }
297
+ }
298
+ transformation: "y = 1 if not isinstance(x, int) else x"
299
+ repeatability: NONE
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ episode_end_listener: {
306
+ type: OR
307
+ events: {
308
+ id: 18
309
+ }
310
+ events: {
311
+ id: 19
312
+ }
313
+ transformation: "y = True"
314
+ }
315
+ extra_listener: {
316
+ type: OR
317
+ events: {
318
+ event: {
319
+ }
320
+ }
321
+ events: {
322
+ event: {
323
+ }
324
+ }
325
+ events: {
326
+ event: {
327
+ }
328
+ }
329
+ }
330
+ json_extra_listener: {
331
+ type: OR
332
+ events: {
333
+ event: {
334
+ }
335
+ }
336
+ events: {
337
+ event: {
338
+ }
339
+ }
340
+ events: {
341
+ event: {
342
+ }
343
+ }
344
+ }
345
+ instruction_listener: {
346
+ type: OR
347
+ events: {
348
+ event: {
349
+ }
350
+ }
351
+ events: {
352
+ event: {
353
+ events: {
354
+ id: 4
355
+ }
356
+ transformation: "y = [\'Access the article \"How to Import from China into the USA\"\']"
357
+ }
358
+ }
359
+ events: {
360
+ event: {
361
+ }
362
+ }
363
+ events: {
364
+ event: {
365
+ events: {
366
+ id: 8
367
+ }
368
+ transformation: "y = [\'Bookmark the article and check the bookmark.\']"
369
+ }
370
+ }
371
+ events: {
372
+ event: {
373
+ events: {
374
+ id: 17
375
+ }
376
+ transformation: "y = \"After bookmarking the article, go check the bookmark in the bookmark list\""
377
+ }
378
+ }
379
+ }
380
+ }
381
+ command: "Search an article to learn how to how to import from china into the usa."
382
+ command: "Then, access the article \"How to Import from China into the USA\""
383
+ command: "Then, bookmark the article and check the bookmark."
384
+ vocabulary: "usa"
385
+ vocabulary: "import"
386
+ vocabulary: "china"
387
+ vocabulary: "how to"
open-world-set/how_to_make_a_homemade_weight_set-3.textproto ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_how_to_make_a_homemade_weight_set-article_make a homemade weight set-share_article"
2
+ name: "WikiHow Search Task Primitive - Search how_to_make_a_homemade_weight_set, Access How to Make a Homemade Weight Set, Share Article"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA demo task primitive asking to share the article"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(make|homemade|weight|set)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(make|homemade|weight|set)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(make|homemade|weight|set).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Make a Homemade Weight Set"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Make-a-Homemade-Weight-Set"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Make a Homemade Weight Set"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ text_detect: {
113
+ expect: "Share article"
114
+ rect: {
115
+ x0: 0.5306
116
+ y0: 0.042
117
+ x1: 0.8633
118
+ y1: 0.1
119
+ }
120
+ }
121
+ id: 9
122
+ }
123
+ event_sources: {
124
+ view_hierarchy_event: {
125
+ properties: {
126
+ property_name: "text"
127
+ pattern: "Share article"
128
+ }
129
+ selector: ".$\"TextView\"#\"android:id/title\""
130
+ }
131
+ id: 10
132
+ }
133
+ event_slots: {
134
+ score_listener: {
135
+ type: OR
136
+ events: {
137
+ event: {
138
+ }
139
+ }
140
+ events: {
141
+ event: {
142
+ }
143
+ }
144
+ events: {
145
+ event: {
146
+ }
147
+ }
148
+ }
149
+ reward_listener: {
150
+ type: OR
151
+ events: {
152
+ event: {
153
+ type: OR
154
+ id: 4
155
+ events: {
156
+ id: 1
157
+ }
158
+ events: {
159
+ id: 2
160
+ }
161
+ events: {
162
+ id: 3
163
+ }
164
+ transformation: "y = 1"
165
+ repeatability: NONE
166
+ }
167
+ }
168
+ events: {
169
+ event: {
170
+ type: OR
171
+ id: 8
172
+ events: {
173
+ id: 5
174
+ }
175
+ events: {
176
+ id: 6
177
+ }
178
+ events: {
179
+ id: 7
180
+ }
181
+ transformation: "y = 1"
182
+ repeatability: NONE
183
+ }
184
+ }
185
+ events: {
186
+ event: {
187
+ type: OR
188
+ id: 11
189
+ events: {
190
+ id: 9
191
+ }
192
+ events: {
193
+ id: 10
194
+ }
195
+ transformation: "y = 1"
196
+ repeatability: NONE
197
+ }
198
+ }
199
+ }
200
+ episode_end_listener: {
201
+ events: {
202
+ id: 11
203
+ }
204
+ transformation: "y = True"
205
+ }
206
+ extra_listener: {
207
+ type: OR
208
+ events: {
209
+ event: {
210
+ }
211
+ }
212
+ events: {
213
+ event: {
214
+ }
215
+ }
216
+ events: {
217
+ event: {
218
+ }
219
+ }
220
+ }
221
+ json_extra_listener: {
222
+ type: OR
223
+ events: {
224
+ event: {
225
+ }
226
+ }
227
+ events: {
228
+ event: {
229
+ }
230
+ }
231
+ events: {
232
+ event: {
233
+ }
234
+ }
235
+ }
236
+ instruction_listener: {
237
+ type: OR
238
+ events: {
239
+ event: {
240
+ }
241
+ }
242
+ events: {
243
+ event: {
244
+ events: {
245
+ id: 4
246
+ }
247
+ transformation: "y = [\'Access the article \"How to Make a Homemade Weight Set\"\']"
248
+ }
249
+ }
250
+ events: {
251
+ event: {
252
+ }
253
+ }
254
+ events: {
255
+ event: {
256
+ events: {
257
+ id: 8
258
+ }
259
+ transformation: "y = [\'Try to share the article.\']"
260
+ }
261
+ }
262
+ events: {
263
+ event: {
264
+ }
265
+ }
266
+ }
267
+ }
268
+ command: "Search an article to learn how to how to make a homemade weight set."
269
+ command: "Then, access the article \"How to Make a Homemade Weight Set\""
270
+ command: "Then, try to share the article."
271
+ vocabulary: "weight"
272
+ vocabulary: "set"
273
+ vocabulary: "make"
274
+ vocabulary: "homemade"
275
+ vocabulary: "how to"
open-world-set/how_to_make_bottle_cap_art-10.textproto ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_how_to_make_bottle_cap_art-article_make bottle cap art-needed_items_what is needed to make bottle cap art?"
2
+ name: "WikiHow Search Task Primitive - Search how_to_make_bottle_cap_art, Access How to Make Bottle Cap Art, What is needed to Make Bottle Cap Art?"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA Q&A task requiring to summarize the needed items"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(make|bottle|cap|art)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(make|bottle|cap|art)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(make|bottle|cap|art).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Make Bottle Cap Art"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Make-Bottle-Cap-Art"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Make Bottle Cap Art"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ response_event: {
113
+ pattern: "Making Bottle Cap Canvas Art\n • Canvas\n • Acrylic craft paint or spray paint\n • Wide, flat paintbrushes (for acrylic paint)\n • Metal bottle caps\n • Hammer\n • Hot glue or industrial strength glue\n\nCreating a Bottle Cap Tray\n • Wooden tray\n • Acrylic craft paint\n • Wide, flat paintbrushes\n • Painter\'s tape\n • Grout or clear epoxy resin\n • Grout float (if using grout)\n • Sponge (if using grout)\n • Metal bottle caps\n • Liquid nails, hot glue, or industrial strength glue"
114
+ mode: SBERT
115
+ }
116
+ id: 9
117
+ }
118
+ event_slots: {
119
+ score_listener: {
120
+ type: OR
121
+ events: {
122
+ event: {
123
+ }
124
+ }
125
+ events: {
126
+ event: {
127
+ }
128
+ }
129
+ events: {
130
+ event: {
131
+ events: {
132
+ id: 9
133
+ }
134
+ }
135
+ }
136
+ }
137
+ reward_listener: {
138
+ type: OR
139
+ events: {
140
+ event: {
141
+ type: OR
142
+ id: 4
143
+ events: {
144
+ id: 1
145
+ }
146
+ events: {
147
+ id: 2
148
+ }
149
+ events: {
150
+ id: 3
151
+ }
152
+ transformation: "y = 1"
153
+ repeatability: NONE
154
+ }
155
+ }
156
+ events: {
157
+ event: {
158
+ type: OR
159
+ id: 8
160
+ events: {
161
+ id: 5
162
+ }
163
+ events: {
164
+ id: 6
165
+ }
166
+ events: {
167
+ id: 7
168
+ }
169
+ transformation: "y = 1"
170
+ repeatability: NONE
171
+ }
172
+ }
173
+ events: {
174
+ event: {
175
+ }
176
+ }
177
+ }
178
+ episode_end_listener: {
179
+ events: {
180
+ id: 9
181
+ }
182
+ transformation: "y = x>=0.7"
183
+ }
184
+ extra_listener: {
185
+ type: OR
186
+ events: {
187
+ event: {
188
+ }
189
+ }
190
+ events: {
191
+ event: {
192
+ }
193
+ }
194
+ events: {
195
+ event: {
196
+ }
197
+ }
198
+ }
199
+ json_extra_listener: {
200
+ type: OR
201
+ events: {
202
+ event: {
203
+ }
204
+ }
205
+ events: {
206
+ event: {
207
+ }
208
+ }
209
+ events: {
210
+ event: {
211
+ }
212
+ }
213
+ }
214
+ instruction_listener: {
215
+ type: OR
216
+ events: {
217
+ event: {
218
+ }
219
+ }
220
+ events: {
221
+ event: {
222
+ events: {
223
+ id: 4
224
+ }
225
+ transformation: "y = [\'Access the article \"How to Make Bottle Cap Art\"\']"
226
+ }
227
+ }
228
+ events: {
229
+ event: {
230
+ }
231
+ }
232
+ events: {
233
+ event: {
234
+ events: {
235
+ id: 8
236
+ }
237
+ transformation: "y = [\'Read the article and summarize the needed items for the task.\', \'The summary should be given in an unnumbered list.\']"
238
+ }
239
+ }
240
+ events: {
241
+ event: {
242
+ }
243
+ }
244
+ }
245
+ }
246
+ command: "Search an article to learn how to make bottle cap art."
247
+ command: "Then, access the article \"How to Make Bottle Cap Art\""
248
+ command: "Then, read the article and summarize the needed items for the task."
249
+ command: "The summary should be given in an unnumbered list."
250
+ vocabulary: "bottle"
251
+ vocabulary: "art"
252
+ vocabulary: "cap"
253
+ vocabulary: "make"
254
+ vocabulary: "how to"
open-world-set/how_to_make_pupusas-11.textproto ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_how_to_make_pupusas-article_make pupusas-ingredients_what are the ingredients to make pupusas?"
2
+ name: "WikiHow Search Task Primitive - Search how_to_make_pupusas, Access How to Make Pupusas, What are the ingredients to Make Pupusas?"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA Q&A task requiring to summarize the ingredients"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(make|pupusas)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(make|pupusas)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(make|pupusas).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Make Pupusas"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Make-Pupusas"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Make Pupusas"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ response_event: {
113
+ pattern: " • Pupusas\n • 2 cups masa harina\n • pinch of salt\n • 1 1/3 cups warm water\n • 1 cup grated white cheese\n • vegetable oil, for frying"
114
+ mode: SBERT
115
+ }
116
+ id: 9
117
+ }
118
+ event_slots: {
119
+ score_listener: {
120
+ type: OR
121
+ events: {
122
+ event: {
123
+ }
124
+ }
125
+ events: {
126
+ event: {
127
+ }
128
+ }
129
+ events: {
130
+ event: {
131
+ events: {
132
+ id: 9
133
+ }
134
+ }
135
+ }
136
+ }
137
+ reward_listener: {
138
+ type: OR
139
+ events: {
140
+ event: {
141
+ type: OR
142
+ id: 4
143
+ events: {
144
+ id: 1
145
+ }
146
+ events: {
147
+ id: 2
148
+ }
149
+ events: {
150
+ id: 3
151
+ }
152
+ transformation: "y = 1"
153
+ repeatability: NONE
154
+ }
155
+ }
156
+ events: {
157
+ event: {
158
+ type: OR
159
+ id: 8
160
+ events: {
161
+ id: 5
162
+ }
163
+ events: {
164
+ id: 6
165
+ }
166
+ events: {
167
+ id: 7
168
+ }
169
+ transformation: "y = 1"
170
+ repeatability: NONE
171
+ }
172
+ }
173
+ events: {
174
+ event: {
175
+ }
176
+ }
177
+ }
178
+ episode_end_listener: {
179
+ events: {
180
+ id: 9
181
+ }
182
+ transformation: "y = x>=0.7"
183
+ }
184
+ extra_listener: {
185
+ type: OR
186
+ events: {
187
+ event: {
188
+ }
189
+ }
190
+ events: {
191
+ event: {
192
+ }
193
+ }
194
+ events: {
195
+ event: {
196
+ }
197
+ }
198
+ }
199
+ json_extra_listener: {
200
+ type: OR
201
+ events: {
202
+ event: {
203
+ }
204
+ }
205
+ events: {
206
+ event: {
207
+ }
208
+ }
209
+ events: {
210
+ event: {
211
+ }
212
+ }
213
+ }
214
+ instruction_listener: {
215
+ type: OR
216
+ events: {
217
+ event: {
218
+ }
219
+ }
220
+ events: {
221
+ event: {
222
+ events: {
223
+ id: 4
224
+ }
225
+ transformation: "y = [\'Access the article \"How to Make Pupusas\"\']"
226
+ }
227
+ }
228
+ events: {
229
+ event: {
230
+ }
231
+ }
232
+ events: {
233
+ event: {
234
+ events: {
235
+ id: 8
236
+ }
237
+ transformation: "y = [\'Read the article and summarize the needed ingredients.\', \'The summary should be given in an unnumbered list.\']"
238
+ }
239
+ }
240
+ events: {
241
+ event: {
242
+ }
243
+ }
244
+ }
245
+ }
246
+ command: "Search an article to learn how to make pupusas."
247
+ command: "Then, access the article \"How to Make Pupusas\""
248
+ command: "Then, read the article and summarize the needed ingredients."
249
+ command: "The summary should be given in an unnumbered list."
250
+ vocabulary: "make"
251
+ vocabulary: "pupusas"
252
+ vocabulary: "how to"
open-world-set/how_to_rip_dvd_audio_to_mp3_using_vlc_media_player-9.textproto ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_how_to_rip_dvd_audio_to_mp3_using_vlc_media_player-article_rip dvd audio to mp3 using vlc media player-stepped_summary_what are the steps to rip dvd audio to mp3 using vlc media player?"
2
+ name: "WikiHow Search Task Primitive - Search how_to_rip_dvd_audio_to_mp3_using_vlc_media_player, Access How to Rip DVD Audio to MP3 Using VLC Media Player, What are the steps to Rip DVD Audio to MP3 Using VLC Media Player?"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA Q&A task requiring to summarize the article in steps"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(rip|dvd|audio|mp3|using|vlc|media|player)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(rip|dvd|audio|mp3|using|vlc|media|player)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(rip|dvd|audio|mp3|using|vlc|media|player).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Rip DVD Audio to MP3 Using VLC Media Player"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Rip-DVD-Audio-to-MP3-Using-VLC-Media-Player"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Rip DVD Audio to MP3 Using VLC Media Player"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ response_event: {
113
+ pattern: "1. Open VLC.\n2. Click Media.\n3. Click Open Disc.\n4. Select No disc menus.\n5. Click the down-arrow next to \"Play.\"\n6. Click Convert.\n7. Select Audio – MP3 as the output file type.\n8. Click Browse.\n9. Enter a file name and click Save.\n10. Click Start. "
114
+ mode: SBERT
115
+ }
116
+ id: 9
117
+ }
118
+ event_slots: {
119
+ score_listener: {
120
+ type: OR
121
+ events: {
122
+ event: {
123
+ }
124
+ }
125
+ events: {
126
+ event: {
127
+ }
128
+ }
129
+ events: {
130
+ event: {
131
+ events: {
132
+ id: 9
133
+ }
134
+ }
135
+ }
136
+ }
137
+ reward_listener: {
138
+ type: OR
139
+ events: {
140
+ event: {
141
+ type: OR
142
+ id: 4
143
+ events: {
144
+ id: 1
145
+ }
146
+ events: {
147
+ id: 2
148
+ }
149
+ events: {
150
+ id: 3
151
+ }
152
+ transformation: "y = 1"
153
+ repeatability: NONE
154
+ }
155
+ }
156
+ events: {
157
+ event: {
158
+ type: OR
159
+ id: 8
160
+ events: {
161
+ id: 5
162
+ }
163
+ events: {
164
+ id: 6
165
+ }
166
+ events: {
167
+ id: 7
168
+ }
169
+ transformation: "y = 1"
170
+ repeatability: NONE
171
+ }
172
+ }
173
+ events: {
174
+ event: {
175
+ }
176
+ }
177
+ }
178
+ episode_end_listener: {
179
+ events: {
180
+ id: 9
181
+ }
182
+ transformation: "y = x>=0.7"
183
+ }
184
+ extra_listener: {
185
+ type: OR
186
+ events: {
187
+ event: {
188
+ }
189
+ }
190
+ events: {
191
+ event: {
192
+ }
193
+ }
194
+ events: {
195
+ event: {
196
+ }
197
+ }
198
+ }
199
+ json_extra_listener: {
200
+ type: OR
201
+ events: {
202
+ event: {
203
+ }
204
+ }
205
+ events: {
206
+ event: {
207
+ }
208
+ }
209
+ events: {
210
+ event: {
211
+ }
212
+ }
213
+ }
214
+ instruction_listener: {
215
+ type: OR
216
+ events: {
217
+ event: {
218
+ }
219
+ }
220
+ events: {
221
+ event: {
222
+ events: {
223
+ id: 4
224
+ }
225
+ transformation: "y = [\'Access the article \"How to Rip DVD Audio to MP3 Using VLC Media Player\"\']"
226
+ }
227
+ }
228
+ events: {
229
+ event: {
230
+ }
231
+ }
232
+ events: {
233
+ event: {
234
+ events: {
235
+ id: 8
236
+ }
237
+ transformation: "y = [\'Read the article and give a summary of each steps.\', \'The summaries should be given in a numbered list.\']"
238
+ }
239
+ }
240
+ events: {
241
+ event: {
242
+ }
243
+ }
244
+ }
245
+ }
246
+ command: "Search an article to learn how to rip dvd audio to mp3 using vlc media player."
247
+ command: "Then, access the article \"How to Rip DVD Audio to MP3 Using VLC Media Player\""
248
+ command: "Then, read the article and give a summary of each steps."
249
+ command: "The summaries should be given in a numbered list."
250
+ vocabulary: "vlc"
251
+ vocabulary: "dvd"
252
+ vocabulary: "using"
253
+ vocabulary: "mp3"
254
+ vocabulary: "how to"
255
+ vocabulary: "media"
256
+ vocabulary: "rip"
257
+ vocabulary: "audio"
258
+ vocabulary: "player"
open-world-set/how_to_wear_high_waisted_shorts-12.textproto ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_how_to_wear_high_waisted_shorts-article_wear high waisted shorts-summary_wear high waisted shorts?"
2
+ name: "WikiHow Search Task Primitive - Search how_to_wear_high_waisted_shorts, Access How to Wear High Waisted Shorts, How To Wear High Waisted Shorts?"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA Q&A task requiring to summarize the article"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(wear|high|waisted|shorts)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(wear|high|waisted|shorts)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(wear|high|waisted|shorts).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Wear High Waisted Shorts"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Wear-High-Waisted-Shorts"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Wear High Waisted Shorts"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ response_event: {
113
+ pattern: "High-waisted shorts can be a great fashion item for warm days in the spring or summer. Jean shorts are a good option if you want a laid back look, but you could go for a fabric pair if you’ll be wearing them on a night out. If you want to show off the high waist band, tuck your top or T-shirt into your shorts. Another way you can show off your waist is to add a belt to your outfit to draw attention to the high waistband. You can be more daring by pairing your shorts with a crop top. For a dressier occasion, combine your shorts with a loose blouse, which will contrast well with the tight waist. You can even wear high waisted shorts for some extra cover if you\'re wearing a swimsuit to the beach."
114
+ mode: SBERT
115
+ }
116
+ id: 9
117
+ }
118
+ event_slots: {
119
+ score_listener: {
120
+ type: OR
121
+ events: {
122
+ event: {
123
+ }
124
+ }
125
+ events: {
126
+ event: {
127
+ }
128
+ }
129
+ events: {
130
+ event: {
131
+ events: {
132
+ id: 9
133
+ }
134
+ }
135
+ }
136
+ }
137
+ reward_listener: {
138
+ type: OR
139
+ events: {
140
+ event: {
141
+ type: OR
142
+ id: 4
143
+ events: {
144
+ id: 1
145
+ }
146
+ events: {
147
+ id: 2
148
+ }
149
+ events: {
150
+ id: 3
151
+ }
152
+ transformation: "y = 1"
153
+ repeatability: NONE
154
+ }
155
+ }
156
+ events: {
157
+ event: {
158
+ type: OR
159
+ id: 8
160
+ events: {
161
+ id: 5
162
+ }
163
+ events: {
164
+ id: 6
165
+ }
166
+ events: {
167
+ id: 7
168
+ }
169
+ transformation: "y = 1"
170
+ repeatability: NONE
171
+ }
172
+ }
173
+ events: {
174
+ event: {
175
+ }
176
+ }
177
+ }
178
+ episode_end_listener: {
179
+ events: {
180
+ id: 9
181
+ }
182
+ transformation: "y = x>=0.7"
183
+ }
184
+ extra_listener: {
185
+ type: OR
186
+ events: {
187
+ event: {
188
+ }
189
+ }
190
+ events: {
191
+ event: {
192
+ }
193
+ }
194
+ events: {
195
+ event: {
196
+ }
197
+ }
198
+ }
199
+ json_extra_listener: {
200
+ type: OR
201
+ events: {
202
+ event: {
203
+ }
204
+ }
205
+ events: {
206
+ event: {
207
+ }
208
+ }
209
+ events: {
210
+ event: {
211
+ }
212
+ }
213
+ }
214
+ instruction_listener: {
215
+ type: OR
216
+ events: {
217
+ event: {
218
+ }
219
+ }
220
+ events: {
221
+ event: {
222
+ events: {
223
+ id: 4
224
+ }
225
+ transformation: "y = [\'Access the article \"How to Wear High Waisted Shorts\"\']"
226
+ }
227
+ }
228
+ events: {
229
+ event: {
230
+ }
231
+ }
232
+ events: {
233
+ event: {
234
+ events: {
235
+ id: 8
236
+ }
237
+ transformation: "y = [\'Read the article and answer the question concisely.\', \'My question is: How To Wear High Waisted Shorts??\']"
238
+ }
239
+ }
240
+ events: {
241
+ event: {
242
+ }
243
+ }
244
+ }
245
+ }
246
+ command: "Search an article to learn how to wear high waisted shorts."
247
+ command: "Then, access the article \"How to Wear High Waisted Shorts\""
248
+ command: "Then, read the article and answer the question concisely."
249
+ command: "My question is: How To Wear High Waisted Shorts??"
250
+ vocabulary: "waisted"
251
+ vocabulary: "shorts"
252
+ vocabulary: "high"
253
+ vocabulary: "wear"
254
+ vocabulary: "how to"
open-world-set/how_to_write_a_video_game_review-12.textproto ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "search_how_to_write_a_video_game_review-article_write a video game review-summary_write a video game review?"
2
+ name: "WikiHow Search Task Primitive - Search how_to_write_a_video_game_review, Access How to Write a Video Game Review, How To Write a Video Game Review?"
3
+ description: "A demo task primitive requiring to search WikiHow for a specific article.\nA demo task primitive requiring to access a specific article.\nA Q&A task requiring to summarize the article"
4
+ setup_steps: {
5
+ adb_call: {
6
+ install_apk: {
7
+ filesystem: {
8
+ path: "../wikiHow:万事指南_2.9.6_apkcombo.com.apk"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ setup_steps: {
14
+ adb_call: {
15
+ rotate: {
16
+ }
17
+ }
18
+ }
19
+ reset_steps: {
20
+ adb_call: {
21
+ force_stop: {
22
+ package_name: "com.wikihow.wikihowapp"
23
+ }
24
+ }
25
+ }
26
+ reset_steps: {
27
+ adb_call: {
28
+ clear_cache: {
29
+ package_name: "com.wikihow.wikihowapp"
30
+ }
31
+ }
32
+ }
33
+ reset_steps: {
34
+ success_condition: {
35
+ num_retries: 10
36
+ wait_for_app_screen: {
37
+ app_screen: {
38
+ activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
39
+ }
40
+ timeout_sec: 10.0
41
+ }
42
+ }
43
+ adb_call: {
44
+ start_activity: {
45
+ full_activity: "com.wikihow.wikihowapp/com.wikihow.wikihowapp.MainTabActivity"
46
+ }
47
+ }
48
+ }
49
+ max_num_steps: 500
50
+ event_sources: {
51
+ text_recognize: {
52
+ expect: "\\b(write|video|game|review)\\b"
53
+ rect: {
54
+ x0: 0.2439
55
+ y0: 0.0354
56
+ x1: 0.9085
57
+ y1: 0.1171
58
+ }
59
+ }
60
+ id: 1
61
+ }
62
+ event_sources: {
63
+ view_hierarchy_event: {
64
+ properties: {
65
+ property_name: "text"
66
+ pattern: "\\b(write|video|game|review)\\b"
67
+ }
68
+ properties: {
69
+ property_name: "clickable"
70
+ pattern: "true"
71
+ }
72
+ selector: "#$\"search_plate\">#$\"search_src_text\""
73
+ }
74
+ id: 2
75
+ }
76
+ event_sources: {
77
+ log_event: {
78
+ filters: "jd:D"
79
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/wikiHowTo\\?search=.*(write|video|game|review).*"
80
+ }
81
+ id: 3
82
+ }
83
+ event_sources: {
84
+ text_detect: {
85
+ expect: "How to Write a Video Game Review"
86
+ rect: {
87
+ y0: 0.19
88
+ x1: 1.0
89
+ y1: 0.3
90
+ }
91
+ }
92
+ id: 5
93
+ }
94
+ event_sources: {
95
+ log_event: {
96
+ filters: "jd:D"
97
+ pattern: "\\bmUrl is: https://www\\.wikihow\\.com/Write-a-Video-Game-Review"
98
+ }
99
+ id: 6
100
+ }
101
+ event_sources: {
102
+ view_hierarchy_event: {
103
+ properties: {
104
+ property_name: "text"
105
+ pattern: "How to Write a Video Game Review"
106
+ }
107
+ selector: ".\"android.view.View\"#\"section_0\" .$\"TextView\""
108
+ }
109
+ id: 7
110
+ }
111
+ event_sources: {
112
+ response_event: {
113
+ pattern: "To write a video game review, you’ll want to give readers an overview of the game’s different elements and provide your personal opinion on how good it is. You’ll need to play the game for at least 7 hours to get a real feel for it. Try to explore as many different parts of the game as you can, like its main story, side quests, multiplayer, and challenges. While you’re playing, take brief notes on the things you like and things that don’t work so well to help you write your review. You’ll want to cover topics like graphics, sound design, story, game mechanics, and how well it runs. You can also compare it to other games in its genre to show readers what’s unique about it. Give it a grade out of 10 or a star rating at the end."
114
+ mode: SBERT
115
+ }
116
+ id: 9
117
+ }
118
+ event_slots: {
119
+ score_listener: {
120
+ type: OR
121
+ events: {
122
+ event: {
123
+ }
124
+ }
125
+ events: {
126
+ event: {
127
+ }
128
+ }
129
+ events: {
130
+ event: {
131
+ events: {
132
+ id: 9
133
+ }
134
+ }
135
+ }
136
+ }
137
+ reward_listener: {
138
+ type: OR
139
+ events: {
140
+ event: {
141
+ type: OR
142
+ id: 4
143
+ events: {
144
+ id: 1
145
+ }
146
+ events: {
147
+ id: 2
148
+ }
149
+ events: {
150
+ id: 3
151
+ }
152
+ transformation: "y = 1"
153
+ repeatability: NONE
154
+ }
155
+ }
156
+ events: {
157
+ event: {
158
+ type: OR
159
+ id: 8
160
+ events: {
161
+ id: 5
162
+ }
163
+ events: {
164
+ id: 6
165
+ }
166
+ events: {
167
+ id: 7
168
+ }
169
+ transformation: "y = 1"
170
+ repeatability: NONE
171
+ }
172
+ }
173
+ events: {
174
+ event: {
175
+ }
176
+ }
177
+ }
178
+ episode_end_listener: {
179
+ events: {
180
+ id: 9
181
+ }
182
+ transformation: "y = x>=0.7"
183
+ }
184
+ extra_listener: {
185
+ type: OR
186
+ events: {
187
+ event: {
188
+ }
189
+ }
190
+ events: {
191
+ event: {
192
+ }
193
+ }
194
+ events: {
195
+ event: {
196
+ }
197
+ }
198
+ }
199
+ json_extra_listener: {
200
+ type: OR
201
+ events: {
202
+ event: {
203
+ }
204
+ }
205
+ events: {
206
+ event: {
207
+ }
208
+ }
209
+ events: {
210
+ event: {
211
+ }
212
+ }
213
+ }
214
+ instruction_listener: {
215
+ type: OR
216
+ events: {
217
+ event: {
218
+ }
219
+ }
220
+ events: {
221
+ event: {
222
+ events: {
223
+ id: 4
224
+ }
225
+ transformation: "y = [\'Access the article \"How to Write a Video Game Review\"\']"
226
+ }
227
+ }
228
+ events: {
229
+ event: {
230
+ }
231
+ }
232
+ events: {
233
+ event: {
234
+ events: {
235
+ id: 8
236
+ }
237
+ transformation: "y = [\'Read the article and answer the question concisely.\', \'My question is: How To Write a Video Game Review??\']"
238
+ }
239
+ }
240
+ events: {
241
+ event: {
242
+ }
243
+ }
244
+ }
245
+ }
246
+ command: "Search an article to learn how to write a video game review."
247
+ command: "Then, access the article \"How to Write a Video Game Review\""
248
+ command: "Then, read the article and answer the question concisely."
249
+ command: "My question is: How To Write a Video Game Review??"
250
+ vocabulary: "write"
251
+ vocabulary: "review"
252
+ vocabulary: "game"
253
+ vocabulary: "video"
254
+ vocabulary: "how to"
open-world-set/install_apk-aegis.textproto ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "install_apk_com.beemdevelopment.aegis"
2
+ name: "Install App Aegis Authenticator"
3
+ description: "Install app Aegis Authenticator from F-Droid"
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ }
8
+ }
9
+ }
10
+ reset_steps: {
11
+ adb_call: {
12
+ force_stop: {
13
+ package_name: "org.fdroid.fdroid"
14
+ }
15
+ }
16
+ }
17
+ reset_steps: {
18
+ adb_call: {
19
+ force_stop: {
20
+ package_name: "com.beemdevelopment.aegis"
21
+ }
22
+ }
23
+ }
24
+ reset_steps: {
25
+ adb_call: {
26
+ clear_cache: {
27
+ package_name: "com.beemdevelopment.aegis"
28
+ }
29
+ }
30
+ }
31
+ reset_steps: {
32
+ adb_call: {
33
+ uninstall_package: {
34
+ package_name: "com.beemdevelopment.aegis"
35
+ }
36
+ }
37
+ }
38
+ reset_steps: {
39
+ success_condition: {
40
+ num_retries: 3
41
+ wait_for_app_screen: {
42
+ app_screen: {
43
+ activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
44
+ }
45
+ timeout_sec: 10.0
46
+ }
47
+ }
48
+ adb_call: {
49
+ start_activity: {
50
+ full_activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
51
+ }
52
+ }
53
+ }
54
+ max_num_steps: 500
55
+ event_sources: {
56
+ log_event: {
57
+ filters: "installd:V"
58
+ pattern: " END .*com\\.beemdevelopment\\.aegis"
59
+ }
60
+ id: 1
61
+ }
62
+ event_slots: {
63
+ score_listener: {
64
+ type: OR
65
+ events: {
66
+ event: {
67
+ }
68
+ }
69
+ }
70
+ reward_listener: {
71
+ type: OR
72
+ events: {
73
+ event: {
74
+ events: {
75
+ id: 1
76
+ }
77
+ transformation: "y = 1."
78
+ }
79
+ }
80
+ }
81
+ episode_end_listener: {
82
+ events: {
83
+ id: 1
84
+ }
85
+ transformation: "y = True"
86
+ }
87
+ extra_listener: {
88
+ type: OR
89
+ events: {
90
+ event: {
91
+ }
92
+ }
93
+ }
94
+ json_extra_listener: {
95
+ type: OR
96
+ events: {
97
+ event: {
98
+ }
99
+ }
100
+ }
101
+ instruction_listener: {
102
+ type: OR
103
+ events: {
104
+ event: {
105
+ }
106
+ }
107
+ }
108
+ }
109
+ command: "Install open-source 2FA authenticator Aegis Authenticator from F-Droid for my phone."
110
+ vocabulary: "Aegis Authenticator"
111
+ vocabulary: "open-source"
112
+ vocabulary: "2FA"
113
+ vocabulary: "authenticator"
open-world-set/install_apk-kdeconnect.textproto ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "install_apk_org.kde.kdeconnect_tp"
2
+ name: "Install App KDE Connect"
3
+ description: "Install app KDE Connect from F-Droid"
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ }
8
+ }
9
+ }
10
+ reset_steps: {
11
+ adb_call: {
12
+ force_stop: {
13
+ package_name: "org.fdroid.fdroid"
14
+ }
15
+ }
16
+ }
17
+ reset_steps: {
18
+ adb_call: {
19
+ force_stop: {
20
+ package_name: "org.kde.kdeconnect_tp"
21
+ }
22
+ }
23
+ }
24
+ reset_steps: {
25
+ adb_call: {
26
+ clear_cache: {
27
+ package_name: "org.kde.kdeconnect_tp"
28
+ }
29
+ }
30
+ }
31
+ reset_steps: {
32
+ adb_call: {
33
+ uninstall_package: {
34
+ package_name: "org.kde.kdeconnect_tp"
35
+ }
36
+ }
37
+ }
38
+ reset_steps: {
39
+ success_condition: {
40
+ num_retries: 3
41
+ wait_for_app_screen: {
42
+ app_screen: {
43
+ activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
44
+ }
45
+ timeout_sec: 10.0
46
+ }
47
+ }
48
+ adb_call: {
49
+ start_activity: {
50
+ full_activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
51
+ }
52
+ }
53
+ }
54
+ max_num_steps: 500
55
+ event_sources: {
56
+ log_event: {
57
+ filters: "installd:V"
58
+ pattern: " END .*org\\.kde\\.kdeconnect_tp"
59
+ }
60
+ id: 1
61
+ }
62
+ event_slots: {
63
+ score_listener: {
64
+ type: OR
65
+ events: {
66
+ event: {
67
+ }
68
+ }
69
+ }
70
+ reward_listener: {
71
+ type: OR
72
+ events: {
73
+ event: {
74
+ events: {
75
+ id: 1
76
+ }
77
+ transformation: "y = 1."
78
+ }
79
+ }
80
+ }
81
+ episode_end_listener: {
82
+ events: {
83
+ id: 1
84
+ }
85
+ transformation: "y = True"
86
+ }
87
+ extra_listener: {
88
+ type: OR
89
+ events: {
90
+ event: {
91
+ }
92
+ }
93
+ }
94
+ json_extra_listener: {
95
+ type: OR
96
+ events: {
97
+ event: {
98
+ }
99
+ }
100
+ }
101
+ instruction_listener: {
102
+ type: OR
103
+ events: {
104
+ event: {
105
+ }
106
+ }
107
+ }
108
+ }
109
+ command: "Install tool to connect my mobile with desktop KDE Connect from F-Droid for my phone."
110
+ vocabulary: "mobile"
111
+ vocabulary: "my"
112
+ vocabulary: "KDE Connect"
113
+ vocabulary: "desktop"
114
+ vocabulary: "with"
115
+ vocabulary: "to"
116
+ vocabulary: "connect"
117
+ vocabulary: "tool"
open-world-set/install_apk-malp.textproto ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "install_apk_org.gateshipone.malp"
2
+ name: "Install App M.A.L.P."
3
+ description: "Install app M.A.L.P. from F-Droid"
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ }
8
+ }
9
+ }
10
+ reset_steps: {
11
+ adb_call: {
12
+ force_stop: {
13
+ package_name: "org.fdroid.fdroid"
14
+ }
15
+ }
16
+ }
17
+ reset_steps: {
18
+ adb_call: {
19
+ force_stop: {
20
+ package_name: "org.gateshipone.malp"
21
+ }
22
+ }
23
+ }
24
+ reset_steps: {
25
+ adb_call: {
26
+ clear_cache: {
27
+ package_name: "org.gateshipone.malp"
28
+ }
29
+ }
30
+ }
31
+ reset_steps: {
32
+ adb_call: {
33
+ uninstall_package: {
34
+ package_name: "org.gateshipone.malp"
35
+ }
36
+ }
37
+ }
38
+ reset_steps: {
39
+ success_condition: {
40
+ num_retries: 3
41
+ wait_for_app_screen: {
42
+ app_screen: {
43
+ activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
44
+ }
45
+ timeout_sec: 10.0
46
+ }
47
+ }
48
+ adb_call: {
49
+ start_activity: {
50
+ full_activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
51
+ }
52
+ }
53
+ }
54
+ max_num_steps: 500
55
+ event_sources: {
56
+ log_event: {
57
+ filters: "installd:V"
58
+ pattern: " END .*org\\.gateshipone\\.malp"
59
+ }
60
+ id: 1
61
+ }
62
+ event_slots: {
63
+ score_listener: {
64
+ type: OR
65
+ events: {
66
+ event: {
67
+ }
68
+ }
69
+ }
70
+ reward_listener: {
71
+ type: OR
72
+ events: {
73
+ event: {
74
+ events: {
75
+ id: 1
76
+ }
77
+ transformation: "y = 1."
78
+ }
79
+ }
80
+ }
81
+ episode_end_listener: {
82
+ events: {
83
+ id: 1
84
+ }
85
+ transformation: "y = True"
86
+ }
87
+ extra_listener: {
88
+ type: OR
89
+ events: {
90
+ event: {
91
+ }
92
+ }
93
+ }
94
+ json_extra_listener: {
95
+ type: OR
96
+ events: {
97
+ event: {
98
+ }
99
+ }
100
+ }
101
+ instruction_listener: {
102
+ type: OR
103
+ events: {
104
+ event: {
105
+ }
106
+ }
107
+ }
108
+ }
109
+ command: "Install MPD client on Android M.A.L.P. from F-Droid for my phone."
110
+ vocabulary: "Android"
111
+ vocabulary: "M.A.L.P."
112
+ vocabulary: "MPD"
113
+ vocabulary: "on"
114
+ vocabulary: "client"
open-world-set/install_apk-openmoneybox.textproto ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "install_apk_com.igisw.openmoneybox"
2
+ name: "Install App OpenMoneyBox"
3
+ description: "Install app OpenMoneyBox from F-Droid"
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ }
8
+ }
9
+ }
10
+ reset_steps: {
11
+ adb_call: {
12
+ force_stop: {
13
+ package_name: "org.fdroid.fdroid"
14
+ }
15
+ }
16
+ }
17
+ reset_steps: {
18
+ adb_call: {
19
+ force_stop: {
20
+ package_name: "com.igisw.openmoneybox"
21
+ }
22
+ }
23
+ }
24
+ reset_steps: {
25
+ adb_call: {
26
+ clear_cache: {
27
+ package_name: "com.igisw.openmoneybox"
28
+ }
29
+ }
30
+ }
31
+ reset_steps: {
32
+ adb_call: {
33
+ uninstall_package: {
34
+ package_name: "com.igisw.openmoneybox"
35
+ }
36
+ }
37
+ }
38
+ reset_steps: {
39
+ success_condition: {
40
+ num_retries: 3
41
+ wait_for_app_screen: {
42
+ app_screen: {
43
+ activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
44
+ }
45
+ timeout_sec: 10.0
46
+ }
47
+ }
48
+ adb_call: {
49
+ start_activity: {
50
+ full_activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
51
+ }
52
+ }
53
+ }
54
+ max_num_steps: 500
55
+ event_sources: {
56
+ log_event: {
57
+ filters: "installd:V"
58
+ pattern: " END .*com\\.igisw\\.openmoneybox"
59
+ }
60
+ id: 1
61
+ }
62
+ event_slots: {
63
+ score_listener: {
64
+ type: OR
65
+ events: {
66
+ event: {
67
+ }
68
+ }
69
+ }
70
+ reward_listener: {
71
+ type: OR
72
+ events: {
73
+ event: {
74
+ events: {
75
+ id: 1
76
+ }
77
+ transformation: "y = 1."
78
+ }
79
+ }
80
+ }
81
+ episode_end_listener: {
82
+ events: {
83
+ id: 1
84
+ }
85
+ transformation: "y = True"
86
+ }
87
+ extra_listener: {
88
+ type: OR
89
+ events: {
90
+ event: {
91
+ }
92
+ }
93
+ }
94
+ json_extra_listener: {
95
+ type: OR
96
+ events: {
97
+ event: {
98
+ }
99
+ }
100
+ }
101
+ instruction_listener: {
102
+ type: OR
103
+ events: {
104
+ event: {
105
+ }
106
+ }
107
+ }
108
+ }
109
+ command: "Install open-source bill management tool OpenMoneyBox from F-Droid for my phone."
110
+ vocabulary: "OpenMoneyBox"
111
+ vocabulary: "bill"
112
+ vocabulary: "open-source"
113
+ vocabulary: "tool"
114
+ vocabulary: "management"
open-world-set/install_apk-vlc.textproto ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id: "install_apk_org.videolan.vlc"
2
+ name: "Install App VLC"
3
+ description: "Install app VLC from F-Droid"
4
+ setup_steps: {
5
+ adb_call: {
6
+ rotate: {
7
+ }
8
+ }
9
+ }
10
+ reset_steps: {
11
+ adb_call: {
12
+ force_stop: {
13
+ package_name: "org.fdroid.fdroid"
14
+ }
15
+ }
16
+ }
17
+ reset_steps: {
18
+ adb_call: {
19
+ force_stop: {
20
+ package_name: "org.videolan.vlc"
21
+ }
22
+ }
23
+ }
24
+ reset_steps: {
25
+ adb_call: {
26
+ clear_cache: {
27
+ package_name: "org.videolan.vlc"
28
+ }
29
+ }
30
+ }
31
+ reset_steps: {
32
+ adb_call: {
33
+ uninstall_package: {
34
+ package_name: "org.videolan.vlc"
35
+ }
36
+ }
37
+ }
38
+ reset_steps: {
39
+ success_condition: {
40
+ num_retries: 3
41
+ wait_for_app_screen: {
42
+ app_screen: {
43
+ activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
44
+ }
45
+ timeout_sec: 10.0
46
+ }
47
+ }
48
+ adb_call: {
49
+ start_activity: {
50
+ full_activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity"
51
+ }
52
+ }
53
+ }
54
+ max_num_steps: 500
55
+ event_sources: {
56
+ log_event: {
57
+ filters: "installd:V"
58
+ pattern: " END .*org\\.videolan\\.vlc"
59
+ }
60
+ id: 1
61
+ }
62
+ event_slots: {
63
+ score_listener: {
64
+ type: OR
65
+ events: {
66
+ event: {
67
+ }
68
+ }
69
+ }
70
+ reward_listener: {
71
+ type: OR
72
+ events: {
73
+ event: {
74
+ events: {
75
+ id: 1
76
+ }
77
+ transformation: "y = 1."
78
+ }
79
+ }
80
+ }
81
+ episode_end_listener: {
82
+ events: {
83
+ id: 1
84
+ }
85
+ transformation: "y = True"
86
+ }
87
+ extra_listener: {
88
+ type: OR
89
+ events: {
90
+ event: {
91
+ }
92
+ }
93
+ }
94
+ json_extra_listener: {
95
+ type: OR
96
+ events: {
97
+ event: {
98
+ }
99
+ }
100
+ }
101
+ instruction_listener: {
102
+ type: OR
103
+ events: {
104
+ event: {
105
+ }
106
+ }
107
+ }
108
+ }
109
+ command: "Install famous \"just works\" video and music player VLC from F-Droid for my phone."
110
+ vocabulary: "\"just"
111
+ vocabulary: "VLC"
112
+ vocabulary: "famous"
113
+ vocabulary: "and"
114
+ vocabulary: "works\""
115
+ vocabulary: "player"
116
+ vocabulary: "music"
117
+ vocabulary: "video"