Generate input/output examples for this function.

Spec: {{spec}}
Number of pairs: {{n}}

Rules:
- Produce exactly the requested number of pairs.
- Inputs must be diverse: vary length (short, medium, long), complexity, and content.
- Include at least 1-2 edge cases (e.g., empty or minimal input, unusual characters, boundary conditions mentioned in the spec).
- Avoid trivial or repetitive inputs. Each input should test a different aspect of the spec.
- Outputs must be exactly correct and consistent with the spec's format across ALL pairs.
- If the spec includes examples, your outputs must follow the same format as those examples.
- Inputs should be realistic and representative of what a real user would provide.
- Return ONLY JSON, no commentary.