<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 李东平</title>
    <description>The latest articles on DEV Community by 李东平 (@_eeb3d2c991c4beffe9001).</description>
    <link>https://dev.to/_eeb3d2c991c4beffe9001</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4199409%2Fcd2ac544-bb9c-4619-a0d7-0751805260e7.png</url>
      <title>DEV Community: 李东平</title>
      <link>https://dev.to/_eeb3d2c991c4beffe9001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_eeb3d2c991c4beffe9001"/>
    <language>en</language>
    <item>
      <title>SlothQA: let an open model do the tapping, make evidence decide the result</title>
      <dc:creator>李东平</dc:creator>
      <pubDate>Thu, 22 Oct 2026 02:21:15 +0000</pubDate>
      <link>https://dev.to/_eeb3d2c991c4beffe9001/slothqa-let-an-open-model-do-the-tapping-make-evidence-decide-the-result-2aeg</link>
      <guid>https://dev.to/_eeb3d2c991c4beffe9001/slothqa-let-an-open-model-do-the-tapping-make-evidence-decide-the-result-2aeg</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I am an Android developer. The tedious part of a small change is often the last&lt;br&gt;
few minutes: open the app, find the right screen, type test data, save, and check&lt;br&gt;
whether the result actually appeared. Writing the code is only part of the job.&lt;/p&gt;

&lt;p&gt;SlothQA is a new local-model regression agent that takes a goal instead of a&lt;br&gt;
recorded sequence of taps. Its first mission is deliberately small: create a task&lt;br&gt;
called “Slow and Steady,” save it, and verify the task appears in the list.&lt;/p&gt;

&lt;p&gt;At each step, a local Qwen model sees the current UI and chooses its next action.&lt;br&gt;
An independent checker decides whether the outcome is proven. The model does not&lt;br&gt;
get to award itself a pass.&lt;/p&gt;

&lt;p&gt;I started SlothQA on October 22, during this challenge window. My older project,&lt;br&gt;
&lt;a href="https://github.com/mobileAiDev/ai-app-bridge" rel="noopener noreferrer"&gt;AI App Bridge&lt;/a&gt;, is a credited&lt;br&gt;
execution dependency. It is not the new contest entry. SlothQA adds the local&lt;br&gt;
model policy, mission constraints, outcome verification, simulator, Android test&lt;br&gt;
target and evidence reports.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://mobileaidev.github.io/slothqa/" rel="noopener noreferrer"&gt;Watch the 75-second demonstration&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The included video is a replay reconstructed from actual execution traces:&lt;br&gt;
&lt;strong&gt;real local Qwen inference, real AI App Bridge Intent orchestration, simulated&lt;br&gt;
device observations and actions&lt;/strong&gt;. It is not a recording of a physical phone.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scenario&lt;/th&gt;
&lt;th&gt;Observed result&lt;/th&gt;
&lt;th&gt;Model calls&lt;/th&gt;
&lt;th&gt;Model inference time&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Normal task creation&lt;/td&gt;
&lt;td&gt;Independent assertion passed&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;12.65 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Controls reordered and renamed; extra confirmation&lt;/td&gt;
&lt;td&gt;Independent assertion passed&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;26.09 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Saving deliberately broken&lt;/td&gt;
&lt;td&gt;Inconclusive; stopped without claiming success&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;34.82 s&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Those are individual demonstration runs, not a statistical benchmark. The timings&lt;br&gt;
cover model calls, not a measured comparison against human testing.&lt;/p&gt;

&lt;p&gt;The changed scenario is useful because the same goal leads to an extra action&lt;br&gt;
when a confirmation dialog appears. The broken scenario is equally important:&lt;br&gt;
Qwen repeated the save action, and the no-progress guard stopped the run. I do not&lt;br&gt;
claim the model understood the storage failure. I claim the system did not turn&lt;br&gt;
that uncertainty into a green checkmark.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/mobileAiDev/slothqa" rel="noopener noreferrer"&gt;Source code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The code is MIT licensed. The repository contains the source, synthetic test&lt;br&gt;
target, raw JSONL traces, Bridge receipts and readable HTML reports. Existing&lt;br&gt;
dependencies retain their own licenses and are credited in THIRD_PARTY.md.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The decision model is Qwen2.5-1.5B-Instruct, using its official Apache-2.0 GGUF&lt;br&gt;
weights in Q4_K_M form, served locally by llama.cpp. A small model makes the&lt;br&gt;
experiment easier to reproduce on CPU, although it also exposes the limits of&lt;br&gt;
its planning and explanations.&lt;/p&gt;

&lt;p&gt;The loop is observe → propose → validate → act → observe. The model chooses from&lt;br&gt;
a menu compiled from unique, visible, enabled controls. Text-entry options use&lt;br&gt;
approved synthetic test values. Its response cannot contain a new selector or&lt;br&gt;
an arbitrary command. Structured JSON output prevents malformed decisions from&lt;br&gt;
becoming device operations.&lt;/p&gt;

&lt;p&gt;AI App Bridge 0.4.19 owns the Intent lifecycle, observation revisions and action&lt;br&gt;
receipts. SlothQA's agent module supplies decisions. The success checker demands&lt;br&gt;
a specific result row with the expected text and complete observation coverage;&lt;br&gt;
an editor containing that same title is insufficient evidence of saving.&lt;/p&gt;

&lt;p&gt;The first attempt was worse. A loose JSON response allowed missing fields and&lt;br&gt;
incorrect text values. I retained those failed traces and changed the model&lt;br&gt;
interface to a constrained action menu. The model still chooses the action order;&lt;br&gt;
the executor controls which actions are legal. There is no fixed scripted fallback.&lt;/p&gt;

&lt;p&gt;Fifteen automated tests passed, including a test against the actual Bridge Intent&lt;br&gt;
implementation. Separate recorded runs used real Qwen inference. Physical Android&lt;br&gt;
acceptance remains unverified in this environment. The Android debug APK was&lt;br&gt;
successfully built and its signature verified. Testing it with the public CLI&lt;br&gt;
on a device is the next acceptance step; this MVP does not claim&lt;br&gt;
support for arbitrary third-party apps, iOS or Flutter.&lt;/p&gt;

&lt;p&gt;I used AI assistance to implement and review this new code. The execution traces&lt;br&gt;
come from running the resulting program, not from an assistant inventing a demo.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open weights let me run the decision loop on my own CPU and inspect its actual&lt;br&gt;
behavior without sending a debug screen to a hosted model service. Once the model&lt;br&gt;
is downloaded, the demonstrated setup does not need a remote inference service.&lt;/p&gt;

&lt;p&gt;The open execution layer matters just as much. I could inspect the exact Intent&lt;br&gt;
contract, discover that native text input and UIA text input were not interchangeable,&lt;br&gt;
and test the integration against the implementation. Replacing either the model&lt;br&gt;
or the execution adapter does not require a proprietary agent service.&lt;/p&gt;

&lt;p&gt;A closed API could also plan UI actions. My reason for this open approach is&lt;br&gt;
control over deployment, model choice and evidence—not a claim that closed models&lt;br&gt;
cannot do the task.&lt;/p&gt;

&lt;p&gt;The “lazy” goal is to spend less attention on repetitive tapping and more on&lt;br&gt;
reviewing meaningful failures. This first version demonstrates that loop on a&lt;br&gt;
small controlled app. It also makes the remaining work visible instead of&lt;br&gt;
calling every completed click a successful test.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>android</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
