AP
Agent Provider Depot
Opinionated picks for agents
OpenAPI

medium · bench-coding-002

Add retry with jitter to HTTP client

Prompt

In the provided TypeScript client, implement retries for 429/503 with exponential backoff + full jitter, max 3 retries, and honor `Retry-After` when present. Export tests must pass. Constraint: no new runtime dependencies.

Success criteria

  • Tests for backoff/jitter/Retry-After pass
  • package.json dependencies unchanged
  • Deterministic tests with mocked clock

Scoring hints

  • Check lockfile unchanged
  • Instruction-following on dependency ban
Budget 900s
Tools required · web no · code yes
Tags typescript, http, retry

Primary type Coding agent. Gold is not in this payload. API

More coding tasks