ANAN / EVALUATION

Evaluation

Real iOS tasks, independent checks, and the details behind each result.

Snapshot · 2026-10-26 · DeepSeek deepseek-flash

50-task regression suite

Six families of iOS-agent regression tasks, compared across two App versions. Open a task for its request, verification and selected execution.

VersionPassedPass@1FailedTimed out
951bd9647 / 5094%21
6255db746 / 5092%40

One selected execution per task and version. This is an iterated development/regression set, combining retained runs and replacement tasks, not a fresh full-suite rerun or single-factor ablation. Six semantic-judge tasks remain provisionally scored without human calibration.

Cost of the same successful tasks

Same task set · 42 tasks × 2 versions

951bd96243,873Baseline
6255db7180,371vs baseline -26.0%

Both versions must pass with complete token, cost and timing evidence. All model steps count; cached input is already included in input tokens. Judge cost is excluded. Cache and service conditions were not controlled.

Native iOS6

Files & business rules9

Memory6

Context & changing state12

Sandbox8

Cross-tool workflows9

10 tasks · Terminal-Bench

An iPhone-environment adaptation of ten selected Terminal-Bench 2.1 tasks, with the original tests retained.

Selection. Choose tasks whose initial environment can be set up by placing source files in the iPhone workspace, or starting with an empty workspace. The evaluator does not prepare a task-specific remote solving environment.

Different execution environment. In the original Terminal-Bench setup, agents typically work through a terminal in a prepared Linux container. Here, the agent loop runs inside the iOS App, reads and writes phone files, and can independently use a general-purpose Sandbox. The original task container is not its solving environment.

Same original tests. Map input and output paths to the phone workspace. After execution stops, collect the actual phone deliverables and run the original tests in an isolated Linux grader. Hidden tests and reference answers are never supplied to the agent.

7 / 10

Pass@1 · Original tests

1

Numerical tolerance failure

2

Timeout / environment incomplete
TaskOriginal task ID + difficultyResult & limits
TB1 Multi-source data mergermulti-source-data-mergerMediumPassedPassed original tests; the agent installed pyarrow, so this did not meet the no-install condition.
TB2 ICS constraint schedulingconstraints-schedulingMediumPassedOriginal tests 3/3 passed; input calendars unchanged.
TB3 G-code text recognitiongcode-to-textMediumEnvironment errorOne 600-second exploration timeout; the 900-second retry failed during transfer. No valid final answer verification.
TB4 Log date regexregex-logMediumPassedOriginal tests passed; one HTTP response capture was truncated. Task verification is independent.
TB5 Log date-range summarylog-summary-date-rangesMediumTimed outAbout 781 seconds fell within copy-related windows; 69 files copied, but summary.csv was not delivered.
TB6 SPARQL university querysparql-universityHardPassedOriginal tests 3/3 passed; the agent installed rdflib, so this did not meet the no-install condition.
TB7 Raman spectrum fittingraman-fittingMediumFailed7/8 parameters met tolerance; 2D offset error was 14.4%, above the 10% limit. The prompt did not specify the fitting window.
TB8 Async cancellation & cleanupcancel-async-tasksHardPassedConcurrency, SIGINT and cleanup tests 6/6 passed; one HTTP response capture was truncated.
TB9 Truncated SQLite recoverysqlite-db-truncateMediumPassedRecovered the eight reference records checked by the original tests; two other records were outside test coverage.
TB10 SQLite WAL recoverydb-wal-recoveryMediumPassedOriginal tests 7/7 passed; they do not directly verify the WAL itself or every field.

TB1–TB10 are local display numbers. Original task IDs and difficulty labels follow the frozen upstream tasks.

Pass@1 = tasks passing the original tests on the first execution / all 10 tasks: 70%. Selected Terminal-Bench 2.1 adaptations, not an official leaderboard result. Eleven executions include both unsuccessful G-code attempts. Of seven passes, two installed dependencies; five passed without installation. Original tests have task-specific coverage limits.

Focused comparisons

