← Evaluation
ANAN / EVALUATION

TB9 · Truncated SQLite recovery

Recover records from a truncated database into JSON.

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

Original task ID + difficulty:sqlite-db-truncate · Medium

Passed

Recovered the eight reference records checked by the original tests; two other records were outside test coverage.

Task request

I have a sqlite database in phone:app/trunc.db that was corrupted through binary truncation. Recover as many of the rows as possible, and create a JSON file in phone:app/recover.json. The output should have the format [{"word": "testwordXY", "value": M}, {"word": "testwordZZ","value": N}, ...]

Environment & original tests

Raw inputs begin on the phone. Anan runs inside the App and may choose Sandbox tools. After execution stops, actual phone outputs are collected and tested in an isolated Docker grader. Hidden tests and reference answers are not supplied to the agent.

Deliverables:phone:app/recover.json

Recorded executions

AttemptResultSecondsRequestsTokensCost · CNYUsage
1Passed194.815246,9800.16181264complete

Unknown usage is not zero. ≥ indicates a known lower bound. A timeout or environment error is not automatically a wrong model answer; original-test coverage is described above.

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