Run this model with HF Jobs

Run koreanhole/android-testing-superpower on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/koreanhole/android-testing-superpower. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/koreanhole/android-testing-superpower on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/koreanhole/android-testing-superpower. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/koreanhole/android-testing-superpower. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
koreanhole's picture
feat(model): upload MLX LoRA adapters (v10..v13b), zero-leakage datasets, and AndroidControl benchmarks
f46b2e5 verified
Raw History Blame Contribute Delete
119 kB
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Open the unit converter, choose Mass, and enter 10.\n\nStep: 3/10\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'unit_background' (index=8)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Mass\" pos=(224,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Pound\" pos=(183,373)\n [4] TextView id=top_unit_text text=\"0\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"lb\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Kilogram\" pos=(209,947)\n [9] TextView id=bottom_unit_text text=\"0\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"kg\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 17, \"reasoning\": \"Tap the 1 key to begin entering 10 in the mass converter.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 11, \"reasoning\": \"Tap the '1' button (id=btn_1, index=11) to enter the first digit of 10 in the unit converter.\"}", "task_id": "HTR-MATH-01", "task_type": "online_rollout"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Open the unit converter, choose Mass, and enter 10.\n\nStep: 4/10\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'unit_background' (index=8)\n- tap '7' (index=11)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Mass\" pos=(224,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Pound\" pos=(183,373)\n [4] TextView id=top_unit_text text=\"7\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"lb\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Kilogram\" pos=(209,947)\n [9] TextView id=bottom_unit_text text=\"3.17514659\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"kg\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 22, \"reasoning\": \"Clear the current value so 10 can be entered.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 11, \"reasoning\": \"Tap the '7' button to enter the first digit of the mass value.\"}", "task_id": "HTR-MATH-01", "task_type": "online_rollout"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Open the unit converter, choose Mass, and enter 10.\n\nStep: 5/10\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'unit_background' (index=8)\n- tap '7' (index=11)\n- tap '7' (index=11)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Mass\" pos=(224,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Pound\" pos=(183,373)\n [4] TextView id=top_unit_text text=\"77\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"lb\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Kilogram\" pos=(209,947)\n [9] TextView id=bottom_unit_text text=\"34.92661249\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"kg\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 22, \"reasoning\": \"Clear the current value before entering 10.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 11, \"reasoning\": \"Tap the '7' button to enter the first digit of the mass value.\"}", "task_id": "HTR-MATH-01", "task_type": "online_rollout"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Open the unit converter, choose Mass, and enter 10.\n\nStep: 3/10\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'unit_background' (index=8)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Mass\" pos=(224,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Pound\" pos=(183,373)\n [4] TextView id=top_unit_text text=\"0\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"lb\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Kilogram\" pos=(209,947)\n [9] TextView id=bottom_unit_text text=\"0\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"kg\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 17, \"reasoning\": \"Tap the 1 key to begin entering 10 in the mass converter.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 11, \"reasoning\": \"Tap '1' (id=btn_1, index=11) on the unit converter keypad to enter the first digit of 10.\"}", "task_id": "HTR-MATH-01", "task_type": "onpolicy_e2e_goal"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Create a checklist note named 'Travel Gear'.\n\nStep: 2/10\nCompleted actions:\n- tap 'Create a new note' (index=1)\n\nCurrent screen:\nPackage: org.fossify.notes.debug\nActivity: org.fossify.notes.activities.MainActivity\nInteractive Elements (7 items):\n [0] TextView id=alertTitle text=\"Add a new note\" pos=(371,495)\n [1] EditText id=locked_note_title text=\"Label\" (click,edit) pos=(540,657)\n [2] TextView id=new_note_type_label text=\"New note type:\" pos=(540,809)\n [3] RadioButton id=type_text_note text=\"Text note\" (click,edit,checked=True) pos=(540,903)\n [4] RadioButton id=type_checklist text=\"Checklist\" (click,edit,checked=False) pos=(540,1019)\n [5] Button id=button2 text=\"Cancel\" (click,edit) pos=(647,1177)\n [6] Button id=button1 text=\"OK\" (click,edit) pos=(842,1177)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 4, \"reasoning\": \"Select the Checklist note type before entering the title.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 1, \"reasoning\": \"Enter the note title 'Travel Gear' in the title field.\"}", "task_id": "AUG-NOTES-104", "task_type": "onpolicy_e2e_goal"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Open the unit converter, choose Mass, and enter 10.\n\nStep: 4/10\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'unit_background' (index=8)\n- tap '1' (index=17)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Mass\" pos=(224,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Pound\" pos=(183,373)\n [4] TextView id=top_unit_text text=\"1\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"lb\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Kilogram\" pos=(209,947)\n [9] TextView id=bottom_unit_text text=\"0.45359237\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"kg\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 20, \"reasoning\": \"Mass is already selected and the current value is 1, so tapping 0 appends a zero to make it 10.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 17, \"reasoning\": \"Tap '1' to enter the first digit of 10.\"}", "task_id": "HTR-MATH-01", "task_type": "onpolicy_e2e_goal"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Find Accessibility settings and open its menu.\n\nStep: 1/8\nCompleted actions:\n- none\n\nCurrent screen:\nPackage: com.android.settings\nActivity: com.android.settings.Settings\nInteractive Elements (32 items):\n [0] LinearLayout id=search_action_bar (click,edit) pos=(540,257)\n [1] TextView id=search_bar_title text=\"Search Settings\" pos=(383,257)\n [2] ScrollView id=main_content_scrollable_container (scroll) pos=(540,1367)\n [3] LinearLayout (click,edit) pos=(540,485)\n [4] TextView id=title text=\"Google\" pos=(287,459)\n [5] TextView id=summary text=\"Services & preferences\" pos=(410,513)\n [6] LinearLayout (click,edit) pos=(540,719)\n [7] TextView id=title text=\"Network & internet\" pos=(393,693)\n [8] TextView id=summary text=\"Mobile, Wi‑Fi, hotspot\" pos=(396,747)\n [9] LinearLayout (click,edit) pos=(540,916)\n [10] TextView id=title text=\"Connected devices\" pos=(397,890)\n [11] TextView id=summary text=\"Bluetooth, pairing\" pos=(364,944)\n [12] LinearLayout (click,edit) pos=(540,1150)\n [13] TextView id=title text=\"Apps\" pos=(269,1124)\n [14] TextView id=summary text=\"Assistant, recent apps, default apps\" pos=(513,1178)\n [15] LinearLayout (click,edit) pos=(540,1347)\n [16] TextView id=title text=\"Notifications\" pos=(340,1321)\n [17] TextView id=summary text=\"Notification history, conversations\" pos=(499,1375)\n [18] LinearLayout (click,edit) pos=(540,1544)\n [19] TextView id=title text=\"Sound & vibration\" pos=(384,1518)\n [20] TextView id=summary text=\"Volume and haptics\" pos=(383,1572)\n [21] LinearLayout (click,edit) pos=(540,1741)\n [22] TextView id=title text=\"Modes\" pos=(285,1715)\n [23] TextView id=summary text=\"Do Not Disturb, Bedtime\" pos=(417,1769)\n [24] LinearLayout (click,edit) pos=(540,1938)\n [25] TextView id=title text=\"Display & touch\" pos=(365,1912)\n [26] TextView id=summary text=\"Dark theme, font size, touch\" pos=(448,1966)\n [27] LinearLayout (click,edit) pos=(540,2135)\n [28] TextView id=title text=\"Wallpaper & style\" pos=(381,2109)\n [29] TextView id=summary text=\"Colors, themed icons, app grid\" pos=(469,2163)\n [30] LinearLayout (click,edit) pos=(540,2317)\n [31] TextView id=title text=\"Storage\" pos=(293,2338)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"swipe\", \"direction\": \"up\", \"reasoning\": \"Accessibility is off-screen; swipe up to scroll down the Settings list.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 2, \"reasoning\": \"Open the main settings menu to find Accessibility settings.\"}", "task_id": "SYNTH-SET-ACC", "task_type": "onpolicy_settings_nav"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Switch to the Temperature unit converter and enter 82.\n\nStep: 2/8\nCompleted actions:\n- tap 'Unit converter' (index=1)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterPickerActivity\nInteractive Elements (20 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Unit converter\" pos=(328,226)\n [2] LinearLayout id=unit_background (click,edit) pos=(208,478)\n [3] TextView id=unit_label text=\"Length\" pos=(207,541)\n [4] LinearLayout id=unit_background (click,edit) pos=(540,478)\n [5] TextView id=unit_label text=\"Area\" pos=(539,541)\n [6] LinearLayout id=unit_background (click,edit) pos=(872,478)\n [7] TextView id=unit_label text=\"Volume\" pos=(872,541)\n [8] LinearLayout id=unit_background (click,edit) pos=(208,815)\n [9] TextView id=unit_label text=\"Mass\" pos=(208,878)\n [10] LinearLayout id=unit_background (click,edit) pos=(540,815)\n [11] TextView id=unit_label text=\"Temperature\" pos=(539,878)\n [12] LinearLayout id=unit_background (click,edit) pos=(872,815)\n [13] TextView id=unit_label text=\"Time\" pos=(871,878)\n [14] LinearLayout id=unit_background (click,edit) pos=(208,1152)\n [15] TextView id=unit_label text=\"Speed\" pos=(208,1215)\n [16] LinearLayout id=unit_background (click,edit) pos=(540,1152)\n [17] TextView id=unit_label text=\"Pressure\" pos=(539,1215)\n [18] LinearLayout id=unit_background (click,edit) pos=(872,1152)\n [19] TextView id=unit_label text=\"Energy\" pos=(871,1215)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 10, \"reasoning\": \"Tap the Temperature card (index 10) in the unit converter picker.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 11, \"reasoning\": \"Tap the Temperature unit card to switch to the Temperature unit converter.\"}", "task_id": "SYNTH-CONV-04", "task_type": "onpolicy_converter_keypad"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Switch to the Area unit converter and enter 39.\n\nStep: 2/8\nCompleted actions:\n- tap 'Unit converter' (index=1)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterPickerActivity\nInteractive Elements (20 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Unit converter\" pos=(328,226)\n [2] LinearLayout id=unit_background (click,edit) pos=(208,478)\n [3] TextView id=unit_label text=\"Length\" pos=(207,541)\n [4] LinearLayout id=unit_background (click,edit) pos=(540,478)\n [5] TextView id=unit_label text=\"Area\" pos=(539,541)\n [6] LinearLayout id=unit_background (click,edit) pos=(872,478)\n [7] TextView id=unit_label text=\"Volume\" pos=(872,541)\n [8] LinearLayout id=unit_background (click,edit) pos=(208,815)\n [9] TextView id=unit_label text=\"Mass\" pos=(208,878)\n [10] LinearLayout id=unit_background (click,edit) pos=(540,815)\n [11] TextView id=unit_label text=\"Temperature\" pos=(539,878)\n [12] LinearLayout id=unit_background (click,edit) pos=(872,815)\n [13] TextView id=unit_label text=\"Time\" pos=(871,878)\n [14] LinearLayout id=unit_background (click,edit) pos=(208,1152)\n [15] TextView id=unit_label text=\"Speed\" pos=(208,1215)\n [16] LinearLayout id=unit_background (click,edit) pos=(540,1152)\n [17] TextView id=unit_label text=\"Pressure\" pos=(539,1215)\n [18] LinearLayout id=unit_background (click,edit) pos=(872,1152)\n [19] TextView id=unit_label text=\"Energy\" pos=(871,1215)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 4, \"reasoning\": \"Tap the Area card (index 4) in the unit converter picker.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 5, \"reasoning\": \"Tap the Area unit converter card to open the Area unit converter screen.\"}", "task_id": "SYNTH-CONV-02", "task_type": "onpolicy_converter_keypad"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Switch to the Temperature unit converter and enter 82.\n\nStep: 4/8\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'Temperature' (index=10)\n- tap '8' (index=12)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Temperature\" pos=(241,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Celsius\" pos=(215,373)\n [4] TextView id=top_unit_text text=\"8\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"°C\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Fahrenheit\" pos=(176,947)\n [9] TextView id=bottom_unit_text text=\"8\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"°F\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 18, \"reasoning\": \"Tap digit '2' (id=btn_2, index=18) on the unit converter keypad.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 12, \"reasoning\": \"Tap the '8' button (id=btn_8, index=12) to enter the second digit of 82.\"}", "task_id": "SYNTH-CONV-04", "task_type": "onpolicy_converter_keypad"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: View the fourth photo inside the CameraRoll album.\n\nStep: 3/8\nCompleted actions:\n- tap 'dir_holder' (index=5)\n- tap 'media_item_holder' (index=8)\n\nCurrent screen:\nPackage: org.fossify.gallery.debug\nActivity: org.fossify.gallery.activities.ViewPagerActivity\nInteractive Elements (12 items):\n [0] ViewPager id=view_pager (scroll) pos=(540,1212)\n [1] ImageView id=gestures_view (click,edit) pos=(540,1212)\n [2] ImageView id=subsampling_view (click,edit) pos=(540,1212)\n [3] ImageButton (click,edit) pos=(73,225)\n [4] TextView text=\"cam_05.png\" pos=(378,226)\n [5] Button id=menu_rotate desc=\"Rotate\" (click,edit) pos=(784,225)\n [6] Button id=menu_properties desc=\"Properties\" (click,edit) pos=(911,225)\n [7] ImageView desc=\"More options\" (click,edit) pos=(1027,225)\n [8] ImageView id=bottom_favorite desc=\"Toggle favorite\" (click,edit) pos=(178,2266)\n [9] ImageView id=bottom_edit desc=\"Edit\" (click,edit) pos=(419,2266)\n [10] ImageView id=bottom_share desc=\"Share\" (click,edit) pos=(661,2266)\n [11] ImageView id=bottom_delete desc=\"Delete\" (click,edit) pos=(902,2266)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"swipe\", \"direction\": \"right\", \"reasoning\": \"Gallery shows cam_05.png (#5); swipe right to return to the fourth photo.\"}", "rejected": "{\"action_type\": \"swipe\", \"direction\": \"left\", \"reasoning\": \"Gallery shows cam_05.png (#5); swipe left to view the fourth photo.\"}", "task_id": "SYNTH-GAL-CAMERAROLL-4", "task_type": "onpolicy_gallery_ordinal"}
{"prompt": [{"role": "system", "content": "You are an expert mobile QA architect. Output ONLY valid ScenarioPlan JSON conforming strictly to the requested schema."}, {"role": "user", "content": "### Android Project\nPackage Name: org.fossify.calendar\nLauncher Screen: WidgetMonthlyConfigureActivity\n\n### Impacted Screens & Pre-computed Navigation Paths\n- Target Screen: WidgetMonthlyConfigureActivity (Reason: feat(widget): add monthly calendar grid (#1161))\n Navigation Path: WidgetMonthlyConfigureActivity -> MainActivity -> EventActivity -> SettingsActivity\n\n### Git Diff\n```diff\ndiff --git a/CHANGELOG.md b/CHANGELOG.md\nindex 363e8bd..7e916ef 100644\n--- a/CHANGELOG.md\n+++ b/CHANGELOG.md\n@@ -8,4 +8,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0\n ### Added\n - Holidays for New Zealand ([#1157])\n+- Added grid into monthly calendar widget\n \n ### Changed\ndiff --git a/app/src/main/kotlin/org/fossify/calendar/activities/WidgetMonthlyConfigureActivity.kt b/app/src/main/kotlin/org/fossify/calendar/activities/WidgetMonthlyConfigureActivity.kt\nindex 704e111..1b62c95 100644\n--- a/app/src/main/kotlin/org/fossify/calendar/activities/WidgetMonthlyConfigureActivity.kt\n+++ b/app/src/main/kotlin/org/fossify/calendar/activities/WidgetMonthlyConfigureActivity.kt\n@@ -37,4 +37,6 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n private var mTextColor = 0\n \n+ private var mShowGrid = false\n+\n private val binding by viewBinding(WidgetConfigMonthlyBinding::inflate)\n private val topNavigationBinding by lazy { TopNavigationBinding.bind(binding.root) }\n@@ -43,5 +45,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n useDynamicTheme = false\n super.onCreate(savedInstanceState)\n- setResult(Activity.RESULT_CANCELED)\n+ setResult(RESULT_CANCELED)\n setContentView(binding.root)\n setupEdgeToEdge(padTopSystem = listOf(binding.configHolder), padBottomSystem = listOf(binding.root))\n@@ -60,5 +62,7 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n configBgColor.setOnClickListener { pickBackgroundColor() }\n configTextColor.setOnClickListener { pickTextColor() }\n+ configGrid.setOnClickListener { pickGridShow() }\n configBgSeekbar.setColors(mTextColor, primaryColor, primaryColor)\n+ configGrid.isChecked = mShowGrid\n }\n }\n@@ -67,4 +71,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n mBgColor = config.widgetBgColor\n mBgAlpha = Color.alpha(mBgColor) / 255f\n+ mShowGrid = config.widgetShowGrid\n \n mBgColorWithoutTransparency = Color.rgb(Color.red(mBgColor), Color.green(mBgColor), Color.blue(mBgColor))\n@@ -85,5 +90,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n \n updateTextColor()\n-\n+ updateGridShow()\n MonthlyCalendarImpl(this, this).updateMonthlyCalendar(DateTime().withDayOfMonth(1))\n }\n@@ -95,5 +100,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n Intent().apply {\n putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mWidgetId)\n- setResult(Activity.RESULT_OK, this)\n+ setResult(RESULT_OK, this)\n }\n finish()\n@@ -104,4 +109,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n widgetBgColor = mBgColor\n widgetTextColor = mTextColor\n+ widgetShowGrid = mShowGrid\n }\n }\n@@ -112,4 +118,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n mBgColorWithoutTransparency = color\n updateBackgroundCol\n```\n\nBased on the Git diff above, create a regression test scenario JSON targeting WidgetMonthlyConfigureActivity.\n\nOutput format requirement:\n{\n \"git_commit_or_diff\": \"<commit or diff summary>\",\n \"impacted_screens\": [\"<TargetScreen>\"],\n \"scenarios\": [\n {\n \"id\": \"<SC-001>\",\n \"name\": \"<Scenario Name>\",\n \"description\": \"<Description>\",\n \"target_screen_id\": \"<TargetScreen>\",\n \"steps\": [\n {\n \"step_number\": 1,\n \"instruction\": \"<Action step>\",\n \"expected_target\": \"<target_element>\",\n \"input_value\": \"<input text or null>\"\n }\n ],\n \"assertions\": [\n {\n \"description\": \"<Assertion verification description>\",\n \"required_keywords\": [\"<required keyword>\"],\n \"forbidden_keywords\": [\"<forbidden keyword>\"]\n }\n ]\n }\n ]\n}"}], "chosen": "{\"git_commit_or_diff\": \"feat(widget): add monthly calendar grid (#1161) - adds configGrid toggle and persists widgetShowGrid\", \"impacted_screens\": [\"WidgetMonthlyConfigureActivity\"], \"scenarios\": [{\"id\": \"SC-001\", \"name\": \"Toggle monthly widget grid setting\", \"description\": \"Verify the monthly widget configuration screen exposes and persists the new grid toggle.\", \"target_screen_id\": \"WidgetMonthlyConfigureActivity\", \"navigation_guide\": [], \"steps\": [{\"step_number\": 1, \"instruction\": \"Launch the monthly calendar widget configuration screen\", \"expected_target\": \"WidgetMonthlyConfigureActivity\", \"input_value\": null}, {\"step_number\": 2, \"instruction\": \"Tap the grid configuration toggle\", \"expected_target\": \"configGrid\", \"input_value\": null}, {\"step_number\": 3, \"instruction\": \"Confirm the widget configuration\", \"expected_target\": \"confirm button\", \"input_value\": null}], \"assertions\": [{\"description\": \"Grid toggle is available, reflects mShowGrid, and saves widgetShowGrid on confirmation.\", \"required_keywords\": [\"configGrid\", \"widgetShowGrid\", \"grid\"], \"forbidden_keywords\": [\"crash\", \"missing configGrid\"]}]}]}", "rejected": "{\"git_commit_or_diff\": \"feat(widget): add monthly calendar grid (#1161)\\n- Added grid into monthly calendar widget\", \"impacted_screens\": [\"WidgetMonthlyConfigureActivity\"], \"scenarios\": [{\"id\": \"SC-001\", \"name\": \"Verify monthly calendar grid toggle\", \"description\": \"Ensure the monthly calendar grid toggle works as expected in WidgetMonthlyConfigureActivity.\", \"target_screen_id\": \"WidgetMonthlyConfigureActivity\", \"steps\": [{\"step_number\": 1, \"instruction\": \"Open WidgetMonthlyConfigureActivity.\", \"expected_target\": \"WidgetMonthlyConfigureActivity\", \"input_value\": null}, {\"step_number\": 2, \"instruction\": \"Tap the grid toggle switch.\", \"expected_target\": \"configGrid\", \"input_value\": null}], \"assertions\": [{\"description\": \"Grid toggle switch is toggled and the grid is shown/hidden accordingly.\", \"required_keywords\": [\"grid toggle\", \"grid shown/hidden\"], \"forbidden_keywords\": [\"grid toggle error\", \"grid not shown/hidden\"]}]}}]}", "task_id": "SYN-PLAN-calendar_d677c9e", "task_type": "onpolicy_planning"}
{"prompt": [{"role": "system", "content": "You are an expert mobile QA architect. Output ONLY valid ScenarioPlan JSON conforming strictly to the requested schema."}, {"role": "user", "content": "### Android Project\nPackage Name: org.fossify.notes\nLauncher Screen: MainActivity\n\n### Impacted Screens & Pre-computed Navigation Paths\n- Target Screen: MainActivity (Reason: feat: share checklists as simple text (#302))\n Navigation Path: MainActivity -> SettingsActivity\n\n### Git Diff\n```diff\ndiff --git a/CHANGELOG.md b/CHANGELOG.md\nindex 3ba9af5..5659d9f 100644\n--- a/CHANGELOG.md\n+++ b/CHANGELOG.md\n@@ -10,4 +10,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0\n \n ### Changed\n+- Checklists are now shared as plain text ([#96])\n - Disabled touch outside the checklist dialog to prevent loss of content ([#291])\n \n@@ -103,4 +104,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0\n [#81]: https://github.com/FossifyOrg/Notes/issues/81\n [#83]: https://github.com/FossifyOrg/Notes/issues/83\n+[#96]: https://github.com/FossifyOrg/Notes/issues/96\n [#99]: https://github.com/FossifyOrg/Notes/issues/99\n [#110]: https://github.com/FossifyOrg/Notes/issues/110\ndiff --git a/app/src/main/kotlin/org/fossify/notes/activities/MainActivity.kt b/app/src/main/kotlin/org/fossify/notes/activities/MainActivity.kt\nindex 86d7587..7257784 100644\n--- a/app/src/main/kotlin/org/fossify/notes/activities/MainActivity.kt\n+++ b/app/src/main/kotlin/org/fossify/notes/activities/MainActivity.kt\n@@ -105,4 +105,5 @@ import org.fossify.notes.dialogs.OpenNoteDialog\n import org.fossify.notes.dialogs.RenameNoteDialog\n import org.fossify.notes.dialogs.SortChecklistDialog\n+import org.fossify.notes.extensions.checklistToPlainText\n import org.fossify.notes.extensions.config\n import org.fossify.notes.extensions.getPercentageFontSize\n@@ -1458,5 +1459,5 @@ class MainActivity : SimpleActivity() {\n getCurrentNoteText()\n } else {\n- mCurrentNote.value\n+ mCurrentNote.value.checklistToPlainText(config.moveDoneChecklistItems) ?: mCurrentNote.value\n }\n \ndiff --git a/app/src/main/kotlin/org/fossify/notes/extensions/String.kt b/app/src/main/kotlin/org/fossify/notes/extensions/String.kt\nindex 4b00002..44434b1 100644\n--- a/app/src/main/kotlin/org/fossify/notes/extensions/String.kt\n+++ b/app/src/main/kotlin/org/fossify/notes/extensions/String.kt\n@@ -15,2 +15,11 @@ fun String.parseChecklistItems(): ArrayList<Task>? {\n return null\n }\n+\n+fun String.checklistToPlainText(moveDoneToBottom: Boolean = true): String? {\n+ val tasks = parseChecklistItems() ?: return null\n+ val sortedTasks = if (moveDoneToBottom) tasks.sortedBy { it.isDone } else tasks\n+ return sortedTasks.joinToString(\"\\n\") { task ->\n+ val checkbox = if (task.isDone) \"[x]\" else \"[ ]\"\n+ \"$checkbox ${task.title}\"\n+ }\n+}\n```\n\nBased on the Git diff above, create a regression test scenario JSON targeting MainActivity.\n\nOutput format requirement:\n{\n \"git_commit_or_diff\": \"<commit or diff summary>\",\n \"impacted_screens\": [\"<TargetScreen>\"],\n \"scenarios\": [\n {\n \"id\": \"<SC-001>\",\n \"name\": \"<Scenario Name>\",\n \"description\": \"<Description>\",\n \"target_screen_id\": \"<TargetScreen>\",\n \"steps\": [\n {\n \"step_number\": 1,\n \"instruction\": \"<Action step>\",\n \"expected_target\": \"<target_element>\",\n \"input_value\": \"<input text or null>\"\n }\n ],\n \"assertions\": [\n {\n \"description\": \"<Assertion verification description>\",\n \"required_keywords\": [\"<required keyword>\"],\n \"forbidden_keywords\": [\"<forbidden keyword>\"]\n }\n ]\n }\n ]\n}"}], "chosen": "{\"git_commit_or_diff\": \"feat: share checklists as plain text (#302) - convert checklist note to plain text before sharing\", \"impacted_screens\": [\"MainActivity\"], \"scenarios\": [{\"id\": \"SC-001\", \"name\": \"Share checklist as plain text\", \"description\": \"Verify sharing a checklist note outputs plain text checkbox lines instead of raw checklist data.\", \"target_screen_id\": \"MainActivity\", \"navigation_guide\": [], \"steps\": [{\"step_number\": 1, \"instruction\": \"Open a note containing checklist items\", \"expected_target\": \"Checklist note\", \"input_value\": null}, {\"step_number\": 2, \"instruction\": \"Tap the share action\", \"expected_target\": \"Share action\", \"input_value\": null}, {\"step_number\": 3, \"instruction\": \"Inspect the shared text preview\", \"expected_target\": \"Shared text preview\", \"input_value\": null}], \"assertions\": [{\"description\": \"Shared content uses plain-text checkbox markers for checklist items.\", \"required_keywords\": [\"[ ]\", \"[x]\"], \"forbidden_keywords\": [\"JSON\", \"isDone\"]}]}]}", "rejected": "{\"git_commit_or_diff\": \"feat: share checklists as simple text (#302)\\n- Checklists are now shared as plain text ([#96])\\n- Disabled touch outside the checklist dialog to prevent loss of content ([#291])\\n\\n@@ -105,4 +105,5 @@ import org.fossify.notes.dialogs.OpenNoteDialog\\n import org.fossify.notes.dialogs.RenameNoteDialog\\n import org.fossify.notes.dialogs.SortChecklistDialog\\n+import org.fossify.notes.extensions.checklistToPlainText\\n import org.fossify.notes.extensions.config\\n import org.fossify.notes.extensions.getPercentageFontSize\\n@@ -1458,5 +1459,5 @@ class MainActivity : SimpleActivity() {\\n getCurrentNoteText()\\n } else {\\n- mCurrentNote.value\\n+ mCurrentNote.value.checklistToPlainText(config.moveDoneChecklistItems) ?: mCurrentNote.value\\n }\\n\\ndiff --git a/app/src/main/kotlin/org/fossify/notes/extensions/String.kt b/app/src/main/kotlin/org/fossify/notes/extensions/String.kt\\nindex 4b00002..44434b1 100644\\n--- a/app/src/main/kotlin/org/fossify/notes/extensions/String.kt\\n+++ b/app/src/main/kotlin/org/fossify/notes/extensions/String.kt\\n@@ -15,2 +15,11 @@ fun String.parseChecklistItems(): ArrayList<Task>? {\\n return null\\n }\\n+\\n+fun String.checklistToPlainText(moveDoneToBottom: Boolean = true): String? {\\n+ val tasks = parseChecklistItems() ?: return null\\n+ val sortedTasks = if (moveDoneToBottom) tasks.sortedBy { it.isDone } else tasks\\n+ return sortedTasks.joinToString(\\\"\\\\n\\\") { task ->\\n+ val checkbox = if (task.isDone) \\\"[x]\\\" else \\\"[ ]\\\"\\n+ \\\"$checkbox ${task.title}\\\"\\n+ }\\n+}\", \"impacted_screens\": [\"MainActivity\"], \"scenarios\": [{\"id\": \"SC-001\", \"name\": \"Checklist is shared as plain text\", \"description\": \"Verify that the checklist is shared as plain text when the share button is pressed.\", \"target_screen_id\": \"", "task_id": "SYN-PLAN-notes_fbc966c", "task_type": "onpolicy_planning"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Switch to the Area unit converter and enter 39.\n\nStep: 3/8\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'Area' (index=4)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Area\" pos=(241,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Square meter\" pos=(215,373)\n [4] TextView id=top_unit_text text=\"0\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"m²\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Square centimeter\" pos=(176,947)\n [9] TextView id=bottom_unit_text text=\"0\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"cm²\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 19, \"reasoning\": \"Tap digit '3' (id=btn_3, index=19) on the unit converter keypad.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 11, \"reasoning\": \"Tap '7' on the unit converter keypad.\"}", "task_id": "SYNTH-CONV-02", "task_type": "contrast_converter_digit"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Switch to the Temperature unit converter and enter 82.\n\nStep: 3/8\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'Temperature' (index=10)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Temperature\" pos=(241,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Celsius\" pos=(215,373)\n [4] TextView id=top_unit_text text=\"0\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"°C\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Fahrenheit\" pos=(176,947)\n [9] TextView id=bottom_unit_text text=\"0\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"°F\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 12, \"reasoning\": \"Tap digit '8' (id=btn_8, index=12) on the unit converter keypad.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 11, \"reasoning\": \"Tap '7' on the unit converter keypad.\"}", "task_id": "SYNTH-CONV-04", "task_type": "contrast_converter_digit"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Switch to the Area unit converter and enter 39.\n\nStep: 4/8\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'Area' (index=4)\n- tap '3' (index=19)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Area\" pos=(241,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Square meter\" pos=(215,373)\n [4] TextView id=top_unit_text text=\"3\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"m²\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Square centimeter\" pos=(176,947)\n [9] TextView id=bottom_unit_text text=\"3\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"cm²\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 13, \"reasoning\": \"Tap digit '9' (id=btn_9, index=13) on the unit converter keypad.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 11, \"reasoning\": \"Tap '7' on the unit converter keypad.\"}", "task_id": "SYNTH-CONV-02", "task_type": "contrast_converter_digit"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Switch to the Temperature unit converter and enter 82.\n\nStep: 4/8\nCompleted actions:\n- tap 'Unit converter' (index=1)\n- tap 'Temperature' (index=10)\n- tap '8' (index=12)\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.UnitConverterActivity\nInteractive Elements (23 items):\n [0] ImageButton desc=\"Back\" (click,edit) pos=(73,225)\n [1] TextView text=\"Temperature\" pos=(241,226)\n [2] ViewGroup id=top_unit_holder (click,edit) pos=(540,513)\n [3] TextView id=top_unit_name text=\"Celsius\" pos=(215,373)\n [4] TextView id=top_unit_text text=\"8\" pos=(461,560)\n [5] TextView id=top_unit_symbol text=\"°C\" pos=(964,560)\n [6] ImageView id=swap_button (click,edit) pos=(540,800)\n [7] ViewGroup id=bottom_unit_holder (click,edit) pos=(540,1087)\n [8] TextView id=bottom_unit_name text=\"Fahrenheit\" pos=(176,947)\n [9] TextView id=bottom_unit_text text=\"8\" pos=(461,1135)\n [10] TextView id=bottom_unit_symbol text=\"°F\" pos=(964,1135)\n [11] TextView id=btn_7 text=\"7\" (click,edit) pos=(180,1425)\n [12] TextView id=btn_8 text=\"8\" (click,edit) pos=(540,1425)\n [13] TextView id=btn_9 text=\"9\" (click,edit) pos=(900,1425)\n [14] TextView id=btn_4 text=\"4\" (click,edit) pos=(180,1693)\n [15] TextView id=btn_5 text=\"5\" (click,edit) pos=(540,1693)\n [16] TextView id=btn_6 text=\"6\" (click,edit) pos=(900,1693)\n [17] TextView id=btn_1 text=\"1\" (click,edit) pos=(180,1960)\n [18] TextView id=btn_2 text=\"2\" (click,edit) pos=(540,1960)\n [19] TextView id=btn_3 text=\"3\" (click,edit) pos=(900,1960)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(180,2227)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(540,2227)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(900,2227)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 18, \"reasoning\": \"Tap digit '2' (id=btn_2, index=18) on the unit converter keypad.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 11, \"reasoning\": \"Tap '7' on the unit converter keypad.\"}", "task_id": "SYNTH-CONV-04", "task_type": "contrast_converter_digit"}
{"prompt": [{"role": "system", "content": "You are a mobile test recovery specialist. Analyze if the screen is blocked and output ONLY a valid JSON object matching the required schema."}, {"role": "user", "content": "An automated test is running, expecting context: 'MainActivity'.\nHowever, the screen encountered an unexpected dialog.\n\nCurrent Screen Elements:\nPackage: com.android.permissioncontroller\nActivity: GrantPermissionsActivity\nInteractive Elements (3 items):\n [0] TextView text=\"Allow Contacts to access your contacts?\" pos=(540,1020)\n [1] Button id=permission_allow_button text=\"Allow\" (click) pos=(540,1300)\n [2] Button id=permission_deny_button text=\"Don't allow\" (click) pos=(540,1460)\n\nDecide whether this screen is currently blocked by a popup dialog, and choose the best action to dismiss/clear it.\n\nOutput format requirement:\n{\n \"is_blocking_popup\": <true | false>,\n \"recommended_action\": {\n \"action_type\": \"<tap | input_text | swipe | back>\",\n \"expected_target\": \"<resource_id or button text>\",\n \"coords\": [<x>, <y>]\n },\n \"explanation\": \"<brief rationale>\"\n}"}], "chosen": "{\"is_blocking_popup\": true, \"recommended_action\": {\"action_type\": \"tap\", \"expected_target\": \"permission_allow_button\", \"coords\": [540, 1300]}, \"explanation\": \"A system permission dialog is blocking the expected MainActivity; tapping Allow dismisses it and grants the requested contacts permission.\"}", "rejected": "```json\n{\"is_blocking_popup\": true, \"recommended_action\": {\"action_type\": \"tap\", \"expected_target\": \"permission_allow_button\", \"coords\": [540, 1300]}, \"explanation\": \"A system permission dialog is blocking the expected MainActivity; tapping Allow dismisses it and grants the requested contacts permission.\"}\n```", "task_id": "SYN-REC-02", "task_type": "contrast_fence_android_recovery"}
{"prompt": [{"role": "system", "content": "You are an expert mobile QA architect. Output ONLY valid ScenarioPlan JSON conforming strictly to the requested schema."}, {"role": "user", "content": "### Android Project\nPackage Name: org.fossify.calendar\nLauncher Screen: WidgetMonthlyConfigureActivity\n\n### Impacted Screens & Pre-computed Navigation Paths\n- Target Screen: WidgetMonthlyConfigureActivity (Reason: feat(widget): add monthly calendar grid (#1161))\n Navigation Path: WidgetMonthlyConfigureActivity -> MainActivity -> EventActivity -> SettingsActivity\n\n### Git Diff\n```diff\ndiff --git a/CHANGELOG.md b/CHANGELOG.md\nindex 363e8bd..7e916ef 100644\n--- a/CHANGELOG.md\n+++ b/CHANGELOG.md\n@@ -8,4 +8,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0\n ### Added\n - Holidays for New Zealand ([#1157])\n+- Added grid into monthly calendar widget\n \n ### Changed\ndiff --git a/app/src/main/kotlin/org/fossify/calendar/activities/WidgetMonthlyConfigureActivity.kt b/app/src/main/kotlin/org/fossify/calendar/activities/WidgetMonthlyConfigureActivity.kt\nindex 704e111..1b62c95 100644\n--- a/app/src/main/kotlin/org/fossify/calendar/activities/WidgetMonthlyConfigureActivity.kt\n+++ b/app/src/main/kotlin/org/fossify/calendar/activities/WidgetMonthlyConfigureActivity.kt\n@@ -37,4 +37,6 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n private var mTextColor = 0\n \n+ private var mShowGrid = false\n+\n private val binding by viewBinding(WidgetConfigMonthlyBinding::inflate)\n private val topNavigationBinding by lazy { TopNavigationBinding.bind(binding.root) }\n@@ -43,5 +45,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n useDynamicTheme = false\n super.onCreate(savedInstanceState)\n- setResult(Activity.RESULT_CANCELED)\n+ setResult(RESULT_CANCELED)\n setContentView(binding.root)\n setupEdgeToEdge(padTopSystem = listOf(binding.configHolder), padBottomSystem = listOf(binding.root))\n@@ -60,5 +62,7 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n configBgColor.setOnClickListener { pickBackgroundColor() }\n configTextColor.setOnClickListener { pickTextColor() }\n+ configGrid.setOnClickListener { pickGridShow() }\n configBgSeekbar.setColors(mTextColor, primaryColor, primaryColor)\n+ configGrid.isChecked = mShowGrid\n }\n }\n@@ -67,4 +71,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n mBgColor = config.widgetBgColor\n mBgAlpha = Color.alpha(mBgColor) / 255f\n+ mShowGrid = config.widgetShowGrid\n \n mBgColorWithoutTransparency = Color.rgb(Color.red(mBgColor), Color.green(mBgColor), Color.blue(mBgColor))\n@@ -85,5 +90,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n \n updateTextColor()\n-\n+ updateGridShow()\n MonthlyCalendarImpl(this, this).updateMonthlyCalendar(DateTime().withDayOfMonth(1))\n }\n@@ -95,5 +100,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n Intent().apply {\n putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mWidgetId)\n- setResult(Activity.RESULT_OK, this)\n+ setResult(RESULT_OK, this)\n }\n finish()\n@@ -104,4 +109,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n widgetBgColor = mBgColor\n widgetTextColor = mTextColor\n+ widgetShowGrid = mShowGrid\n }\n }\n@@ -112,4 +118,5 @@ class WidgetMonthlyConfigureActivity : SimpleActivity(), MonthlyCalendar {\n mBgColorWithoutTransparency = color\n updateBackgroundCol\n```\n\nBased on the Git diff above, create a regression test scenario JSON targeting WidgetMonthlyConfigureActivity.\n\nOutput format requirement:\n{\n \"git_commit_or_diff\": \"<commit or diff summary>\",\n \"impacted_screens\": [\"<TargetScreen>\"],\n \"scenarios\": [\n {\n \"id\": \"<SC-001>\",\n \"name\": \"<Scenario Name>\",\n \"description\": \"<Description>\",\n \"target_screen_id\": \"<TargetScreen>\",\n \"steps\": [\n {\n \"step_number\": 1,\n \"instruction\": \"<Action step>\",\n \"expected_target\": \"<target_element>\",\n \"input_value\": \"<input text or null>\"\n }\n ],\n \"assertions\": [\n {\n \"description\": \"<Assertion verification description>\",\n \"required_keywords\": [\"<required keyword>\"],\n \"forbidden_keywords\": [\"<forbidden keyword>\"]\n }\n ]\n }\n ]\n}"}], "chosen": "{\"git_commit_or_diff\": \"feat(widget): add monthly calendar grid (#1161) - adds configGrid toggle and persists widgetShowGrid\", \"impacted_screens\": [\"WidgetMonthlyConfigureActivity\"], \"scenarios\": [{\"id\": \"SC-001\", \"name\": \"Toggle monthly widget grid setting\", \"description\": \"Verify the monthly widget configuration screen exposes and persists the new grid toggle.\", \"target_screen_id\": \"WidgetMonthlyConfigureActivity\", \"navigation_guide\": [], \"steps\": [{\"step_number\": 1, \"instruction\": \"Launch the monthly calendar widget configuration screen\", \"expected_target\": \"WidgetMonthlyConfigureActivity\", \"input_value\": null}, {\"step_number\": 2, \"instruction\": \"Tap the grid configuration toggle\", \"expected_target\": \"configGrid\", \"input_value\": null}, {\"step_number\": 3, \"instruction\": \"Confirm the widget configuration\", \"expected_target\": \"confirm button\", \"input_value\": null}], \"assertions\": [{\"description\": \"Grid toggle is available, reflects mShowGrid, and saves widgetShowGrid on confirmation.\", \"required_keywords\": [\"configGrid\", \"widgetShowGrid\", \"grid\"], \"forbidden_keywords\": [\"crash\", \"missing configGrid\"]}]}]}", "rejected": "```json\n{\"git_commit_or_diff\": \"feat(widget): add monthly calendar grid (#1161) - adds configGrid toggle and persists widgetShowGrid\", \"impacted_screens\": [\"WidgetMonthlyConfigureActivity\"], \"scenarios\": [{\"id\": \"SC-001\", \"name\": \"Toggle monthly widget grid setting\", \"description\": \"Verify the monthly widget configuration screen exposes and persists the new grid toggle.\", \"target_screen_id\": \"WidgetMonthlyConfigureActivity\", \"navigation_guide\": [], \"steps\": [{\"step_number\": 1, \"instruction\": \"Launch the monthly calendar widget configuration screen\", \"expected_target\": \"WidgetMonthlyConfigureActivity\", \"input_value\": null}, {\"step_number\": 2, \"instruction\": \"Tap the grid configuration toggle\", \"expected_target\": \"configGrid\", \"input_value\": null}, {\"step_number\": 3, \"instruction\": \"Confirm the widget configuration\", \"expected_target\": \"confirm button\", \"input_value\": null}], \"assertions\": [{\"description\": \"Grid toggle is available, reflects mShowGrid, and saves widgetShowGrid on confirmation.\", \"required_keywords\": [\"configGrid\", \"widgetShowGrid\", \"grid\"], \"forbidden_keywords\": [\"crash\", \"missing configGrid\"]}]}]}\n```", "task_id": "SYN-PLAN-calendar_d677c9e", "task_type": "contrast_fence_planning"}
{"prompt": [{"role": "system", "content": "You are an expert mobile QA architect. Output ONLY valid ScenarioPlan JSON conforming strictly to the requested schema."}, {"role": "user", "content": "### Android Project\nPackage Name: org.fossify.notes\nLauncher Screen: MainActivity\n\n### Impacted Screens & Pre-computed Navigation Paths\n- Target Screen: MainActivity (Reason: feat: share checklists as simple text (#302))\n Navigation Path: MainActivity -> SettingsActivity\n\n### Git Diff\n```diff\ndiff --git a/CHANGELOG.md b/CHANGELOG.md\nindex 3ba9af5..5659d9f 100644\n--- a/CHANGELOG.md\n+++ b/CHANGELOG.md\n@@ -10,4 +10,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0\n \n ### Changed\n+- Checklists are now shared as plain text ([#96])\n - Disabled touch outside the checklist dialog to prevent loss of content ([#291])\n \n@@ -103,4 +104,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0\n [#81]: https://github.com/FossifyOrg/Notes/issues/81\n [#83]: https://github.com/FossifyOrg/Notes/issues/83\n+[#96]: https://github.com/FossifyOrg/Notes/issues/96\n [#99]: https://github.com/FossifyOrg/Notes/issues/99\n [#110]: https://github.com/FossifyOrg/Notes/issues/110\ndiff --git a/app/src/main/kotlin/org/fossify/notes/activities/MainActivity.kt b/app/src/main/kotlin/org/fossify/notes/activities/MainActivity.kt\nindex 86d7587..7257784 100644\n--- a/app/src/main/kotlin/org/fossify/notes/activities/MainActivity.kt\n+++ b/app/src/main/kotlin/org/fossify/notes/activities/MainActivity.kt\n@@ -105,4 +105,5 @@ import org.fossify.notes.dialogs.OpenNoteDialog\n import org.fossify.notes.dialogs.RenameNoteDialog\n import org.fossify.notes.dialogs.SortChecklistDialog\n+import org.fossify.notes.extensions.checklistToPlainText\n import org.fossify.notes.extensions.config\n import org.fossify.notes.extensions.getPercentageFontSize\n@@ -1458,5 +1459,5 @@ class MainActivity : SimpleActivity() {\n getCurrentNoteText()\n } else {\n- mCurrentNote.value\n+ mCurrentNote.value.checklistToPlainText(config.moveDoneChecklistItems) ?: mCurrentNote.value\n }\n \ndiff --git a/app/src/main/kotlin/org/fossify/notes/extensions/String.kt b/app/src/main/kotlin/org/fossify/notes/extensions/String.kt\nindex 4b00002..44434b1 100644\n--- a/app/src/main/kotlin/org/fossify/notes/extensions/String.kt\n+++ b/app/src/main/kotlin/org/fossify/notes/extensions/String.kt\n@@ -15,2 +15,11 @@ fun String.parseChecklistItems(): ArrayList<Task>? {\n return null\n }\n+\n+fun String.checklistToPlainText(moveDoneToBottom: Boolean = true): String? {\n+ val tasks = parseChecklistItems() ?: return null\n+ val sortedTasks = if (moveDoneToBottom) tasks.sortedBy { it.isDone } else tasks\n+ return sortedTasks.joinToString(\"\\n\") { task ->\n+ val checkbox = if (task.isDone) \"[x]\" else \"[ ]\"\n+ \"$checkbox ${task.title}\"\n+ }\n+}\n```\n\nBased on the Git diff above, create a regression test scenario JSON targeting MainActivity.\n\nOutput format requirement:\n{\n \"git_commit_or_diff\": \"<commit or diff summary>\",\n \"impacted_screens\": [\"<TargetScreen>\"],\n \"scenarios\": [\n {\n \"id\": \"<SC-001>\",\n \"name\": \"<Scenario Name>\",\n \"description\": \"<Description>\",\n \"target_screen_id\": \"<TargetScreen>\",\n \"steps\": [\n {\n \"step_number\": 1,\n \"instruction\": \"<Action step>\",\n \"expected_target\": \"<target_element>\",\n \"input_value\": \"<input text or null>\"\n }\n ],\n \"assertions\": [\n {\n \"description\": \"<Assertion verification description>\",\n \"required_keywords\": [\"<required keyword>\"],\n \"forbidden_keywords\": [\"<forbidden keyword>\"]\n }\n ]\n }\n ]\n}"}], "chosen": "{\"git_commit_or_diff\": \"feat: share checklists as plain text (#302) - convert checklist note to plain text before sharing\", \"impacted_screens\": [\"MainActivity\"], \"scenarios\": [{\"id\": \"SC-001\", \"name\": \"Share checklist as plain text\", \"description\": \"Verify sharing a checklist note outputs plain text checkbox lines instead of raw checklist data.\", \"target_screen_id\": \"MainActivity\", \"navigation_guide\": [], \"steps\": [{\"step_number\": 1, \"instruction\": \"Open a note containing checklist items\", \"expected_target\": \"Checklist note\", \"input_value\": null}, {\"step_number\": 2, \"instruction\": \"Tap the share action\", \"expected_target\": \"Share action\", \"input_value\": null}, {\"step_number\": 3, \"instruction\": \"Inspect the shared text preview\", \"expected_target\": \"Shared text preview\", \"input_value\": null}], \"assertions\": [{\"description\": \"Shared content uses plain-text checkbox markers for checklist items.\", \"required_keywords\": [\"[ ]\", \"[x]\"], \"forbidden_keywords\": [\"JSON\", \"isDone\"]}]}]}", "rejected": "```json\n{\"git_commit_or_diff\": \"feat: share checklists as plain text (#302) - convert checklist note to plain text before sharing\", \"impacted_screens\": [\"MainActivity\"], \"scenarios\": [{\"id\": \"SC-001\", \"name\": \"Share checklist as plain text\", \"description\": \"Verify sharing a checklist note outputs plain text checkbox lines instead of raw checklist data.\", \"target_screen_id\": \"MainActivity\", \"navigation_guide\": [], \"steps\": [{\"step_number\": 1, \"instruction\": \"Open a note containing checklist items\", \"expected_target\": \"Checklist note\", \"input_value\": null}, {\"step_number\": 2, \"instruction\": \"Tap the share action\", \"expected_target\": \"Share action\", \"input_value\": null}, {\"step_number\": 3, \"instruction\": \"Inspect the shared text preview\", \"expected_target\": \"Shared text preview\", \"input_value\": null}], \"assertions\": [{\"description\": \"Shared content uses plain-text checkbox markers for checklist items.\", \"required_keywords\": [\"[ ]\", \"[x]\"], \"forbidden_keywords\": [\"JSON\", \"isDone\"]}]}]}\n```", "task_id": "SYN-PLAN-notes_fbc966c", "task_type": "contrast_fence_planning"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: View the second photo inside the Vacation album.\n\nStep: 2/8\nCompleted actions:\n- tap 'dir_holder' (index=5)\n\nCurrent screen:\nPackage: org.fossify.gallery.debug\nActivity: org.fossify.gallery.activities.MediaActivity\nInteractive Elements (11 items):\n [0] ImageView id=top_toolbar_search_icon desc=\"Back\" (click,edit) pos=(94,226)\n [1] EditText id=top_toolbar_search text=\"Search in Vacation\" (click,edit) pos=(386,226)\n [2] Button id=toggle_filename desc=\"Toggle filename visibility\" (click,edit) pos=(731,226)\n [3] Button id=sort desc=\"Sort by\" (click,edit) pos=(858,226)\n [4] ImageView desc=\"More options\" (click,edit) pos=(974,226)\n [5] Button id=slideshow desc=\"Slideshow\" (click,edit) pos=(610,226)\n [6] RelativeLayout id=media_item_holder (click,edit) pos=(180,490)\n [7] RelativeLayout id=media_item_holder (click,edit) pos=(540,490)\n [8] RelativeLayout id=media_item_holder (click,edit) pos=(900,490)\n [9] RelativeLayout id=media_item_holder (click,edit) pos=(180,850)\n [10] RelativeLayout id=media_item_holder (click,edit) pos=(540,850)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"tap\", \"element_index\": 7, \"reasoning\": \"media_item_holder items start at index 6; the second photo is at index 7.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 8, \"reasoning\": \"Tap adjacent photo item.\"}", "task_id": "SYNTH-GAL-VACATION-2", "task_type": "contrast_gallery_ordinal"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: View the fourth photo inside the CameraRoll album.\n\nStep: 3/8\nCompleted actions:\n- tap 'dir_holder' (index=5)\n- tap 'media_item_holder' (index=8)\n\nCurrent screen:\nPackage: org.fossify.gallery.debug\nActivity: org.fossify.gallery.activities.ViewPagerActivity\nInteractive Elements (12 items):\n [0] ViewPager id=view_pager (scroll) pos=(540,1212)\n [1] ImageView id=gestures_view (click,edit) pos=(540,1212)\n [2] ImageView id=subsampling_view (click,edit) pos=(540,1212)\n [3] ImageButton (click,edit) pos=(73,225)\n [4] TextView text=\"cam_05.png\" pos=(378,226)\n [5] Button id=menu_rotate desc=\"Rotate\" (click,edit) pos=(784,225)\n [6] Button id=menu_properties desc=\"Properties\" (click,edit) pos=(911,225)\n [7] ImageView desc=\"More options\" (click,edit) pos=(1027,225)\n [8] ImageView id=bottom_favorite desc=\"Toggle favorite\" (click,edit) pos=(178,2266)\n [9] ImageView id=bottom_edit desc=\"Edit\" (click,edit) pos=(419,2266)\n [10] ImageView id=bottom_share desc=\"Share\" (click,edit) pos=(661,2266)\n [11] ImageView id=bottom_delete desc=\"Delete\" (click,edit) pos=(902,2266)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"swipe\", \"direction\": \"right\", \"reasoning\": \"Gallery shows cam_05.png (#5); swipe right to return to the fourth photo.\"}", "rejected": "{\"action_type\": \"swipe\", \"direction\": \"left\", \"reasoning\": \"Swipe in opposite direction.\"}", "task_id": "SYNTH-GAL-CAMERAROLL-4", "task_type": "contrast_gallery_swipe"}
{"prompt": [{"role": "system", "content": "You are an autonomous mobile QA testing brain. Analyze the interactive UI hierarchy and output ONLY a valid JSON object matching the required schema."}, {"role": "user", "content": "Current Screen Elements:\nPackage: com.android.settings\nActivity: SettingsActivity\nInteractive Elements (4 items):\n [0] EditText id=search_action_bar text=\"Search settings\" (edit,click) pos=(540,210)\n [1] LinearLayout id=row_network text=\"Network & internet\" (click) pos=(540,480)\n [2] LinearLayout id=row_battery text=\"Battery\" (click) pos=(540,720)\n [3] Switch id=switch_dark_theme text=\"Dark theme\" (click,check) pos=(920,960)\n\nCurrent Objective: Toggle the Dark theme switch.\n\nOutput format requirement:\n{\n \"action_type\": \"<tap | input_text | swipe | back>\",\n \"expected_target\": \"<resource_id or element identifier>\",\n \"input_value\": \"<string if typing else null>\",\n \"coords\": [<x_integer>, <y_integer>]\n}"}], "chosen": "{\"action_type\": \"tap\", \"expected_target\": \"switch_dark_theme\", \"input_value\": null, \"coords\": [920, 960]}", "rejected": "{\"action_type\": \"tap\", \"expected_target\": \"switch_dark_theme\", \"input_value\": null, \"coords\": null}", "task_id": "SYN-GR-SET-01-Q2", "task_type": "contrast_grounding_coords"}
{"prompt": [{"role": "system", "content": "You are an autonomous mobile QA testing brain. Analyze the interactive UI hierarchy and output ONLY a valid JSON object matching the required schema."}, {"role": "user", "content": "Current Screen Elements:\nPackage: com.fsck.k9\nActivity: MessageComposeActivity\nInteractive Elements (4 items):\n [0] EditText id=to_address text=\"\" desc=\"Recipient email\" (edit,click) pos=(540,380)\n [1] EditText id=email_subject text=\"\" desc=\"Subject\" (edit,click) pos=(540,580)\n [2] Button id=btn_attach desc=\"Add attachment\" (click) pos=(840,210)\n [3] Button id=btn_send desc=\"Send message\" (click) pos=(980,210)\n\nCurrent Objective: Enter subject 'Weekly Status Report' in the subject field.\n\nOutput format requirement:\n{\n \"action_type\": \"<tap | input_text | swipe | back>\",\n \"expected_target\": \"<resource_id or element identifier>\",\n \"input_value\": \"<string if typing else null>\",\n \"coords\": [<x_integer>, <y_integer>]\n}"}], "chosen": "{\"action_type\": \"input_text\", \"expected_target\": \"email_subject\", \"input_value\": \"Weekly Status Report\", \"coords\": [540, 580]}", "rejected": "{\"action_type\": \"input_text\", \"expected_target\": \"email_subject\", \"input_value\": \"Weekly Status Report\", \"coords\": null}", "task_id": "SYN-GR-MAIL-02-Q2", "task_type": "contrast_grounding_coords"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Compute 48 ÷ 4.\n\nStep: 5/7\nCompleted actions:\n- tap '4' → display 4\n- tap '8' → display 48\n- tap '÷' → display 48÷\n- tap '4' → display 48÷4\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.MainActivity\nInteractive Elements (24 items):\n [0] Button id=history desc=\"History\" (click,edit) pos=(784,225)\n [1] Button id=unit_converter desc=\"Unit converter\" (click,edit) pos=(911,225)\n [2] ImageView desc=\"More options\" (click,edit) pos=(1027,225)\n [3] TextView id=result text=\"48÷4\" pos=(540,731)\n [4] TextView id=btn_percent text=\"%\" (click,edit) pos=(135,1100)\n [5] TextView id=btn_power text=\"^\" (click,edit) pos=(405,1100)\n [6] TextView id=btn_root text=\"√\" (click,edit) pos=(675,1100)\n [7] TextView id=btn_divide text=\"÷\" (click,edit) pos=(945,1100)\n [8] TextView id=btn_7 text=\"7\" (click,edit) pos=(135,1381)\n [9] TextView id=btn_8 text=\"8\" (click,edit) pos=(405,1381)\n [10] TextView id=btn_9 text=\"9\" (click,edit) pos=(675,1381)\n [11] TextView id=btn_multiply text=\"×\" (click,edit) pos=(945,1381)\n [12] TextView id=btn_4 text=\"4\" (click,edit) pos=(135,1661)\n [13] TextView id=btn_5 text=\"5\" (click,edit) pos=(405,1661)\n [14] TextView id=btn_6 text=\"6\" (click,edit) pos=(675,1661)\n [15] TextView id=btn_minus text=\"-\" (click,edit) pos=(945,1661)\n [16] TextView id=btn_1 text=\"1\" (click,edit) pos=(135,1941)\n [17] TextView id=btn_2 text=\"2\" (click,edit) pos=(405,1941)\n [18] TextView id=btn_3 text=\"3\" (click,edit) pos=(675,1941)\n [19] TextView id=btn_plus text=\"+\" (click,edit) pos=(945,1941)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(135,2221)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(405,2221)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(675,2221)\n [23] TextView id=btn_equals text=\"=\" (click,edit) pos=(945,2221)\n\nCalculator procedure: tap the digits of the first operand, then the operator, then the digits of the second operand, then '='. Use element_text for keypad buttons; do not use input_text.\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"first_operand\": \"<first number as digits>\",\n \"operator\": \"<+ | - | × | ÷>\",\n \"second_operand\": \"<second number as digits>\",\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_text\": \"<visible text of the target element, preferred for calculator keys>\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"first_operand\": \"48\", \"operator\": \"÷\", \"second_operand\": \"4\", \"action_type\": \"tap\", \"element_text\": \"=\", \"reasoning\": \"Tap '=' to evaluate 48 ÷ 4 = 12.\"}", "rejected": "{\"action_type\": \"input_text\", \"element_index\": null, \"coords\": null, \"text\": \"48÷4\", \"reasoning\": \"Type the expression directly.\"}", "task_id": "CX-063", "task_type": "contrast_math_keypad"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Evaluate 17 × 5.\n\nStep: 4/7\nCompleted actions:\n- tap '1' → display 1\n- tap '7' → display 17\n- tap '×' → display 17×\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.MainActivity\nInteractive Elements (24 items):\n [0] Button id=history desc=\"History\" (click,edit) pos=(784,225)\n [1] Button id=unit_converter desc=\"Unit converter\" (click,edit) pos=(911,225)\n [2] ImageView desc=\"More options\" (click,edit) pos=(1027,225)\n [3] TextView id=result text=\"17×\" pos=(540,731)\n [4] TextView id=btn_percent text=\"%\" (click,edit) pos=(135,1100)\n [5] TextView id=btn_power text=\"^\" (click,edit) pos=(405,1100)\n [6] TextView id=btn_root text=\"√\" (click,edit) pos=(675,1100)\n [7] TextView id=btn_divide text=\"÷\" (click,edit) pos=(945,1100)\n [8] TextView id=btn_7 text=\"7\" (click,edit) pos=(135,1381)\n [9] TextView id=btn_8 text=\"8\" (click,edit) pos=(405,1381)\n [10] TextView id=btn_9 text=\"9\" (click,edit) pos=(675,1381)\n [11] TextView id=btn_multiply text=\"×\" (click,edit) pos=(945,1381)\n [12] TextView id=btn_4 text=\"4\" (click,edit) pos=(135,1661)\n [13] TextView id=btn_5 text=\"5\" (click,edit) pos=(405,1661)\n [14] TextView id=btn_6 text=\"6\" (click,edit) pos=(675,1661)\n [15] TextView id=btn_minus text=\"-\" (click,edit) pos=(945,1661)\n [16] TextView id=btn_1 text=\"1\" (click,edit) pos=(135,1941)\n [17] TextView id=btn_2 text=\"2\" (click,edit) pos=(405,1941)\n [18] TextView id=btn_3 text=\"3\" (click,edit) pos=(675,1941)\n [19] TextView id=btn_plus text=\"+\" (click,edit) pos=(945,1941)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(135,2221)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(405,2221)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(675,2221)\n [23] TextView id=btn_equals text=\"=\" (click,edit) pos=(945,2221)\n\nCalculator procedure: tap the digits of the first operand, then the operator, then the digits of the second operand, then '='. Use element_text for keypad buttons; do not use input_text.\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"first_operand\": \"<first number as digits>\",\n \"operator\": \"<+ | - | × | ÷>\",\n \"second_operand\": \"<second number as digits>\",\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_text\": \"<visible text of the target element, preferred for calculator keys>\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"first_operand\": \"17\", \"operator\": \"×\", \"second_operand\": \"5\", \"action_type\": \"tap\", \"element_text\": \"5\", \"reasoning\": \"Second operand 5: tap '5'.\"}", "rejected": "{\"action_type\": \"input_text\", \"element_index\": null, \"coords\": null, \"text\": \"17×5\", \"reasoning\": \"Type the expression directly.\"}", "task_id": "CX-072", "task_type": "contrast_math_keypad"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: What is twelve plus six?\n\nStep: 1/7\nCompleted actions:\n- none\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.MainActivity\nInteractive Elements (24 items):\n [0] Button id=history desc=\"History\" (click,edit) pos=(784,225)\n [1] Button id=unit_converter desc=\"Unit converter\" (click,edit) pos=(911,225)\n [2] ImageView desc=\"More options\" (click,edit) pos=(1027,225)\n [3] TextView id=result text=\"0\" pos=(540,731)\n [4] TextView id=btn_percent text=\"%\" (click,edit) pos=(135,1100)\n [5] TextView id=btn_power text=\"^\" (click,edit) pos=(405,1100)\n [6] TextView id=btn_root text=\"√\" (click,edit) pos=(675,1100)\n [7] TextView id=btn_divide text=\"÷\" (click,edit) pos=(945,1100)\n [8] TextView id=btn_7 text=\"7\" (click,edit) pos=(135,1381)\n [9] TextView id=btn_8 text=\"8\" (click,edit) pos=(405,1381)\n [10] TextView id=btn_9 text=\"9\" (click,edit) pos=(675,1381)\n [11] TextView id=btn_multiply text=\"×\" (click,edit) pos=(945,1381)\n [12] TextView id=btn_4 text=\"4\" (click,edit) pos=(135,1661)\n [13] TextView id=btn_5 text=\"5\" (click,edit) pos=(405,1661)\n [14] TextView id=btn_6 text=\"6\" (click,edit) pos=(675,1661)\n [15] TextView id=btn_minus text=\"-\" (click,edit) pos=(945,1661)\n [16] TextView id=btn_1 text=\"1\" (click,edit) pos=(135,1941)\n [17] TextView id=btn_2 text=\"2\" (click,edit) pos=(405,1941)\n [18] TextView id=btn_3 text=\"3\" (click,edit) pos=(675,1941)\n [19] TextView id=btn_plus text=\"+\" (click,edit) pos=(945,1941)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(135,2221)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(405,2221)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(675,2221)\n [23] TextView id=btn_equals text=\"=\" (click,edit) pos=(945,2221)\n\nCalculator procedure: tap the digits of the first operand, then the operator, then the digits of the second operand, then '='. Use element_text for keypad buttons; do not use input_text.\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"first_operand\": \"<first number as digits>\",\n \"operator\": \"<+ | - | × | ÷>\",\n \"second_operand\": \"<second number as digits>\",\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_text\": \"<visible text of the target element, preferred for calculator keys>\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"first_operand\": \"12\", \"operator\": \"+\", \"second_operand\": \"6\", \"action_type\": \"tap\", \"element_text\": \"1\", \"reasoning\": \"First operand 12: tap '1'.\"}", "rejected": "{\"action_type\": \"input_text\", \"element_index\": null, \"coords\": null, \"text\": \"12+6\", \"reasoning\": \"Type the expression directly.\"}", "task_id": "CX-031", "task_type": "contrast_math_keypad"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Evaluate 17 × 5.\n\nStep: 3/7\nCompleted actions:\n- tap '1' → display 1\n- tap '7' → display 17\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.MainActivity\nInteractive Elements (24 items):\n [0] Button id=history desc=\"History\" (click,edit) pos=(784,225)\n [1] Button id=unit_converter desc=\"Unit converter\" (click,edit) pos=(911,225)\n [2] ImageView desc=\"More options\" (click,edit) pos=(1027,225)\n [3] TextView id=result text=\"17\" pos=(540,731)\n [4] TextView id=btn_percent text=\"%\" (click,edit) pos=(135,1100)\n [5] TextView id=btn_power text=\"^\" (click,edit) pos=(405,1100)\n [6] TextView id=btn_root text=\"√\" (click,edit) pos=(675,1100)\n [7] TextView id=btn_divide text=\"÷\" (click,edit) pos=(945,1100)\n [8] TextView id=btn_7 text=\"7\" (click,edit) pos=(135,1381)\n [9] TextView id=btn_8 text=\"8\" (click,edit) pos=(405,1381)\n [10] TextView id=btn_9 text=\"9\" (click,edit) pos=(675,1381)\n [11] TextView id=btn_multiply text=\"×\" (click,edit) pos=(945,1381)\n [12] TextView id=btn_4 text=\"4\" (click,edit) pos=(135,1661)\n [13] TextView id=btn_5 text=\"5\" (click,edit) pos=(405,1661)\n [14] TextView id=btn_6 text=\"6\" (click,edit) pos=(675,1661)\n [15] TextView id=btn_minus text=\"-\" (click,edit) pos=(945,1661)\n [16] TextView id=btn_1 text=\"1\" (click,edit) pos=(135,1941)\n [17] TextView id=btn_2 text=\"2\" (click,edit) pos=(405,1941)\n [18] TextView id=btn_3 text=\"3\" (click,edit) pos=(675,1941)\n [19] TextView id=btn_plus text=\"+\" (click,edit) pos=(945,1941)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(135,2221)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(405,2221)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(675,2221)\n [23] TextView id=btn_equals text=\"=\" (click,edit) pos=(945,2221)\n\nCalculator procedure: tap the digits of the first operand, then the operator, then the digits of the second operand, then '='. Use element_text for keypad buttons; do not use input_text.\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"first_operand\": \"<first number as digits>\",\n \"operator\": \"<+ | - | × | ÷>\",\n \"second_operand\": \"<second number as digits>\",\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_text\": \"<visible text of the target element, preferred for calculator keys>\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"first_operand\": \"17\", \"operator\": \"×\", \"second_operand\": \"5\", \"action_type\": \"tap\", \"element_text\": \"×\", \"reasoning\": \"Operator is ×: tap '×'.\"}", "rejected": "{\"action_type\": \"input_text\", \"element_index\": null, \"coords\": null, \"text\": \"17×5\", \"reasoning\": \"Type the expression directly.\"}", "task_id": "CX-072", "task_type": "contrast_math_keypad"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: What is twelve plus six?\n\nStep: 3/7\nCompleted actions:\n- tap '1' → display 1\n- tap '2' → display 12\n\nCurrent screen:\nPackage: org.fossify.math.debug\nActivity: org.fossify.math.activities.MainActivity\nInteractive Elements (24 items):\n [0] Button id=history desc=\"History\" (click,edit) pos=(784,225)\n [1] Button id=unit_converter desc=\"Unit converter\" (click,edit) pos=(911,225)\n [2] ImageView desc=\"More options\" (click,edit) pos=(1027,225)\n [3] TextView id=result text=\"12\" pos=(540,731)\n [4] TextView id=btn_percent text=\"%\" (click,edit) pos=(135,1100)\n [5] TextView id=btn_power text=\"^\" (click,edit) pos=(405,1100)\n [6] TextView id=btn_root text=\"√\" (click,edit) pos=(675,1100)\n [7] TextView id=btn_divide text=\"÷\" (click,edit) pos=(945,1100)\n [8] TextView id=btn_7 text=\"7\" (click,edit) pos=(135,1381)\n [9] TextView id=btn_8 text=\"8\" (click,edit) pos=(405,1381)\n [10] TextView id=btn_9 text=\"9\" (click,edit) pos=(675,1381)\n [11] TextView id=btn_multiply text=\"×\" (click,edit) pos=(945,1381)\n [12] TextView id=btn_4 text=\"4\" (click,edit) pos=(135,1661)\n [13] TextView id=btn_5 text=\"5\" (click,edit) pos=(405,1661)\n [14] TextView id=btn_6 text=\"6\" (click,edit) pos=(675,1661)\n [15] TextView id=btn_minus text=\"-\" (click,edit) pos=(945,1661)\n [16] TextView id=btn_1 text=\"1\" (click,edit) pos=(135,1941)\n [17] TextView id=btn_2 text=\"2\" (click,edit) pos=(405,1941)\n [18] TextView id=btn_3 text=\"3\" (click,edit) pos=(675,1941)\n [19] TextView id=btn_plus text=\"+\" (click,edit) pos=(945,1941)\n [20] TextView id=btn_0 text=\"0\" (click,edit) pos=(135,2221)\n [21] TextView id=btn_decimal text=\".\" (click,edit) pos=(405,2221)\n [22] TextView id=btn_clear text=\"C\" (click,edit) pos=(675,2221)\n [23] TextView id=btn_equals text=\"=\" (click,edit) pos=(945,2221)\n\nCalculator procedure: tap the digits of the first operand, then the operator, then the digits of the second operand, then '='. Use element_text for keypad buttons; do not use input_text.\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"first_operand\": \"<first number as digits>\",\n \"operator\": \"<+ | - | × | ÷>\",\n \"second_operand\": \"<second number as digits>\",\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_text\": \"<visible text of the target element, preferred for calculator keys>\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"first_operand\": \"12\", \"operator\": \"+\", \"second_operand\": \"6\", \"action_type\": \"tap\", \"element_text\": \"+\", \"reasoning\": \"Operator is +: tap '+'.\"}", "rejected": "{\"action_type\": \"input_text\", \"element_index\": null, \"coords\": null, \"text\": \"12+6\", \"reasoning\": \"Type the expression directly.\"}", "task_id": "CX-031", "task_type": "contrast_math_keypad"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Scroll down in Settings and open Security & privacy.\n\nStep: 1/8\nCompleted actions:\n- none\n\nCurrent screen:\nPackage: com.android.settings\nActivity: com.android.settings.Settings\nInteractive Elements (32 items):\n [0] LinearLayout id=search_action_bar (click,edit) pos=(540,257)\n [1] TextView id=search_bar_title text=\"Search Settings\" pos=(383,257)\n [2] ScrollView id=main_content_scrollable_container (scroll) pos=(540,1367)\n [3] LinearLayout (click,edit) pos=(540,485)\n [4] TextView id=title text=\"Google\" pos=(287,459)\n [5] TextView id=summary text=\"Services & preferences\" pos=(410,513)\n [6] LinearLayout (click,edit) pos=(540,719)\n [7] TextView id=title text=\"Network & internet\" pos=(393,693)\n [8] TextView id=summary text=\"Mobile, Wi‑Fi, hotspot\" pos=(396,747)\n [9] LinearLayout (click,edit) pos=(540,916)\n [10] TextView id=title text=\"Connected devices\" pos=(397,890)\n [11] TextView id=summary text=\"Bluetooth, pairing\" pos=(364,944)\n [12] LinearLayout (click,edit) pos=(540,1150)\n [13] TextView id=title text=\"Apps\" pos=(269,1124)\n [14] TextView id=summary text=\"Assistant, recent apps, default apps\" pos=(513,1178)\n [15] LinearLayout (click,edit) pos=(540,1347)\n [16] TextView id=title text=\"Notifications\" pos=(340,1321)\n [17] TextView id=summary text=\"Notification history, conversations\" pos=(499,1375)\n [18] LinearLayout (click,edit) pos=(540,1544)\n [19] TextView id=title text=\"Sound & vibration\" pos=(384,1518)\n [20] TextView id=summary text=\"Volume and haptics\" pos=(383,1572)\n [21] LinearLayout (click,edit) pos=(540,1741)\n [22] TextView id=title text=\"Modes\" pos=(285,1715)\n [23] TextView id=summary text=\"Do Not Disturb, Bedtime\" pos=(417,1769)\n [24] LinearLayout (click,edit) pos=(540,1938)\n [25] TextView id=title text=\"Display & touch\" pos=(365,1912)\n [26] TextView id=summary text=\"Dark theme, font size, touch\" pos=(448,1966)\n [27] LinearLayout (click,edit) pos=(540,2135)\n [28] TextView id=title text=\"Wallpaper & style\" pos=(381,2109)\n [29] TextView id=summary text=\"Colors, themed icons, app grid\" pos=(469,2163)\n [30] LinearLayout (click,edit) pos=(540,2317)\n [31] TextView id=title text=\"Storage\" pos=(293,2338)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"swipe\", \"direction\": \"up\", \"reasoning\": \"Security & privacy is not visible yet; swipe up to scroll down the Settings list.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 6, \"reasoning\": \"Tap the 'Network & internet' row to open its settings page.\"}", "task_id": "SYNTH-SET-SEC", "task_type": "contrast_settings_not_visible_vs_wrong_tap"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Find Accessibility settings and open its menu.\n\nStep: 1/8\nCompleted actions:\n- none\n\nCurrent screen:\nPackage: com.android.settings\nActivity: com.android.settings.Settings\nInteractive Elements (32 items):\n [0] LinearLayout id=search_action_bar (click,edit) pos=(540,257)\n [1] TextView id=search_bar_title text=\"Search Settings\" pos=(383,257)\n [2] ScrollView id=main_content_scrollable_container (scroll) pos=(540,1367)\n [3] LinearLayout (click,edit) pos=(540,485)\n [4] TextView id=title text=\"Google\" pos=(287,459)\n [5] TextView id=summary text=\"Services & preferences\" pos=(410,513)\n [6] LinearLayout (click,edit) pos=(540,719)\n [7] TextView id=title text=\"Network & internet\" pos=(393,693)\n [8] TextView id=summary text=\"Mobile, Wi‑Fi, hotspot\" pos=(396,747)\n [9] LinearLayout (click,edit) pos=(540,916)\n [10] TextView id=title text=\"Connected devices\" pos=(397,890)\n [11] TextView id=summary text=\"Bluetooth, pairing\" pos=(364,944)\n [12] LinearLayout (click,edit) pos=(540,1150)\n [13] TextView id=title text=\"Apps\" pos=(269,1124)\n [14] TextView id=summary text=\"Assistant, recent apps, default apps\" pos=(513,1178)\n [15] LinearLayout (click,edit) pos=(540,1347)\n [16] TextView id=title text=\"Notifications\" pos=(340,1321)\n [17] TextView id=summary text=\"Notification history, conversations\" pos=(499,1375)\n [18] LinearLayout (click,edit) pos=(540,1544)\n [19] TextView id=title text=\"Sound & vibration\" pos=(384,1518)\n [20] TextView id=summary text=\"Volume and haptics\" pos=(383,1572)\n [21] LinearLayout (click,edit) pos=(540,1741)\n [22] TextView id=title text=\"Modes\" pos=(285,1715)\n [23] TextView id=summary text=\"Do Not Disturb, Bedtime\" pos=(417,1769)\n [24] LinearLayout (click,edit) pos=(540,1938)\n [25] TextView id=title text=\"Display & touch\" pos=(365,1912)\n [26] TextView id=summary text=\"Dark theme, font size, touch\" pos=(448,1966)\n [27] LinearLayout (click,edit) pos=(540,2135)\n [28] TextView id=title text=\"Wallpaper & style\" pos=(381,2109)\n [29] TextView id=summary text=\"Colors, themed icons, app grid\" pos=(469,2163)\n [30] LinearLayout (click,edit) pos=(540,2317)\n [31] TextView id=title text=\"Storage\" pos=(293,2338)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"swipe\", \"direction\": \"up\", \"reasoning\": \"Accessibility is off-screen; swipe up to scroll down the Settings list.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 6, \"reasoning\": \"Tap the 'Network & internet' row to open its settings page.\"}", "task_id": "SYNTH-SET-ACC", "task_type": "contrast_settings_not_visible_vs_wrong_tap"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Scroll down in Settings and open Security & privacy.\n\nStep: 2/8\nCompleted actions:\n- swipe\n\nCurrent screen:\nPackage: com.android.settings\nActivity: com.android.settings.Settings\nInteractive Elements (34 items):\n [0] LinearLayout id=search_action_bar (click,edit) pos=(540,257)\n [1] TextView id=search_bar_title text=\"Search Settings\" pos=(383,257)\n [2] ScrollView id=main_content_scrollable_container (scroll) pos=(540,1367)\n [3] LinearLayout (click,edit) pos=(540,403)\n [4] TextView id=summary text=\"Mobile, Wi‑Fi, hotspot\" pos=(396,382)\n [5] LinearLayout (click,edit) pos=(540,535)\n [6] TextView id=title text=\"Connected devices\" pos=(397,509)\n [7] TextView id=summary text=\"Bluetooth, pairing\" pos=(364,563)\n [8] LinearLayout (click,edit) pos=(540,769)\n [9] TextView id=title text=\"Apps\" pos=(269,743)\n [10] TextView id=summary text=\"Assistant, recent apps, default apps\" pos=(513,797)\n [11] LinearLayout (click,edit) pos=(540,966)\n [12] TextView id=title text=\"Notifications\" pos=(340,940)\n [13] TextView id=summary text=\"Notification history, conversations\" pos=(499,994)\n [14] LinearLayout (click,edit) pos=(540,1163)\n [15] TextView id=title text=\"Sound & vibration\" pos=(384,1137)\n [16] TextView id=summary text=\"Volume and haptics\" pos=(383,1191)\n [17] LinearLayout (click,edit) pos=(540,1360)\n [18] TextView id=title text=\"Modes\" pos=(285,1334)\n [19] TextView id=summary text=\"Do Not Disturb, Bedtime\" pos=(417,1388)\n [20] LinearLayout (click,edit) pos=(540,1557)\n [21] TextView id=title text=\"Display & touch\" pos=(365,1531)\n [22] TextView id=summary text=\"Dark theme, font size, touch\" pos=(448,1585)\n [23] LinearLayout (click,edit) pos=(540,1754)\n [24] TextView id=title text=\"Wallpaper & style\" pos=(381,1728)\n [25] TextView id=summary text=\"Colors, themed icons, app grid\" pos=(469,1782)\n [26] LinearLayout (click,edit) pos=(540,1988)\n [27] TextView id=title text=\"Storage\" pos=(293,1962)\n [28] TextView id=summary text=\"41% used - 4.70 GB free\" pos=(416,2016)\n [29] LinearLayout (click,edit) pos=(540,2185)\n [30] TextView id=title text=\"Accessibility\" pos=(288,2159)\n [31] TextView id=summary text=\"Display, interaction, audio\" pos=(366,2213)\n [32] LinearLayout (click,edit) pos=(540,2323)\n [33] TextView id=title text=\"System\" pos=(291,2344)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"swipe\", \"direction\": \"up\", \"reasoning\": \"Security & privacy is still further down; swipe up again to reveal lower Settings entries.\"}", "rejected": "{\"action_type\": \"swipe\", \"direction\": \"down\", \"reasoning\": \"Swipe down in Settings.\"}", "task_id": "SYNTH-SET-SEC", "task_type": "contrast_settings_swipe"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Scroll down in Settings and open Security & privacy.\n\nStep: 1/8\nCompleted actions:\n- none\n\nCurrent screen:\nPackage: com.android.settings\nActivity: com.android.settings.Settings\nInteractive Elements (32 items):\n [0] LinearLayout id=search_action_bar (click,edit) pos=(540,257)\n [1] TextView id=search_bar_title text=\"Search Settings\" pos=(383,257)\n [2] ScrollView id=main_content_scrollable_container (scroll) pos=(540,1367)\n [3] LinearLayout (click,edit) pos=(540,485)\n [4] TextView id=title text=\"Google\" pos=(287,459)\n [5] TextView id=summary text=\"Services & preferences\" pos=(410,513)\n [6] LinearLayout (click,edit) pos=(540,719)\n [7] TextView id=title text=\"Network & internet\" pos=(393,693)\n [8] TextView id=summary text=\"Mobile, Wi‑Fi, hotspot\" pos=(396,747)\n [9] LinearLayout (click,edit) pos=(540,916)\n [10] TextView id=title text=\"Connected devices\" pos=(397,890)\n [11] TextView id=summary text=\"Bluetooth, pairing\" pos=(364,944)\n [12] LinearLayout (click,edit) pos=(540,1150)\n [13] TextView id=title text=\"Apps\" pos=(269,1124)\n [14] TextView id=summary text=\"Assistant, recent apps, default apps\" pos=(513,1178)\n [15] LinearLayout (click,edit) pos=(540,1347)\n [16] TextView id=title text=\"Notifications\" pos=(340,1321)\n [17] TextView id=summary text=\"Notification history, conversations\" pos=(499,1375)\n [18] LinearLayout (click,edit) pos=(540,1544)\n [19] TextView id=title text=\"Sound & vibration\" pos=(384,1518)\n [20] TextView id=summary text=\"Volume and haptics\" pos=(383,1572)\n [21] LinearLayout (click,edit) pos=(540,1741)\n [22] TextView id=title text=\"Modes\" pos=(285,1715)\n [23] TextView id=summary text=\"Do Not Disturb, Bedtime\" pos=(417,1769)\n [24] LinearLayout (click,edit) pos=(540,1938)\n [25] TextView id=title text=\"Display & touch\" pos=(365,1912)\n [26] TextView id=summary text=\"Dark theme, font size, touch\" pos=(448,1966)\n [27] LinearLayout (click,edit) pos=(540,2135)\n [28] TextView id=title text=\"Wallpaper & style\" pos=(381,2109)\n [29] TextView id=summary text=\"Colors, themed icons, app grid\" pos=(469,2163)\n [30] LinearLayout (click,edit) pos=(540,2317)\n [31] TextView id=title text=\"Storage\" pos=(293,2338)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"swipe\", \"direction\": \"up\", \"reasoning\": \"Security & privacy is not visible yet; swipe up to scroll down the Settings list.\"}", "rejected": "{\"action_type\": \"swipe\", \"direction\": \"down\", \"reasoning\": \"Swipe down in Settings.\"}", "task_id": "SYNTH-SET-SEC", "task_type": "contrast_settings_swipe"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Find Accessibility settings and open its menu.\n\nStep: 1/8\nCompleted actions:\n- none\n\nCurrent screen:\nPackage: com.android.settings\nActivity: com.android.settings.Settings\nInteractive Elements (32 items):\n [0] LinearLayout id=search_action_bar (click,edit) pos=(540,257)\n [1] TextView id=search_bar_title text=\"Search Settings\" pos=(383,257)\n [2] ScrollView id=main_content_scrollable_container (scroll) pos=(540,1367)\n [3] LinearLayout (click,edit) pos=(540,485)\n [4] TextView id=title text=\"Google\" pos=(287,459)\n [5] TextView id=summary text=\"Services & preferences\" pos=(410,513)\n [6] LinearLayout (click,edit) pos=(540,719)\n [7] TextView id=title text=\"Network & internet\" pos=(393,693)\n [8] TextView id=summary text=\"Mobile, Wi‑Fi, hotspot\" pos=(396,747)\n [9] LinearLayout (click,edit) pos=(540,916)\n [10] TextView id=title text=\"Connected devices\" pos=(397,890)\n [11] TextView id=summary text=\"Bluetooth, pairing\" pos=(364,944)\n [12] LinearLayout (click,edit) pos=(540,1150)\n [13] TextView id=title text=\"Apps\" pos=(269,1124)\n [14] TextView id=summary text=\"Assistant, recent apps, default apps\" pos=(513,1178)\n [15] LinearLayout (click,edit) pos=(540,1347)\n [16] TextView id=title text=\"Notifications\" pos=(340,1321)\n [17] TextView id=summary text=\"Notification history, conversations\" pos=(499,1375)\n [18] LinearLayout (click,edit) pos=(540,1544)\n [19] TextView id=title text=\"Sound & vibration\" pos=(384,1518)\n [20] TextView id=summary text=\"Volume and haptics\" pos=(383,1572)\n [21] LinearLayout (click,edit) pos=(540,1741)\n [22] TextView id=title text=\"Modes\" pos=(285,1715)\n [23] TextView id=summary text=\"Do Not Disturb, Bedtime\" pos=(417,1769)\n [24] LinearLayout (click,edit) pos=(540,1938)\n [25] TextView id=title text=\"Display & touch\" pos=(365,1912)\n [26] TextView id=summary text=\"Dark theme, font size, touch\" pos=(448,1966)\n [27] LinearLayout (click,edit) pos=(540,2135)\n [28] TextView id=title text=\"Wallpaper & style\" pos=(381,2109)\n [29] TextView id=summary text=\"Colors, themed icons, app grid\" pos=(469,2163)\n [30] LinearLayout (click,edit) pos=(540,2317)\n [31] TextView id=title text=\"Storage\" pos=(293,2338)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"swipe\", \"direction\": \"up\", \"reasoning\": \"Accessibility is off-screen; swipe up to scroll down the Settings list.\"}", "rejected": "{\"action_type\": \"swipe\", \"direction\": \"down\", \"reasoning\": \"Swipe down in Settings.\"}", "task_id": "SYNTH-SET-ACC", "task_type": "contrast_settings_swipe"}
{"prompt": [{"role": "system", "content": "You are an autonomous Android QA testing agent.\nYou control a real Android device through a text UI hierarchy.\nReturn ONLY one valid JSON object describing the next action.\nDo not include markdown fences or prose."}, {"role": "user", "content": "Goal: Create a checklist note named 'Travel Gear'.\n\nStep: 3/10\nCompleted actions:\n- tap 'Create a new note' (index=1)\n- tap 'Checklist' (index=4)\n\nCurrent screen:\nPackage: org.fossify.notes.debug\nActivity: org.fossify.notes.activities.MainActivity\nInteractive Elements (7 items):\n [0] TextView id=alertTitle text=\"Add a new note\" pos=(371,495)\n [1] EditText id=locked_note_title text=\"Label\" (click,edit) pos=(540,657)\n [2] TextView id=new_note_type_label text=\"New note type:\" pos=(540,809)\n [3] RadioButton id=type_text_note text=\"Text note\" (click,edit,checked=False) pos=(540,903)\n [4] RadioButton id=type_checklist text=\"Checklist\" (click,edit,checked=True) pos=(540,1019)\n [5] Button id=button2 text=\"Cancel\" (click,edit) pos=(647,1177)\n [6] Button id=button1 text=\"OK\" (click,edit) pos=(842,1177)\n\nChoose exactly one action that moves the test toward the goal.\nPrefer element_index over raw coordinates when an element is listed.\nUse \"enter\" after typing when the field requires submission.\nIf the goal is already satisfied, use \"wait\" and explain why.\n\nOutput JSON schema:\n{\n \"action_type\": \"tap | input_text | swipe | back | enter | wait | home\",\n \"element_index\": <integer index from the list, or null>,\n \"coords\": [<x>, <y>] or null,\n \"text\": \"<text to type, or null>\",\n \"direction\": \"up | down | left | right | null\",\n \"reasoning\": \"<one short sentence>\"\n}"}], "chosen": "{\"action_type\": \"input_text\", \"element_index\": 1, \"text\": \"Travel Gear\", \"reasoning\": \"Enter the desired note title in the title field.\"}", "rejected": "{\"action_type\": \"tap\", \"element_index\": 1, \"reasoning\": \"Tap the text field.\"}", "task_id": "AUG-NOTES-104", "task_type": "contrast_title_input_vs_tap"}