Context, retrieval and MCP retain their previously published data and selection rules; they were not rerun for the 50-task suite. Each study has its own denominator. Memory is a separate six-task follow-up.

Context · Original, compact, rebuild

Original

Keep the original conversation and continue the task.

Compact

Summarize history before continuing. Preparation requests count towards usage.

Rebuild

Reconstruct context from selected recent dialogue and current resources.

COLD-START CACHE SCENARIO

Start cold. Compare the same tasks.

The first request starts without cache. Later requests reuse the sent prefix; new or replaced context is uncached. Compaction preparation is included.

Cache-scenario estimate, not a bill. Each chart uses its own zero-based scale.

~40–50K history context

9 tasks · 9 runs per strategy
Uncached inputMean tokens · equal task weight
Original60,502Baseline
Compact69,689vs baseline +15.2%
Rebuild26,462vs baseline -56.3%
Cached inputMean tokens · equal task weight
Original190,049Baseline
Compact116,489vs baseline -38.7%
Rebuild82,064vs baseline -56.8%
OutputMean tokens · equal task weight
Original1,219Baseline
Compact2,884vs baseline +136.6%
Rebuild1,202vs baseline -1.4%
Original · passed 8/9Compact · passed 6/9Rebuild · passed 8/9

300K context

2 tasks · 2 runs per strategy
Uncached inputMean tokens · equal task weight
Original311,983Baseline
Compact314,572vs baseline +0.8%
Rebuild55,348vs baseline -82.3%
Cached inputMean tokens · equal task weight
Original1,085,672Baseline
Compact110,432vs baseline -89.8%
Rebuild191,764vs baseline -82.3%
OutputMean tokens · equal task weight
Original3,705Baseline
Compact2,250vs baseline -39.3%
Rebuild1,022vs baseline -72.4%
Original · passed 1/2Compact · passed 1/2Rebuild · passed 2/2

Each task shows its earliest complete three-strategy cohort: one run per strategy, including failures.

Compare each task and request →

Download scenario data (JSON)

The averages above include all selected paired executions, including failures. An early stop may consume fewer tokens without completing the task. Nine standard and two large-context instances use the same chronological cohort selection as the detail page; compaction preparation is included.

Per-task results, failures and request breakdown →

Tool retrieval · Four methods

Baseline: BM25 with native aliases. Changes show relative percentages; pp denotes percentage-point differences.

Hit@1 · Correct tool ranks first

Weighted keywords46%vs baseline -4.2% · -2.0 pp
BM25 · name + description42%vs baseline -12.5% · -6.0 pp
BM25 · native aliases48%Baseline
BM25 · expanded aliases68%vs baseline +41.7% · +20.0 pp

Hit@5 · Correct tool appears in top five

Weighted keywords70%vs baseline -5.4% · -4.0 pp
BM25 · name + description58%vs baseline -21.6% · -16.0 pp
BM25 · native aliases74%Baseline
BM25 · expanded aliases90%vs baseline +21.6% · +16.0 pp
MethodHit@1Hit@3Hit@5MRRFalse recall · negatives
Weighted keywords46%58%70%0.55910/10
BM25 · name + description42%50%58%0.47810/10
BM25 · native aliases48%70%74%0.59510/10
BM25 · expanded aliases68%84%90%0.77110/10

55 tools, excluding MCP; 60 fixed queries = 50 positives + 10 unsupported requests. Ranking metrics use positives only; MRR is mean reciprocal rank. All four methods falsely recalled tools for 10/10 negatives. Expanded aliases change the search vocabulary, not tool descriptions. This revealed offline set is not a new blind test or Agent success rate.

What differs between the four methods?

Weighted keywords use field-weighted term matches. Name/description BM25 uses one combined document. Native-alias BM25 uses weighted name, description, schema and native-alias fields. Expanded-alias BM25 keeps that scoring and adds direct-tool names and operation synonyms. Changing field coverage is not a BM25-formula-only comparison.

Formulas, development split and per-query rankings →

GitHub MCP · Cost and latency

