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
/
Generated change review
Which test is the most independent evidence for a generated sorting refactor?
from Generated change review
Node 24
intermediate
2 min
Which test is the most independent evidence for a generated sorting refactor?
Assert the required order and that the caller-owned input remains unchanged after the call
Copy the generated comparator expression into the expected-value calculation
Update the snapshot and accept it because the output is deterministic
Assert only that the result has the same array length
Check
Ask AI about this kata
Report an error
next kata
A generated change replaces a Boolean return value with { ok, value }. What is the strong…
Quiz
A new version is available
Reload