Anti-AIClone

Log date · Wed

Can Android Bench scores measure app cloning risk?

No. We compare two test suites to show how evaluation scope changes a score, then assess what the benchmark means for your app.

Can Android Bench scores measure cloning risk?

Not directly. Android Bench measures Android development tasks, not app copying or reverse engineering. In Google’s July 8, 2026 update, the top score was 84.5; it is not the probability that an app can be cloned. [1] In our own comparison, the same small implementation passed 2/2 basic checks but 2/4 after boundary checks were added. The score changed because the checks changed, not the implementation.

Questions and findings
QuestionFinding
What is 84.5?The top score in that Android development benchmark update.
Are old and new scores directly comparable?The framework and agent changed; check the evaluation setup first.
What did our comparison show?Same code: 2/2 basic, 2/4 expanded.
Did it measure cloning?No; assess your own product separately.

What changed in July

Zoe Lopez-Latorre’s Android Developers Blog post explains that Android Bench launched in March with real-world tasks such as Jetpack Compose migrations, wearable networking and platform API updates. It had used mini-swe-agent v1 adapted for Android; the July update moved to Harbor and an updated evaluation agent. Google reran all models, retained historical scores and added eight models. [1]

The contribution paths for tasks and evaluations make outside checking possible, but a reproduction still needs the dataset, agent, model version, tool permissions and run conditions recorded. Google’s archive defines the score as the average percentage of 100 tasks resolved across runs and also lists confidence ranges, latency and cost. [2] A ranking is a snapshot under a particular setup.

A difference between the old and new leaderboard alone cannot be attributed to model improvement. Compare models within the same baseline first, then ask whether tasks resemble your work, whether cost is acceptable and how uncertain the results are.

A reproducible test-scope comparison

We used Python 3.9.1 and standard-library unittest for a fictional discount function. The requirement returns None for quantities at or below zero, 0 for 1 through 9 and 10 for 10 or more; the implementation omits invalid-quantity handling. Both suites run against the same implementation: the first checks 1 and 10, and the second retains those checks and adds 0 and -1. This experiment uses another tool to illustrate evaluation scope; it is not a test of Android Bench, Harbor or any model.

Output copied verbatim from the run.
Python 3.9.1
smoke: 2/2 passed (100%)
expanded: 2/4 passed (50%)
  failed: test_negative
  failed: test_zero

Both failures point to inputs the initial suite omitted. The 100% result is true for the first suite but does not establish that the function meets the whole requirement; 50% does not mean the implementation suddenly regressed. Python’s TestSuite groups tests, while TestResult records runs, failures and errors. [3] We divide passes by tests run only to show the denominator; this is not a simulation of Google’s scoring formula.

Keep the implementation fixed across the two runs to isolate the effect of the test set. If both the implementation and checks change, the score difference alone cannot identify the cause.

From development capability to product risk

Success on development tasks tells us that a model completed certain work under specified tasks and tool conditions. It does not measure observation of a particular app, time to rebuild it or commercial loss. A visible interface and public flows can be reimplemented; client-code protection primarily raises the effort of understanding and lifting a particular implementation. Separating those risks makes the checks more useful.

Map a feature from the interface to the server: which outputs can any user see, and which depend on controlled data, account permissions or server-side rules? Moving rules server-side still requires API authorization and monitoring for unusual use; the API’s outputs may reveal behavior. Recheck entitlement and billing decisions on a trusted server, while planning for offline use and recovery from outages.

Recommendations: choose the check for the question
CaseRecommendation
Selecting a coding modelEvaluate candidates on the same tasks, agent and budget; inspect failures.
Concerned about UI reimplementationInventory public flows and data dependencies; assess product differentiation.
Protecting client implementationInspect your release build and measure protection’s effect on behavior and maintenance.
Entitlements or billingRecheck on the server and test authorization failures and offline cases.

Check your own workflow

Reproduce the small comparison, then choose real tasks your team is authorized to use. Write verifiable acceptance conditions in advance for normal, boundary and failure paths, and retain task inputs and test versions. Do not select only tasks that are easy to score automatically; review security and maintainability by hand too.

Run this comparison; the output is shown above.
python3 --version
python3 - <<'PYTHON'
import unittest

# A deliberately incomplete implementation of a discount requirement.
def discount(quantity):
    return 10 if quantity >= 10 else 0

class Smoke(unittest.TestCase):
    def test_small(self): self.assertEqual(discount(1), 0)
    def test_ten(self): self.assertEqual(discount(10), 10)

class Boundary(unittest.TestCase):
    def test_negative(self): self.assertEqual(discount(-1), None)
    def test_zero(self): self.assertEqual(discount(0), None)

for name, cases in [('smoke', [Smoke]), ('expanded', [Smoke, Boundary])]:
    suite = unittest.TestSuite(unittest.defaultTestLoader.loadTestsFromTestCase(c) for c in cases)
    result = unittest.TestResult()
    suite.run(result)
    passed = result.testsRun - len(result.failures) - len(result.errors)
    print(f'{name}: {passed}/{result.testsRun} passed ({100 * passed / result.testsRun:.0f}%)')
    for test, _ in result.failures:
        print(f'  failed: {test.id().split(".")[-1]}')
PYTHON

When comparing candidates, hold tasks, environment, agent tool permissions and budget fixed. Record model identifiers, repetitions, individual outcomes, time and cost. After a model or framework upgrade, rerun the same tasks as a new baseline and retain the old results and configuration. One success does not establish stability; repeated runs and inspection of individual failures can inform a production decision better than an average alone.

Finally connect the evaluation to a risk inventory: for each valuable feature record visible behavior, server dependencies, authorization and the consequences of failure. Periodically search stores for similar apps and retain evidence. Address identity, functionality, permissions and user impact separately rather than using a leaderboard score as a response priority.

Your checklist

  • Record the benchmark dataset, agent, model and run conditions.
  • Compare candidates on the same tasks and budget; inspect failures.
  • Inventory visible flows and their server dependencies.
  • Recheck entitlements, billing and API permissions server-side.
  • Periodically search for similar apps and retain evidence.

Primary sources

All sources and reproduction status ↗