Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Coding in the AI era
/
Code prompt vocabulary
Which request most precisely preserves a function interface?
from Code prompt vocabulary
Node 24
beginner
2 min
Which request most precisely preserves a function interface?
Keep positional and keyword calls to loadUser(id, timeout=...) valid, preserve its return fields and exception types, and update no callers
Clean up loadUser without breaking anything
Keep the API roughly the same and improve errors
Refactor loadUser into a better abstraction
Check
Ask AI about this kata
Report an error
previous kata
Which wording defines a reviewable failure contract?
Quiz
next kata
What does this contract-focused example print?
Predict the output
A new version is available
Reload