v1.0 release — 164 API error resolution pairs across 6 languages

#1
by SalutefaceAAC - opened

api-error-resolution-pairs v1.0

164 hand-authored + parametrically augmented examples of real-world API errors paired with explanations and fixes.

What's in it

  • Languages: Python, JavaScript, TypeScript, Go, Java, REST
  • Libraries: requests, httpx, boto3, openai SDK, Anthropic SDK, aiohttp, gRPC, fetch, axios, OkHttp, react-query, redis, stripe, google-auth, gql
  • Error categories: auth, timeout, JSON encoding, error handling, rate limiting, pagination, resource leaks, SSL, performance, streaming, tool calling, structured output, idempotency, versioning

Schema

Each record has: language, library, error_type, error_message, broken_code, explanation, fixed_code, key_insight, tags

Splits

Split Count
train 132
validation 16
test 16

All records are hand-authored (no model generation). Parametric augmentation adds endpoint/token/timeout variants.

Feedback welcome — open an issue or reply here if you spot errors or want patterns from other libraries added.

Sign up or log in to comment