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
/
Unfamiliar code reading
A comment says order cancellation is idempotent. What is the best next check?
from Unfamiliar code reading
Node 24
beginner
2 min
A comment says order cancellation is idempotent. What is the best next check?
Call cancellation twice on the same paid order and assert the state plus refund and event counts
Search for the word idempotent in more comments
Confirm the cancellation function returns the same object type
Ask the model to restate why idempotency is desirable
Check
Ask AI about this kata
Report an error
previous kata
You need to learn what handles POST /orders in production. Which evidence is the stronges…
Quiz
next kata
What does this focused data-flow trace print?
Predict the output
A new version is available
Reload