|
--- |
|
license: apache-2.0 |
|
--- |
|
|
|
# WikiHow Task Set |
|
|
|
The WikiHow task set is an InfoUI interaction task set based on |
|
[Mobile-Env](https://github.com/X-LANCE/Mobile-Env) <!-- TODO: proposed in the |
|
paper, the paper link -->. [WikiHow](https://www.wikihow.com/Main-Page) is a |
|
collaborative wiki site about various real-life tips with more than 340,000 |
|
online articles. To construct the task set, 107,448 pages are crawled and the |
|
dumped website data occupy about 88 GiB totally. |
|
|
|
Several task definition templates are designed according to the functions of |
|
the WikiHow app and 5,522 task definitions are instantiated through the |
|
template toolkit in Mobile-Env. This task set is named as the *extended set* |
|
(`wikihow-extended.tar.xz`). There may be several faults make the system or the |
|
task fail in the auto-generated tasks. Therefore, 178 tasks are sampled from |
|
the extended set and have been verified by human beings to ensure the |
|
correctness and the stability, which is named as the *canonical set* |
|
(`wikihow-canonical.tar.xz`). Owing to the limit of the budgets, only 70 tasks |
|
are tested using the proposed LLM-based agent in the corresponding pager. |
|
Thesed 70 tasks are given in `wikihow-microcanon.tar.xz`. We call it the |
|
*canonical subset* or the *micro canonical set*. |
|
|
|
### Website Data Replay |
|
|
|
The replay script for [mitmproxy](https://mitmproxy.org/) is given as |
|
`replay_url.py`. To use this replay script, the information retrieval tool |
|
[Pyserini](https://github.com/castorini/pyserini/) is in need. Four parameters |
|
are expected to be assigned in the script: |
|
|
|
+ The crawled data from WikiHow website (`dumps` in `wikihow.data.tar.xz`) |
|
+ The html templates used for mocking the search result page (`templates` in |
|
`wikihow.data.tar.xz`) |
|
+ The indices for the search engine based on Pyserini (`indices-t/indices` in |
|
`wikihow.data.tar.xz`) |
|
+ The meta data of the crawled articles (`indices-t/docs/doc_meta.csv` in |
|
`wikihow.data.tar.xz`) |
|
|
|
All the data in need are offered in `wikihow.data.tar.xz`. (The archive is |
|
about 78 GiB. And the decompressed data are about 88 GiB.) The archive is split |
|
into two pieces (`wikihow.data.tar.xz.00` and `wikihow.data.tar.xz.01`). You |
|
can use `cat` to concatenate them: |
|
|
|
```sh |
|
cat wikihow.data.tar.xz.00 wikihow.data.tar.xz.01 >wikihow.data.tar.xz |
|
``` |
|
|
|
The SHA256 chechsums are provided in `wikihow.data.tar.xz.sha256` to check the |
|
integrity. |
|
|
|
To run the script: |
|
|
|
```sh |
|
mitmproxy --showhost -s replay_url.py |
|
``` |
|
|
|
### Certificate Unpinning Plan |
|
|
|
The `syscert` plan proposed by Mobile-Env just works for WikiHow app. You can |
|
complete the config according to the [guiding of |
|
Mobile-Env](https://github.com/X-LANCE/Mobile-Env/blob/master/docs/dynamic-app-en.md). |
|
The available apk package from [APKCombo](https://apkcombo.com/) is provided. |
|
And note to used the AVD image of version Android 11.0 (API Level 30) (Google |
|
APIs) to obtain the best compatibility and the root-enabled ADBD. |
|
|