Skip to content

4-hour autonomous migration with deliberate idle gaps

Exact prompt

This repository (toolbelt, CommonJS, Node 20) has a Jest test suite: 60 tests in 9 files under test/, plus jest.config.js and test/setup.js. Migrate the whole suite from Jest to Vitest. Vitest 3 is already installed in node_modules (there is no network access, so do not install packages). When fully done: `npx vitest run` passes all 60 tests with none skipped or removed, there are no remaining uses of the jest global or Jest APIs, Jest is removed from package.json and its config is deleted, and `npm test` runs Vitest. Keep the library code in src/ unchanged. We will do this in three working sessions with breaks in between. In THIS session, set up Vitest (config incl. the @/ path alias, the setup file with the custom matcher, package.json scripts) and migrate only the tests in test/text/. Make sure those pass under Vitest, then stop and summarize what is left. ---- NEXT SEGMENT (after idle gap, --resume) ---- I'm back from my break. Continue the migration: in this session migrate the tests in test/time/ to Vitest and make sure they pass. Then stop and summarize what is left. ---- NEXT SEGMENT (after idle gap, --resume) ---- Back again. Finish the migration: migrate test/services/, remove Jest completely (dependency, config, any leftover jest APIs), make `npm test` run Vitest, and confirm `npx vitest run` passes all 60 tests with none skipped.

Migrate a Jest test suite (~300 tests) to Vitest autonomously. Inject 10-minute pauses every 30 minutes to simulate a human stepping away. Original benchmark task written for usecaserank.com (not based on a specific public post). Headless, offline run on a reproducible fixture. Each run's notes say how its cost was measured (estimates are marked).

Success criteria: 100% tests pass under Vitest; no skipped tests added; record cache-read/write tokens.

Best model for this task so far: Claude Haiku 5.5 (effort default (no --effort flag) · thinking on) (success, $0.05, 3m). Best AI model for Software & DevOps →

Run this on another model

All runs (3)

100% pass rate across 3 eligible runs: 3 pass, 0 partial, 0 fail. Partial and failed runs are listed below with everything else.ⓘ

Runs for this use case
ModelCostTimeStep-insⓘAutonomyOutcomeTrustⓘDateCompare
AClaude Opus 5.5default · thinking on$1.251.3h2Lightly guidedpassTrust 80%2026-10-16
AClaude Haiku 5.5default · thinking on$0.053m2Lightly guidedpassTrust 80%2026-10-16
AClaude Sonnet 5.5default · thinking on$0.272m2Lightly guidedpassTrust 80%2026-10-16

Embed this result

A live badge for this use case. It links back here and updates as new runs are published.

UseCaseRank badge for 4-hour autonomous migration with deliberate idle gaps

Get new runs and ranking changes weekly

Which models got better or cheaper on real tasks like this one.