File size: 7,370 Bytes
63a026d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ce750f6
 
 
 
 
63a026d
 
 
 
2dd1212
63a026d
ac51bea
63a026d
 
 
 
 
 
 
2dd1212
63a026d
 
 
bcd1edf
 
 
 
63a026d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2dd1212
63a026d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ce750f6
 
 
 
63a026d
ce750f6
472eb08
ce750f6
63a026d
 
 
2dd1212
63a026d
bcd1edf
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
---
license: cc-by-4.0
task_categories:
  - text-generation
language:
  - en
tags:
  - code
  - android
  - mobile
  - benchmark
  - swe-bench
  - kotlin
  - dart
  - flutter
  - react-native
  - issue-resolution
pretty_name: MobileDev-Bench
size_categories:
  - n<1K
configs:
  - config_name: default
    data_files:
      - split: test
        path: data/test.jsonl
---

# MobileDev-Bench

**MobileDev-Bench** is a benchmark of **407 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.

>**GitHub:** [mobiledev-bench](https://github.com/MobileDev-Bench/mobiledev-bench) *(evaluation harness, scripts, docker images)*

---

## πŸ“Š Key Facts

| | |
|---|---|
| **Tasks** | 407 verified instances |
| **Repositories** | 19 production mobile apps |
| **Frameworks** | Android Native Β· React Native Β· Flutter |
| **Languages** | Kotlin Β· Java Β· TypeScript Β· Dart |
| **Difficulty tiers** | Easy (138) Β· Medium (139) Β· Hard (130) |
| **Avg. files changed** | 12.9 |
| **Avg. lines changed** | 334.6 |
| **Multi-artifact fixes** | 41% of instances |
| **Human verified** | βœ… All instances manually verified |

<!-- ---

## Leaderboard

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.

| Model | Agentless (%) | Oracle (%) |
|---|---|---|
| Claude Sonnet 4.5 | **4.15** | **6.07** |
| Qwen3 Coder | 4.28 | 2.52 |
| GPT 5.2 | 3.90 | 5.19 |
| Gemini 2.5 Flash | 4.16 | 1.94 |

Resolution rates drop sharply for multi-file tasks. Single-file instances resolve at ~13–16% (Agentless); rates approach 0% for tasks touching 6+ files. -->

---

## πŸ“– Dataset Description

### Motivation

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.

### Construction

Each instance was derived from a merged GitHub pull request that resolves at least one linked issue. The pipeline:
1. **Crawl** β€” Pull requests and linked issues collected from 19 repositories (β‰₯400 GitHub stars each).
2. **Filter** β€” Instances with no linked issue, no test changes, or non-compilable base commits are excluded.
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.
4. **Annotate** β€” Human annotators assign difficulty tiers (Easy / Medium / Hard) and label artifact types involved in each fix.

### Splits

| Split | Instances | Description |
|---|---|---|
| `test` | 407 | Verified benchmark instances with full evaluation metadata (`fix_patch`, `test_patch`, `test_command`, test results) |

---

## πŸ—‚οΈ Field Descriptions

| Field | Type | Description |
|---|---|---|
| `instance_id` | string | Unique identifier: `{org}__{repo}-{number}` |
| `org` | string | GitHub organisation (e.g. `thunderbird`) |
| `repo` | string | GitHub repository name (e.g. `thunderbird-android`) |
| `number` | int | Pull request number |
| `state` | string | PR state at collection time (`closed`) |
| `title` | string | Pull request title |
| `body` | string | Pull request description |
| `base` | string | JSON object with base branch label, ref, and SHA |
| `resolved_issues` | string | JSON array of linked issue objects (`number`, `title`) |
| `lang` | string | Primary language: `kotlin`, `java`, `dart`, or `typescript` |
| `problem_statement` | string | Concatenated issue text β€” the task description shown to the model |
| `hints` | string | Concatenated issue comments providing additional context |
| `pull_url` | string | Full GitHub URL of the pull request |
| `issue_urls` | string | JSON array of linked issue URLs |
| `fix_patch` | string | Gold unified diff of the fix (applied to base commit) |
| `test_patch` | string | Unified diff adding or modifying tests that validate the fix |
| `test_command` | string | Shell command to execute the relevant test suite |
| `fixed_tests` | string | JSON list of test names that transition from Fail/None to Pass |
| `f2p_tests` | string | JSON list of Fail-to-Pass test names |
| `p2p_tests` | string | JSON list of Pass-to-Pass test names |
| `s2p_tests` | string | JSON list of Skip-to-Pass test names |
| `n2p_tests` | string | JSON list of None-to-Pass test names |
| `run_result` | string | Outcome of test execution on the base commit |
| `test_patch_result` | string | Outcome with test patch only (no fix) |
| `fix_patch_result` | string | Outcome with both test patch and fix applied |

---

## 🏠 Source Repositories

| Repository | Language | Link |
|---|---|---|
| zulip/zulip-flutter | Dart | [GitHub](https://github.com/zulip/zulip-flutter) |
| PalisadoesFoundation/talawa | Dart | [GitHub](https://github.com/PalisadoesFoundation/talawa) |
| AntennaPod/AntennaPod | Java | [GitHub](https://github.com/AntennaPod/AntennaPod) |
| Futsch1/medTimer | Java | [GitHub](https://github.com/Futsch1/medTimer) |
| thunderbird/thunderbird-android | Kotlin | [GitHub](https://github.com/thunderbird/thunderbird-android) |
| wordpress-mobile/wordpress-android | Kotlin | [GitHub](https://github.com/wordpress-mobile/WordPress-Android) |
| element-hq/element-x-android | Kotlin | [GitHub](https://github.com/element-hq/element-x-android) |
| streetcomplete/StreetComplete | Kotlin | [GitHub](https://github.com/streetcomplete/StreetComplete) |
| tuskyapp/Tusky | Kotlin | [GitHub](https://github.com/tuskyapp/Tusky) |
| commons-app/apps-android-commons | Kotlin | [GitHub](https://github.com/commons-app/apps-android-commons) |
| openhab/openhab-android | Kotlin | [GitHub](https://github.com/openhab/openhab-android) |
| LemmyNet/jerboa | Kotlin | [GitHub](https://github.com/LemmyNet/jerboa) |
| PaulWoitaschek/Voice | Kotlin | [GitHub](https://github.com/PaulWoitaschek/Voice) |
| mjaakko/NeoStumbler | Kotlin | [GitHub](https://github.com/mjaakko/NeoStumbler) |
| JackEblan/Geto | Kotlin | [GitHub](https://github.com/JackEblan/Geto) |
| NMF-earth/nmf-app | TypeScript | [GitHub](https://github.com/NMF-earth/nmf-app) |
| Expensify/App | TypeScript | [GitHub](https://github.com/Expensify/App) |
| RocketChat/Rocket.Chat.ReactNative | TypeScript | [GitHub](https://github.com/RocketChat/Rocket.Chat.ReactNative) |
| artsy/eigen | TypeScript | [GitHub](https://github.com/artsy/eigen) |

---

## πŸš€ Usage

```python
from datasets import load_dataset

ds = load_dataset("MobileDev-Bench/mobiledev-bench", split="test")
```

Or clone the repository directly:

```bash
git lfs install
git clone https://huggingface.co/datasets/MobileDev-Bench/mobiledev-bench
```


## πŸ“„ Citation

**_to be updated_**