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
/
Constraint-rich prompts
Which prompt most clearly bounds a generated change?
from Constraint-rich prompts
Node 24
beginner
3 min
Which prompt most clearly bounds a generated change?
Update parseLimit in src/paging.js; edit it and its test only; preserve omitted and zero inputs; add no dependency; run node test/paging.test.js and git diff --check; stop if another file is required.
Improve pagination and keep everything compatible.
Use a clean class design, refactor as needed, and test thoroughly.
Fix parseLimit without making unnecessary changes.
Check
Ask AI about this kata
Report an error
previous kata
A focused test passes, the required lint command exits 1, and the required build cannot r…
Quiz
next kata
What does this edit-scope check print?
Predict the output
A new version is available
Reload