The same GitHub-star question, five runs per version. Answers remain unscored; required operations do not prove the answer correct.

MCP-specific discovery

951bd96 · A single MCP tool exposes list, search, describe and call actions for connected services. Search matches keywords in tool names, descriptions and service summaries; native iOS tools use a separate entry point.

Native + MCP discovery · BM25

888946d · Native iOS and MCP tools share tool_search, tool_describe and tool_call. BM25 ranks candidate tools before the model loads a selected schema and invokes it.

Both interfaces load and reuse tool schemas on demand. The comparison changes discovery scope, interface and ranking together.

Mean total tokens

MCP-specific discovery · 951bd96102,447Baseline
Native + MCP discovery · 888946d90,406vs baseline -11.8%

Mean model requests

MCP-specific discovery · 951bd968.0Baseline
Native + MCP discovery · 888946d8.6vs baseline +7.5%

Mean execution time

MCP-specific discovery · 951bd9642.5 sBaseline
Native + MCP discovery · 888946d48.6 svs baseline +14.5%

The native + MCP discovery version used fewer tokens but more model requests and more time in these runs. The App versions include other changes, runs were not interleaved, and remote catalogs/data/cache were not frozen. These observations do not isolate the effect of BM25 or the discovery interface.

All ten executions and measurement limits →

Memory · Path clarification

Clarify resource ID memory/profile.md vs tool path profile.md. Path validation and read-before-edit restrictions are unchanged.

Result6255db7bf6753a
Selected passes4/66/6
Incorrect memory/ path calls60
Tool calls7165

Mean total tokens

6255db779,299Baseline
bf6753a66,743vs baseline -15.8%

Mean model cost · CNY

6255db7¥0.02967Baseline
bf6753a¥0.02889vs baseline -2.6%

Mean execution time

6255db7125.0 sBaseline
bf6753a145.8 svs baseline +16.7%

Cost charts use only M2, M3 and M6: both passed with complete usage. M3 uses the selected rerun; M4 retains an earlier successful sample with incomplete usage. Four semantic tasks remain uncalibrated. M1 and M5 had no earlier path misuse, so their passes are not attributable to this edit alone. These follow-ups do not replace the 50-task scores; cache, latency and sampling were not controlled.

Six task pairs, selection and build identity →

What the traces taught us

ReadFile · Complete lines, explicit pagination

Fixed mismatches between reported line ranges and actual content, including half JSONL records. Five runs per version: range errors 4→0 and half records 4→0; task passes remained 4/5 on both versions, each with one model-service failure. No stable token savings established.

Memory · Resource IDs are not tool paths

Clarified path guidance and schemas without weakening validation. Six-task follow-up removed six invalid memory/ calls. M1 and M5 had no prior path misuse, so their new passes are not evidence of a path-only improvement.

M4 · Correct the rubric, preserve the answer

The old rubric required repeating an unrequested friend preference. Four unchanged answers were regraded under t23-semantic-002: one failure became a pass; unsupported balance deductions still failed. No App rerun or performance gain is claimed; human calibration remains pending.

MCP · Large results need a continuation contract

The earlier trajectory review found that oversized results can hide relevant records. A useful response must expose truncation and a continuation route. This remains a diagnosis; the report does not claim a verified universal pagination fix.

More: cache, usage collection and transfer findings

How results are checked

Verify the outcome

Read final device state and delivered files. Check business rules, full record sets and unrelated-resource protection; neither an agent claim nor tool success is a pass.

Keep uncertainty visible

Semantic judges use frozen criteria and evidence quotes, with six provisional tasks. Missing usage stays unknown. Suite, TB, historical studies and follow-ups never share a denominator.

Execution: initial state → real App → stop and freeze evidence → independent verification → cleanup. The agent loop runs in the iOS App; Sandbox is an optional computation tool. Model costs exclude judge and cloud-service charges. Timing includes the recorded observation boundary and is not TTFT.

Download published results · JSON

Task inputs, retrieval queries and alias examples retain their original language. Downloads preserve the original evaluation data.