[
  {
    "name": "LRU cache with tests",
    "prompt": "Write a Python LRU cache class with O(1) get and put, full type hints and a capacity argument. Include pytest tests that cover eviction order and updating an existing key."
  },
  {
    "name": "Find the bug",
    "prompt": "This Go worker pool sometimes hangs and sometimes loses results. Find every bug, explain each in one sentence, and return a corrected version.\n\nfunc process(jobs []int) []int {\n    var wg sync.WaitGroup\n    results := []int{}\n    ch := make(chan int)\n    for _, j := range jobs {\n        go func() {\n            wg.Add(1)\n            defer wg.Done()\n            ch <- j * j\n        }()\n    }\n    wg.Wait()\n    for r := range ch {\n        results = append(results, r)\n    }\n    return results\n}"
  },
  {
    "name": "Retry with backoff",
    "prompt": "Write a TypeScript function retry<T>(fn, options) that retries an async call with exponential backoff and full jitter. Support maxAttempts, baseDelayMs, maxDelayMs, an AbortSignal and a shouldRetry(error) predicate. Add a short usage example."
  }
]
