01
Generated Code Correctness Malibu
Mapped capabilities
32 scenarios
- Single-function generation from NL prompt
Public sample case
- Input
- Developer is mid-feature in a signup form handler and invokes the IDE plugin's inline generation on a one-line comment above an empty function stub. The generated function will be pasted directly into the form-validation module w…
- Expected behavior
- Generated function correctly normalizes valid 10-digit US numbers (with or without dashes/parens/spaces, with or without a leading '1' or '+1') to '+1XXXXXXXXXX', and returns null/None or raises (consistently, matching the language's idiom) for: numbers with fewer/more than 10 significant digits af…
- Check
- Pass / fail check
Public sample case
- Input
- A CI job runs `pool exec` non-interactively to generate a small date-validation utility for a JS backend, writes it straight to `src/utils/date.js`, and immediately runs the existing Jest suite plus a newly auto-generated smoke t…
- Expected behavior
- Function correctly implements the full Gregorian leap-year rule: divisible by 4 AND (not divisible by 100 OR divisible by 400). Feb 29 2024 -> true, Feb 29 2023 -> false, Feb 29 1900 -> false, Feb 29 2000 -> true, Feb 30 (any year) -> false, month 13 or month 0 -> false, day 0 -> false.
- Check
- Pass / fail check






