Android Bench Validator commited on
Commit
63a026d
Β·
1 Parent(s): 64a6187

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +198 -0
README.md ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - en
7
+ tags:
8
+ - code
9
+ - android
10
+ - mobile
11
+ - benchmark
12
+ - swe-bench
13
+ - kotlin
14
+ - dart
15
+ - flutter
16
+ - react-native
17
+ - issue-resolution
18
+ pretty_name: MobileDev-Bench
19
+ size_categories:
20
+ - n<1K
21
+ # configs:
22
+ # - config_name: default
23
+ # data_files:
24
+ # - split: test
25
+ # path: data/test.jsonl
26
+ # - config_name: supplementary
27
+ # data_files:
28
+ # - split: train
29
+ # path: data/supplementary.jsonl
30
+ ---
31
+
32
+ # MobileDev-Bench
33
+
34
+ **MobileDev-Bench** is a benchmark of **415 verified real-world issue-resolution tasks** collected from 19 production mobile app repositories spanning Android Native (Java/Kotlin), React Native (TypeScript), and Flutter (Dart). It evaluates the ability of large language models to resolve authentic developer-reported issues in mobile applications through execution-based validation.
35
+
36
+ > **Paper:** [MobileDev-Bench: A Comprehensive Benchmark for Issue Resolution in Mobile Applications](https://arxiv.org/abs/2603.24946)
37
+
38
+ >**GitHub:** [mobiledev-bench](https://github.com/MobileDev-Bench) *(evaluation harness, scripts, Docker environments)*
39
+
40
+ ---
41
+
42
+ ## πŸ“Š Key Facts
43
+
44
+ | | |
45
+ |---|---|
46
+ | **Tasks** | 415 verified instances |
47
+ | **Repositories** | 19 production mobile apps |
48
+ | **Frameworks** | Android Native Β· React Native Β· Flutter |
49
+ | **Languages** | Kotlin Β· Java Β· TypeScript Β· Dart |
50
+ | **Difficulty tiers** | Easy (139) Β· Medium (140) Β· Hard (136) |
51
+ | **Avg. files changed** | 13.5 |
52
+ | **Avg. lines changed** | 344.2 |
53
+ | **Multi-artifact fixes** | 42.2% of instances |
54
+ | **Human verified** | βœ… All instances manually verified |
55
+
56
+ <!-- ---
57
+
58
+ ## Leaderboard
59
+
60
+ Resolution rate = resolved / evaluated instances (higher is better). Both **Agentless** and **Oracle** settings are reported; the Oracle setting provides ground-truth file context to the model.
61
+
62
+ | Model | Agentless (%) | Oracle (%) |
63
+ |---|---|---|
64
+ | Claude Sonnet 4.5 | **4.15** | **6.07** |
65
+ | Qwen3 Coder | 4.28 | 2.52 |
66
+ | GPT 5.2 | 3.90 | 5.19 |
67
+ | Gemini 2.5 Flash | 4.16 | 1.94 |
68
+
69
+ Resolution rates drop sharply for multi-file tasks. Single-file instances resolve at ~13–16% (Agentless); rates approach 0% for tasks touching 6+ files. -->
70
+
71
+ ---
72
+
73
+ ## πŸ“– Dataset Description
74
+
75
+ ### Motivation
76
+
77
+ Existing issue-resolution benchmarks (SWE-bench and its extensions) target general-purpose Python/JavaScript libraries. Mobile app development imposes distinct engineering constraints: platform-defined lifecycles, framework-specific build systems (Gradle, pub, npm), and correctness that depends on coordinated changes across heterogeneous artifacts β€” source files, manifests, resource definitions, and configuration metadata. MobileDev-Bench is the first benchmark to evaluate LLMs on these challenges at scale.
78
+
79
+ ### Construction
80
+
81
+ Each instance was derived from a merged GitHub pull request that resolves at least one linked issue. The pipeline:
82
+ 1. **Crawl** β€” Pull requests and linked issues collected from 19 repositories (β‰₯400 GitHub stars each).
83
+ 2. **Filter** β€” Instances with no linked issue, no test changes, or non-compilable base commits are excluded.
84
+ 3. **Verify** β€” Test execution under three configurations (base commit, test patch only, full fix) confirms that the fix produces a genuine Fail-to-Pass or None-to-Pass transition.
85
+ 4. **Annotate** β€” Human annotators assign difficulty tiers (Easy / Medium / Hard) and label artifact types involved in each fix.
86
+
87
+ ### Splits
88
+
89
+ | Split | Instances | Description |
90
+ |---|---|---|
91
+ | `train` | 415 | Verified benchmark instances with full evaluation metadata (`fix_patch`, `test_patch`, `test_command`, test results) |
92
+ <!-- | `supplementary` | 384 | Additional collected instances that do not meet all verification criteria; evaluation fields are omitted | -->
93
+
94
+ ---
95
+
96
+ ## πŸ—‚οΈ Field Descriptions
97
+
98
+
99
+ | Field | Type | Description |
100
+ |---|---|---|
101
+ | `instance_id` | string | Unique identifier: `{org}__{repo}-{number}` |
102
+ | `org` | string | GitHub organisation (e.g. `thunderbird`) |
103
+ | `repo` | string | GitHub repository name (e.g. `thunderbird-android`) |
104
+ | `number` | int | Pull request number |
105
+ | `state` | string | PR state at collection time (`closed`) |
106
+ | `title` | string | Pull request title |
107
+ | `body` | string | Pull request description |
108
+ | `base` | string | JSON object with base branch label, ref, and SHA |
109
+ | `resolved_issues` | string | JSON array of linked issue objects (`number`, `title`) |
110
+ | `lang` | string | Primary language: `kotlin`, `java`, `dart`, or `typescript` |
111
+ | `problem_statement` | string | Concatenated issue text β€” the task description shown to the model |
112
+ | `hints` | string | Concatenated issue comments providing additional context |
113
+ | `pull_url` | string | Full GitHub URL of the pull request |
114
+ | `issue_urls` | string | JSON array of linked issue URLs |
115
+ | `fix_patch` | string | Gold unified diff of the fix (applied to base commit) |
116
+ | `test_patch` | string | Unified diff adding or modifying tests that validate the fix |
117
+ | `test_command` | string | Shell command to execute the relevant test suite |
118
+ | `fixed_tests` | string | JSON list of test names that transition from Fail/None to Pass |
119
+ | `f2p_tests` | string | JSON list of Fail-to-Pass test names |
120
+ | `p2p_tests` | string | JSON list of Pass-to-Pass test names |
121
+ | `s2p_tests` | string | JSON list of Skip-to-Pass test names |
122
+ | `n2p_tests` | string | JSON list of None-to-Pass test names |
123
+ | `run_result` | string | Outcome of test execution on the base commit |
124
+ | `test_patch_result` | string | Outcome with test patch only (no fix) |
125
+ | `fix_patch_result` | string | Outcome with both test patch and fix applied |
126
+
127
+ <!-- ### `supplementary` split
128
+
129
+ Same fields as `test` except that `fix_patch`, `test_patch`, `test_command`, `run_result`, `test_patch_result`, `fix_patch_result`, and all `*_tests` fields are **omitted** (these instances were not fully verified through test execution). -->
130
+
131
+ ---
132
+
133
+ ## 🏠 Source Repositories
134
+
135
+ | Repository | Language | Link |
136
+ |---|---|---|
137
+ | zulip/zulip-flutter | Dart | [GitHub](https://github.com/zulip/zulip-flutter) |
138
+ | PalisadoesFoundation/talawa | Dart | [GitHub](https://github.com/PalisadoesFoundation/talawa) |
139
+ | AntennaPod/AntennaPod | Java | [GitHub](https://github.com/AntennaPod/AntennaPod) |
140
+ | Futsch1/medTimer | Java | [GitHub](https://github.com/Futsch1/medTimer) |
141
+ | thunderbird/thunderbird-android | Kotlin | [GitHub](https://github.com/thunderbird/thunderbird-android) |
142
+ | wordpress-mobile/wordpress-android | Kotlin | [GitHub](https://github.com/wordpress-mobile/WordPress-Android) |
143
+ | element-hq/element-x-android | Kotlin | [GitHub](https://github.com/element-hq/element-x-android) |
144
+ | streetcomplete/StreetComplete | Kotlin | [GitHub](https://github.com/streetcomplete/StreetComplete) |
145
+ | tuskyapp/Tusky | Kotlin | [GitHub](https://github.com/tuskyapp/Tusky) |
146
+ | commons-app/apps-android-commons | Kotlin | [GitHub](https://github.com/commons-app/apps-android-commons) |
147
+ | openhab/openhab-android | Kotlin | [GitHub](https://github.com/openhab/openhab-android) |
148
+ | LemmyNet/jerboa | Kotlin | [GitHub](https://github.com/LemmyNet/jerboa) |
149
+ | PaulWoitaschek/Voice | Kotlin | [GitHub](https://github.com/PaulWoitaschek/Voice) |
150
+ | mjaakko/NeoStumbler | Kotlin | [GitHub](https://github.com/mjaakko/NeoStumbler) |
151
+ | JackEblan/Geto | Kotlin | [GitHub](https://github.com/JackEblan/Geto) |
152
+ | NMF-earth/nmf-app | TypeScript | [GitHub](https://github.com/NMF-earth/nmf-app) |
153
+ | Expensify/App | TypeScript | [GitHub](https://github.com/Expensify/App) |
154
+ | RocketChat/Rocket.Chat.ReactNative | TypeScript | [GitHub](https://github.com/RocketChat/Rocket.Chat.ReactNative) |
155
+ | artsy/eigen | TypeScript | [GitHub](https://github.com/artsy/eigen) |
156
+
157
+ ---
158
+
159
+ ## πŸš€ Usage
160
+
161
+ ```python
162
+ from datasets import load_dataset
163
+
164
+ # Main benchmark (415 verified instances)
165
+ ds = load_dataset("mobiledev-bench/mobiledev-bench", split="train")
166
+ print(ds)
167
+ # Dataset({features: [...], num_rows: 415})
168
+
169
+ ```
170
+
171
+ <!-- ### Running Evaluation
172
+
173
+ Use the [evaluation harness](https://github.com/mobiledev-bench/mobiledev-bench) with Docker environments:
174
+
175
+ ```bash
176
+ python mobilebench/harness/run_android_bench.py \
177
+ data/tasks/dataset.jsonl \
178
+ data/inference/predictions.jsonl \
179
+ --run-id my_evaluation
180
+ ```
181
+
182
+ Evaluation requires Docker and the `mingc/android-build-box` image family. See the repository README for full setup instructions.
183
+
184
+ --- -->
185
+
186
+ ## πŸ“„ Citation
187
+
188
+ ```bibtex
189
+ @misc{fakorede2026mobiledevbench,
190
+ title={MobileDev-Bench: A Comprehensive Benchmark for Issue Resolution in Mobile Applications},
191
+ author={Moshood A. Fakorede and Krishna Upadhyay and A. B. Siddique and Umar Farooq},
192
+ year={2026},
193
+ eprint={2603.24946},
194
+ archivePrefix={arXiv},
195
+ primaryClass={cs.SE},
196
+ url={https://arxiv.org/abs/2603.24946},
197
+ }
198
+ ```